/* Herrera Beauty — estilos do site (mobile first) */
:root {
  --verde: #304F36;
  --verde-escuro: #243C29;
  --verde-claro: #E4ECE3;
  --dourado: #E8C891;
  --dourado-claro: #F3E3C2;
  --dourado-escuro: #8A6A32;
  --marfim: #F8F2E5;
  --fundo: #FBF8F1;
  --branco: #FFFFFF;
  --texto: #1F2B22;
  --texto-suave: #556157;
  --borda: #E7DECD;
  --erro: #A33A2C;
  --sucesso: #2E6B3E;
  --radius: 8px;
  --radius-lg: 14px;
  --sombra: 0 1px 2px rgba(31, 43, 34, .06), 0 6px 18px rgba(31, 43, 34, .06);
  --sombra-forte: 0 12px 40px rgba(31, 43, 34, .18);
  --titulo: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --texto-fonte: 'Jost', 'Segoe UI', Arial, sans-serif;
  --container: 1240px;
  --transicao: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--texto-fonte); font-size: 16px; line-height: 1.55;
  color: var(--texto); background: var(--fundo); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--verde); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--verde-escuro); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--dourado-escuro); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--verde); color: var(--marfim); padding: 10px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 8px; color: var(--marfim); }
.muted { color: var(--texto-suave); }
.small { font-size: .875rem; }
.center { text-align: center; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.lead { font-size: 1.075rem; color: var(--texto-suave); max-width: 62ch; }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dourado-escuro); font-weight: 500; margin-bottom: .5rem; }
.eyebrow-light { color: var(--dourado); }
.page-title { font-family: var(--titulo); font-weight: 600; font-size: clamp(2rem, 6vw, 2.9rem); color: var(--verde); }
.note { background: var(--marfim); border-left: 3px solid var(--dourado-escuro); padding: 10px 14px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .925rem; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: 10px 20px;
  border-radius: var(--radius); border: 1px solid transparent; font-weight: 500; text-decoration: none; line-height: 1.2;
  transition: background var(--transicao), color var(--transicao), border-color var(--transicao), transform var(--transicao);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--verde); color: var(--marfim); }
.btn-primary:hover { background: var(--verde-escuro); color: var(--marfim); }
.btn-gold { background: var(--dourado); color: var(--verde-escuro); }
.btn-gold:hover { background: var(--dourado-claro); color: var(--verde-escuro); }
.btn-outline { border-color: var(--verde); color: var(--verde); background: transparent; }
.btn-outline:hover { background: var(--verde); color: var(--marfim); }
.btn-ghost { color: var(--verde); background: transparent; }
.btn-ghost:hover { background: var(--verde-claro); }
.btn-ghost-light { color: var(--marfim); border-color: rgba(248, 242, 229, .55); background: transparent; }
.btn-ghost-light:hover { background: rgba(248, 242, 229, .12); color: var(--marfim); }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: .9rem; }
.btn-lg { min-height: 52px; padding: 13px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; color: var(--verde); }
.icon-btn:hover { background: var(--verde-claro); }
.icon-btn .icon { width: 24px; height: 24px; }

/* Barra superior e cabeçalho */
.topbar { background: var(--verde-escuro); color: var(--dourado); font-size: .8rem; text-align: center; padding: 6px 0; letter-spacing: .02em; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 241, .97); border-bottom: 1px solid var(--borda); backdrop-filter: saturate(140%) blur(6px); }
.header-inner {
  display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: "menu logo cart" "search search search";
  align-items: center; gap: 8px 10px; padding-top: 8px; padding-bottom: 10px;
}
.menu-toggle { grid-area: menu; }
.logo { grid-area: logo; justify-self: center; display: block; }
.logo img { width: 150px; height: auto; }
.cart-btn {
  grid-area: cart; position: relative; display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent;
  color: var(--verde); padding: 8px; border-radius: var(--radius); min-height: 44px;
}
.cart-btn:hover { background: var(--verde-claro); }
.cart-btn .icon { width: 26px; height: 26px; }
.cart-label { display: none; font-weight: 500; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--dourado); color: var(--verde-escuro); font-size: .75rem; font-weight: 600; line-height: 20px; text-align: center;
}
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.3); } }
.search { grid-area: search; position: relative; display: flex; width: 100%; }
.search input {
  width: 100%; min-height: 44px; padding: 10px 48px 10px 16px; border: 1px solid var(--borda); border-radius: 999px;
  background: var(--branco); font-size: 1rem;
}
.search input:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(48, 79, 54, .15); }
.search-btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--verde); color: var(--marfim); display: grid; place-items: center; }
.search-btn .icon { width: 18px; height: 18px; }
.search-inline { max-width: 520px; margin: 0 auto 1.5rem; gap: 8px; }
.search-inline input { padding-right: 16px; }
.suggestions {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60; background: var(--branco); border: 1px solid var(--borda);
  border-radius: var(--radius-lg); box-shadow: var(--sombra-forte); padding: 6px; max-height: 70vh; overflow-y: auto;
}
.sugg-group { padding: 4px 0; }
.sugg-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--texto-suave); padding: 6px 10px 2px; }
.sugg-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius); text-decoration: none; color: var(--texto); }
.sugg-item:hover, .sugg-item.is-active { background: var(--marfim); }
.sugg-thumb { width: 44px; height: 44px; border-radius: 6px; background: var(--marfim); object-fit: cover; flex: none; }
.sugg-text { display: flex; flex-direction: column; min-width: 0; }
.sugg-name { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg-meta { font-size: .8rem; color: var(--texto-suave); }
.sugg-all { display: block; text-align: center; padding: 10px; font-weight: 500; }
.main-nav { display: none; }

/* Gavetas (menu e sacola) */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(20, 30, 22, .45); }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; width: min(420px, 92vw); background: var(--fundo); display: flex; flex-direction: column;
  box-shadow: var(--sombra-forte); animation: slide-left .25s ease;
}
.drawer--left .drawer-panel { left: 0; }
.drawer--right .drawer-panel { right: 0; animation-name: slide-right; }
@keyframes slide-left { from { transform: translateX(-100%); } }
@keyframes slide-right { from { transform: translateX(100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--borda); }
.drawer-title { font-family: var(--titulo); font-size: 1.6rem; font-weight: 600; color: var(--verde); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-foot { border-top: 1px solid var(--borda); padding: 16px 20px; display: grid; gap: 10px; background: var(--branco); }
.drawer-nav details { border-bottom: 1px solid var(--borda); }
.drawer-nav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 500; cursor: pointer; color: var(--verde); }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav details[open] .summary-icon { transform: rotate(180deg); }
.drawer-nav ul { list-style: none; margin: 0 0 12px; padding: 0 0 0 10px; }
.drawer-nav li a { display: block; padding: 8px 0; text-decoration: none; color: var(--texto); }
.drawer-link { display: block; padding: 14px 0; border-bottom: 1px solid var(--borda); text-decoration: none; font-weight: 500; color: var(--verde); }
body.no-scroll { overflow: hidden; }

/* Itens da sacola */
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--borda); align-items: start; }
.cart-item-thumb { width: 64px; height: 64px; border-radius: var(--radius); background: var(--marfim); object-fit: cover; display: grid; place-items: center; overflow: hidden; }
.cart-item-thumb img { width: 64px; height: 64px; object-fit: cover; }
.cart-item-thumb .ph { width: 30px; height: 30px; opacity: .6; }
.cart-item-name { font-size: .95rem; text-decoration: none; color: var(--texto); display: block; }
.cart-item-meta { font-size: .8rem; color: var(--texto-suave); }
.cart-item-flag { display: inline-block; margin-top: 4px; font-size: .75rem; color: var(--dourado-escuro); }
.cart-item-side { text-align: right; display: grid; gap: 8px; justify-items: end; }
.cart-item-price { font-weight: 600; white-space: nowrap; }
.cart-subtotal, .cart-total { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.cart-total { font-size: 1.1rem; border-top: 1px solid var(--borda); padding-top: 10px; margin-top: 4px; }
.cart-empty { text-align: center; padding: 30px 10px; }
.cart-empty img { width: 64px; margin: 0 auto 12px; opacity: .7; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--borda); border-radius: 999px; background: var(--branco); }
.qty input { width: 44px; text-align: center; border: 0; background: transparent; -moz-appearance: textfield; padding: 6px 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 36px; height: 36px; border: 0; background: transparent; border-radius: 50%; display: grid; place-items: center; color: var(--verde); }
.qty-btn:hover { background: var(--verde-claro); }
.qty-btn .icon { width: 16px; height: 16px; }
.qty-sm .qty-btn { width: 30px; height: 30px; }
.qty-sm input { width: 34px; font-size: .9rem; }
.link-remove { border: 0; background: none; color: var(--texto-suave); font-size: .8rem; display: inline-flex; gap: 4px; align-items: center; padding: 4px; }
.link-remove:hover { color: var(--erro); }
.link-remove .icon { width: 15px; height: 15px; }

/* Seções da home */
.section { padding: 44px 0; }
.section-soft { background: var(--marfim); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 16px; margin-bottom: 22px; }
.section-title { font-family: var(--titulo); font-weight: 600; font-size: clamp(1.75rem, 5vw, 2.3rem); color: var(--verde); margin: 0; }
.section-sub { color: var(--texto-suave); margin: 4px 0 0; width: 100%; }
.section-link { display: inline-flex; align-items: center; gap: 2px; font-weight: 500; text-decoration: none; }
.hero { padding: 16px 0 0; }
.hero-inner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); color: var(--marfim); padding: 36px 24px;
  background: radial-gradient(120% 140% at 85% 10%, #46704f 0%, var(--verde) 45%, var(--verde-escuro) 100%);
  display: grid; gap: 24px;
}
.hero-title { font-family: var(--titulo); font-weight: 600; font-size: clamp(2.3rem, 9vw, 4rem); color: var(--marfim); margin-bottom: .35em; }
.hero-subtitle { max-width: 46ch; opacity: .92; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hero-mark { position: absolute; right: -30px; bottom: -30px; opacity: .14; width: 220px; pointer-events: none; }
.hero-mark img { width: 100%; }
.hero-media img { border-radius: var(--radius); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.trust { padding: 18px 0 6px; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--verde); background: var(--branco); border: 1px solid var(--borda); border-radius: var(--radius); padding: 12px; }
.trust-item .icon { width: 24px; height: 24px; color: var(--dourado-escuro); }
.needs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.need-card {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 16px; border-radius: var(--radius-lg); background: var(--branco);
  border: 1px solid var(--borda); text-decoration: none; color: var(--texto); transition: transform var(--transicao), box-shadow var(--transicao), border-color var(--transicao);
}
.need-card:hover { transform: translateY(-2px); box-shadow: var(--sombra); border-color: var(--dourado); color: var(--texto); }
.need-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--marfim); color: var(--dourado-escuro); display: grid; place-items: center; }
.need-icon .icon { width: 24px; height: 24px; }
.need-name { font-family: var(--titulo); font-weight: 600; font-size: 1.35rem; color: var(--verde); line-height: 1.1; }
.need-desc { font-size: .85rem; color: var(--texto-suave); }
.feature-card { display: grid; border-radius: var(--radius-lg); overflow: hidden; background: var(--verde); color: var(--marfim); box-shadow: var(--sombra); }
.feature-media { background: var(--branco); display: block; }
.feature-media img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.feature-text { padding: 28px 24px; display: flex; flex-direction: column; justify-content: center; }
.feature-title { font-family: var(--titulo); font-weight: 600; font-size: clamp(1.8rem, 5vw, 2.5rem); color: var(--marfim); }
.feature-price { font-size: 1.4rem; font-weight: 600; color: var(--dourado); }
.feature-price s { color: rgba(248, 242, 229, .7); font-weight: 400; font-size: 1rem; }
.brand-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 18px; border-radius: 999px; background: var(--branco);
  border: 1px solid var(--borda); text-decoration: none; color: var(--verde); font-weight: 500; transition: border-color var(--transicao);
}
.brand-chip:hover { border-color: var(--verde); }
.brand-chip img { max-height: 32px; width: auto; }
.visit-card {
  display: grid; gap: 22px; border-radius: var(--radius-lg); padding: 30px 24px; color: var(--marfim);
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-escuro) 100%);
}
.visit-title { font-family: var(--titulo); font-weight: 600; font-size: clamp(1.8rem, 5vw, 2.4rem); color: var(--marfim); }
.visit-address { display: flex; gap: 8px; align-items: flex-start; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.store-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; padding: 6px 12px; border-radius: 999px; font-size: .92rem; }
.visit-card .store-status { background: rgba(248, 242, 229, .12); color: var(--marfim); }
.store-status.is-open .icon { color: #9FD3A8; }
.page-store .store-status.is-open { background: #E3F1E5; color: var(--sucesso); }
.page-store .store-status.is-closed { background: var(--marfim); color: var(--dourado-escuro); }
.store-status-lg { font-size: 1rem; margin-bottom: 20px; }
.insta { display: grid; gap: 14px; justify-items: start; background: var(--branco); border: 1px solid var(--borda); border-radius: var(--radius-lg); padding: 26px 22px; }
.insta-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--marfim); color: var(--dourado-escuro); display: grid; place-items: center; }
.insta-icon .icon { width: 28px; height: 28px; }

/* Cartões de produto */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-card {
  display: flex; flex-direction: column; background: var(--branco); border: 1px solid var(--borda); border-radius: var(--radius-lg);
  overflow: hidden; transition: box-shadow var(--transicao), transform var(--transicao);
}
.product-card:hover { box-shadow: var(--sombra); transform: translateY(-2px); }
.product-card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: var(--texto); }
.product-media { position: relative; aspect-ratio: 1; background: var(--branco); display: grid; place-items: center; }
.product-media > img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.product-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: var(--marfim); }
.product-placeholder img { width: 64px; opacity: .55; }
.product-placeholder-lg { aspect-ratio: 1; border-radius: var(--radius-lg); }
.product-placeholder-lg img { width: 110px; }
.product-info { padding: 12px 12px 4px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.product-brand { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dourado-escuro); font-weight: 500; text-decoration: none; }
.product-name { font-family: var(--texto-fonte); font-size: .93rem; font-weight: 400; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-tagline { font-size: .8rem; color: var(--texto-suave); margin: 0; }
.product-buy { padding: 6px 12px 12px; display: grid; gap: 8px; }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.price { font-weight: 600; font-size: 1.08rem; color: var(--verde); }
.price-old { color: var(--texto-suave); font-size: .85rem; }
.badge { display: inline-flex; align-items: center; justify-self: start; font-size: .72rem; font-weight: 500; padding: 3px 8px; border-radius: 999px; }
.badge-soft { background: var(--dourado-claro); color: #5d4720; }
.badge-muted { background: #ECE8E0; color: #5b5b55; }
.badge-sale { position: absolute; top: 10px; left: 10px; background: var(--verde); color: var(--marfim); }

/* Catálogo */
.breadcrumbs { padding: 16px 0 6px; font-size: .85rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; color: var(--texto-suave); }
.breadcrumbs li + li::before { content: "›"; margin-right: 4px; }
.breadcrumbs a { color: var(--texto-suave); text-decoration: none; }
.breadcrumbs a:hover { color: var(--verde); text-decoration: underline; }
.catalog-head { margin: 8px 0 14px; }
.catalog-head .page-title { margin-bottom: .2em; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: thin; }
.chip { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--borda); background: var(--branco); text-decoration: none; color: var(--verde); font-size: .9rem; }
.chip.is-active, .chip:hover { background: var(--verde); border-color: var(--verde); color: var(--marfim); }
.catalog-layout { display: block; }
.filters {
  position: fixed; inset: 0 auto 0 0; z-index: 85; width: min(360px, 90vw); background: var(--fundo); padding: 0 18px 18px;
  overflow-y: auto; transform: translateX(-105%); transition: transform .25s ease; box-shadow: var(--sombra-forte);
}
.filters.is-open { transform: none; }
.filters-head { position: sticky; top: 0; background: var(--fundo); display: flex; align-items: center; justify-content: space-between; padding: 12px 0; z-index: 1; }
.filters-title { font-family: var(--titulo); font-size: 1.6rem; color: var(--verde); margin: 0; }
.filter-group { border: 0; border-top: 1px solid var(--borda); padding: 14px 0; margin: 0; }
.filter-group legend { font-weight: 600; color: var(--verde); padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.filter-scroll { max-height: 260px; overflow-y: auto; clear: both; }
.check, .radio { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: .92rem; cursor: pointer; clear: both; }
.check input, .radio input { width: 18px; height: 18px; accent-color: var(--verde); flex: none; }
.count { margin-left: auto; font-size: .78rem; color: var(--texto-suave); }
.price-inputs { display: flex; align-items: center; gap: 8px; clear: both; }
.price-inputs input { width: 100%; min-height: 40px; padding: 6px 10px; border: 1px solid var(--borda); border-radius: var(--radius); background: var(--branco); }
.filter-actions { display: grid; gap: 8px; padding-top: 6px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.sort-form { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.sort-form label { color: var(--texto-suave); display: none; }
.sort-form select { min-height: 38px; padding: 6px 30px 6px 12px; border: 1px solid var(--borda); border-radius: var(--radius); background: var(--branco); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0 10px; }
.page-link { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 10px; border-radius: var(--radius); border: 1px solid var(--borda); background: var(--branco); text-decoration: none; color: var(--verde); }
.page-link.is-current { background: var(--verde); color: var(--marfim); border-color: var(--verde); }
.page-gap { align-self: center; padding: 0 4px; color: var(--texto-suave); }
.empty { text-align: center; padding: 40px 16px; background: var(--branco); border: 1px dashed var(--borda); border-radius: var(--radius-lg); }
.empty-title { font-family: var(--titulo); font-size: 1.6rem; color: var(--verde); }
.brand-list { list-style: none; margin: 18px 0 40px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px; }
.brand-list a { display: flex; justify-content: space-between; padding: 12px 16px; background: var(--branco); border: 1px solid var(--borda); border-radius: var(--radius); text-decoration: none; }
.brand-list a:hover { border-color: var(--verde); }

/* Página do produto */
.product-layout { display: grid; gap: 24px; margin-bottom: 30px; }
.gallery-main { position: relative; background: var(--branco); border: 1px solid var(--borda); border-radius: var(--radius-lg); overflow: hidden; }
.gallery-zoom { display: block; width: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.gallery-zoom img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 14px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumb { flex: none; width: 70px; height: 70px; padding: 0; border: 1px solid var(--borda); border-radius: var(--radius); background: var(--branco); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.is-active { border-color: var(--verde); box-shadow: 0 0 0 1px var(--verde); }
.gallery .small { margin-top: 8px; }
.product-title { font-family: var(--titulo); font-weight: 600; font-size: clamp(1.9rem, 6vw, 2.6rem); color: var(--verde); margin: 4px 0 8px; }
.product-lead { font-size: 1.05rem; color: var(--texto-suave); }
.product-price-lg .price { font-size: 1.8rem; }
.availability { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; margin: 6px 0 8px; }
.availability.is-ok { color: var(--sucesso); }
.availability.is-soft { color: var(--dourado-escuro); }
.availability.is-muted { color: #6c6c66; }
.buy-box { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 16px 0 12px; }
.buy-box .btn { flex: 1 1 220px; }
.link-whatsapp { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; margin: 6px 0 14px; }
.perks { list-style: none; padding: 14px 0; margin: 0; border-top: 1px solid var(--borda); border-bottom: 1px solid var(--borda); display: grid; gap: 8px; font-size: .92rem; }
.perks li { display: flex; gap: 8px; align-items: center; }
.perks .icon { color: var(--dourado-escuro); }
.features { background: var(--verde); color: var(--marfim); border-radius: var(--radius-lg); padding: 18px 20px; margin: 18px 0; }
.features-title { font-family: var(--titulo); font-size: 1.5rem; color: var(--dourado); margin-bottom: 8px; }
.features ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.features li { display: flex; gap: 8px; }
.features .icon { color: var(--dourado); margin-top: 3px; }
.specs { margin: 14px 0 0; display: grid; gap: 6px; font-size: .9rem; }
.specs div { display: flex; gap: 8px; }
.specs dt { color: var(--texto-suave); min-width: 130px; }
.specs dd { margin: 0; }
.tabs { background: var(--branco); border: 1px solid var(--borda); border-radius: var(--radius-lg); padding: 6px 20px 20px; margin-bottom: 20px; }
.tab-list { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--borda); margin: 0 -8px 16px; padding: 0 8px; }
.tab { border: 0; background: transparent; padding: 14px 12px; font-weight: 500; color: var(--texto-suave); border-bottom: 2px solid transparent; white-space: nowrap; }
.tab[aria-selected="true"] { color: var(--verde); border-bottom-color: var(--dourado-escuro); }
.tabs.is-enhanced .tab-heading { display: none; }
.tab-heading { font-family: var(--titulo); font-size: 1.5rem; color: var(--verde); margin-top: 14px; }
.rich { line-height: 1.7; }
.rich h2 { font-family: var(--titulo); color: var(--verde); font-size: 1.6rem; margin-top: 1.4em; }
.rich h3 { font-size: 1.1rem; margin-top: 1.2em; }
.rich ul, .rich ol { padding-left: 1.3em; }
.rich li { margin-bottom: .35em; }
.product-grid-scroll { grid-auto-flow: column; grid-auto-columns: 46%; grid-template-columns: none; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.product-grid-scroll > * { scroll-snap-align: start; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(10, 16, 12, .82); }
.lightbox img { max-width: 96vw; max-height: 90vh; object-fit: contain; background: var(--branco); border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 8px; right: 8px; background: var(--branco); }

/* Sacola, finalização e confirmação */
.page-cart, .page-checkout { padding-bottom: 40px; }
.page-cart .page-title, .page-checkout .page-title { margin-top: 22px; }
.cart-layout, .checkout-layout { display: grid; gap: 22px; }
.cart-items { background: var(--branco); border: 1px solid var(--borda); border-radius: var(--radius-lg); padding: 4px 18px; }
.cart-summary, .checkout-summary { background: var(--branco); border: 1px solid var(--borda); border-radius: var(--radius-lg); padding: 20px; display: grid; gap: 12px; align-self: start; }
.summary-title { font-family: var(--titulo); font-size: 1.6rem; color: var(--verde); margin: 0; }
.summary-lines { display: grid; gap: 8px; }
.checkout-summary .cart-item { grid-template-columns: 48px 1fr auto; padding: 10px 0; }
.checkout-summary .cart-item-thumb, .checkout-summary .cart-item-thumb img { width: 48px; height: 48px; }
.checkout-form { display: grid; gap: 16px; }
.form-section { border: 1px solid var(--borda); border-radius: var(--radius-lg); background: var(--branco); padding: 16px 18px 6px; margin: 0; }
.form-section legend { font-family: var(--titulo); font-weight: 600; font-size: 1.35rem; color: var(--verde); padding: 0 6px; }
.field { display: grid; gap: 5px; margin-bottom: 12px; }
.field label { font-size: .9rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--borda); border-radius: var(--radius); background: var(--fundo);
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(48, 79, 54, .15); background: var(--branco); }
.field.has-error input, .field.has-error select { border-color: var(--erro); }
.field-row { display: grid; gap: 0 12px; }
.field-error { color: var(--erro); font-size: .85rem; margin: 0; min-height: 0; }
.field-error:empty { display: none; }
.field-hint { font-size: .82rem; color: var(--texto-suave); margin: 0; }
.optional { font-weight: 400; color: var(--texto-suave); font-size: .85rem; }
.options { display: grid; gap: 10px; margin-bottom: 12px; }
.option { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--borda); border-radius: var(--radius); cursor: pointer; background: var(--fundo); }
.option input { margin-top: 4px; accent-color: var(--verde); width: 18px; height: 18px; }
.option span { display: grid; }
.option small { color: var(--texto-suave); }
.option:has(input:checked) { border-color: var(--verde); background: var(--verde-claro); }
.check-privacy { align-items: flex-start; font-size: .9rem; }
.check-privacy input { margin-top: 3px; }
.form-alert { background: #FBEAE7; color: var(--erro); border-radius: var(--radius); padding: 12px 14px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.page-narrow { max-width: 820px; padding-bottom: 50px; }
.page-content { background: var(--branco); border: 1px solid var(--borda); border-radius: var(--radius-lg); padding: 24px 22px; margin: 8px 0 20px; }
.page-404 { padding-top: 50px; }
.page-404 img { margin: 0 auto 16px; opacity: .7; }
.confirm-card { text-align: center; background: var(--branco); border: 1px solid var(--borda); border-radius: var(--radius-lg); padding: 30px 22px; margin: 30px 0 20px; display: grid; gap: 6px; justify-items: center; }
.confirm-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--verde); color: var(--dourado); display: grid; place-items: center; margin-bottom: 8px; }
.confirm-icon .icon { width: 32px; height: 32px; }
.order-summary { background: var(--branco); border: 1px solid var(--borda); border-radius: var(--radius-lg); padding: 20px; display: grid; gap: 10px; margin-bottom: 20px; }
.order-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.order-items li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--borda); padding-bottom: 8px; }

/* A loja */
.page-store { padding-bottom: 50px; }
.store-grid { display: grid; gap: 16px; }
.store-card { background: var(--branco); border: 1px solid var(--borda); border-radius: var(--radius-lg); padding: 22px; }
.store-card h2 { font-family: var(--titulo); font-size: 1.6rem; color: var(--verde); }
.store-card-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--marfim); color: var(--dourado-escuro); display: grid; place-items: center; margin-bottom: 10px; }
.store-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--borda); font-weight: 400; }
.hours td { text-align: right; }
.small-title { font-size: 1rem; margin-top: 16px; }
.exceptions, .contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contact-list a { display: inline-flex; align-items: center; gap: 8px; }

/* Rodapé */
.site-footer { background: var(--verde-escuro); color: rgba(248, 242, 229, .88); margin-top: 30px; }
.footer-grid { display: grid; gap: 28px; padding: 40px 16px 28px; }
.footer-brand img { width: 190px; margin-bottom: 12px; }
.footer-brand p { max-width: 36ch; font-size: .92rem; }
.footer-title { font-family: var(--titulo); font-size: 1.35rem; color: var(--dourado); margin-bottom: 10px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.footer-links li { display: flex; gap: 8px; align-items: flex-start; }
.footer-links .icon { color: var(--dourado); margin-top: 2px; }
.site-footer a { color: var(--marfim); text-decoration: none; }
.site-footer a:hover { color: var(--dourado); text-decoration: underline; }
.footer-social { display: inline-flex; gap: 8px; align-items: center; }
.footer-legal { border-top: 1px solid rgba(232, 200, 145, .25); padding: 16px 0; font-size: .78rem; color: rgba(248, 242, 229, .72); line-height: 1.7; }

/* WhatsApp flutuante e avisos */
.whatsapp-float {
  position: fixed; right: 14px; bottom: 16px; z-index: 50; display: inline-flex; align-items: center; gap: 8px; padding: 12px;
  border-radius: 999px; background: var(--verde); color: var(--marfim); text-decoration: none; box-shadow: var(--sombra-forte); font-weight: 500;
}
.whatsapp-float:hover { background: var(--verde-escuro); color: var(--marfim); }
.whatsapp-float .icon { width: 26px; height: 26px; color: var(--dourado); }
.whatsapp-float span { display: none; }
body.has-buybar .whatsapp-float { bottom: 84px; }
.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 90; background: var(--texto); color: var(--marfim);
  padding: 12px 18px; border-radius: var(--radius); box-shadow: var(--sombra-forte); max-width: calc(100vw - 32px); font-size: .92rem;
}
.toast a { color: var(--dourado); }

/* Manutenção */
.page-maintenance { background: var(--verde); min-height: 100vh; display: grid; place-items: center; }
.maintenance { text-align: center; color: var(--marfim); padding: 30px 20px; max-width: 520px; display: grid; gap: 16px; justify-items: center; }
.maintenance h1 { font-family: var(--titulo); font-size: 2.4rem; color: var(--marfim); }

/* Telas maiores */
@media (min-width: 600px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .product-grid-scroll { grid-auto-columns: 31%; }
  .needs-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .field-row { grid-template-columns: 1fr 140px; }
  .field-row:has(.field-small + .field-small), .field-row:has(.field-grow + .field-grow) { grid-template-columns: 1fr 1fr 90px; }
  .brand-list { grid-template-columns: repeat(2, 1fr); }
  .sort-form label { display: inline; }
  .whatsapp-float span { display: inline; }
  .whatsapp-float { padding: 12px 18px 12px 14px; }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .insta { grid-template-columns: auto 1fr auto; align-items: center; }
}
@media (min-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr auto; grid-template-areas: "logo search cart"; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
  .menu-toggle { display: none; }
  .logo { justify-self: start; }
  .logo img { width: 190px; }
  .search { max-width: 560px; justify-self: center; }
  .cart-label { display: inline; }
  .main-nav { display: block; border-top: 1px solid var(--borda); }
  .nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
  .nav-item { position: relative; }
  .nav-link { display: block; padding: 12px 8px; text-decoration: none; color: var(--verde); font-weight: 500; font-size: .9rem; white-space: nowrap; }
  .cart-btn { padding-right: 10px; }
  .cart-count { position: static; margin-left: 2px; }
  .nav-link:hover { color: var(--dourado-escuro); }
  .mega {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 240px; background: var(--branco); border: 1px solid var(--borda);
    border-radius: var(--radius-lg); box-shadow: var(--sombra-forte); padding: 10px; opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility .15s;
  }
  .has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; }
  .mega ul { list-style: none; margin: 0; padding: 0; }
  .mega a { display: block; padding: 8px 12px; border-radius: var(--radius); text-decoration: none; color: var(--texto); white-space: nowrap; }
  .mega a:hover { background: var(--marfim); color: var(--verde); }
  .mega-all { color: var(--dourado-escuro) !important; font-weight: 500; }
  .hero-inner { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 64px 56px; min-height: 380px; }
  .hero-inner:not(.has-image) { grid-template-columns: 1fr; }
  .hero-mark { width: 360px; right: 40px; bottom: auto; top: 50%; transform: translateY(-50%); opacity: .18; }
  .feature-card { grid-template-columns: 1fr 1fr; }
  .feature-text { padding: 40px 48px; }
  .visit-card { grid-template-columns: 1.4fr 1fr; align-items: center; padding: 40px 48px; }
  .visit-actions { justify-content: flex-end; }
  .catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
  .filters { position: sticky; top: 140px; inset: auto; transform: none; width: auto; box-shadow: none; padding: 0; background: transparent; max-height: calc(100vh - 160px); z-index: 1; }
  .filters-head { background: transparent; }
  .filters-close, .filters-open { display: none; }
  .toolbar { justify-content: flex-end; }
  .product-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
  .gallery { position: sticky; top: 140px; }
  .product-grid-scroll { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
  .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .checkout-summary, .cart-summary { position: sticky; top: 140px; }
  .store-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
}
@media (min-width: 1200px) {
  .nav-link { padding: 12px 12px; font-size: .95rem; }
}
@media (min-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .catalog-results .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .catalog-results .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
