
:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-soft: #fcfbf8;
  --surface-deep: #111111;
  --primary: #bfa38a;
  --primary-dark: #9f8268;
  --primary-soft: #e8ddd1;
  --text: #2f2f2f;
  --text-soft: #6f6f6f;
  --text-inverse: #ffffff;
  --border: #e7e3dd;
  --border-strong: #d8d1c8;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  --transition: 0.28s ease;
  --brand-topbar: #f3efe9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.logo-title,
.hero-text h1,
.section-header h2,
.featured-banner-content h2,
.brand-card h3,
.footer h3,
.footer h4,
.product-title,
.product-page-name,
.newsletter-content h2,
.cart-drawer-header h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-text p,
.section-header p,
.brand-card p,
.featured-banner-content p,
.newsletter-content p,
.footer p,
.footer ul li a,
.product-category,
.product-page-category,
.product-page-description,
.shipping-note,
.cart-empty,
.cart-item-info p {
  color: var(--text-soft);
}

.filter-btn,
.btn,
.newsletter-form button,
.header-contact,
.section-tag,
.nav-item > a,
.product-category,
.product-page-category,
.cart-item-qty {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Topo */
.topbar {
  background: #7FB8AD;
  color: #1f1f1f; /* preto suave */
  border-bottom: none;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
}

.topbar-content {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.topbar-content p {
  display: inline-block;
  white-space: nowrap;
  animation: slidePause 10s ease-in-out infinite;
}
@keyframes slidePause {
  0% {
    transform: translateX(40%);
    opacity: 0;
  }

  15% {
    transform: translateX(0);
    opacity: 1;
  }

  50% {
    transform: translateX(0); /* pausa */
    opacity: 1;
  }

  85% {
    transform: translateX(-40%);
    opacity: 0;
  }

  100% {
    transform: translateX(-40%);
    opacity: 0;
  }
}

/* Header */
.header {
  position: relative;
  z-index: 100;
}

.header-main {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-main-content {
  min-height: 114px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-contact {
  color: var(--text-soft);
  font-size: 0.78rem;
  min-width: 180px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.logo-img {
  width: 140px;
  height: auto;
  object-fit: contain;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 180px;
}

.icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  color: #555;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

.icon-button:hover {
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.icon-button svg {
  display: block;
  stroke: currentColor;
  width: 20px;
  height: 20px;
}

.search-button svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.55;
}

.cart-button svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.1;
}

.cart-count {
  position: absolute;
  bottom: -4px;
  left: -4px;

  background:#7FB8AD;
  color: #fff;

  font-size: 0.65rem;
  font-weight: 600;

  width: 18px;
  height: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
}

.cart-count.bounce {
  transform: scale(1.2);
}

/* Busca */
.searchbar {
  display: none;
  padding: 16px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.searchbar.active {
  display: block;
}

.searchbar input,
.newsletter-form input,
.shipping-input,
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--border);
  outline: none;
  background: #fffdf9;
}

.searchbar input:focus,
.newsletter-form input:focus,
.shipping-input:focus,
.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  border-color: var(--primary-dark);
}

/* Menu */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #000;
  transition: var(--transition);
}

.navbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.nav-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 0;
}

.nav-item {
  position: relative;
  padding-bottom: 14px;
}

.nav-item > a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: #3f3f3f;
  transition: color 0.25s ease;
}

.nav-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--primary-dark);
  transition: width 0.25s ease;
}

.nav-item:hover > a {
  color: var(--primary-dark);
}

.nav-item:hover > a::after {
  width: 100%;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #555;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
  background: #f8f7f4;
  color: var(--primary-dark);
}

/* Hero */
.hero {
  padding: 74px 0 34px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
}

.hero-split {
  width: 100%;
  background: #f8f7f4;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 0;
}

.hero-right {
  width: 100%;
  height: 340px;
  display: flex;
  justify-content: center;
  align-items: center;

  background: linear-gradient(
    180deg,
    #f8f7f4 0%,
    #e8f3f0 40%,
    #d7ebe6 100%
  );
}
.hero-right img {
  position: relative;
  left: 30%;
  max-width: 420px;
  width: 100%;
  height: auto;
  display: block;
}

.hero-full::after,
.hero-overlay,
.hero-left,
.hero-full,
.hero-text,
.hero-buttons,
.hero-image 
  /* mantém compatibilidade sem influenciar a home atual */


.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--primary-dark);
}

.hero-text h1 {
  margin: 18px 0 22px;
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.hero-text p {
  max-width: 560px;
  margin-bottom: 32px;
  font-size: 1rem;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 1px solid transparent;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

.btn-primary:hover {
  background: var(--text);
  color: var(--text-inverse);
  border-color: var(--text);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: #f8f7f4;
  border-color: var(--primary-dark);
}

/* Blocos */
.brand-cards {
  padding: 30px 0 56px;
}

.brand-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.brand-card,
.featured-banner-content,
.newsletter-content,
.category-card,
.product-page-card {
  background: var(--surface);
  border: 1px solid var(--border);
}

.brand-card {
  padding: 30px 28px;
}

.brand-icon {
  font-size: 1rem;
  color: var(--primary-dark);
}

.brand-card h3 {
  margin: 14px 0 10px;
  font-size: 2rem;
}

.categories,
.products,
.newsletter,
.product-page-section {
  padding: 72px 0;
}

.section-header {
  margin-bottom: 56px;
  text-align: center;
}

.section-header h2 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  line-height: 1.05;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  min-height: 150px;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.featured-banner {
  padding: 10px 0 20px;
}

.featured-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px;
}

.featured-banner-content h2 {
  margin: 12px 0 14px;
  font-size: 3rem;
  line-height: 1;
}

.featured-banner-content p {
  max-width: 720px;
}

/* Vitrine */
.products-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--surface-deep);
  color: var(--text-inverse);
  border-color: var(--surface-deep);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  overflow: hidden;
  transition: var(--transition);
  background: #fff;
  border: 1px solid transparent;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.product-image-wrapper {
  position: relative;
}

.product-image {
  width: 100%;
  height: 340px;
  object-fit: cover;
  background: #f6f4f1;
}

.product-info {
  padding: 22px 20px 20px;
}

.product-category {
  display: block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 600;
}

.product-title {
  margin: 10px 0 14px;
  font-size: 1.55rem;
  line-height: 1.08;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.product-action-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 42px;
  padding: 13px 14px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  overflow: hidden;
  transition: var(--transition);
}

.product-action-link:hover {
  background: var(--surface-deep);
  color: var(--text-inverse);
  border-color: var(--surface-deep);
}

.product-price-hover,
.product-buy-label {
  position: absolute;
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-price-hover {
  opacity: 1;
  transform: translateY(0);
}

.product-buy-label {
  opacity: 0;
  transform: translateY(8px);
}

.product-action-link:hover .product-price-hover {
  opacity: 0;
  transform: translateY(-8px);
}

.product-action-link:hover .product-buy-label {
  opacity: 1;
  transform: translateY(0);
}

/* Newsletter */
.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 44px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

/* Footer */
.footer {
  margin-top: 40px;
  background: #0b0b0b;
  color: var(--text-inverse);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 56px 0;
}

.footer h3,
.footer h4 {
  margin-bottom: 14px;
  color: var(--primary-soft);
  font-weight: 600;
}

.footer h3 {
  font-size: 2rem;
}

.footer h4 {
  font-size: 1.6rem;
}

.footer p,
.footer ul li a {
  color: rgba(247, 242, 232, 0.74);
}

.footer li + li {
  margin-top: 8px;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: rgba(247, 242, 232, 0.68);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float i {
  font-size: 28px;
  line-height: 1;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

/* Sacola lateral */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 100%);
  height: 100vh;
  background: #fffdf9;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
  z-index: 10001;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px;
  border-bottom: 1px solid rgba(176, 139, 87, 0.22);
}

.cart-drawer-header h3 {
  margin: 0;
  font-size: 1.7rem;
}

.cart-drawer-close {
  border: none;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: #222;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
}

.cart-empty {
  font-size: 0.95rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(176, 139, 87, 0.16);
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid rgba(176, 139, 87, 0.18);
}

.cart-item-info h4 {
  margin: 0 0 6px;
  font-size: 0.96rem;
  font-weight: 600;
  color: #171411;
}

.cart-item-info p {
  margin: 0 0 8px;
  font-size: 0.88rem;
}

.cart-item-qty {
  font-size: 0.8rem;
  color: #8f6f43;
}

.cart-remove-btn {
  border: none;
  background: transparent;
  color: #8a6b46;
  cursor: pointer;
  font-size: 0.82rem;
  text-decoration: underline;
}

.cart-drawer-footer {
  padding: 18px 20px 22px;
  border-top: 1px solid rgba(176, 139, 87, 0.22);
  background: #fffdf9;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 1rem;
  color: #171411;
}

.cart-total strong {
  font-size: 1.1rem;
}

.cart-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.cart-actions .btn {
  flex: 1;
  text-align: center;
}

.cart-finish-btn {
  width: 100%;
}

/* Página do produto / checkout / confirmação */
.product-page-section {
  padding-top: 54px;
}

.product-page-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  padding: 34px;
}

.checkout-layout {
  grid-template-columns: 1fr 1fr;
}

.product-page-image-wrapper {
  background: #fff;
  border: 1px solid var(--border);
}

.product-page-image {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.product-page-category {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
}

.product-page-name {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  margin-bottom: 18px;
}

.product-page-price {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 18px;
}

.product-page-description {
  margin-bottom: 28px;
  max-width: 560px;
}

.shipping-box {
  margin: 26px 0 22px;
  padding: 20px;
  border: 1px solid var(--border);
  background: #fffdf9;
}

.shipping-box h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.shipping-note {
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.shipping-action {
  display: flex;
  gap: 10px;
}

.shipping-result {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--text);
}

.product-page-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-not-found {
  text-align: center;
  padding: 60px 20px;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Responsivo */
@media (max-width: 1024px) {
  .hero-content,
  .newsletter-content,
  .featured-banner-content,
  .product-page-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .products-grid,
  .categories-grid,
  .brand-cards-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .filters {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .topbar {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .topbar-content {
    padding: 10px 0;
  }

  .header-main-content {
    min-height: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 10px;
    padding: 18px 0;
  }

  .header-contact {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .logo {
    justify-self: center;
  }

  .logo-img {
    width: 90px;
  }

  .header-actions {
    min-width: auto;
    gap: 8px;
  }

  .icon-button {
    width: 45px;
    height: 45px;
  }

  .navbar {
    display: none;
    position: static;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
  }

  .navbar.active {
    display: block;
  }

  .nav-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    align-items: stretch;
  }

  .nav-item {
    width: 100%;
    padding-bottom: 0;
  }

  .nav-item > a {
    width: 100%;
    padding: 14px 18px;
    border-top: 1px solid var(--border);
    text-align: left;
  }

  .nav-item > a::after {
    display: none;
  }

  .dropdown-menu {
    display: none;
  }

  .hero {
    padding: 28px 0 18px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-text {
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .hero-image img {
    height: min(56vw, 420px);
  }

  .hero-text h1 {
    margin: 14px 0 16px;
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    line-height: 0.98;
  }

  .hero-text p {
    margin-bottom: 22px;
    font-size: 0.98rem;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-buttons .btn,
  .featured-banner-content .btn,
  .newsletter-form .btn {
    width: 100%;
  }

  .brand-cards {
    padding: 18px 0 36px;
  }

  .brand-cards-grid,
  .categories-grid,
  .products-grid,
  .footer-grid,
  .newsletter-content {
    grid-template-columns: 1fr;
  }

  .brand-card,
  .featured-banner-content,
  .newsletter-content,
  .product-page-card {
    padding: 26px 22px;
  }

  .brand-card h3 {
    font-size: 1.6rem;
  }

  .categories,
  .products,
  .newsletter,
  .product-page-section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 26px;
  }

  .section-header h2,
  .featured-banner-content h2 {
    font-size: clamp(2rem, 8vw, 2.7rem);
    line-height: 0.98;
  }

  .category-card {
    min-height: 92px;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
  }

  .featured-banner-content {
    gap: 18px;
    align-items: stretch;
  }

  .products-header {
    gap: 18px;
  }

  .filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: calc(100% + 4px);
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 11px 14px;
  }

  .product-image {
    height: min(78vw, 420px);
  }

  .product-title {
    font-size: 1.55rem;
  }

  .product-actions,
  .newsletter-form,
  .shipping-action,
  .product-page-actions,
  .cart-actions {
    flex-direction: column;
  }

  .product-action-link,
  .product-page-actions .btn,
  .shipping-action .btn,
  .cart-actions .btn {
    width: 100%;
  }

  .product-page-image {
    height: min(92vw, 520px);
  }

  .footer-grid {
    gap: 24px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 60px;
    height: 60px;
  }

  .whatsapp-float i {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero-split {
    padding: 20px 0;
  }

  .hero-right {
    height: 320px;
  }

  .topbar {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .header-main-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    justify-self: auto;
  }

  .logo-img {
    width: 78px;
  }

  .header-actions {
    margin-left: auto;
    justify-content: flex-end;
  }

  .searchbar {
    padding: 12px 0;
  }

  .searchbar input,
  .newsletter-form input,
  .shipping-input {
    padding: 14px 15px;
    font-size: 16px;
  }

  .section-tag {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  .hero {
    padding-top: 0;
  }

  .hero-image img {
    height: 320px;
  }

  .hero-text h1 {
    font-size: 2.1rem;
  }

  .hero-text p,
  .section-header p,
  .featured-banner-content p,
  .newsletter-content p,
  .footer p,
  .footer ul li a,
  .product-page-description,
  .shipping-note {
    font-size: 0.94rem;
  }

  .btn {
    min-height: 48px;
    padding: 14px 18px;
    font-size: 0.7rem;
  }

  .brand-card,
  .featured-banner-content,
  .newsletter-content,
  .product-info,
  .product-page-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-card h3 {
    font-size: 1.35rem;
  }

  .section-header h2,
  .featured-banner-content h2,
  .footer h3 {
    font-size: 1.9rem;
  }

  .footer h4 {
    font-size: 1.35rem;
  }

  .products {
    padding: 40px 0 52px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-image {
    height: 340px;
  }

  .product-info {
    padding: 18px 16px 20px;
  }

  .product-category {
    font-size: 0.64rem;
    margin-bottom: 6px;
  }

  .product-title {
    font-size: 1.25rem;
    line-height: 1.1;
    margin: 8px 0 14px;
  }

  .product-action-link {
    width: 100%;
    min-height: 48px;
  }

  .product-price-hover {
    opacity: 1;
    transform: translateY(0);
  }

  .product-buy-label {
    display: none;
  }

  .product-page-name {
    font-size: 2rem;
  }

  .product-page-price {
    font-size: 1.2rem;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer {
    margin-top: 28px;
  }

  .footer-grid {
    padding: 42px 0;
  }

  .footer-bottom {
    font-size: 0.74rem;
    letter-spacing: 0.04em;
  }

  .cart-drawer {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .topbar-content p {
    max-width: 30ch;
    margin: 0 auto;
    line-height: 1.45;
  }

  .hero-text h1 {
    font-size: 1.85rem;
  }

  .hero-image img,
  .product-image {
    height: 260px;
  }

  .brand-card,
  .featured-banner-content,
  .newsletter-content,
  .product-page-card {
    padding: 20px 16px;
  }

  .product-info {
    padding: 16px 14px 18px;
  }

  .product-title {
    font-size: 1.15rem;
  }

  .product-action-link {
    min-height: 46px;
  }

  .nav-item > a,
  .filter-btn {
    font-size: 0.64rem;
  }
}

/* Hero principal - foto coleção Lua */
.hero-laluna {
  position: relative;
  min-height: 720px;

  display: flex;
  align-items: center;

  background-image: linear-gradient(
    90deg,
    rgba(248, 247, 244, 0.96) 0%,
    rgba(248, 247, 244, 0.85) 28%,
    rgba(248, 247, 244, 0.20) 55%,
    rgba(248, 247, 244, 0.02) 75%
  ),
  url("hero-laluna-lua.png");

  background-size: 70%;
  background-position: 68% center;

  /* 👇 ESSENCIAL */
  background-repeat: no-repeat;
}

.hero-laluna::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(248,247,244,0), var(--bg));
  pointer-events: none;
}

.hero-laluna-content {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-laluna-text {
  max-width: 520px;
  padding: 42px 0;
}

.hero-laluna-text h1 {
  margin: 18px 0 20px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 5.1rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0.01em;
  color: #171411;
}

.hero-laluna-text p {
  max-width: 460px;
  margin-bottom: 30px;
  color: #5f5b55;
  font-size: 1rem;
}

.hero-laluna .btn-primary {
  background: #171411;
  color: #fff;
  border-color: #171411;
}

.hero-laluna .btn-primary:hover {
  background: transparent;
  color: #171411;
}
@media (max-width: 900px) {
  .hero-laluna {
    min-height: 560px;

    background-image: linear-gradient(
      180deg,
      rgba(248, 247, 244, 0.95) 0%,
      rgba(248, 247, 244, 0.75) 40%,
      rgba(248, 247, 244, 0.15) 100%
    ),
    url("hero-laluna-lua.png");

    background-position: 70% center;
    background-size: cover;
  }
}

  .hero-laluna-content {
    min-height: 560px;
    align-items: flex-end;
  }

  .hero-laluna-text {
    max-width: 100%;
    padding: 0 0 42px;
  }

  .hero-laluna-text h1 {
    font-size: clamp(2.35rem, 9vw, 3.7rem);
  }


@media (max-width: 640px) {
  .hero-laluna {
    min-height: 520px;
    background-position: 67% center;
  }

  .hero-laluna-content {
    min-height: 520px;
  }

  .hero-laluna-text p {
    font-size: 0.94rem;
  }
}
/* DESKTOP */
@media (min-width: 901px) {
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: none;

    min-width: 220px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 14px 28px rgba(0,0,0,0.06);
    padding: 10px 0;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1000;
  }

  .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* =========================================
   FIX MOBILE MENU / DROPDOWN
========================================= */

@media (max-width: 900px) {
  .navbar.active {
    display: block;
  }

  .nav-item.has-dropdown {
    position: relative;
  }

  .nav-item.has-dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-item.has-dropdown > a::before {
    content: "+";
    order: 2;
    font-size: 1rem;
    color: var(--primary-dark);
  }

  .nav-item.has-dropdown.submenu-open > a::before {
    content: "−";
  }

  .nav-item.has-dropdown .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    min-width: 100%;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border);
    background: #faf8f5;
    padding: 0;
  }

  .nav-item.has-dropdown.submenu-open .dropdown-menu {
    display: block;
  }

  .nav-item.has-dropdown .dropdown-menu a {
    padding: 13px 28px;
    border-top: 1px solid rgba(0,0,0,0.04);
    font-size: 0.76rem;
  }
}
