/*
  custom.css — Personal Ateliê
  Cor principal: #000000
  Fonte: Barlow Semi Condensed + Montserrat
*/

body {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 14px;
  color: #3c3c3c;
}

body p {
  font-size: 16px;
}

input.form-control {
  font-size: 16px !important;
}

/* ─────────────────────────────────────
   BARRA SUPERIOR
───────────────────────────────────── */
#top {
  margin: 0;
  padding: 8px 0;
  background: #000;
  border-bottom: none;
  color: #fff;
}

#top .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#top .left,
#top .right {
  width: 50%;
  display: flex;
  align-items: center;
}

#top .left {
  justify-content: flex-start;
}

#top .left span {
  padding: 4px 15px 4px 0;
  font-size: 13px;
  font-weight: 400;
  color: #ccc;
}

#top .left span i {
  margin-right: 5px;
  color: #fff;
}

#top .right {
  justify-content: flex-end;
}

#top .right a {
  padding: 6px 12px;
  color: #ccc;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}

#top .right a:hover {
  color: #fff;
}

#top .right a.register-btn {
  background: #fff;
  color: #000;
  border-radius: 5px;
  margin-left: 5px;
}

#top .right a.register-btn:hover {
  background: #e0e0e0;
}


/* ─────────────────────────────────────
   HEADER
───────────────────────────────────── */
header {
  padding: 20px 0;
  border-bottom: none;
}

header #logo {
  max-width: 220px;
  display: flex;
  align-items: center;
  height: 100%;
}

header .row {
  display: flex;
  align-items: center;
}

/* Campo de busca */
#search {
  border: 1px solid #E3E3E3;
  border-radius: 10px;
  overflow: hidden;
}

#search input {
  border: none;
  background: none;
  font-size: 13px !important;
}

#search .input-lg {
  height: 50px;
  padding: 10px 20px;
  text-transform: uppercase;
  font-weight: 500;
}

#search button {
  background: none;
  border: none;
  box-shadow: none;
  color: #000;
}

/* Carrinho */
#cart > .btn {
  height: 50px;
  background: #000;
  border: none;
  color: #fff;
  font-weight: 500;
  border-radius: 10px;
  transition: background 0.2s;
}

#cart > .btn:hover {
  background: #333;
}

#cart .dropdown-menu {
  background: #fafafa;
}

#cart .dropdown-menu a {
  color: #000;
}


/* ─────────────────────────────────────
   MENU
───────────────────────────────────── */
#menu {
  margin-bottom: 0;
  background: none;
  border: none;
  border-bottom: 2px solid #000;
}

.navbar-collapse {
  padding: 0;
}

#menu .nav > li > a {
  padding: 10px 13px;
  color: #000;
  font-size: 16px;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 600;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#menu .nav > li > a:hover {
  background: #000;
  color: #fff;
}

#menu .dropdown-menu {
  margin-top: -2px;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  background: #fafafa;
  z-index: 999999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

#menu .dropdown-inner li a:hover,
#menu .see-all:hover {
  background: #000;
  color: #fff;
}

#menu .see-all {
  padding: 8px 12px;
  color: #000;
  font-weight: 500;
}


/* ─────────────────────────────────────
   BANNER / SLIDESHOW
   — desktop: mostra o 1º slideshow
   — mobile: mostra o 2º slideshow
   A extensão do OpenCart renderiza os dois;
   o CSS controla qual aparece por breakpoint.
───────────────────────────────────── */
.swiper-viewport {
  margin: 0 0 20px !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  max-width: calc(100% - 40px);
  margin-left: auto !important;
  margin-right: auto !important;
}

.swiper-viewport .swiper-pagination {
  display: none !important;
}

/* Desktop: mostra banner desktop, esconde mobile */
.swiper-viewport:nth-of-type(1) { display: block; }
.swiper-viewport:nth-of-type(2) { display: none;  }

/* Mobile: esconde desktop, mostra mobile */
@media (max-width: 767px) {
  .swiper-viewport:nth-of-type(1) { display: none;  }
  .swiper-viewport:nth-of-type(2) { display: block; }
}


/* ─────────────────────────────────────
   SEÇÃO ALFAIATE
   Imagem: catalog/view/theme/default/image/bg-alfaiate.jpg
   Tamanho ideal: 1400x600px
───────────────────────────────────── */
.alfaiate {
  min-height: 480px;
  margin: 40px 0;
  background: #2a2a28 url(../image/bg-alfaiate.jpg) no-repeat center center;
  background-size: cover;
  color: #fff;
  display: flex;
  align-items: center;
  position: relative;
}

/* Overlay escuro sobre a imagem */
.alfaiate::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.alfaiate .container {
  position: relative;
  z-index: 2;
}

.alfaiate-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.alfaiate-texto {
  max-width: 560px;
}

.alfaiate-texto h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 52px;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 15px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.alfaiate-texto h2 span {
  font-weight: 400;
  font-style: italic;
}

.alfaiate-texto p {
  font-size: 18px;
  color: #e8e8e8;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Botão WhatsApp — estilo negativo (outline branco) */
.btn-alfaiate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 50px;
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background 0.2s, color 0.2s;
}

.btn-alfaiate i {
  font-size: 20px;
}

.btn-alfaiate:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff !important;
  text-decoration: none;
}

/* Mobile */
@media (max-width: 767px) {
  .alfaiate {
    min-height: 380px;
    background-position: center center;
  }

  .alfaiate::before {
    background: rgba(0, 0, 0, 0.65);
  }

  .alfaiate-content {
    justify-content: center;
    text-align: center;
  }

  .alfaiate-texto {
    max-width: 100%;
    padding: 0 15px;
  }

  .alfaiate-texto h2 {
    font-size: 32px;
  }

  .alfaiate-texto p {
    font-size: 15px;
  }

  .btn-alfaiate {
    font-size: 14px;
    padding: 11px 22px;
  }
}


/* ─────────────────────────────────────
   PRODUTOS
───────────────────────────────────── */
.product-thumb {
  border-radius: 10px;
  border: 1px solid #E8E8E8;
  position: relative;
  transition: box-shadow 0.2s;
  margin-bottom: 20px;
}

.product-thumb:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.product-thumb .image {
  text-align: center;
  position: relative;
}

.product-thumb .image a:hover {
  opacity: 0.85;
}

.product-thumb .caption {
  min-height: 180px;
  padding: 0 15px;
}

.product-thumb h4 {
  margin: 15px 0 0;
  font-weight: 600;
  font-size: 15px;
}

.product-thumb h4 a {
  color: #000;
}

.product-thumb p,
.product-thumb p span {
  color: #3c3c3c !important;
}

.product-thumb .price-new {
  font-size: 24px;
  font-weight: 700;
  color: #000;
}

.product-thumb .price-old {
  text-decoration: line-through;
  color: #999 !important;
  font-size: 14px;
}

.product-thumb .price-tax {
  color: #999;
  font-size: 12px;
  display: block;
}

.product-thumb .button-group {
  width: 100%;
  background: none;
  border-top: 1px solid #E8E8E8;
  overflow: auto;
}

/* Estiliza tanto <button> quanto <a class="btn-ver-detalhes"> */
.product-thumb .button-group button,
.product-thumb .button-group .btn-ver-detalhes {
  width: 100%;
  padding: 14px 0;
  display: block;
  background: none;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1.4;
  text-decoration: none;
}

.product-thumb .button-group button:hover,
.product-thumb .button-group .btn-ver-detalhes:hover {
  background: #000;
  color: #fff;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
}

/* Esconde botões extras de wishlist e compare */
.product-thumb .button-group button + button {
  display: none;
}

/* Badge Oferta — só aparece em produtos com promoção */
.product-thumb .oferta {
  display: none;
  width: 100%;
  padding: 5px 10px;
  background: #000;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.product-thumb.product-special .oferta {
  display: block;
}

.products-title {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
}

.products-title h2 {
  margin: 0;
  font-size: 38px;
  line-height: 44px;
  color: #000;
  font-weight: 700;
  font-style: italic;
}

h3.section-title {
  margin-top: 40px;
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  color: #000;
  font-weight: 700;
  font-style: italic;
}


/* ─────────────────────────────────────
   INFOS FOOTER (ícones)
───────────────────────────────────── */
.infos-footer {
  padding: 50px 0;
  background: #f7f7f7;
  border-top: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
}

.infos-footer .item {
  text-align: center;
  padding: 10px;
}

.infos-footer i {
  font-size: 36px;
  color: #000;
  display: block;
  margin-bottom: 10px;
}

.infos-footer h6 {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin: 8px 0 5px;
}

.infos-footer span {
  font-size: 14px;
  color: #666;
}


/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
footer {
  padding: 50px 0 30px;
  margin: 0;
  background: #111;
  color: #ccc;
  border: none;
}

footer h6 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

footer ul {
  padding: 0;
  list-style-type: none;
}

footer ul li a {
  padding: 4px 0;
  display: block;
  color: #aaa;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
}

footer ul li a:hover {
  color: #fff;
}

footer ul.social {
  display: flex;
  margin-top: 10px;
}

footer ul.social a {
  margin-right: 12px;
  font-size: 28px;
  color: #aaa;
}

footer ul.social a:hover {
  color: #fff;
}


/* ─────────────────────────────────────
   SELOS / PAGAMENTO
───────────────────────────────────── */
.selos {
  padding: 30px 0;
  background: #f0f0f0;
  border-top: 1px solid #e0e0e0;
}

.selos h6 {
  text-transform: uppercase;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.mercadopago-logo {
  max-height: 38px;
  width: auto;
}

/* Bandeiras de pagamento */
.bandeiras {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.bandeiras img {
  height: 32px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
  transition: opacity 0.2s;
}

.bandeiras img:hover {
  opacity: 0.8;
}

/* PIX tem proporção diferente — ajusta altura */
.bandeiras .bandeira-pix {
  height: 28px;
}

@media (max-width: 767px) {
  .bandeiras {
    gap: 6px;
  }

  .bandeiras img {
    height: 26px;
  }

  .bandeiras .bandeira-pix {
    height: 22px;
  }
}


/* ─────────────────────────────────────
   ASSINATURA
───────────────────────────────────── */
.sign {
  padding: 18px 20px;
  background: #000;
  font-size: 12px;
}

.sign .container {
  display: flex;
  justify-content: center;
}

.sign-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.sign-bar span {
  color: #777;
  line-height: 18px;
}

.sign-bar span:first-child {
  color: #aaa;
  font-size: 13px;
}

@media (max-width: 767px) {
  .sign-bar span:first-child {
    font-size: 11px;
  }
}


/* ─────────────────────────────────────
   BOTÕES GERAIS
───────────────────────────────────── */
.btn-primary {
  background: #000;
  box-shadow: none;
  text-shadow: none;
  border: none;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.btn-primary[disabled] {
  background: #333;
  background-image: none;
}


/* ─────────────────────────────────────
   PÁGINA DO PRODUTO
───────────────────────────────────── */
.product-infos {
  margin-bottom: 80px;
}

.product-infos h1.product-title {
  margin: 5px 0 25px;
  color: #000;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.product-infos .price-new {
  font-size: 32px;
  font-weight: 700;
  color: #000;
}

.product-infos .price-old {
  color: #999;
  text-decoration: line-through;
  font-size: 18px;
  display: block;
  margin-bottom: 5px;
}

.product-infos #button-cart {
  background: #000;
  border-radius: 80px;
  box-shadow: 0 2px 0 rgba(0,0,0,0.25);
}

.product-infos #button-cart:hover {
  background: #333;
}

.product-infos .qtd {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px;
  border: 1px solid #e3e3e3;
}

.product-infos .qtd .quantidade {
  width: 30%;
}

.product-infos .qtd #button-cart {
  width: 65%;
}

.product-infos .nav-tabs > li > a {
  font-size: 14px;
  font-weight: 700;
  color: #000;
}

.product-infos .nav-tabs > li.active > a {
  border-bottom: 2px solid #000;
}

.panel-default {
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  box-shadow: none;
}

.panel-default > .panel-heading {
  background: none;
  border: none;
  font-weight: 600;
  padding: 12px 20px !important;
}


/* ─────────────────────────────────────
   BREADCRUMB
───────────────────────────────────── */
.breadcrumb {
  margin: 20px 0;
  background: none;
  border: none;
}

.breadcrumb > li {
  color: #999;
}

.breadcrumb > li:after {
  border-right: none;
  transform: rotate(-60deg);
  top: -8px;
}

.breadcrumb > li a {
  color: #999;
}

.breadcrumb > li a:hover {
  color: #000;
}


/* ─────────────────────────────────────
   MENU LATERAL
───────────────────────────────────── */
aside .list-group {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e9e9e9;
}

aside .list-group a {
  padding: 8px 15px;
  border: none;
  border-radius: 0;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #3c3c3c;
}

.list-group a.active,
.list-group a.active:hover,
.list-group a:hover {
  background: #000;
  color: #fff;
  border: none;
}


/* ─────────────────────────────────────
   CARRINHO
───────────────────────────────────── */
#checkout-cart #content {
  margin-bottom: 80px;
}

#checkout-cart table td a {
  color: #000;
}

#checkout-cart .buttons .pull-left .btn-default {
  padding: 10px 25px;
  background: #000;
  color: #fff;
  border: none;
  text-shadow: none;
  font-size: 14px;
}

#checkout-cart .buttons .pull-right a {
  padding: 10px 25px;
  background: #19a102;
  box-shadow: 0 2px 0 rgba(0,0,0,0.25);
}


/* ─────────────────────────────────────
   LOGIN
───────────────────────────────────── */
#account-login .well {
  padding: 25px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  border: 1px solid #e3e3e3;
}

#account-login .well h2 {
  margin: 0 0 20px;
  color: #000;
}

#account-account {
  margin-bottom: 80px;
}

#account-account .list-unstyled li a {
  color: #000;
  font-size: 13px;
  padding: 5px 0;
  display: block;
  border-bottom: 1px solid #e3e3e3;
}


/* ─────────────────────────────────────
   RESPONSIVO
───────────────────────────────────── */
.navbar-toggle {
  background: #000;
  margin-top: 15px;
  margin-bottom: 15px;
  margin-right: 0;
}

.navbar-toggle .icon-bar {
  background: #fff;
}

@media (max-width: 991px) {
  #top .left,
  #top .right {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  header #logo {
    margin: 0 auto 20px;
    max-width: 180px;
  }

  header .row {
    flex-wrap: wrap;
  }

  #menu .navbar-header {
    padding-right: 20px;
    background: #000;
    border-radius: 10px;
  }

  #menu .nav > li > a {
    text-align: right;
    color: #fff;
  }

  #menu div.dropdown-menu {
    margin-top: 5px;
  }

  #menu .dropdown-inner a {
    padding: 8px 20px;
    font-size: 14px;
    color: #000;
    font-weight: 500;
    text-align: right;
  }

  .infos-footer .item {
    margin-bottom: 25px;
  }

  footer .col-sm-6 {
    margin-bottom: 25px;
  }

  .selos .col-md-8 {
    margin-bottom: 20px;
  }

  .sign .container {
    flex-wrap: wrap;
  }

  .sign .item {
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
  }

  .product-infos .qtd {
    flex-wrap: wrap;
  }

  .product-infos .qtd .quantidade,
  .product-infos .qtd #button-cart {
    width: 100%;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  #top .right {
    flex-wrap: wrap;
  }

  #top .right a {
    width: 100%;
    text-align: center;
  }

  .products-title h2 {
    font-size: 28px;
  }
}

@media (max-width: 375px) {
  #top .left {
    flex-wrap: wrap;
  }

  #top .left span {
    width: 100%;
    text-align: center;
  }
}