/* =============================================================================
   HONEY BOO — folha de estilos da loja
   Cores tiradas do logótipo: caramelo #C99E67, mel #FECC00, água #AAD8D7, coral #F07F47.
   Mobile-first. Sem frameworks.
   ============================================================================= */

/* --- Tokens ------------------------------------------------------------------ */
:root {
  --bg: #FFFBF4;
  --surface: #FFFFFF;
  --soft: #FBF3E6;
  --aqua-soft: #EAF6F5;
  --ink: #2B2420;
  --ink-2: #4A403A;
  --muted: #6E645C;
  --line: #EEE3D3;
  --line-2: #E2D3BD;
  --caramel: #C99E67;
  --caramel-ink: #8A6538;       /* caramelo com contraste AA para texto */
  --honey: #FECC00;
  --honey-soft: #FFF3C2;
  --aqua: #AAD8D7;
  --coral: #F07F47;
  --sale: #C2532A;
  --ok: #2F7A4F;
  --danger: #B42318;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(43, 36, 32, .06), 0 8px 24px rgba(43, 36, 32, .06);
  --shadow-lg: 0 18px 50px rgba(43, 36, 32, .18);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --wrap: 1600px;
  --header-h: 72px;
}

/* --- Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--caramel); text-underline-offset: 3px; }
a:hover { color: var(--caramel-ink); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.8rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--honey-soft); }
[hidden] { display: none !important; }
.ico { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -.25em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 900px) { .wrap { padding: 0 28px; } }
@media (min-width: 1400px) { .wrap { padding: 0 40px; } }
.wrap-narrow { max-width: 860px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.text-danger { color: var(--danger); }
.lead { font-size: 1.08rem; color: var(--ink-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--caramel-ink); margin-bottom: .5em; }
.eyebrow .ico { color: var(--honey); }
@media (max-width: 640px) { .hide-sm { display: none !important; } }

/* --- Botões ------------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; text-decoration: none; line-height: 1.1; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; color: #fff; box-shadow: 0 6px 18px rgba(43, 36, 32, .25); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { min-height: 54px; padding: 12px 28px; font-size: 1.05rem; }
.btn-sm { min-height: 38px; padding: 6px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.icon-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 8px; border-radius: 12px; text-decoration: none; position: relative; font-weight: 700; font-size: .9rem; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.icon-btn .ico { width: 24px; height: 24px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--caramel-ink); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 4px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--caramel-ink); }
.link-arrow:hover { gap: 10px; }
.badge { position: absolute; top: 0; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--honey); color: var(--ink); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }

/* --- Barra de topo e cabeçalho ----------------------------------------------- */
.topbar { background: var(--ink); color: #fff; font-size: .82rem; }
.topbar-in { display: flex; justify-content: center; gap: 28px; padding: 7px 16px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 6px; }
.topbar a { text-decoration: none; color: #fff; display: inline-flex; gap: 6px; align-items: center; }
.topbar .ico { color: var(--honey); width: 16px; height: 16px; }
@media (min-width: 900px) { .topbar-in { justify-content: space-between; } }

/* ==========================================================================
   SELETOR DE IDIOMA — partials/lang-switch.php (topo e rodapé). Prefixo: .lang-switch
   ========================================================================== */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font-weight: 700; letter-spacing: .04em; user-select: none; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary .ico { width: 16px; height: 16px; }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; margin: 0; padding: 6px; list-style: none; min-width: 150px;
  background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(40, 30, 10, .18); }
.lang-switch li a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.lang-switch li a:hover { background: var(--cream, #FFF6E6); }
.lang-switch li a[aria-current] { background: var(--honey); color: var(--ink); }
.topbar .lang-switch summary { color: #fff; }
.topbar .lang-switch li a { color: var(--ink); }
.lang-switch-foot ul { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }
.lang-switch-foot summary { padding: 8px 14px; border: 1px solid currentColor; border-radius: 999px; }
/* ==========================================================================
   FIM SELETOR DE IDIOMA
   ========================================================================== */
@media (max-width: 640px) { .topbar { font-size: .74rem; } .topbar-in { padding: 6px 12px; } .logo img { height: 44px; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 251, 244, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 8px; min-height: var(--header-h); padding-top: 10px; padding-bottom: 10px; }
.logo { display: block; padding: 2px 4px; line-height: 0; }
.logo img { height: 50px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 2px; justify-self: end; }
.search { position: relative; grid-column: 1 / -1; order: 5; margin-bottom: 10px; }
.search input { width: 100%; height: 46px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); padding: 0 52px 0 20px; transition: border-color .15s; }
.search input:focus { outline: none; border-color: var(--caramel); }
.search button { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border-radius: 999px; border: 0; background: var(--honey); display: grid; place-items: center; }
.search-inline { max-width: 560px; margin: 16px 0 0; }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; z-index: 60; max-height: 70vh; overflow: auto; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; text-decoration: none; }
.search-results a:hover, .search-results a.is-active { background: var(--soft); }
.search-results img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--soft); }
.search-results .sr-head { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 8px 10px 4px; }
.search-results .sr-price { margin-left: auto; font-weight: 700; white-space: nowrap; }
.search-results .sr-all { justify-content: center; font-weight: 700; color: var(--caramel-ink); }
@media (min-width: 900px) {
  .header-in { grid-template-columns: auto minmax(280px, 560px) 1fr; gap: 40px; padding-top: 14px; padding-bottom: 14px; }
  .menu-btn { display: none !important; }
  .logo img { height: 62px; }
  .search { grid-column: auto; order: 0; margin: 0; }
}

/* Menu */
.nav { background: var(--surface); }
.nav-head { display: none; }
.nav-list { list-style: none; margin: 0 auto; display: flex; gap: 4px; }
.nav-item > a { display: block; padding: 12px 14px; font-weight: 700; text-decoration: none; font-size: .95rem; border-radius: 10px; }
.nav-item > a:hover { color: var(--caramel-ink); }
.nav-sale > a { color: var(--sale); }
.nav-toggle { display: none; }
@media (min-width: 900px) {
  .nav { border-top: 1px solid var(--line); }
  .nav-list { justify-content: center; flex-wrap: wrap; }
  .nav-extra { display: none; }
  .mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(43, 36, 32, .1); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s; }
  .nav-item.has-sub:hover .mega, .nav-item.has-sub:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
  .mega-in { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px 28px; padding: 28px 16px 32px; }
  .mega-title { font-weight: 800; text-decoration: none; display: block; margin-bottom: 6px; }
  .mega ul { list-style: none; margin: 0; padding: 0; }
  .mega li a { display: block; padding: 3px 0; text-decoration: none; color: var(--muted); font-size: .93rem; }
  .mega li a:hover, .mega-title:hover { color: var(--caramel-ink); }
  .mega-all { grid-column: 1 / -1; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--caramel-ink); text-decoration: none; }
}
@media (max-width: 899px) {
  .nav { position: fixed; inset: 0 auto 0 0; width: min(88vw, 380px); z-index: 80; transform: translateX(-105%); transition: transform .25s ease; overflow-y: auto; box-shadow: var(--shadow-lg); }
  .nav.is-open { transform: none; }
  .nav-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .nav-list { flex-direction: column; padding: 8px 8px 40px; gap: 0; }
  .nav-item { position: relative; border-bottom: 1px solid var(--line); }
  .nav-item > a { padding: 14px 52px 14px 12px; font-size: 1.02rem; }
  .nav-toggle { display: grid; place-items: center; position: absolute; right: 4px; top: 6px; width: 40px; height: 40px; border: 0; background: none; border-radius: 10px; }
  .nav-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
  .mega { display: none; padding: 0 12px 12px; }
  .nav-item.is-open .mega { display: block; }
  .mega-in { padding: 0; }
  .mega-col { padding: 4px 0; }
  .mega-title { display: block; padding: 8px 0; font-weight: 700; text-decoration: none; }
  .mega ul { list-style: none; margin: 0 0 6px; padding: 0 0 0 12px; }
  .mega li a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; }
  .mega-all { display: inline-flex; gap: 6px; padding: 10px 0; font-weight: 700; color: var(--caramel-ink); text-decoration: none; }
}
.scrim { position: fixed; inset: 0; background: rgba(43, 36, 32, .45); z-index: 70; }

/* --- Alertas e toast --------------------------------------------------------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin: 16px 0; font-weight: 600; }
.alert-success { background: #E6F4EA; color: #1E5B37; }
.alert-error { background: #FDECEA; color: var(--danger); }
.alert-info { background: var(--aqua-soft); color: #1F5554; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; z-index: 120; box-shadow: var(--shadow-lg); font-weight: 600; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-error { background: var(--danger); }

/* --- Secções da página inicial ----------------------------------------------- */
.section { padding: 40px 0; }
.section-tight { padding: 24px 0 8px; }
.section-soft { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; }

.hero { padding: 28px 0 8px; }
.hero-in { display: grid; gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); margin-bottom: .4em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--ink-2); font-weight: 600; }
.hero-points .ico { color: var(--ok); }
.hero-media img { border-radius: 28px; width: 100%; object-fit: cover; aspect-ratio: 2 / 1.1; box-shadow: var(--shadow); }
@media (min-width: 900px) { .hero { padding: 48px 0 24px; } .hero-in { grid-template-columns: 1.05fr 1fr; gap: 48px; } }

.hero-slider { position: relative; overflow: hidden; }
.slide { display: none; position: relative; }
.slide.is-active { display: block; animation: fade .5s ease; }
.slide img { width: 100%; height: clamp(320px, 45vw, 560px); object-fit: cover; }
.slide-text { position: absolute; inset: auto 0 40px; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.slide-title { font-family: var(--font-display); font-size: clamp(1.8rem, 1.2rem + 3vw, 3.2rem); font-weight: 600; margin: 0 0 .3em; max-width: 680px; line-height: 1.1; }
/* pontos: o desenho continua com 10px, mas cada botão tem 24x24 de área de toque (PageSpeed: "áreas de toque", 22/11/2026) */
.slider-dots { position: absolute; bottom: 7px; left: 0; right: 0; display: flex; justify-content: center; gap: 0; }
.slider-dots button { width: 24px; height: 24px; border: 0; background: none; padding: 0; display: grid; place-items: center; cursor: pointer; }
.slider-dots button::before { content: ''; width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .6); transition: width .25s, background .25s; }
.slider-dots button[aria-current="true"] { width: 36px; }
.slider-dots button[aria-current="true"]::before { background: #fff; width: 26px; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 255, 255, .85); color: var(--ink); box-shadow: 0 4px 16px rgba(43, 36, 32, .18); cursor: pointer; z-index: 2; transition: background .15s, transform .15s, opacity .2s; }
.slider-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.slider-arrow:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; }
.slider-arrow .ico { width: 24px; height: 24px; }
.slider-prev { left: clamp(10px, 4vw, 72px); }
.slider-next { right: clamp(10px, 4vw, 72px); }
@media (hover: hover) { .slider-arrow { opacity: .75; } .hero-slider:hover .slider-arrow { opacity: 1; } }
@media (max-width: 600px) { .slider-arrow { width: 38px; height: 38px; } .slider-arrow .ico { width: 20px; height: 20px; } }
@keyframes fade { from { opacity: .3; } to { opacity: 1; } }

.cat-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; text-decoration: none; font-weight: 700; font-size: .9rem; }
.cat-tile-img { width: 84px; height: 84px; border-radius: 50%; background: var(--honey-soft); display: grid; place-items: center; overflow: hidden; transition: transform .2s; }
.cat-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile-img .ico { width: 36px; height: 36px; color: var(--caramel-ink); }
.cat-tile:hover .cat-tile-img { transform: scale(1.06); }
.cat-tiles li:nth-child(3n+2) .cat-tile-img { background: var(--aqua-soft); }
.cat-tiles li:nth-child(3n) .cat-tile-img { background: #FCE6DB; }

.moments { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.moment { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; aspect-ratio: 1 / 1.02; background: var(--surface); }
.moment img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.moment span { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(255, 255, 255, .94); border-radius: 999px; padding: 8px 14px; font-weight: 800; text-align: center; }
.moment small { display: none; }
.moment:hover img { transform: scale(1.05); }
@media (min-width: 700px) { .moments { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .moments:not(.moments-lg) { grid-template-columns: repeat(7, 1fr); } }

.brand-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.brand-strip a { height: 84px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; text-decoration: none; font-weight: 800; transition: border-color .15s; }
.brand-strip a:hover { border-color: var(--caramel); }
.brand-strip img { max-height: 54px; width: auto; object-fit: contain; filter: grayscale(.2); }

.about-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.3fr 1fr; align-items: center; } }
/* cartão "a loja em resumo" da página inicial */
.about-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.about-ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--aqua-soft); color: var(--ink); }
.about-ico .ico { width: 21px; height: 21px; }
.about-ico-honey { background: var(--honey); width: 48px; height: 48px; }
.about-store { display: flex; gap: 16px; padding: 20px 22px; background: linear-gradient(135deg, var(--honey-soft), #FFF9E6); border-bottom: 1px solid var(--line); }
.about-kicker { margin: 0 0 2px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--caramel-ink); }
.about-store address { font-style: normal; font-weight: 700; font-size: 1.02rem; line-height: 1.4; }
.about-hours { margin: 6px 0 0; display: flex; gap: 6px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.about-hours .ico { margin-top: 2px; color: var(--caramel-ink); }
.about-hours .nowrap { white-space: nowrap; }
.about-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-weight: 800; font-size: .92rem; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--honey); }
.about-link:hover { border-bottom-color: var(--ink); }
.about-link .ico { width: 16px; height: 16px; transition: transform .15s; }
.about-link:hover .ico { transform: translateX(3px); }
.about-list { list-style: none; margin: 0; padding: 6px 22px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; }
.about-list li + li { border-top: 1px dashed var(--line); }
.about-list div { display: grid; gap: 2px; min-width: 0; }
.about-list strong { font-weight: 800; }
.about-list span { color: var(--muted); font-size: .93rem; }
.about-list span a { color: var(--caramel-ink); font-weight: 700; }
.about-chip { justify-self: start; margin-top: 6px; font-style: normal; font-size: .8rem; font-weight: 800; background: var(--honey-soft); color: var(--ink); padding: 3px 10px; border-radius: 999px; }
.about-pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.about-pay img { width: 44px; height: 28px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px; }
.about-help { padding: 16px 22px 20px; background: var(--soft); border-top: 1px solid var(--line); }
.about-help p { margin: 0 0 10px; font-size: .93rem; color: var(--ink-2); }
.about-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.about-actions .btn { background: var(--surface); }
/* verde mais escuro: o #25D366 da marca com texto branco dá 1,98:1 (PageSpeed pede 4,5:1); #15803D dá 5,02:1 */
.about-actions .about-wa { background: #15803D; color: #fff; }
.about-actions .about-wa:hover { background: #116B33; color: #fff; box-shadow: 0 6px 16px rgba(21, 128, 61, .3); }
@media (max-width: 420px) { .about-actions .btn { flex: 1 1 auto; } .about-store { padding: 18px; } .about-list, .about-help { padding-left: 18px; padding-right: 18px; } }

/* --- Cartões de produto ------------------------------------------------------ */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .grid, .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1500px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; } }
.listing .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .listing .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .listing .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
/* scroll-snap SÓ depois da 1.ª interação (classe snap-on no <html>, posta pelo app.js): um contentor com
   scroll-snap-type ativo logo na 1.ª pintura faz o Chrome não registar o LCP, e o PageSpeed dá "erro" no desempenho
   (confirmado em 22/11/2026: página inicial e páginas de produto sem LCP; a "Quem Somos", sem carrosséis, com).
   Nunca pôr scroll-snap-type fora de .snap-on. */
.snap-on .rail, .snap-on .gallery-main { scroll-snap-type: x mandatory; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 700px) { .rail { grid-auto-columns: 31%; gap: 18px; } }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc(25% - 14px); } }
@media (min-width: 1500px) { .rail { grid-auto-columns: calc(20% - 18px); gap: 22px; } }

/* Carrossel (faixas de produtos): setas, pontos e sem barra de scroll */
.carousel { position: relative; }
.carousel .rail { scrollbar-width: none; scroll-behavior: smooth; padding: 4px 2px 6px; }
.carousel .rail::-webkit-scrollbar { display: none; }
.carousel .rail:focus-visible { outline: 3px solid var(--honey); outline-offset: 4px; border-radius: 12px; }
.carousel-btn { position: absolute; top: 38%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(43, 36, 32, .14); transition: transform .15s, background .15s, opacity .2s; }
.carousel-btn:hover { background: var(--honey); transform: scale(1.06); }
.carousel-btn .ico { width: 22px; height: 22px; }
.carousel-prev { left: -14px; }
.carousel-next { right: -14px; }
.carousel-btn[disabled] { opacity: 0; pointer-events: none; }
/* pontos: desenho de 9px, área de toque de 24x24 (PageSpeed: "áreas de toque", 22/11/2026) */
.carousel-dots { display: flex; justify-content: center; gap: 0; margin-top: 6px; min-height: 24px; }
.carousel-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.carousel-dots button::before { content: ''; width: 9px; height: 9px; border-radius: 999px; background: var(--line); transition: width .25s, background .25s; }
.carousel-dots button[aria-current="true"] { width: 36px; }
.carousel-dots button[aria-current="true"]::before { width: 26px; background: var(--caramel); }
@media (max-width: 699px) { .carousel-btn { display: none; } }
@media (prefers-reduced-motion: reduce) { .carousel .rail { scroll-behavior: auto; } }

.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: opacity .3s, transform .4s; }
.card-img-2 { opacity: 0; }
/* a fotografia segue o rato: a camada só existe no cartão em que ele está (ver "Cartões" no app.js) */
.card-media .card-scrub { display: none; background: #fff; opacity: 1; }
.card-media.is-scrubbing .card-scrub { display: block; } .card-media.is-scrubbing img:not(.card-scrub) { visibility: hidden; } /* nos esgotados as fotos são semitransparentes: a de baixo via-se através desta */
.card-tags { z-index: 1; }
.card-scrub-bars { display: none; position: absolute; left: 10px; right: 10px; bottom: 8px; gap: 4px; z-index: 1; }
.card-media.is-scrubbing .card-scrub-bars { display: flex; }
.card-scrub-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(43, 36, 32, .18); }
.card-scrub-bars i.is-on { background: var(--ink); }
.card-tags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 800; line-height: 1.4; }
.tag-sale { background: var(--sale); color: #fff; }
.tag-new { background: var(--honey); color: var(--ink); }
.tag-out { background: var(--ink); color: #fff; }
.card-fav { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.card-fav.is-on, .fav-btn.is-on { color: var(--coral); }
.card-body { padding: 12px 14px 4px; flex: 1; }
.card-brand { margin: 0; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--caramel-ink); }
.card-title { font-family: var(--font); font-size: .95rem; font-weight: 700; margin: 2px 0 6px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-fav, .card-add { z-index: 2; }
.card-rating { margin: 0 0 4px; font-size: .82rem; display: flex; align-items: center; gap: 4px; font-weight: 700; }
.card-rating .ico { color: var(--honey); width: 15px; height: 15px; }
.card-rating span { color: var(--muted); font-weight: 400; }
.card-meta { font-size: .8rem; color: var(--muted); margin: 0; }
.price { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.price-now { font-weight: 800; font-size: 1.05rem; }
.price-now.is-sale { color: var(--sale); }
.price-old { color: var(--muted); font-size: .88rem; }
.card-add { position: relative; margin: 6px 14px 14px; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border-radius: 999px; border: 2px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: .88rem; text-decoration: none; }
.card-add:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.card-add.is-done { background: var(--ok); border-color: var(--ok); color: #fff; }

/* --- Listagem ---------------------------------------------------------------- */
.crumbs { padding: 14px 0 4px; font-size: .85rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .ico { width: 14px; height: 14px; }
.listing-head { padding: 8px 0 12px; }
.listing-head h1 { margin-bottom: .25em; }
.listing-intro { max-width: 760px; }
.listing-logo { max-height: 60px; width: auto; margin-bottom: 8px; }
.chips { list-style: none; margin: 0 0 16px; padding: 0 0 4px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chip { display: inline-block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); text-decoration: none; font-weight: 700; font-size: .9rem; }
.chip:hover { border-color: var(--ink); }
.listing { display: grid; gap: 24px; padding-bottom: 32px; }
.toolbar { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar p { margin: 0; }
.sort select { height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); padding: 0 34px 0 16px; font-weight: 600; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B2420' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.filters-head { display: none; }
.filter { border: 0; padding: 0 0 16px; margin: 0 0 16px; border-bottom: 1px solid var(--line); }
.filter legend { font-weight: 800; margin-bottom: 8px; padding: 0; }
.filter-list { max-height: 260px; overflow: auto; display: grid; gap: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; margin: 6px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin-top: 3px; flex: none; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: 100%; height: 42px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 0 10px; background: var(--surface); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span:not(.sr) { display: block; width: 32px; height: 32px; border-radius: 50%; background: var(--sw); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; }
.swatches-lg .swatch span:not(.sr) { width: 40px; height: 40px; }
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--ink); }
.swatch input:focus-visible + span { outline: 3px solid var(--honey); outline-offset: 2px; }
.swatch.is-out span:not(.sr) { opacity: .35; background-image: linear-gradient(135deg, transparent 46%, var(--ink) 47%, var(--ink) 53%, transparent 54%); }
.size-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; min-width: 46px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-2); text-align: center; font-weight: 700; cursor: pointer; background: var(--surface); }
.pill input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill input:focus-visible + span { outline: 3px solid var(--honey); outline-offset: 2px; }
.pill.is-out span { color: var(--muted); text-decoration: line-through; }
.filters-actions { display: grid; gap: 8px; position: sticky; bottom: 0; background: var(--bg); padding: 12px 0; }
@media (min-width: 900px) {
  .listing { grid-template-columns: 260px 1fr; gap: 40px; }
  .filters-btn { display: none !important; }
  .filters form { position: sticky; top: 150px; }
}
@media (max-width: 899px) {
  .filters { position: fixed; inset: 0 0 0 auto; width: min(92vw, 400px); background: var(--bg); z-index: 80; transform: translateX(105%); transition: transform .25s ease; overflow-y: auto; padding: 0 16px; box-shadow: var(--shadow-lg); }
  .filters.is-open { transform: none; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); margin-bottom: 16px; position: sticky; top: 0; background: var(--bg); z-index: 1; }
  .filters-head h2 { margin: 0; font-size: 1.2rem; }
}
.pager { display: flex; justify-content: center; gap: 6px; margin: 32px 0 8px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; text-decoration: none; font-weight: 700; padding: 0 8px; }
.pager a { background: var(--surface); border: 1px solid var(--line); }
.pager a:hover { border-color: var(--ink); }
.pager .is-current { background: var(--ink); color: #fff; }
.empty { text-align: center; padding: 48px 16px; }
.empty > .ico { width: 56px; height: 56px; margin: 0 auto 12px; color: var(--caramel); }
.listing-text { border-top: 1px solid var(--line); padding: 32px 0 16px; max-width: 860px; }
.guide-teaser { background: var(--aqua-soft); border-radius: var(--radius); padding: 24px; margin: 8px 0 24px; }
.guide-teaser h2 a { text-decoration: none; }

/* --- Página de produto ------------------------------------------------------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 8px 0 24px; } /* sem isto, a coluna cresce com o conteúdo e a página passa a largura do telemóvel */
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; } .gallery { position: sticky; top: 140px; } }
.gallery-main { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; border-radius: 24px; background: #fff; border: 1px solid var(--line); scrollbar-width: none; }
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-slide { margin: 0; scroll-snap-align: start; aspect-ratio: 1; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.zoom { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery-tag { position: absolute; top: 14px; left: 14px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.thumbs button { flex: none; width: 72px; height: 72px; padding: 4px; border-radius: 12px; border: 2px solid var(--line); background: #fff; }
.thumbs button[aria-selected="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-brand { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; color: var(--caramel-ink); text-decoration: none; }
.pdp-title { margin: 4px 0 6px; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: var(--muted); font-size: .85rem; }
.stars { display: inline-flex; align-items: center; gap: 1px; text-decoration: none; }
.stars .ico { width: 17px; height: 17px; color: var(--line-2); }
.stars .on .ico { color: var(--honey); }
.stars > span:last-child { margin-left: 6px; }
.pdp-summary { font-size: 1.05rem; color: var(--ink-2); margin: 12px 0 16px; }
.pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.pdp-price .price-now { font-size: 1.9rem; font-family: var(--font-display); }
.pdp-price .price-old { font-size: 1.05rem; }
.sale-ends { width: 100%; margin: 0; color: var(--sale); font-weight: 700; }
.opt { border: 0; padding: 0; margin: 0 0 16px; }
.opt legend { padding: 0; margin-bottom: 8px; }
.stock { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 4px 0 14px; }
.stock .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.stock-ok .dot { background: var(--ok); box-shadow: 0 0 0 4px #DDF0E4; }
.stock-low { color: var(--sale); } .stock-low .dot { background: var(--coral); box-shadow: 0 0 0 4px #FCE2D6; }
.stock-pre .dot { background: var(--honey); }
.stock-out { color: var(--danger); } .stock-out .dot { background: var(--danger); }
.buy-row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.buy-btn { flex: 1; min-width: 200px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line-2); border-radius: 999px; background: var(--surface); }
.qty button { width: 42px; height: 50px; border: 0; background: none; display: grid; place-items: center; border-radius: 999px; }
.qty button:hover { background: var(--soft); }
.qty input { width: 44px; border: 0; text-align: center; font-weight: 800; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm button { width: 34px; height: 38px; }
.qty-sm input { width: 34px; }
.fav-btn { border: 2px solid var(--line-2); border-radius: 999px; width: 54px; justify-content: center; }
.notify { background: var(--soft); border-radius: var(--radius); padding: 16px; margin: 8px 0 16px; }
.notify p { margin: 0 0 10px; }
.notify-row { display: flex; gap: 8px; }
.notify-row input { flex: 1; height: 46px; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 16px; min-width: 0; }
.perks { list-style: none; margin: 20px 0 0; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 10px; font-size: .93rem; }
.perks li { display: flex; gap: 10px; align-items: flex-start; }
.perks .ico { color: var(--caramel); margin-top: 2px; }
.perks-sm { margin-top: 12px; font-size: .88rem; }
.highlights { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; }
.highlights li { display: flex; gap: 8px; }
.highlights .ico { color: var(--ok); margin-top: 3px; }
.pdp-details { max-width: 880px; }
.pdp-section { padding: 28px 0; border-top: 1px solid var(--line); }
.specs { width: 100%; border-collapse: collapse; font-size: .95rem; }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; color: var(--muted); font-weight: 600; }
.specs tr:nth-child(odd) { background: var(--soft); }
.bullets { padding-left: 20px; }
.bullets li { margin-bottom: 6px; }
.video { aspect-ratio: 16 / 9; margin-top: 20px; border-radius: var(--radius); overflow: hidden; }
.video iframe { width: 100%; height: 100%; border: 0; }
/* vídeos do produto (próprio + YouTube): lado a lado em ecrã largo, um por baixo do outro no telemóvel */
.pdp-videos { display: grid; gap: 16px; }
.pdp-videos .video { margin-top: 0; }
.pdp-videos.has-two { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .pdp-videos.has-two { grid-template-columns: 1fr; } }
.video-file { background: #000; }
.video-file video { width: 100%; height: 100%; display: block; object-fit: contain; }
.review { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review h3 { margin: 6px 0 4px; }
.verified { color: var(--ok); font-weight: 700; display: inline-flex; align-items: center; gap: 2px; }
.verified .ico { width: 14px; height: 14px; }
.review-form { margin-top: 20px; }
.rating-input { border: 0; padding: 0; display: inline-flex; flex-direction: row-reverse; gap: 2px; margin: 0 0 12px; }
.rating-input legend { width: 100%; font-weight: 700; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { cursor: pointer; color: var(--line-2); }
.rating-input label .ico { width: 30px; height: 30px; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--honey); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.sticky-buy-info { display: grid; line-height: 1.25; font-size: .9rem; min-width: 0; }
.sticky-buy-info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 900px) { .sticky-buy { display: none !important; } }
.lightbox { border: 0; padding: 0; background: #fff; width: min(96vw, 1000px); height: min(92vh, 1000px); max-width: 96vw; max-height: 96vh; border-radius: var(--radius); overflow: hidden; }
/* a fotografia nao se seleciona: selecionada, apanhava por cima a cor do ::selection (creme) */
.lightbox, .gallery-main img { -webkit-user-select: none; user-select: none; }
.lightbox::backdrop { background: rgba(43, 36, 32, .7); }
/* tamanho fixo: as setas não saltam quando as fotografias têm formatos diferentes */
.lightbox img { width: 100%; height: 100%; max-height: none; object-fit: contain; margin: 0; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); cursor: pointer; box-shadow: 0 2px 10px rgba(43, 36, 32, .14); }
.lightbox-nav:hover, .lightbox-nav:focus-visible { background: var(--honey); }
.lightbox-nav .ico { width: 24px; height: 24px; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-count { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); margin: 0; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: .86rem; font-weight: 700; }
.lightbox .icon-btn { position: absolute; right: 8px; top: 8px; background: #fff; }

/* --- FAQ e texto ------------------------------------------------------------- */
.faq { margin: 8px 0 24px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; font-weight: 700; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { transition: transform .2s; flex: none; }
.faq-item[open] summary .ico { transform: rotate(45deg); }
.faq-a { padding: 0 0 16px; color: var(--ink-2); }
.prose { font-size: 1.02rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--radius); margin: 1em 0; }
.prose blockquote { margin: 1em 0; padding: 12px 18px; border-left: 4px solid var(--honey); background: var(--soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--soft); }
.page { padding: 8px 0 40px; }
.page-title { padding-top: 16px; }

/* --- Guias ------------------------------------------------------------------- */
.guide-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); padding-bottom: 24px; }
.guide-card h2, .guide-card h3 { font-size: 1.15rem; margin: 6px 0; }
.guide-card h2 a, .guide-card h3 a { text-decoration: none; }
.guide-card-img img { border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.guide { max-width: 980px; margin: 0 auto; padding-bottom: 24px; }
.guide-head h1 { margin-top: 8px; }
.tldr { background: var(--honey-soft); border-radius: var(--radius); padding: 16px 20px; margin: 16px 0; font-size: 1.05rem; }
.guide-cover { border-radius: 24px; margin: 16px 0; width: 100%; }
.guide-body { display: grid; gap: 24px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; font-size: .93rem; align-self: start; }
.toc ol { margin: 0; padding-left: 18px; }
.toc a { text-decoration: none; }
@media (min-width: 1000px) { .guide-body:has(.toc) { grid-template-columns: 240px 1fr; } .toc { position: sticky; top: 150px; } }

/* --- Marcas ------------------------------------------------------------------ */
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.letters a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 800; }
.brand-group { padding: 12px 0 20px; }
.brand-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.brand-card { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 800; height: 100%; }
.brand-card:hover { border-color: var(--caramel); }
.brand-card img { max-height: 50px; width: auto; }

/* --- Formulários ------------------------------------------------------------- */
.field { display: grid; gap: 4px; margin-bottom: 14px; }
.field > span { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 14px; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--caramel); box-shadow: 0 0 0 4px var(--honey-soft); }
.field input[readonly] { background: var(--soft); }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; font-weight: 600; display: block; }
.fields { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .fields-2 { grid-template-columns: 1fr 1fr; } .fields-3 { grid-template-columns: 1fr 1.4fr 1fr; } }
.card-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.card-box h2 { font-size: 1.25rem; }
.sub-box { background: var(--soft); border-radius: var(--radius-sm); padding: 14px 14px 2px; margin: 8px 0 14px; }

/* --- Carrinho ---------------------------------------------------------------- */
.ship-progress { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 16px; }
.ship-progress p { margin: 0 0 8px; display: flex; gap: 6px; align-items: center; }
.ship-progress .ico { color: var(--ok); }
.bar { height: 8px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--honey), var(--caramel)); border-radius: 999px; transition: width .4s; }
.cart-layout { display: grid; gap: 24px; padding-bottom: 32px; }
@media (min-width: 960px) { .cart-layout { grid-template-columns: 1fr 380px; align-items: start; } .summary { position: sticky; top: 150px; } }
.cart-lines { list-style: none; margin: 0 0 16px; padding: 0; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 8px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line-img img { width: 84px; height: 84px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.cart-line-name { font-family: var(--font); font-size: 1rem; font-weight: 700; margin: 0 0 2px; }
.cart-line-name a { text-decoration: none; }
.cart-line-info p { margin: 0; }
.cart-line-qty { grid-column: 2; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cart-line-total { grid-column: 3; grid-row: 1; font-weight: 800; margin: 0; }
.summary h2 { font-size: 1.25rem; }
.totals { margin: 12px 0; display: grid; gap: 8px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt, .totals dd { margin: 0; }
.totals .is-discount { color: var(--ok); font-weight: 700; }
.totals-grand { border-top: 2px solid var(--ink); padding-top: 10px; font-size: 1.2rem; font-weight: 800; }
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; min-width: 0; height: 46px; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 16px; text-transform: uppercase; }
.promo-on { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: #E6F4EA; color: #1E5B37; border-radius: 12px; padding: 8px 12px; }
.payments { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.payments img { height: 30px; width: auto; border-radius: 4px; background: #fff; }
.payments-sm { justify-content: center; margin-top: 14px; }

/* Mini-carrinho lateral */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(94vw, 420px); background: var(--bg); z-index: 90; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .25s ease; box-shadow: var(--shadow-lg); }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.25rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 18px; }
.drawer-foot { padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 8px; background: var(--surface); }
.drawer-foot p { margin: 0; }
.drawer-total { display: flex; justify-content: space-between; font-size: 1.15rem; }
.drawer-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; font-size: .9rem; }
.drawer-line img { width: 64px; height: 64px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.drawer-line a { text-decoration: none; font-weight: 700; display: block; line-height: 1.3; }
.drawer-line .qty-sm { margin-top: 4px; }
.drawer-free { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; font-size: .88rem; }
.drawer-free p { margin: 0 0 6px; }

/* --- Checkout ---------------------------------------------------------------- */
.is-checkout .nav, .is-checkout .newsletter, .is-checkout .trust { display: none; }
.checkout-head { padding-top: 8px; }
.checkout-head h1 { margin-bottom: 0; }
.checkout-login { font-weight: 600; }
.checkout { display: grid; gap: 20px; padding-bottom: 40px; }
@media (min-width: 960px) { .checkout { grid-template-columns: 1fr 400px; align-items: start; } .checkout-side { position: sticky; top: 110px; } .checkout-side .summary { position: static; } }  /* só a coluna fica fixa: o .summary fixo do carrinho, aqui dentro, descia e tapava as linhas de baixo */
.step h2 { display: flex; align-items: center; gap: 10px; }
.step-n { width: 30px; height: 30px; border-radius: 50%; background: var(--honey); display: grid; place-items: center; font-size: .95rem; font-family: var(--font); font-weight: 800; }
.options { display: grid; gap: 8px; }
.option { display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--surface); transition: border-color .15s; }
.option:has(input:checked) { border-color: var(--ink); background: #FFFDF8; }
.option input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.option-body { flex: 1; display: grid; gap: 2px; }
.option-body small { font-size: .82rem; }
.option-price { font-weight: 800; white-space: nowrap; }
.option-icons { display: flex; gap: 4px; }
.option-icons img { height: 26px; width: auto; }
.mini-lines { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.mini-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; font-size: .9rem; }
.mini-img { position: relative; }
.mini-img img { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.mini-qty { position: absolute; top: -6px; right: -6px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 800; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; }
.mini-name { display: grid; line-height: 1.3; font-weight: 600; }
.promo-inline { margin: 4px 0 8px; }

/* --- Encomenda --------------------------------------------------------------- */
.order-page { padding: 24px 16px 40px; }
.order-hero { text-align: center; padding: 16px 0 24px; }
.order-hero-ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; background: var(--honey-soft); }
.order-hero-ico .ico { width: 36px; height: 36px; }
.order-hero.is-paid .order-hero-ico { background: #DDF0E4; color: var(--ok); }
.order-hero.is-cancelled .order-hero-ico { background: #FDECEA; color: var(--danger); }
.pay-box { text-align: left; }
.pay-box h2 { display: flex; gap: 10px; align-items: center; }
.mb-ref { display: grid; gap: 8px; margin: 16px 0; background: var(--soft); border-radius: var(--radius); padding: 16px; }
.mb-ref div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mb-ref dt { color: var(--muted); font-weight: 700; }
.mb-ref dd { margin: 0; font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; gap: 4px; letter-spacing: .03em; }
.mbway-wait { text-align: center; }
.mbway-wait img { margin: 0 auto 8px; }
.spinner { width: 40px; height: 40px; margin: 16px auto; border-radius: 50%; border: 4px solid var(--honey-soft); border-top-color: var(--honey); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-switch { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.pay-switch summary { cursor: pointer; font-weight: 700; color: var(--caramel-ink); }
.pay-switch-form { display: grid; gap: 8px; margin-top: 12px; }
.addr-grid { display: grid; gap: 16px; margin-top: 16px; }
.addr-grid h3 { font-size: 1rem; margin-bottom: 4px; }
@media (min-width: 640px) { .addr-grid { grid-template-columns: 1fr 1fr; } }

/* --- Conta ------------------------------------------------------------------- */
.auth { display: grid; gap: 16px; padding: 32px 16px; max-width: 920px; }
@media (min-width: 800px) { .auth { grid-template-columns: 1.2fr 1fr; align-items: start; } .auth:has(.auth-box:only-child) { grid-template-columns: minmax(0, 480px); justify-content: center; } }
.auth-alt { background: var(--soft); }
.account { display: grid; gap: 20px; padding: 24px 16px 40px; }
@media (min-width: 900px) { .account { grid-template-columns: 240px 1fr; align-items: start; } }
.acc-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.acc-nav a, .acc-nav .link-btn { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 700; white-space: nowrap; color: var(--ink); }
.acc-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.acc-nav a:hover:not([aria-current]) { background: var(--soft); }
@media (min-width: 900px) { .acc-nav { flex-direction: column; position: sticky; top: 150px; } }
.acc-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.acc-card { display: grid; gap: 4px; text-decoration: none; margin: 0; }
.acc-card .ico { color: var(--caramel); width: 28px; height: 28px; }
.addr-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.addr-list li { margin: 0; }
.addr-actions { display: flex; gap: 16px; align-items: center; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.num { text-align: right !important; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--soft); }
.status-processing, .status-ready_pickup { background: var(--honey-soft); }
.status-shipped, .status-delivered { background: #DDF0E4; color: #1E5B37; }
.status-cancelled { background: #FDECEA; color: var(--danger); }

/* --- Contactos e erro -------------------------------------------------------- */
.contact-grid { display: grid; gap: 16px; padding-bottom: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 12px; }
.contact-list .ico { color: var(--caramel); margin-top: 3px; }
.contact-list div { display: grid; }
.error-page { padding: 48px 16px; }
.error-code { font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--honey); margin: 0; font-weight: 600; }
.error-page .search-inline { margin: 16px auto 24px; }

/* --- Rodapé ------------------------------------------------------------------ */
.trust { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 40px; }
.trust-in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 24px 16px; }
@media (min-width: 900px) { .trust-in { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; gap: 12px; align-items: center; }
.trust-item > .ico { width: 34px; height: 34px; color: var(--caramel); padding: 6px; background: var(--honey-soft); border-radius: 12px; box-sizing: content-box; }
.trust-item strong { display: block; }
.trust-item span { font-size: .85rem; color: var(--muted); }
.newsletter { background: var(--aqua-soft); }
.newsletter-in { display: grid; gap: 16px; padding: 32px 16px; align-items: center; }
.newsletter h2 { margin-bottom: 4px; }
.newsletter p { margin: 0; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.newsletter-form input[type="email"] { height: 50px; border: 0; border-radius: 999px; padding: 0 20px; min-width: 0; }
.newsletter-form .check { grid-column: 1 / -1; margin: 0; }
@media (min-width: 900px) { .newsletter-in { grid-template-columns: 1fr 1.1fr; } }
.footer { background: var(--ink); color: #E9E1D6; padding: 40px 0 calc(24px + env(safe-area-inset-bottom)); font-size: .93rem; }
.footer a { color: #E9E1D6; text-decoration: none; }
.footer .muted { color: #C9BFB2; } /* o --muted (#6E645C) sobre o fundo escuro dava 2,65:1; assim 8,4:1 */
.footer a:hover { color: var(--honey); }
.footer-in { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand img { background: #fff; border-radius: 14px; padding: 8px 10px; margin-bottom: 12px; }
.footer-title { font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--honey); font-weight: 800; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-contact { font-style: normal; grid-column: 1 / -1; }
.footer-contact p { display: flex; gap: 10px; margin-bottom: 10px; }
.footer-contact .ico { color: var(--honey); margin-top: 2px; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
@media (min-width: 900px) { .footer-in { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; } .footer-brand, .footer-contact { grid-column: auto; } }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 16px; justify-items: center; text-align: center; }
.footer-bottom .payments img { background: #fff; padding: 2px; }
.complaints img { background: #fff; border-radius: 8px; padding: 4px; }

/* --- Elementos flutuantes ---------------------------------------------------- */
.whatsapp { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; z-index: 45; box-shadow: 0 6px 20px rgba(37, 211, 102, .4); }
.whatsapp .ico { width: 30px; height: 30px; }
.has-sticky-buy .whatsapp { bottom: 84px; }
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 110; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px 18px; max-width: 520px; border: 1px solid var(--line); }
.cookies p { margin: 0 0 8px; }
.cookies-btns { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* --- Movimento reduzido e impressão ------------------------------------------ */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .topbar, .header, .nav, .trust, .newsletter, .footer, .whatsapp, .cookies, .drawer, .sticky-buy, .pay-switch, .btn { display: none !important; }
  body { background: #fff; }
  .card-box { border: 1px solid #ccc; }
}


/* ==========================================================================
   AVALIAÇÕES DO GOOGLE — partials/reviews.php (página inicial). Prefixo: .rv
   ========================================================================== */
.rv { background: var(--aqua-soft); } /* fundo próprio: distingue-se de "Acabados de chegar" (creme) e de "Sobre" (bege) */
.wrap > .rv { border-radius: var(--radius); padding-left: 24px; padding-right: 24px; margin: 24px 0; } /* página do produto: dentro do .wrap */
.rv-summary { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0 0; }
.rv-score { font-size: 1.5rem; font-family: var(--font-display, inherit); color: var(--ink); }
.rv-stars { color: #E8A317; letter-spacing: 1px; white-space: nowrap; }
.rv-stars-off { color: #E6DCCB; }
.rv-gm { font-weight: 700; white-space: nowrap; }
.rv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rv-card { background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 6px 22px rgba(40, 30, 10, .07); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rv-head { display: flex; align-items: center; gap: 12px; }
.rv-avatar { position: relative; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: .9rem; overflow: hidden; }
.rv-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-name { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.rv-name a { color: inherit; text-decoration: none; }
.rv-name a:hover { text-decoration: underline; }
.rv-meta { margin: 2px 0 0; font-size: .82rem; color: var(--muted, #7a6f60); }
.rv-text { margin: 0; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.rv-note { margin: 16px 0 0; }
@media (max-width: 900px) { .rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .rv-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%; gap: 12px; overflow-x: auto;
    scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 6px; }
  .rv-grid::-webkit-scrollbar { display: none; }
  .rv-card { scroll-snap-align: start; }
  .snap-on .rv-grid { scroll-snap-type: x mandatory; }
}
/* ==========================================================================
   FIM AVALIAÇÕES DO GOOGLE
   ========================================================================== */


/* ==========================================================================
   AVALIAÇÕES DO GOOGLE (versão compacta) — partials/reviews-mini.php, caixa de compra do produto. Prefixo: .rv-mini
   (usa também .rv-stars, .rv-score, .rv-avatar, .rv-meta e .rv-gm do bloco "AVALIAÇÕES DO GOOGLE")
   ========================================================================== */
.rv-mini { margin: 18px 0; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid #F0E6D4; display: grid; gap: 12px; }
.rv-mini-head { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rv-mini .rv-score { font-size: 1.2rem; }
.rv-mini-item { margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.rv-avatar-sm { flex-basis: 32px; width: 32px; height: 32px; font-size: .75rem; }
.rv-mini-text { margin: 0 0 3px; font-size: .92rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.rv-mini-text::before { content: "“"; }
.rv-mini-text::after { content: "”"; }
.rv-mini .rv-meta a { color: inherit; font-weight: 700; text-decoration: none; }
/* ==========================================================================
   FIM AVALIAÇÕES DO GOOGLE (versão compacta)
   ========================================================================== */


/* ==========================================================================
   PÁGINA INICIAL — espaçamento entre secções e versão telemóvel. Âmbito: body.is-home (só a página inicial).
   Prefixo/âmbito: .is-home — NÃO reutilizar noutras páginas.
   ========================================================================== */
/* --- barra do topo (todas as páginas): o <p> é flex e partia "Envio <strong>grátis</strong> em..." em pedaços --- */
.topbar-ship > span { display: inline; }
.show-sm, .topbar-ship > span.show-sm { display: none; } /* o "span" acima não pode ganhar ao "show-sm": mostrava as duas frases no computador */
@media (max-width: 640px) {
  .show-sm, .topbar-ship > span.show-sm { display: inline !important; }
  .topbar-in { justify-content: space-between; gap: 12px; }
  .topbar-ship { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* --- um .wrap que também é .section (FAQ da página inicial) perdia as margens laterais: o "padding: 40px 0" do .section
       vem depois do do .wrap e apagava-as — o texto ficava encostado ao ecrã no telemóvel --- */
.wrap.section { padding-left: 16px; padding-right: 16px; }

/* --- ritmo vertical: mais ar entre secções; duas secções brancas seguidas não somam o espaço --- */
.is-home main > .section { padding-top: clamp(56px, 6vw, 96px); padding-bottom: clamp(56px, 6vw, 96px); }
.is-home main > .section.section-tight { padding-top: 32px; padding-bottom: 8px; }
.is-home main > .section:not(.section-soft):not(.rv):not(.section-tight) + .section:not(.section-soft):not(.rv) { padding-top: 0; }
.is-home main > .section-tight + .section { padding-top: clamp(40px, 4vw, 64px); }
.is-home .section-head { margin-bottom: clamp(20px, 2.4vw, 32px); }
/* avaliações na página inicial: bege #FBF3E6 (--soft), como "Sobre a Honey Boo" logo a seguir — por isso essa não repete o espaço de cima */
.is-home main > .rv { background: var(--soft); }
.is-home main > .rv + .section-soft { padding-top: 0; }
.is-home .section-head h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.15; }

/* --- telemóvel --- */
@media (max-width: 640px) {
  .is-home main > .section { padding-top: 44px; padding-bottom: 44px; }
  .is-home main > .section.section-tight { padding-top: 24px; padding-bottom: 4px; }
  .is-home main > .section-tight + .section { padding-top: 32px; }
  .is-home .section-head { gap: 6px 12px; margin-bottom: 18px; }
  .is-home .section-head .link-arrow { font-size: .92rem; }
  /* Momentos e Guias: faixa que desliza com o dedo, em vez de uma coluna muito comprida (7 momentos = ~900px) */
  .is-home .moments, .is-home .guide-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; overflow-x: auto;
    scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 8px; scroll-padding: 0 16px; }
  .is-home .moments::-webkit-scrollbar, .is-home .guide-grid::-webkit-scrollbar { display: none; }
  .is-home .moments { grid-auto-columns: 42%; gap: 10px; }
  .is-home .guide-grid { grid-auto-columns: 80%; gap: 14px; }
  .is-home .moments > li, .is-home .guide-grid > * { scroll-snap-align: start; }
  .snap-on .is-home .moments, .snap-on .is-home .guide-grid { scroll-snap-type: x mandatory; }
  .is-home .moment span { font-size: .88rem; padding: 6px 10px; left: 8px; right: 8px; bottom: 8px; }
  .is-home .about-grid { gap: 28px; }
}
/* ==========================================================================
   FIM PÁGINA INICIAL
   ========================================================================== */


/* ==========================================================================
   "COMPRE POR MOMENTO" — página inicial (views/shop/home.php). Prefixo: .moments-shop / .moment-label
   O cartão é um filtro do catálogo: nome do momento + nº de produtos + seta, e reage ao passar o rato.
   ========================================================================== */
.moments-shop .moment::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(43, 36, 32, .35), transparent 55%); pointer-events: none; }
.moments-shop .moment-label { z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 12px; border-radius: 16px; line-height: 1.2; }
.moments-shop .moment-label strong { font-weight: 800; }
.moments-shop .moment-label em { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--caramel-ink); display: inline-flex; align-items: center; gap: 4px; }
.moments-shop .moment-label .ico { width: 13px; height: 13px; transition: transform .2s; }
.moments-shop .moment { box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.moments-shop .moment:hover, .moments-shop .moment:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.moments-shop .moment:hover .moment-label .ico { transform: translateX(3px); }
.moments-shop .moment:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; }
@media (max-width: 640px) { .moments-shop .moment-label { padding: 6px 8px; } .moments-shop .moment-label em { font-size: .74rem; } }
/* ==========================================================================
   FIM "COMPRE POR MOMENTO"
   ========================================================================== */

/* ==========================================================================
   PÁGINA /momentos (views/shop/collections.php) — espaçamento entre a grelha e "Conselhos e inspiração".
   Âmbito: .moments-lg (só existe nesta página).
   ========================================================================== */
.moments-lg { gap: 16px; margin-bottom: 8px; }
.moments-lg + .section { margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(56px, 6vw, 96px); border-top: 1px solid var(--line); }
.moments-lg + .section .section-head { margin-bottom: clamp(20px, 2.4vw, 32px); }
.moments-lg + .section .section-head h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.15; }
@media (max-width: 640px) { .moments-lg { gap: 10px; } .moments-lg + .section { margin-top: 32px; padding-top: 32px; padding-bottom: 44px; } }
/* ==========================================================================
   FIM PÁGINA /momentos
   ========================================================================== */


/* ==========================================================================
   VÍDEO NOS BANNERS — views/shop/home.php (.slide-video), js no slider "Destaques rotativos". Prefixo: .slide-video
   O vídeo fica por cima da imagem e só aparece (fade) quando começa mesmo a tocar; até lá vê-se a imagem.
   ========================================================================== */
.slide-video { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity .6s ease; pointer-events: none; background: transparent; }
.slide-video.is-on { opacity: 1; }
.slide-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* o iframe do YouTube não tem object-fit: faz-se maior do que a caixa, a 16:9, e centra-se (corta as sobras como o "cover") */
.slide-video iframe { --h: clamp(320px, 45vw, 560px); position: absolute; top: 50%; left: 50%; border: 0;
  width: max(100%, calc(var(--h) * 16 / 9)); height: max(var(--h), calc(100vw * 9 / 16)); transform: translate(-50%, -50%); }
.slide .slide-text { z-index: 1; } /* o texto do banner fica por cima do vídeo */
@media (prefers-reduced-motion: reduce) { .slide-video { display: none; } }
/* ==========================================================================
   FIM VÍDEO NOS BANNERS
   ========================================================================== */


/* banner só com vídeo (sem imagem): a caixa tem a altura que a imagem lhe daria e o vídeo aparece logo */
.slide-no-img { height: clamp(320px, 45vw, 560px); background: var(--soft); }
.slide-no-img .slide-video { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .slide-no-img .slide-video { display: block; } }


/* ==========================================================================
   BANNER COM VÍDEO — a altura acompanha a proporção do vídeo (pedido do Marco, 30/10/2026): nada é cortado.
   --ar = 16/9 (YouTube); num vídeo próprio o js põe a proporção real ao carregar. Os banners só com imagem não mudam.
   ========================================================================== */
.slide.slide-has-video { --ar: 16 / 9; aspect-ratio: var(--ar); width: 100%; height: auto; background: var(--soft); }
/* sempre a largura toda do site (pedido do Marco, 30/10/2026): sem limite de altura; um vídeo vertical fica a 16:9 e preenche (o js não lhe muda a proporção) */
.slide.slide-has-video picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide.slide-has-video .slide-video iframe { top: 0; left: 0; width: 100%; height: 100%; transform: none; }
.slide.slide-has-video .slide-video video { object-fit: cover; background: transparent; }
/* ==========================================================================
   FIM BANNER COM VÍDEO
   ========================================================================== */


/* ==========================================================================
   ASTERISCO NOS CAMPOS OBRIGATÓRIOS — todos os formulários da loja. Vem do atributo required; .field-req
   marca à mão os que o servidor exige sem esse atributo (listas de país, "enviar para outra morada", MB WAY).
   NOTA: selectores genéricos de propósito, é uma regra de toda a loja.
   ========================================================================== */
.field:has(> :required) > span:first-child::after, .field-req > span:first-child::after, .check:has(> input:required)::after { content: ' *'; color: var(--danger); font-weight: 700; }
.req-note span { color: var(--danger); font-weight: 700; }
.req-note { margin: 0 0 12px; }
/* ==========================================================================
   FIM ASTERISCO
   ========================================================================== */


/* ==========================================================================
   DESCONTO NA GAVETA DO CARRINHO — views/layout.php + renderCart no app.js. Só com um desconto aplicado.
   ========================================================================== */
.drawer-foot [hidden] { display: none !important; }
.drawer-discount { display: flex; justify-content: space-between; gap: 12px; color: var(--ok); font-weight: 700; }
.drawer-foot.has-discount .drawer-total:first-child { font-size: 1rem; }
/* ==========================================================================
   FIM DESCONTO NA GAVETA
   ========================================================================== */


/* ==========================================================================
   QUANTIDADE NO LIMITE DO STOCK — botão "+" inativo (produto, gaveta e carrinho; ver qtySync no app.js).
   ========================================================================== */
.qty button:disabled { opacity: .3; cursor: not-allowed; background: none; }
/* ==========================================================================
   FIM QUANTIDADE NO LIMITE
   ========================================================================== */
