@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
@import url('https://fonts.cdnfonts.com/css/beautifully-delicious-script');

:root {
  --bg: #f8f6f3;
  --dourado: #c7a36f;
  --dourado-escuro: #b48d56;
  --texto: #3a3128;
  --branco: #ffffff;
  --sombra: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--texto);
  overflow-x: hidden;
}

/* ===== CABEÇALHO DUPLO ===== */
.topbar {
  background: var(--bg);
  width: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

/* Parte superior */
.top-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5vw;
  background: var(--branco);
}

.logo-area {
  display: flex;
  flex-direction: column;
}

.amabile-logo {
  font-family: 'Beautifully Delicious Script', cursive;
  font-size: 1.9rem;
  color: var(--dourado);
}

.amabile-sub {
  font-size: 0.8rem;
  color: #7d6b52;
  margin-top: -4px;
}

.search-area {
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-area input {
  padding: 8px 12px;
  border: 1px solid #d9c8a5;
  border-radius: 20px;
  outline: none;
  width: 200px;
  font-size: 0.9rem;
}

.search-area button {
  background: var(--dourado);
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1rem;
}

/* Área do usuário */
.user-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart {
  background: none;
  font-size: 1.2rem;
  color: var(--dourado-escuro);
  position: relative;
}

.cart span {
  background: var(--dourado);
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.7rem;
  position: absolute;
  top: -6px;
  right: -12px;
}

/* Menu flutuante */
.menu {
  display: flex;
  justify-content: center;
  background: var(--branco);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  width: fit-content;
  margin: 0 auto;
  padding: 10px 35px;
  margin-top: 6px;
}

.menu a {
  text-decoration: none;
  color: var(--texto);
  margin: 0 20px;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
}

.menu a:hover,
.menu a.active {
  color: var(--dourado-escuro);
}

/* Responsivo */
@media (max-width: 768px) {
  .top-section {
    flex-direction: column;
    gap: 8px;
  }

  .menu {
    flex-wrap: wrap;
    padding: 8px 20px;
  }

  .search-area input {
    width: 150px;
  }
}


@media (max-width: 768px) {
  .banner-slider {
    height: 4000px;
  }

  .banner-slider img {
    object-fit: contain;
  }
}


/* ===== BUSCA ===== */
.search-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-area input {
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid #e6d9c6;
  outline: none;
  font-size: 0.9rem;
  width: 220px;
}

.search-area button {
  background: var(--dourado);
  color: var(--branco);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.search-area button:hover {
  background: var(--dourado-escuro);
}

/* ===== CARRINHO ===== */
.user-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart {
  position: relative;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart span {
  background: var(--dourado);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  padding: 2px 7px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
  display: inline-block;
}

/* ===== MENU (grudado no cabeçalho, estilo elegante) ===== */
.menu {
  width: 100%;
  background: var(--branco);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.menu a {
  text-decoration: none;
  color: var(--texto);
  font-weight: 500;
  font-size: 1rem;
  margin: 0 25px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.menu a:hover {
  color: var(--dourado);
  transform: translateY(-1px);
}

/* ===== BANNER SLIDER ===== */
.banner-slider {
  margin-top: 120px; /* compensa altura do cabeçalho + menu */
  position: relative;
  width: 100%;
  height: 680px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.banner-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* NÃO corta a imagem */
  background: #f8f6f3;   /* fundo elegante nas laterais */
  transition: opacity 1s ease;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
  animation: fade 1s ease-in-out;
}

@keyframes fade {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

.banner-slider .prev,
.banner-slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  padding: 8px 12px;
  transition: background 0.3s ease;
}

.banner-slider .prev:hover,
.banner-slider .next:hover {
  background: rgba(255,255,255,0.9);
}

.banner-slider .prev { left: 20px; }
.banner-slider .next { right: 20px; }

/* ===== CATEGORIAS ===== */
#categorias {
  margin: 60px auto;
  max-width: 1100px;
  text-align: center;
}

#categorias h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--texto);
  margin-bottom: 30px;
}

.grid-categorias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  justify-items: center;
}

.categoria {
  display: block;
  background: var(--branco);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.categoria:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.categoria img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  display: block;
}

.categoria span {
  display: block;
  padding: 14px;
  font-weight: 600;
  color: var(--texto);
  font-size: 1.1rem;
}

/* ===== SEÇÕES SOBRE E CONTATO ===== */
.sobre, .contato {
  max-width: 900px;
  margin: 60px auto;
  text-align: center;
  line-height: 1.8;
  color: var(--texto);
}

.sobre h2, .contato h2 {
  font-size: 1.6rem;
  color: var(--dourado-escuro);
  margin-bottom: 20px;
}

/* ===== RODAPÉ ===== */
footer, .rodape {
  text-align: center;
  padding: 25px;
  background: var(--branco);
  color: #7a6b5a;
  font-size: 0.9rem;
  box-shadow: var(--sombra);
  margin-top: 40px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    gap: 10px;
  }

  .menu {
    flex-wrap: wrap;
    gap: 15px;
  }

  .banner-slider {
    height: 300px;
  }

  .banner-slider img {
    height: 300px;
  }

  .grid-categorias {
    grid-template-columns: 1fr 1fr;
  }

  .categoria img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .banner-slider {
    height: 220px;
  }

  .grid-categorias {
    grid-template-columns: 1fr;
  }

  .categoria img {
    height: 200px;
  }
}
/* ===== AJUSTE DO MENU E BANNER ===== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  z-index: 1000;
}

.menu {
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  width: 100%;
  position: relative;
  z-index: 999;
  margin-top: 0;
}

/* Tira o espaço entre o menu e o banner */
.banner-slider {
  margin-top: 75px; /* compensa altura do cabeçalho e menu */
}

/* Corrige no mobile */
@media (max-width: 768px) {
  .banner-slider {
    margin-top: 230px; /* distância ideal pra mobile */
  }
}

.produto-card {
    background: white;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.produto-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.produto-card button {
    margin-top: 10px;
    padding: 10px 20px;
    background: #c7a36f;
    border: none;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

.produto-card button:hover {
    background: #b48d56;
}
.carousel {
  position: relative;
  width: 320px;
  height: 400px;
  overflow: hidden;
  border-radius: 12px;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 26px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 50%;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.btn-back {
  margin-top: 10px;
  background: #d9a85f;
  color: white;
  border-radius: 10px;
  padding: 8px 18px;
  cursor: pointer;
}
.btn-voltar-dourado {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 18px;
  background: #c7a36f;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s ease;
}

.btn-voltar-dourado:hover {
  background: #b8925a;
}
.botao-voltar {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 14px;
    color: #b8965a; /* dourado */
    text-decoration: none;
    font-weight: 600;
}

.botao-voltar:hover {
    text-decoration: underline;
}
/* === DESTAQUE ESPECIAL PARA A CATEGORIA VESTIDOS === */
.categoria.destaque {
  transform: scale(1.25);   /* aumenta 25% */
  border: 3px solid #c7a36f; /* borda dourada */
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  z-index: 10;
  border-radius: 15px;
}

.categoria.destaque img {
  border-radius: 15px;
}
/* ===========================
      CABEÇALHO NOVO
=========================== */

.topbar {
  width: 100%;
  padding: 15px 20px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-left,
.header-right {
  width: 40px;
  text-align: center;
}

.menu-icon,
.cart-icon {
  font-size: 26px;
  cursor: pointer;
  color: #6a5636;
}

.logo {
  text-align: center;
  line-height: 1.1;
}

.logo h1 {
  font-size: 22px;
  font-weight: 600;
}

.logo p {
  font-size: 11px;
  color: #b29264;
}

/* ===========================
      MENU LATERAL
=========================== */
.menu-lateral {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background: #fff;
  box-shadow: 4px 0 10px rgba(0,0,0,0.15);
  padding: 20px;
  transition: 0.3s ease;
  z-index: 2000;
}

.menu-lateral.ativo {
  left: 0;
}

.menu-lateral h3 {
  margin-bottom: 15px;
  color: #b29264;
}

.menu-lateral ul {
  list-style: none;
}

.menu-lateral ul li {
  margin: 12px 0;
}

.menu-lateral ul li a {
  text-decoration: none;
  color: #3a3128;
  font-size: 16px;
}

.menu-lateral ul li a:hover {
  color: #b29264;
}

.fechar-menu {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

/* Overlay */
.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1500;
}

.overlay.ativo {
  opacity: 1;
  visibility: visible;
}
/* ===========================
   CABEÇALHO NOVO (OPÇÃO C)
=========================== */

.topbar {
  width: 100%;
  padding: 15px 20px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-left,
.header-right {
  width: 40px;
  text-align: center;
}

.menu-icon,
.cart-icon {
  font-size: 26px;
  cursor: pointer;
  color: #6a5636;
}

/* Logo central */
.logo {
  text-align: center;
  line-height: 1.1;
}

.logo h1 {
  font-size: 22px;
  font-weight: 600;
}

.logo p {
  font-size: 11px;
  color: #b29264;
}

/* ===========================
   MENU LATERAL
=========================== */

.menu-lateral {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background: #fff;
  box-shadow: 4px 0 10px rgba(0,0,0,0.15);
  padding: 20px;
  transition: 0.3s ease;
  z-index: 2000;
}

.menu-lateral.ativo {
  left: 0;
}

.menu-lateral h3 {
  margin-bottom: 15px;
  color: #b29264;
}

.menu-lateral ul {
  list-style: none;
}

.menu-lateral ul li {
  margin: 12px 0;
}

.menu-lateral ul li a {
  text-decoration: none;
  color: #3a3128;
  font-size: 16px;
}

.menu-lateral ul li a:hover {
  color: #b29264;
}

.fechar-menu {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* Overlay escuro */
.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1500;
}

.overlay.ativo {
  opacity: 1;
  visibility: visible;
}
.grid-categorias .categoria img {
    width: 100%;
    height: 350px;    
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
}
/* Remove espaço entre topo e carrossel no mobile */
@media (max-width: 600px) {
    .banner-slider {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .banner-slider img {
        margin-top: 0 !important;
        padding-top: 0 !important;
        display: block;
    }
}
header.topbar {
    margin-bottom: 0 !important;
    padding-bottom: 5px !important;
}
/* Padronizar todas as imagens da seção Categorias */
.grid-categorias .categoria img {
    width: 100%;
    height: 360px; /* mesmo tamanho visual da viseira */
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

/* Ajuste no celular */
@media (max-width: 600px) {
    .grid-categorias .categoria img {
        height: 300px; /* mantém o padrão da viseira */
    }
}
.usuario-box {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  background: #f5f5f5;
  border-radius: 8px;
  margin: 15px;
  gap: 10px;
}

.usuario-box i {
  font-size: 20px;
  color: var(--dourado);
}

.usuario-box a {
  color: var(--dourado);
  font-weight: bold;
  text-decoration: none;
}

.usuario-box a:hover {
  text-decoration: underline;
}
/* =============================
   AJUSTE DO TOPO + CATEGORIAS
   MOBILE FIX
============================= */
@media (max-width: 600px) {

    /* Garante espaço abaixo do topo */
    body {
        padding-top: 110px !important;
    }

    /* Garante que o header não sobreponha conteúdo */
    header.topbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
    }

    /* Alinha as categorias certinho */
    section.categorias,
    #colecoes,
    .grid-categorias {
        margin-top: 10px !important;
    }
}
/* ============================
   FIX: IMAGENS DAS CATEGORIAS IGUAIS
============================ */

.grid-categorias .categoria img {
    width: 100%;
    height: 360px !important;   /* mesmo tamanho da BLUSAS */
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
}

/* MOBILE */
@media (max-width: 600px) {
    .grid-categorias .categoria img {
        height: 300px !important; /* mesmo tamanho da BLUSAS no celular */
    }
}
/* FORÇAR TAMANHO IGUAL EM TODAS AS CATEGORIAS (MOBILE) */
@media (max-width: 600px) {
    .grid-categorias {
        grid-template-columns: 1fr !important; /* uma coluna só */
    }

    .grid-categorias .categoria {
        width: 100% !important;
        max-width: 100% !important;
    }

    .grid-categorias .categoria img {
        width: 100% !important;
        height: 380px !important;  /* mesmo tamanho da Blusas */
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
    }
}
/* ==========================
   FIX MENU MOBILE (IMPORTANTE)
========================== */

/* Menu lateral sempre acima de tudo */
.menu-lateral {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100vh;
  background: #fff;
  z-index: 10000;
  overflow-y: auto;
}

/* Overlay cobre tudo */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9999;
}
/* ============================
   FIX FINAL – GRID DE VESTIDOS
   (2 POR LINHA NO MOBILE)
============================ */

/* GRID PADRÃO */
.lista-produtos {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* CARD */
.produto-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* IMAGEM */
.produto-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
}

/* TEXTO */
.produto-card h3 {
    font-size: 15px;
    font-weight: 500;
    margin: 10px 0 4px;
}

.produto-card .preco {
    font-size: 15px;
    font-weight: 600;
    color: #3a3128;
}

/* BOTÃO */
.produto-card button {
    margin-top: 8px;
    width: 100%;
    padding: 10px;
    background: #c7a36f;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
}

.produto-card button:hover {
    background: #b48d56;
}

/* =========================
   MOBILE – 2 POR LINHA
========================= */
@media (max-width: 768px) {
    .lista-produtos {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 10px !important;
    }

    .produto-img {
        height: 240px !important;
    }

    .produto-card h3 {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    .produto-card .preco {
        font-size: 14px !important;
    }
}

/* REMOVE QUALQUER PROMOÇÃO / SELO */
.badge,
.promocao,
.selo,
.tag {
    display: none !important;
}
/* ============================
   FIX DEFINITIVO – 2 POR LINHA
============================ */

/* Garante o grid */
.lista-produtos {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 12px !important;
}

/* Remove qualquer wrapper quebrando o grid */
.lista-produtos > div {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Card ocupa só a célula */
.produto-card {
    width: 100% !important;
    margin: 0 !important;
}

/* Imagem ajustada */
.produto-img {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    border-radius: 12px;
}

/* MOBILE ONLY */
@media (min-width: 769px) {
    .lista-produtos {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    }
}
/* ============================
   BANNER MOBILE – SEM CORTES
   (IDEAL PARA ARTES COM TEXTO)
============================ */
@media (max-width: 768px) {

    .banner-slider {
        height: 600px !important;
        overflow: hidden;
        background: #f8f6f3;
    }

    .banner-slider .slide {
        height: 100%;
    }

    .banner-slider img {
        width: 100%;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center 20%;
        display: block;
    }

    .banner-slider .prev,
    .banner-slider .next {
        top: 50%;
        transform: translateY(-50%);
    }
}
/* ============================
   BANNER MOBILE – FIX DEFINITIVO
   (SEM CORTAR + SEM BURACO)
============================ */
@media (max-width: 768px) {

    .banner-slider {
        width: 100%;
        aspect-ratio: 4 / 5;   /* 🔥 PROPORÇÃO MOBILE */
        height: auto !important;
        background: #f8f6f3;
        overflow: hidden;
        position: relative;
    }

    .banner-slider .slide {
        position: absolute;
        inset: 0;
    }

    .banner-slider img {
        width: 100%;
        height: 100%;
        object-fit: contain;   /* NÃO CORTA TEXTO */
        object-position: center center;
        display: block;
    }

    /* Setas centralizadas */
    .banner-slider .prev,
    .banner-slider .next {
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
}
/* ============================
   SLIDER RESPONSIVO PROFISSIONAL
============================ */

.banner-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #f8f6f3;
}

/* Mobile: proporção vertical */
@media (max-width: 768px) {
    .banner-slider {
        aspect-ratio: 4 / 5;
    }
}

/* Desktop */
@media (min-width: 769px) {
    .banner-slider {
        height: 700px;
    }
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Desktop image */
.banner-desktop {
    object-fit: cover;
}

/* Mobile image */
.banner-mobile {
    display: none;
    object-fit: contain;
}

/* Troca automática por device */
@media (max-width: 768px) {
    .banner-desktop {
        display: none;
    }
    .banner-mobile {
        display: block;
    }
}

/* Setas */
.banner-slider .prev,
.banner-slider .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    border: none;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    padding: 8px 12px;
    z-index: 5;
}

.banner-slider .prev { left: 10px; }
.banner-slider .next { right: 10px; }

/* =========================
   CATEGORIA – 2 POR LINHA NO MOBILE
========================= */
@media (max-width: 768px) {

  .produtos-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 10px;
  }

  .produto {
    width: 100%;
    margin: 0;
  }

  .produto img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
  }

  .produto-nome {
    font-size: 14px;
    line-height: 1.2;
  }

  .produto-preco {
    font-size: 14px;
  }

  .btn-ver,
  .esgotado {
    font-size: 13px;
    padding: 8px;
  }
}
/* ============================
   WHATSAPP FLUTUANTE – FIX FINAL
============================ */

.whatsapp-float {
    position: fixed;
    bottom: 18px;
    right: 18px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 99999; /* acima de tudo */
    text-decoration: none;
}

/* Evita corte em celulares */
body {
    overflow-x: hidden;
}

/* Ajuste específico mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 14px;
        right: 14px;
        width: 54px;
        height: 54px;
        font-size: 26px;
    }
}
.menu-lateral h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #b29264;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu-lateral ul li a {
  display: block;
  padding: 6px 0;
}
/* =========================
   GRID DE PRODUTOS – PADRÃO
========================= */

.page-content {
  margin-top: 140px;
}

.produtos-container {
  max-width: 1000px;
  margin: 30px auto;
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(240px, 240px));
  gap: 25px;
}

.produto {
  background: #fff;
  border-radius: 15px;
  padding: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  text-align: center;
  transition: .25s;
  position: relative;
}

.produto:hover {
  transform: translateY(-6px);
}

.produto img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

.produto-nome {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #3a3128;
}

.produto-preco {
  margin-top: 5px;
  font-size: 17px;
  font-weight: bold;
  color: #c7a36f;
}

.btn-ver {
  width: 100%;
  padding: 10px;
  margin-top: 12px;
  border: none;
  border-radius: 8px;
  color: #fff;
  background: #c9a06a;
  cursor: pointer;
}

.btn-ver:hover {
  background: #b48754;
}

/* =========================
   MOBILE – 2 POR LINHA
========================= */
@media (max-width: 768px) {
  .produtos-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 10px;
  }

  .produto img {
    height: 220px;
  }

  .produto-nome {
    font-size: 14px;
    line-height: 1.2;
  }

  .produto-preco {
    font-size: 14px;
  }
}
/* =========================
   BOTÃO FAVORITO (CORAÇÃO)
========================= */

.btn-favorito {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 5;
}

.btn-favorito i {
  font-size: 18px;
  color: #c7a36f;
  transition: 0.2s ease;
}

/* Quando estiver favoritado */
.btn-favorito.ativo i {
  color: #e63946;
}

/* Hover */
.btn-favorito:hover i {
  transform: scale(1.15);
}
/* ============================
   LOGO EM IMAGEM – HEADER
============================ */

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  max-height: 48px;   /* desktop */
  width: auto;
  object-fit: contain;
}

/* MOBILE */
@media (max-width: 768px) {
  .logo-img {
    max-height: 42px; /* celular */
  }
}

/* =========================
   FIX HEADER MOBILE – LOGO CENTRAL
========================= */

header.topbar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Mantém áreas laterais com mesmo tamanho */
.header-left,
.header-right {
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo sempre centralizado */
.logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tamanho do logo */
.logo-img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

/* MOBILE ONLY */
@media (max-width: 768px) {
  header.topbar {
    padding: 10px 12px;
  }
}
/* =========================
   HEADER ROSA CLARO (SUAVE)
========================= */

header.topbar {
  background: #f7ecea !important;
}

/* Garante no mobile também */
@media (max-width: 768px) {
  header.topbar {
    background: #f7ecea !important;
  }
}
/* =========================
   LOGO CENTRAL – FIX DEFINITIVO
========================= */
/* =========================
   LOGO CENTRAL – TAMANHO AJUSTADO
========================= */

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.logo-img {
  height: 480px;       /* desktop */
  width: auto;
  object-fit: contain;
}

/* MOBILE – DEIXAR BEM VISÍVEL */
@media (max-width: 768000000px) {
  .logo-img {
    height: 768000000px;     /* 🔥 MAIOR no celular */
  }
}
/* MOBILE – LIBERAR ALTURA DO HEADER */
@media (max-width: 768px) {
  header.topbar {
    height: auto !important;
    min-height: 90px;   /* 🔥 AUMENTA O HEADER */
    padding: 12px 16px !important;
  }
}
/* MOBILE – LOGO GRANDE DE VERDADE */
@media (max-width: 768px) {
  .logo-img {
    height: 90px;        /* TESTE: 72 / 78 / 84 */
    max-height: none;    /* REMOVE LIMITAÇÃO */
    width: auto;
  }
}
/* =========================
   BARRA DE PESQUISA MOBILE
========================= */
.search-bar {
  width: 100%;
  background: #f6e9e6; /* rosa claro */
  padding: 10px 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.search-bar form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-bar input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid #e2cfc9;
  font-size: 14px;
  outline: none;
}

.search-bar button {
  background: #c7a36f;
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
}

.search-bar button:hover {
  background: #b48d56;
}

/* MOBILE – GARANTE VISUAL */
@media (max-width: 768px) {
  .search-bar {
    position: sticky;
    top: 70px; /* fica colada abaixo do header */
    z-index: 998;
  }
}
.voltar {
  color: #c9a06a !important;
  text-decoration: underline;
}

.voltar:visited {
  color: #c9a06a !important;
}
/* SEARCH BAR */
.search-bar {
  width: 100%;
  padding: 10px 16px;
  background: #f6eaea;
  transition: transform .3s ease, opacity .3s ease;
}

.search-bar form {
  display: flex;
  gap: 8px;
}

.search-bar input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid #e0cfcf;
  outline: none;
}

.search-bar button {
  border: none;
  background: #c9a06a;
  color: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

/* ESCONDER AO ROLAR */
.search-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.search-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
/* SEARCH BAR FLUTUANTE */
.search-bar {
  position: fixed;
  top: 72px; /* altura do header */
  left: 0;
  width: 100%;
  background: #f4e9e6;
  padding: 10px 14px;
  z-index: 998;
  transition: transform .35s ease, opacity .35s ease;
}

.search-bar form {
  max-width: 1000px;
  margin: auto;
  display: flex;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.search-bar input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 14px;
  outline: none;
}

.search-bar button {
  border: none;
  background: transparent;
  padding: 0 16px;
  cursor: pointer;
  color: #c9a06a;
  font-size: 16px;
}

/* ESCONDER AO ROLAR */
.search-hidden {
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
}
.logo-img {
  height: 48px;
  max-height: 100%;
  width: auto;
}

/* MOBILE */
@media (max-width: 768px) {
  .logo-img {
    height: 150px; /* 🔥 AQUI você ajusta */
  }
}
/* =========================
   SEARCH BAR – AMÁBILE STYLE
========================= */

.search-wrapper {
  width: 100%;
  background: #f6ebe6; /* rosa claro elegante */
  padding: 10px 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  position: relative;
  z-index: 5;
}

/* Form */
.search-wrapper form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 999px; /* totalmente arredondada */
  padding: 6px 10px;
  border: 1px solid #ead7c7;
}

/* Input */
.search-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  background: transparent;
  color: #3a3128;
}

/* Placeholder */
.search-wrapper input::placeholder {
  color: #9b8b7a;
}

/* Botão */
.search-wrapper button {
  background: #c9a06a; /* dourado Amábile */
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
}

/* Hover */
.search-wrapper button:hover {
  background: #b48754;
}

/* Ícone */
.search-wrapper button i {
  font-size: 14px;
}

/* MOBILE */
@media (max-width: 768px) {
  .search-wrapper{
/* ===========================
   HEADER MAIS BAIXO (MOBILE)
   CORTA PRA BAIXO O LOGO
=========================== */
}
.topbar {
  height: 64px;                /* 🔥 ALTURA FINAL DO HEADER */
  padding: 0 14px;
  background: #f6ebe6;         /* rosa claro elegante */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Centraliza tudo verticalmente */
.header-left,
.header-right,
.logo {
  display: flex;
  align-items: center;
}

/* LOGO CORTADO PRA BAIXO */
.logo {
  height: 64px;
  overflow: hidden;            /* 🔥 ISSO FAZ O CORTE */
}

/* Ajuste fino do logo */
.logo-img {
  height: 78px;                /* maior que o header */
  margin-top: -6px;            /* empurra pra cima = corta embaixo */
  object-fit: contain;
}

/* Ícones */
.menu-icon,
.cart-icon {
  font-size: 22px;
  color: #6a5636;
}

/* Badge do carrinho */
.badge-carrinho {
  top: -4px;
  right: -6px;
}

/* MOBILE GARANTIDO */
@media (max-width: 768px) {
  .topbar {
    height: 60px;
  }

  .logo {
    height: 60px;
  }

  .logo-img {
    height: 72px;
    margin-top: -6px;
  }
}
/* ============================
   HEADER AMÁBILE – LIMPO
============================ */

header.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;                 /* 🔥 header baixo */
  background: #f6ebe6;          /* rosa claro elegante */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  z-index: 1000;
}

/* Áreas laterais */
.header-left,
.header-right {
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* LOGO CENTRAL COM CORTE */
.logo {
  flex: 1;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;            /* 🔥 corta embaixo */
}

.logo-img {
  height: 96px;                /* maior que o header */
  margin-top: -8px;            /* empurra pra cima */
  width: auto;
  object-fit: contain;
}

/* Ícones */
.menu-icon,
.cart-icon {
  font-size: 22px;
  color: #6a5636;
}

/* ============================
   SEARCH BAR ABAIXO DO HEADER
============================ */

.search-bar {
  position: fixed;
  top: 64px;                   /* exatamente abaixo do header */
  left: 0;
  width: 100%;
  background: #f4e9e6;
  padding: 10px 14px;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.search-bar form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 14px;
  background: transparent;
}

.search-bar button {
  background: #c9a06a;
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
}

/* ============================
   COMPENSA TOPO NO CONTEÚDO
============================ */

body {
  padding-top: 120px; /* header + search */
}

/* ============================
   MOBILE AJUSTE FINO
============================ */
@media (max-width: 768px) {

  header.topbar {
    height: 60px;
  }

  .logo {
    height: 60px;
  }

  .logo-img {
    height: 900px;
    margin-top: -6px;
  }

  .search-bar {
    top: 60px;
  }

  body {
    padding-top: 110px;
  }
}
/* ===== FORÇA LOGO (ÚLTIMA REGRA) ===== */
header.topbar .logo {
  height: 64px !important;
  overflow: hidden !important;
}

header.topbar .logo .logo-img {
  height: 120px !important;   /* AQUI aumenta */
  max-height: none !important;
  width: auto !important;
  margin-top: -10px !important; /* ajusta corte */
  object-fit: contain !important;
}

/* MOBILE */
@media (max-width: 768px) {
  header.topbar .logo {
    height: 60px !important;
  }

  header.topbar .logo .logo-img {
    height: 190px !important;   /* AQUI aumenta no celular */
    margin-top: -10px !important;
  }
}
