/* =====================================================================
   AURORAH GIFTS - Identidade visual
   Creme + rose gold (logo) com toques pastéis lilás/rosa/azul (folheto)
   ===================================================================== */
:root {
  --cream: #fbf6f0;
  --cream-2: #f5ebe0;
  --cream-3: #eddccb;
  --white: #ffffff;
  --gold: #b8804f;
  --gold-light: #e2b98f;
  --gold-dark: #8a5a35;
  --brown: #5a3a26;
  --text: #3f2c20;
  --muted: #8a7466;
  --lilac: #7e5bb0;
  --lilac-dark: #5f3f91;
  --lilac-soft: #efe6fa;
  --pink-soft: #fce6ef;
  --blue-soft: #e4eefc;
  --green: #2f9e6a;
  --green-soft: #e3f5ec;
  --red: #c9474b;
  --red-soft: #fde8e8;
  --amber: #c98a1b;
  --amber-soft: #fdf2dc;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c4b;

  --grad-gold: linear-gradient(135deg, #e9c29a 0%, #b8804f 50%, #8a5a35 100%);
  --grad-soft: linear-gradient(135deg, #fce6ef 0%, #efe6fa 50%, #e4eefc 100%);

  --font-title: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(90, 58, 38, 0.06);
  --shadow: 0 10px 30px rgba(90, 58, 38, 0.10);
  --shadow-lg: 0 24px 60px rgba(90, 58, 38, 0.16);
  --header-h: 76px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--brown); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.script { font-family: var(--font-script); font-weight: 400; color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em; line-height: 1.2;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-align: center; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--grad-gold); color: #fff; box-shadow: 0 8px 20px rgba(184, 128, 79, .35); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 26px rgba(184, 128, 79, .45); }
.btn-outline { border-color: var(--gold); color: var(--gold-dark); background: transparent; }
.btn-outline:hover { background: var(--gold); color: #fff; }
.btn-lilac { background: var(--lilac); color: #fff; }
.btn-lilac:hover { background: var(--lilac-dark); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--brown); background: var(--cream-2); }
.btn-danger { background: var(--red-soft); color: var(--red); }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn .spinner { width: 18px; height: 18px; border-width: 2px; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(251, 246, 240, .88); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 128, 79, .15);
}
.site-header .container { display: flex; align-items: center; gap: 1.5rem; height: 100%; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--brown); }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-title); font-size: 1.65rem; font-weight: 600; letter-spacing: .06em; color: var(--brown); }
.brand-text span { font-size: .62rem; letter-spacing: .45em; color: var(--gold); margin-top: 3px; padding-left: 2px; }
.main-nav { margin-left: auto; display: flex; gap: .3rem; }
.main-nav a { color: var(--text); font-weight: 500; font-size: .92rem; padding: .5rem .85rem; border-radius: 999px; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-dark); background: var(--cream-2); }
.header-actions { display: flex; align-items: center; gap: .4rem; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  height: 44px; min-width: 44px; padding: 0 .75rem; border-radius: 999px; border: none; background: transparent;
  color: var(--brown); font-weight: 600; font-size: .88rem;
}
.icon-btn:hover { background: var(--cream-2); color: var(--gold-dark); }
.icon-btn .icon { width: 22px; height: 22px; }
.cart-badge {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--lilac); color: #fff; font-size: .7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--cream);
}
.cart-badge:empty, .cart-badge[data-count="0"] { display: none; }
.menu-toggle { display: none; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: var(--cream); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--cream-3);
    box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .3s ease; z-index: -1;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: .9rem 1rem; font-size: 1rem; }
  .header-actions { margin-left: auto; }
  .account-label { display: none; }
}
@media (max-width: 420px) { .brand-text strong { font-size: 1.35rem; } .brand img { width: 44px; height: 44px; } }

/* ---------- Seções ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--white); }
.section-soft { background: var(--grad-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-head .script { display: block; font-size: 2rem; line-height: 1; margin-bottom: .2rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .8rem; }
.divider { display: flex; align-items: center; gap: 1rem; justify-content: center; color: var(--gold); margin: .6rem 0 1rem; }
.divider::before, .divider::after { content: ''; height: 1px; width: 60px; background: var(--gold-light); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem); }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: -1; }
.hero::before { width: 520px; height: 520px; background: #f3d9e6; top: -160px; right: -120px; }
.hero::after { width: 460px; height: 460px; background: #e3dafa; bottom: -200px; left: -160px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.hero .script { font-size: clamp(2.2rem, 4vw, 3rem); display: block; line-height: 1; }
.hero h1 { margin-top: .3rem; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-lead { font-size: 1.12rem; color: var(--muted); max-width: 520px; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; }
.hero-badges div { display: flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 500; color: var(--brown); }
.hero-badges .icon { color: var(--gold); }
.hero-price-tag {
  display: inline-flex; align-items: baseline; gap: .4rem; margin-bottom: 1.3rem; padding: .4rem 1rem;
  border-radius: 999px; background: var(--lilac-soft); color: var(--lilac-dark); font-weight: 600; font-size: .9rem;
}
.hero-price-tag strong { font-size: 1.2rem; }

.hero-visual { position: relative; height: 480px; }
.tile {
  position: absolute; width: 190px; aspect-ratio: 1; border-radius: 14px; padding: 9px; background: #fff;
  box-shadow: var(--shadow-lg); transition: transform .4s ease;
}
.tile-inner {
  width: 100%; height: 100%; border-radius: 8px; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
  font-family: var(--font-script); font-size: 1.9rem; line-height: 1.1; text-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.tile-inner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 35%); }
.tile-inner img { width: 100%; height: 100%; object-fit: cover; }
.tile:hover { transform: rotate(0deg) scale(1.05) !important; z-index: 5; }
.tile.t1 { top: 10px; left: 30px; transform: rotate(-8deg); }
.tile.t2 { top: 0; right: 40px; transform: rotate(6deg); }
.tile.t3 { top: 190px; left: 150px; transform: rotate(-2deg); z-index: 2; width: 210px; }
.tile.t4 { bottom: 10px; left: 0; transform: rotate(5deg); }
.tile.t5 { bottom: 0; right: 20px; transform: rotate(-6deg); }
.g-sunset { background: linear-gradient(160deg, #ffb88c 0%, #de6262 55%, #6a3093 100%); }
.g-sky { background: linear-gradient(160deg, #a1c4fd 0%, #c2e9fb 45%, #f7c6d9 100%); color: var(--brown) !important; text-shadow: none !important; }
.g-lilac { background: linear-gradient(160deg, #cdb4f5 0%, #8e6fc8 100%); }
.g-gold { background: linear-gradient(160deg, #f6d9b5 0%, #c68b59 100%); }
.g-rose { background: linear-gradient(160deg, #fbc2eb 0%, #a18cd1 100%); }
.g-pink { background: linear-gradient(160deg, #f9c5d1 0%, #e887a3 100%); }
.g-blue { background: linear-gradient(160deg, #a8c5f0 0%, #6b92d4 100%); }
.sparkle { position: absolute; color: var(--gold); animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; max-width: 460px; margin: 0 auto; width: 100%; }
  .tile { width: 145px; } .tile.t3 { width: 160px; left: 30%; top: 130px; }
  .tile-inner { font-size: 1.45rem; }
}

/* ---------- Faixa de benefícios ---------- */
.benefits { background: var(--white); border-block: 1px solid var(--cream-3); }
.benefits .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.8rem; }
.benefit { display: flex; align-items: center; gap: .9rem; }
.benefit-icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.benefit-icon .icon { width: 24px; height: 24px; }
.benefit strong { display: block; color: var(--brown); font-size: .95rem; }
.benefit span { font-size: .82rem; color: var(--muted); }
.bg-lilac { background: var(--lilac-soft); color: var(--lilac); }
.bg-pink { background: var(--pink-soft); color: #c2527f; }
.bg-blue { background: var(--blue-soft); color: #3f6fb5; }
.bg-gold { background: var(--cream-2); color: var(--gold-dark); }
@media (max-width: 900px) { .benefits .container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .benefits .container { grid-template-columns: 1fr; } }

/* ---------- Produtos ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 1200px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
.product-card {
  background: var(--white); border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-media { position: relative; height: 290px; display: grid; place-items: center; overflow: hidden; }
.product-media.ima { background: var(--grad-soft); }
.product-media.botton { background: linear-gradient(135deg, #fde7f1 0%, #f8d5e4 100%); }
.product-media.espelho { background: linear-gradient(135deg, #e8f0fb 0%, #f2e4f4 100%); }
.product-media.chaveiro { background: linear-gradient(135deg, #f8ecdf 0%, #f2dfe8 100%); }
.product-media img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.product-tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; padding: .35rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: #fff; color: var(--lilac-dark); box-shadow: var(--shadow-sm); }
.product-tag.soldout { background: var(--red); color: #fff; }
.product-body { padding: 1.8rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.product-body h3 { margin: 0; font-size: 1.75rem; }
.product-body p { color: var(--muted); margin: 0; }
.feature-list { list-style: none; padding: 0; margin: .3rem 0; display: grid; gap: .45rem; }
.feature-list li { display: flex; align-items: center; gap: .55rem; font-size: .92rem; }
.feature-list .icon { color: var(--green); width: 18px; height: 18px; }
.product-price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; margin-top: auto; padding-top: .6rem; }
.product-price .from { font-size: .82rem; color: var(--muted); }
.product-price strong { font-family: var(--font-title); font-size: 2.3rem; color: var(--brown); line-height: 1; }
.product-price .unit { color: var(--muted); font-size: .85rem; }
.product-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.product-actions .btn { flex: 1; }
@media (max-width: 820px) { .products-grid { grid-template-columns: 1fr; } }

/* ilustrações CSS dos produtos */
.mock-magnet-stack { position: relative; width: 240px; height: 200px; }
.mock-magnet { position: absolute; width: 130px; aspect-ratio: 1; border-radius: 10px; background: #fff; padding: 7px; box-shadow: var(--shadow-lg); }
.mock-magnet .tile-inner { font-size: 1.35rem; }
.mock-magnet:nth-child(1) { left: 0; top: 30px; transform: rotate(-10deg); }
.mock-magnet:nth-child(2) { left: 55px; top: 0; transform: rotate(4deg); z-index: 2; }
.mock-magnet:nth-child(3) { right: 0; top: 50px; transform: rotate(12deg); }
.mock-keychain { position: relative; width: 170px; height: 240px; animation: swing 4s ease-in-out infinite; transform-origin: 50% 0; }
.mock-keychain .ring { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 58px; height: 58px; border-radius: 50%; border: 6px solid #c9c9cf; box-shadow: inset 0 0 0 2px #eee, 0 3px 6px rgba(0,0,0,.15); }
.mock-keychain .chain { position: absolute; top: 52px; left: 50%; width: 6px; height: 34px; transform: translateX(-50%); background: repeating-linear-gradient(#bdbdc4 0 6px, #e4e4e8 6px 10px); border-radius: 3px; }
.mock-keychain .tag { position: absolute; top: 82px; left: 50%; transform: translateX(-50%); width: 150px; aspect-ratio: 1; border-radius: 16px; background: #fff; padding: 8px; box-shadow: var(--shadow-lg); }
.mock-keychain .tag .tile-inner { border-radius: 10px; font-size: 1.6rem; }
@keyframes swing { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* ---------- Tabela de promoção ---------- */
.promo-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.tier {
  position: relative; border-radius: var(--radius); padding: 1.4rem 1.2rem; text-align: center; background: #fff;
  border: 2px solid transparent; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tier:nth-child(1) { background: #fff; border-color: var(--cream-3); }
.tier:nth-child(2) { background: var(--lilac-soft); }
.tier:nth-child(3) { background: var(--blue-soft); }
.tier:nth-child(4) { background: var(--pink-soft); }
.tier.active { border-color: var(--lilac); transform: scale(1.04); box-shadow: var(--shadow); }
.tier-qty { font-family: var(--font-script); font-size: 1.9rem; color: var(--lilac-dark); line-height: 1.1; }
.tier-price { font-family: var(--font-title); font-size: 2.6rem; font-weight: 700; color: var(--lilac-dark); line-height: 1; margin: .3rem 0; }
.tier-price small { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; }
.tier-note { font-size: .8rem; color: var(--muted); }
.tier-total { margin-top: .45rem; font-size: .92rem; font-weight: 700; color: var(--brown); }
.tier-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--lilac); color: #fff; font-size: .68rem; font-weight: 700; padding: .2rem .7rem; border-radius: 999px; letter-spacing: .05em; white-space: nowrap; }

.calc-card { background: #fff; border-radius: calc(var(--radius) + 6px); padding: 2rem; box-shadow: var(--shadow); }
.calc-card h3 { margin-bottom: .3rem; }
.range-row { display: flex; align-items: center; gap: 1rem; margin: 1.3rem 0; }
.range-row input[type=range] { flex: 1; accent-color: var(--lilac); height: 6px; }
.calc-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; text-align: center; }
.calc-result div { background: var(--cream); border-radius: var(--radius-sm); padding: .9rem .5rem; }
.calc-result span { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.calc-result strong { font-size: 1.25rem; color: var(--brown); }
.calc-result .save strong { color: var(--green); }
@media (max-width: 900px) { .promo-grid { grid-template-columns: 1fr; } }

/* ---------- Passo a passo ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 2rem 1.4rem 1.6rem; text-align: center; box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%; background: var(--grad-gold); color: #fff; font-weight: 700;
  display: grid; place-items: center; box-shadow: 0 4px 10px rgba(184,128,79,.4);
}
.step .benefit-icon { margin: .4rem auto 1rem; width: 64px; height: 64px; }
.step .benefit-icon .icon { width: 30px; height: 30px; }
.step h4 { font-size: 1.3rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Galeria ---------- */
.filter-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-tabs button { border: 1px solid var(--cream-3); background: #fff; color: var(--brown); padding: .55rem 1.2rem; border-radius: 999px; font-weight: 500; font-size: .9rem; }
.filter-tabs button.active, .filter-tabs button:hover { background: var(--brown); color: #fff; border-color: var(--brown); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.gallery-item { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--cream-2); box-shadow: var(--shadow-sm); border: none; padding: 0; }
.gallery-item img, .gallery-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.07); }
.gallery-item .caption { position: absolute; inset: auto 0 0 0; padding: 2rem .9rem .8rem; color: #fff; font-size: .88rem; font-weight: 500; text-align: left; background: linear-gradient(transparent, rgba(40,25,15,.75)); opacity: 0; transition: opacity .3s ease; }
.gallery-item:hover .caption { opacity: 1; }
.gallery-item .play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; color: var(--brown); box-shadow: var(--shadow); }
.gallery-item .play .icon { width: 26px; height: 26px; margin-left: 4px; }

.stars { letter-spacing: .08em; color: #e4d3c2; font-size: 1.15rem; line-height: 1; }
.stars .on { color: #c9922a; }
.star-pick { display: flex; gap: .15rem; }
.star-pick button { border: none; background: transparent; font-size: 1.7rem; line-height: 1; color: #e4d3c2; padding: .1rem .15rem; cursor: pointer; }
.star-pick button.on { color: #c9922a; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.review-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.review-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--cream-2); }
.review-card .body { padding: 1rem 1.05rem 1.15rem; }
.review-card .who { display: flex; justify-content: space-between; gap: .6rem; align-items: center; margin-bottom: .35rem; }
.reviews-summary { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.2rem; color: var(--brown); }
.reviews-summary strong { font-size: 1.8rem; font-family: var(--font-title); }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); background: #fff; border-radius: var(--radius); border: 2px dashed var(--cream-3); }
.empty-state .icon { width: 48px; height: 48px; color: var(--gold-light); margin: 0 auto 1rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(25, 15, 10, .92); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.lightbox-content { max-width: min(1000px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.lightbox-content img, .lightbox-content video { max-height: 78vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-content p { color: #fff; text-align: center; margin: 0; }
.lightbox-close, .lightbox-nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-nav.prev { left: 1.2rem; top: 50%; }
.lightbox-nav.next { right: 1.2rem; top: 50%; }

/* ---------- Frete rápido ---------- */
.shipping-box { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: center; background: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(1.5rem, 4vw, 2.8rem); box-shadow: var(--shadow); }
.inline-form { display: flex; gap: .6rem; }
.inline-form input { flex: 1; }
.ship-options { display: grid; gap: .7rem; margin-top: 1rem; }
.ship-option {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border: 2px solid var(--cream-3);
  border-radius: var(--radius-sm); background: #fff; cursor: pointer; transition: border-color .2s ease, background .2s ease;
}
.ship-option:hover { border-color: var(--gold-light); }
.ship-option.selected, .ship-option:has(input:checked) { border-color: var(--gold); background: #fffaf5; }
.ship-option input { accent-color: var(--gold); width: 18px; height: 18px; }
.ship-option .info { flex: 1; }
.ship-option strong { display: block; color: var(--brown); }
.ship-option .days { font-size: .82rem; color: var(--muted); }
.ship-option .price { font-weight: 700; color: var(--brown); font-size: 1.05rem; }
.ship-option .price.free { color: var(--green); }
.ship-dest { font-size: .88rem; color: var(--muted); margin-top: .8rem; display: flex; align-items: center; gap: .4rem; }
@media (max-width: 820px) { .shipping-box { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: .8rem; }
.faq details { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 600; color: var(--brown); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--gold); transition: transform .2s ease; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--muted); }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: stretch; }
.contact-card { background: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(1.8rem, 4vw, 3rem); box-shadow: var(--shadow); }
.whatsapp-card { background: linear-gradient(135deg, #e9fbef 0%, #d5f5e1 100%); display: flex; flex-direction: column; gap: 1.2rem; justify-content: center; }
.whatsapp-card .wa-number { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 700; color: var(--whatsapp-dark); display: flex; align-items: center; gap: .6rem; font-family: var(--font-body); }
.whatsapp-card .wa-number .icon { width: 1.1em; height: 1.1em; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .benefit-icon { width: 46px; height: 46px; }
.contact-list strong { display: block; color: var(--brown); }
.contact-list span { color: var(--muted); font-size: .92rem; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #3b271b; color: #e8d8c8; padding: 3.5rem 0 1.5rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand img { width: 120px; height: 120px; margin-bottom: 1rem; border-radius: 50%; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #e8d8c8; font-size: .92rem; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer p { font-size: .9rem; color: #cbb6a3; }
.payment-icons { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.payment-icons span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: .3rem .7rem; border-radius: 6px; font-size: .78rem; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.3rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: #b09a88; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37,211,102,.45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .icon { width: 32px; height: 32px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--whatsapp); animation: pulse 2.2s ease-out infinite; z-index: -1; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Formulários ---------- */
.form-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem 1.1rem; }
.col-6 { grid-column: span 6; } .col-4 { grid-column: span 4; } .col-3 { grid-column: span 3; } .col-2 { grid-column: span 2; } .col-1 { grid-column: span 1; }
@media (max-width: 640px) { .col-4, .col-3, .col-2, .col-1 { grid-column: span 6; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--brown); }
.field label .req { color: var(--red); }
.input, .field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--cream-3); border-radius: var(--radius-sm);
  background: #fff; font: inherit; font-size: .95rem; color: var(--text); transition: border-color .2s ease, box-shadow .2s ease;
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,128,79,.15); }
.field textarea { resize: vertical; min-height: 90px; }
.field .hint { font-size: .78rem; color: var(--muted); }
.field.invalid input { border-color: var(--red); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { accent-color: var(--gold); width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.form-actions { display: flex; gap: .8rem; justify-content: flex-end; flex-wrap: wrap; margin-top: 1.5rem; }
.or-divider { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .85rem; margin: 1.4rem 0; }
.or-divider::before, .or-divider::after { content: ''; flex: 1; height: 1px; background: var(--cream-3); }

.alert { padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: .92rem; display: flex; gap: .7rem; align-items: flex-start; }
.alert .icon { margin-top: 2px; }
.alert-info { background: var(--blue-soft); color: #2d5796; }
.alert-warn { background: var(--amber-soft); color: #8a5c0b; }
.alert-error { background: var(--red-soft); color: var(--red); }
.alert-success { background: var(--green-soft); color: #1f7a50; }

/* ---------- Cards genéricos ---------- */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.6rem; }
.card + .card { margin-top: 1.2rem; }
.card-title { display: flex; align-items: center; gap: .6rem; font-family: var(--font-title); font-size: 1.5rem; color: var(--brown); margin: 0 0 1.2rem; }
.card-title .num { width: 30px; height: 30px; border-radius: 50%; background: var(--grad-gold); color: #fff; font-family: var(--font-body); font-size: .9rem; font-weight: 700; display: grid; place-items: center; }

.page-head { padding: 2.5rem 0 1.5rem; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .2rem; }
.breadcrumb { font-size: .85rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); } .breadcrumb a:hover { color: var(--gold-dark); }
.page-main { padding-bottom: 4rem; min-height: 60vh; }
.layout-2 { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.sticky { position: sticky; top: calc(var(--header-h) + 1rem); }
@media (max-width: 960px) { .layout-2 { grid-template-columns: 1fr; } .sticky { position: static; } }

/* ---------- Carrinho ---------- */
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--cream-2); align-items: start; }
.cart-item:last-child { border-bottom: none; }
.cart-thumb { width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--grad-soft); display: grid; place-items: center; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h4 { font-family: var(--font-body); font-size: 1rem; margin: 0 0 .2rem; }
.cart-item .meta { font-size: .85rem; color: var(--muted); }
.cart-item .thumbs { display: flex; gap: .3rem; flex-wrap: wrap; margin: .5rem 0; }
.cart-item .thumbs img { width: 38px; height: 38px; object-fit: cover; border-radius: 6px; }
.cart-item .line-total { text-align: right; }
.cart-item .line-total strong { display: block; font-size: 1.1rem; color: var(--brown); }
.cart-item .line-total s { font-size: .82rem; color: var(--muted); }
@media (max-width: 560px) { .cart-item { grid-template-columns: 70px 1fr; } .cart-thumb { width: 70px; height: 70px; } .cart-item .line-total { grid-column: 2; text-align: left; } }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--cream-3); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 38px; height: 38px; border: none; background: transparent; font-size: 1.2rem; color: var(--brown); }
.qty button:hover { background: var(--cream-2); }
.qty input { width: 54px; text-align: center; border: none; font: inherit; font-weight: 600; color: var(--brown); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty input:focus { outline: none; }

.summary-row { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .95rem; }
.summary-row.discount { color: var(--green); }
.summary-row.total { border-top: 1px dashed var(--cream-3); margin-top: .5rem; padding-top: 1rem; font-size: 1.2rem; font-weight: 700; color: var(--brown); }
.summary-row.total strong { font-size: 1.5rem; }
.progress-hint { background: var(--lilac-soft); color: var(--lilac-dark); border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .85rem; margin: 1rem 0; }
.secure-note { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--muted); justify-content: center; margin-top: 1rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; background: rgba(40, 25, 15, .55); backdrop-filter: blur(4px); display: flex; align-items: flex-start; justify-content: center; padding: 2rem 1rem; overflow-y: auto; }
.modal-dialog { background: var(--cream); border-radius: calc(var(--radius) + 6px); width: min(760px, 100%); box-shadow: var(--shadow-lg); position: relative; animation: pop .25s ease; margin: auto 0; }
.modal-dialog.wide { width: min(1000px, 100%); }
@keyframes pop { from { transform: translateY(20px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-header { padding: 1.5rem 1.8rem 1rem; border-bottom: 1px solid var(--cream-3); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.modal-header h3 { margin: 0; font-size: 1.8rem; }
.modal-body { padding: 1.5rem 1.8rem; }
.modal-footer { padding: 1rem 1.8rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--cream-3); }
.modal-close { border: none; background: var(--cream-2); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--brown); flex-shrink: 0; }
.modal-close:hover { background: var(--cream-3); }
body.no-scroll { overflow: hidden; }

.product-switch { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-bottom: 1.4rem; }
@media (max-width: 700px) { .product-switch { grid-template-columns: 1fr; } }
.product-switch label { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; border: 2px solid var(--cream-3); border-radius: var(--radius-sm); background: #fff; cursor: pointer; font-weight: 600; color: var(--brown); font-size: .92rem; }
.product-switch label:has(input:checked) { border-color: var(--gold); background: #fffaf5; }
.product-switch input { accent-color: var(--gold); }
.price-live { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: #fff; border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.2rem 0; }
.price-live .big { font-family: var(--font-title); font-size: 2rem; font-weight: 700; color: var(--brown); line-height: 1; }
.price-live .save { color: var(--green); font-weight: 600; font-size: .88rem; }
.mini-tiers { display: flex; gap: .4rem; flex-wrap: wrap; }
.mini-tiers span { font-size: .75rem; padding: .25rem .6rem; border-radius: 999px; background: var(--cream-2); color: var(--muted); font-weight: 600; }
.mini-tiers span.on { background: var(--lilac); color: #fff; }

.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  width: 100%; box-sizing: border-box;
  border: 2px dashed var(--gold-light); border-radius: var(--radius); padding: 1.8rem 1.2rem; text-align: center; background: #fff;
  cursor: pointer; transition: background .2s ease, border-color .2s ease;
}
.dropzone input[type=file] { display: none; }
.dropzone:hover, .dropzone.drag { background: #fffaf5; border-color: var(--gold); }
.dropzone .icon { width: 40px; height: 40px; color: var(--gold); }
.dropzone strong { color: var(--brown); display: block; max-width: 100%; }
.dropzone span { font-size: .82rem; color: var(--muted); max-width: 42rem; line-height: 1.45; }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .6rem; margin-top: 1rem; }
.preview { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--cream-2); }
.preview img, .preview video { width: 100%; height: 100%; object-fit: cover; }
.preview .remove { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: none; background: rgba(0,0,0,.6); color: #fff; font-size: .9rem; line-height: 1; display: grid; place-items: center; }
.preview.loading::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.6) url() center no-repeat; }
.preview .spinner { position: absolute; inset: 0; margin: auto; }

/* ---------- Toast / spinner ---------- */
.toast-wrap { position: fixed; top: calc(var(--header-h) + 1rem); right: 1rem; z-index: 300; display: grid; gap: .6rem; max-width: min(380px, calc(100% - 2rem)); }
.toast { background: var(--brown); color: #fff; padding: .95rem 1.2rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); font-size: .92rem; display: flex; gap: .7rem; align-items: center; animation: slideIn .3s ease; }
.toast.success { background: #1f7a50; } .toast.error { background: var(--red); }
.toast a { color: #fff; text-decoration: underline; font-weight: 600; margin-left: auto; white-space: nowrap; }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.spinner { width: 28px; height: 28px; border: 3px solid rgba(184,128,79,.25); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
.btn-primary .spinner, .btn-lilac .spinner, .btn-whatsapp .spinner { border-color: rgba(255,255,255,.35); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-block { display: grid; place-items: center; padding: 3rem; }

/* ---------- Conta / pedidos ---------- */
.auth-wrap { max-width: 900px; margin: 0 auto; }
.tabs { display: flex; gap: .3rem; background: var(--cream-2); padding: .35rem; border-radius: 999px; margin-bottom: 1.5rem; width: fit-content; flex-wrap: wrap; }
.tabs button { border: none; background: transparent; padding: .65rem 1.3rem; border-radius: 999px; font-weight: 600; color: var(--muted); font-size: .92rem; }
.tabs button.active { background: #fff; color: var(--brown); box-shadow: var(--shadow-sm); }
.google-btn-wrap { display: flex; justify-content: center; min-height: 44px; }
.account-grid { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.account-nav { background: #fff; border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow-sm); display: grid; gap: .2rem; }
.account-nav .hello { padding: .6rem .8rem 1rem; border-bottom: 1px solid var(--cream-2); margin-bottom: .5rem; }
.account-nav .hello strong { display: block; color: var(--brown); font-size: 1.05rem; }
.account-nav button, .account-nav a { display: flex; align-items: center; gap: .7rem; text-align: left; border: none; background: transparent; padding: .75rem .8rem; border-radius: var(--radius-sm); color: var(--text); font-weight: 500; font-size: .93rem; }
.account-nav button:hover, .account-nav a:hover, .account-nav button.active { background: var(--cream); color: var(--gold-dark); }
.account-nav .icon { color: var(--gold); }
@media (max-width: 860px) { .account-grid { grid-template-columns: 1fr; } }

.order-card { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.2rem 1.3rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); color: var(--text); border: 1px solid transparent; transition: border-color .2s ease, transform .2s ease; }
.order-card:hover { border-color: var(--gold-light); transform: translateY(-2px); color: var(--text); }
.order-card + .order-card { margin-top: .9rem; }
.order-card .code { font-weight: 700; color: var(--brown); font-size: 1.05rem; }
.order-card .meta { font-size: .85rem; color: var(--muted); }
.order-card .right { text-align: right; display: grid; gap: .35rem; justify-items: end; }

.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.st-aguardando_pagamento { background: var(--amber-soft); color: #8a5c0b; }
.st-pago { background: var(--blue-soft); color: #2d5796; }
.st-em_producao { background: var(--lilac-soft); color: var(--lilac-dark); }
.st-enviado { background: #e0f4f7; color: #1d6f7c; }
.st-entregue { background: var(--green-soft); color: #1f7a50; }
.st-cancelado { background: var(--red-soft); color: var(--red); }

.timeline { display: flex; justify-content: space-between; position: relative; margin: 1rem 0 .5rem; }
.timeline::before { content: ''; position: absolute; top: 18px; left: 8%; right: 8%; height: 3px; background: var(--cream-3); }
.timeline .bar { position: absolute; top: 18px; left: 8%; height: 3px; background: var(--grad-gold); transition: width .5s ease; }
.tl-step { position: relative; z-index: 1; flex: 1; text-align: center; font-size: .78rem; color: var(--muted); font-weight: 500; }
.tl-step .dot { width: 38px; height: 38px; margin: 0 auto .5rem; border-radius: 50%; background: #fff; border: 3px solid var(--cream-3); display: grid; place-items: center; color: var(--cream-3); }
.tl-step .dot .icon { width: 18px; height: 18px; }
.tl-step.done { color: var(--brown); }
.tl-step.done .dot { background: var(--gold); border-color: var(--gold); color: #fff; }
.tl-step.current .dot { box-shadow: 0 0 0 5px rgba(184,128,79,.2); }
@media (max-width: 560px) { .tl-step { font-size: .66rem; } .tl-step .dot { width: 30px; height: 30px; } .timeline::before, .timeline .bar { top: 14px; } }

.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-bottom: 1.4rem; }
.pay-method { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: 1.1rem .6rem; border: 2px solid var(--cream-3); border-radius: var(--radius); background: #fff; font-weight: 600; color: var(--brown); font-size: .9rem; }
.pay-method .icon { width: 30px; height: 30px; color: var(--gold); }
.pay-method small { font-weight: 500; color: var(--muted); font-size: .75rem; }
.pay-method.active { border-color: var(--gold); background: #fffaf5; box-shadow: var(--shadow-sm); }
.pay-method:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 520px) { .pay-methods { grid-template-columns: 1fr; } .pay-method { flex-direction: row; justify-content: flex-start; } }
.pix-box { display: grid; grid-template-columns: 240px 1fr; gap: 1.8rem; align-items: center; }
.pix-box img { width: 240px; height: 240px; border-radius: 12px; border: 1px solid var(--cream-3); background: #fff; padding: 8px; }
.pix-code { display: flex; gap: .5rem; margin: .8rem 0; }
.pix-code input { flex: 1; font-family: monospace; font-size: .8rem; }
.pix-steps { padding-left: 1.2rem; margin: 0 0 1rem; color: var(--muted); font-size: .9rem; }
.pix-timer { font-weight: 700; color: var(--gold-dark); }
.pix-receiver { margin-top: 1rem; background: var(--cream); border: 1px solid var(--cream-3); border-radius: 12px; padding: .85rem 1rem; text-align: left; }
.pix-receiver strong { color: var(--brown); font-size: .92rem; }
.pix-receiver p { margin: .35rem 0 .6rem; color: var(--muted); font-size: .85rem; }
.pix-receiver dl { margin: 0; display: grid; gap: .35rem; }
.pix-receiver dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.pix-receiver dd { margin: 0 0 .15rem; font-weight: 600; color: var(--text); }
@media (max-width: 640px) { .pix-box { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

.success-hero { text-align: center; padding: 2rem 1rem; }
.success-hero .check-circle { width: 84px; height: 84px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 1rem; animation: pop .4s ease; }
.success-hero .check-circle .icon { width: 44px; height: 44px; }

.item-row { display: flex; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--cream-2); align-items: flex-start; }
.item-row:last-child { border-bottom: none; }
.item-row .thumbs { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .4rem; }
.item-row .thumbs a img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.item-row .grow { flex: 1; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; font-size: .92rem; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; color: var(--text); font-weight: 500; }

/* ---------- Página simples ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.7rem; margin-top: 2rem; }
.prose p, .prose li { color: #5a4638; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   PAINEL ADMINISTRATIVO
   ===================================================================== */
.admin-body { background: #f7f2ec; }
.admin-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); }
.admin-side { background: #3b271b; color: #e8d8c8; padding: 1.5rem 1rem; position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow-y: auto; }
.admin-side .side-title { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #a8907c; padding: 0 .8rem; margin: .5rem 0 .8rem; }
.admin-side button, .admin-side a { display: flex; align-items: center; gap: .75rem; width: 100%; border: none; background: transparent; color: #e8d8c8; padding: .8rem .9rem; border-radius: var(--radius-sm); font-size: .93rem; font-weight: 500; text-align: left; }
.admin-side button:hover, .admin-side a:hover { background: rgba(255,255,255,.07); color: #fff; }
.admin-side button.active { background: var(--grad-gold); color: #fff; }
.admin-side .icon { width: 20px; height: 20px; }
.admin-side hr { border: none; border-top: 1px solid rgba(255,255,255,.1); margin: 1rem 0; }
.admin-main { padding: 2rem clamp(1rem, 3vw, 2.5rem) 4rem; min-width: 0; }
.admin-main h2 { font-size: 2.1rem; margin-bottom: .2rem; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
@media (max-width: 900px) {
  .admin-layout { grid-template-columns: minmax(0, 1fr); }
  .admin-side { position: static; height: auto; display: flex; gap: .3rem; overflow-x: auto; padding: .7rem; }
  .admin-side .side-title, .admin-side hr { display: none; }
  .admin-side button, .admin-side a { width: auto; white-space: nowrap; padding: .6rem .9rem; }
}

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.kpi { background: #fff; border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); display: flex; gap: 1rem; align-items: center; }
.kpi .benefit-icon { width: 48px; height: 48px; }
.kpi span { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.kpi strong { font-size: 1.45rem; color: var(--brown); line-height: 1.2; }
.kpi small { font-size: .78rem; color: var(--muted); }
.admin-grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 1.2rem; }
.admin-grid-2 > * { min-width: 0; }
.admin-grid-2 > .card { margin-top: 0; }
.admin-grid-2.order-detail { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 1100px) { .admin-grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .admin-grid-2.order-detail { grid-template-columns: 1fr; } }

.chart { width: 100%; height: 240px; }
.chart .bar { fill: url(#barGrad); transition: opacity .2s; }
.chart .bar:hover { opacity: .75; }
.chart text { font-size: 10px; fill: var(--muted); font-family: var(--font-body); }
.chart .grid { stroke: var(--cream-2); }
.hbar { margin-bottom: .9rem; }
.hbar-top { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: .3rem; }
.hbar-track { height: 10px; background: var(--cream-2); border-radius: 999px; overflow: hidden; }
.hbar-fill { height: 100%; background: var(--grad-gold); border-radius: 999px; }

.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data th { text-align: left; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: .9rem 1rem; border-bottom: 1px solid var(--cream-2); background: #fffcf8; white-space: nowrap; }
table.data td { padding: .85rem 1rem; border-bottom: 1px solid var(--cream-2); vertical-align: middle; }
table.data tr:last-child td { border-bottom: none; }
table.data tbody tr.clickable { cursor: pointer; }
table.data tbody tr.clickable:hover { background: #fffaf5; }
table.data .num { text-align: right; white-space: nowrap; }
.toolbar { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 1rem; align-items: center; }
.toolbar .input { width: auto; min-width: 150px; padding: .6rem .9rem; }
.toolbar .grow { flex: 1; min-width: 220px; }

.stock-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.2rem; margin-bottom: 1.5rem; }
.stock-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.stock-card .stock-num { font-family: var(--font-title); font-size: 3.2rem; font-weight: 700; color: var(--brown); line-height: 1; }
.stock-card .stock-num.low { color: var(--red); }
.stock-card .row { display: flex; gap: .6rem; margin-top: .8rem; align-items: flex-end; flex-wrap: wrap; }
.stock-card .row .field { flex: 1; min-width: 110px; }
.switch { display: inline-flex; align-items: center; gap: .5rem; font-size: .88rem; cursor: pointer; }
.switch input { accent-color: var(--green); width: 18px; height: 18px; }
.qty-pos { color: var(--green); font-weight: 700; } .qty-neg { color: var(--red); font-weight: 700; }

.admin-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.admin-gallery .g-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.admin-gallery .g-media { aspect-ratio: 1; background: var(--cream-2); position: relative; }
.admin-gallery .g-media img, .admin-gallery .g-media video { width: 100%; height: 100%; object-fit: cover; }
.admin-gallery .g-media .badge { position: absolute; top: .5rem; left: .5rem; }
.admin-gallery .g-info { padding: .7rem .8rem; font-size: .82rem; }
.admin-gallery .g-actions { display: flex; gap: .3rem; padding: 0 .6rem .7rem; }
.upload-progress { height: 8px; background: var(--cream-2); border-radius: 999px; overflow: hidden; margin-top: 1rem; }
.upload-progress div { height: 100%; width: 0; background: var(--grad-gold); transition: width .2s; }

/* Banner frete grátis 1ª compra */
.promo-banner {
  background: linear-gradient(90deg, #5f3f91 0%, #7e5bb0 45%, #b8804f 100%);
  color: #fff; position: relative; z-index: 60;
}
.promo-banner-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: .7rem; flex-wrap: wrap;
}
.promo-banner-text { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .9rem; font-size: .92rem; }
.promo-banner-text strong { font-weight: 700; }
.promo-code {
  display: inline-block; border: 1.5px dashed rgba(255,255,255,.85); background: rgba(255,255,255,.15);
  color: #fff; font-weight: 800; letter-spacing: .08em; padding: .2rem .65rem; border-radius: 8px; cursor: pointer;
}
.promo-code:hover { background: rgba(255,255,255,.28); }
.promo-banner-actions { display: flex; align-items: center; gap: .5rem; }
.promo-banner .btn-primary { background: #fff; color: #5f3f91; box-shadow: none; }
.promo-banner .btn-primary:hover { background: #f7f0ff; color: #5f3f91; }
.promo-close {
  width: 34px; height: 34px; border: none; border-radius: 50%; background: rgba(255,255,255,.18);
  color: #fff; font-size: 1.35rem; line-height: 1; cursor: pointer;
}
.promo-close:hover { background: rgba(255,255,255,.3); }
.coupon-box { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--cream-3); }
.coupon-ok { color: var(--green); font-size: .85rem; font-weight: 600; margin-top: .45rem; display: flex; gap: .45rem; align-items: flex-start; }
