@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;
  }
}


/* ===== 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: 480px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.banner-slider img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  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 */
  }
}
.lista-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    padding: 20px;
}

.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;
}
