/* ─────────────────────────────────────────────────────────────
   LuvinCo — Natal 2026
   Camada sazonal sobre o design da loja: verde pinheiro da noite,
   vermelho elegante, dourado e neve. A árvore da home é a peça
   principal; no resto do site os toques são discretos.
   ───────────────────────────────────────────────────────────── */
:root {
  --noite: #061A13;
  --noite-2: #0B2A1F;
  --vermelho-700: #7E2A20;
  --vermelho-500: #B9483A;
  --luz: #FFD89A;
  --neve: #FAFAF6;
  --creme: #FBF6EA;
}

/* ── faixa da campanha ─────────────────────────────────── */
.promo-xmas { background: linear-gradient(90deg, var(--vermelho-700), var(--vermelho-600) 50%, var(--vermelho-700)); }
.promo-xmas .promo-track strong { color: var(--ambar-300); }
.promo-xmas .promo-sep { background: var(--ambar-300); }
.promo-gift { width: 20px; height: 20px; color: var(--ambar-300); flex: none; }
@media (max-width: 720px) { .promo-gift { display: none; } }

/* ── cabeçalho: gorro no símbolo e varal de luzes ──────── */
.hdr-logo { position: relative; }
.logo-hat { position: absolute; left: 1px; top: -3px; width: 25px; height: auto; transform: rotate(-16deg); transform-origin: 30% 80%; pointer-events: none; transition: transform var(--t-mid) var(--ease); filter: drop-shadow(0 1px 1px rgb(11 42 31 / 0.25)); }
.site-header.is-scrolled .logo-hat { transform: translate(1px, 3px) rotate(-16deg) scale(0.86); }
.hdr-logo:hover .logo-hat { transform: rotate(-24deg) translateY(-1px); }

.hdr-garland { position: absolute; left: 0; right: 0; bottom: -7px; height: 12px; pointer-events: none; z-index: 1;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='12'%3E%3Cpath d='M0 1.5 Q24 10 48 1.5 T96 1.5' fill='none' stroke='%231A5440' stroke-width='1.2'/%3E%3C/svg%3E") repeat-x 0 0 / 96px 12px; }
.hdr-garland::before, .hdr-garland::after { content: ""; position: absolute; inset: 0; background-repeat: repeat-x; background-size: 96px 12px; }
.hdr-garland::before { background-image:
    radial-gradient(circle at 12px 5.6px, var(--luz) 0 2.4px, transparent 3.4px),
    radial-gradient(circle at 36px 8.4px, #E2584A 0 2.4px, transparent 3.4px),
    radial-gradient(circle at 60px 5.6px, var(--ambar-300) 0 2.4px, transparent 3.4px),
    radial-gradient(circle at 84px 8.4px, #9ED3B5 0 2.4px, transparent 3.4px); }
.hdr-garland::after { background-image:
    radial-gradient(circle at 12px 5.6px, rgb(255 216 154 / 0.7) 0 5px, transparent 8px),
    radial-gradient(circle at 60px 5.6px, rgb(232 201 135 / 0.6) 0 5px, transparent 8px);
  animation: twinkle 2.6s ease-in-out infinite alternate; mix-blend-mode: screen; }
@keyframes twinkle { 0% { opacity: 0.15; } 100% { opacity: 0.9; } }

.nav-gifts { color: var(--vermelho-600) !important; font-weight: 700; }
.nav-gifts .icon { width: 18px; height: 18px; margin-right: 4px; }
.nav-gifts:hover { color: var(--vermelho-700) !important; }
/* com "Presentes" no menu, "Campanha" sai em telas médias (continua no menu do celular e no rodapé) */
@media (max-width: 1600px) { .hdr-nav li:has(.nav-campaign) { display: none; } }
.mnav-gifts { color: var(--vermelho-600) !important; }
.mnav-gifts .icon { width: 20px; height: 20px; }

/* ── botões sazonais ───────────────────────────────────── */
.btn-xmas { --btn-bg: var(--vermelho-600); --btn-fg: #FFF6E6; letter-spacing: 0.06em; box-shadow: inset 0 0 0 1px rgb(232 201 135 / 0.55); }
.btn-xmas:hover { --btn-bg: var(--vermelho-500); box-shadow: inset 0 0 0 1px rgb(232 201 135 / 0.8), 0 12px 28px -12px rgb(163 57 43 / 0.8); }
.btn-gift { --btn-bg: var(--vermelho-600); --btn-fg: #FFF6E6; }
.btn-gift:hover { --btn-bg: var(--vermelho-500); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: var(--pinheiro-800); --btn-bd: var(--pinheiro-200); }
.btn-ghost-light:hover { --btn-bd: var(--pinheiro-600); box-shadow: none; }

/* ══ A ÁRVORE (home) ══════════════════════════════════════ */
.xmas { position: relative; color: var(--neve); isolation: isolate;
  background: radial-gradient(90% 70% at 72% 38%, #174A37 0%, var(--noite-2) 42%, var(--noite) 100%); }
.xmas::after { /* monte de neve: a passagem para a loja */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(36px, 5vw, 72px); z-index: 3; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80V52C90 30 170 44 260 36S430 8 540 22 720 58 820 44 1000 6 1090 18 1170 40 1200 34V80Z' fill='%23F1F2EC'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
.xmas-stage { position: relative; overflow: hidden; }
.xmas-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.xmas-sky::before { content: ""; position: absolute; width: 70vmin; height: 70vmin; right: 6%; top: 18%; border-radius: 50%; background: radial-gradient(circle, rgb(255 196 120 / 0.22), transparent 65%); }
.xmas-snow { position: absolute; inset: -100px 0 0; opacity: 0.55;
  background-image: radial-gradient(1.6px 1.6px at 20px 30px, #fff, transparent), radial-gradient(1.2px 1.2px at 140px 80px, #fff, transparent), radial-gradient(2px 2px at 80px 160px, rgb(255 255 255 / 0.8), transparent), radial-gradient(1.4px 1.4px at 190px 210px, #fff, transparent), radial-gradient(1px 1px at 50px 240px, #fff, transparent);
  background-size: 220px 260px; animation: snowfall 26s linear infinite; }
@keyframes snowfall { to { transform: translateY(260px); } }
.xmas.is-3d .xmas-snow { display: none; } /* a cena 3D tem a própria neve */

.xmas-scene { pointer-events: none; }
.xmas-poster { margin: 0; }
.xmas-tree-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.xt-bulbs circle { animation: bulb 2.4s ease-in-out infinite alternate; animation-delay: var(--d, 0s); filter: drop-shadow(0 0 3px rgb(255 216 154 / 0.9)); }
@keyframes bulb { from { opacity: 0.45; } to { opacity: 1; } }

.xmas-title { font-family: var(--font-display); font-weight: 760; font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.032em; color: var(--neve); margin: 0 0 18px; text-wrap: balance; }
.xmas-sub { font-size: var(--fs-lead); color: var(--pinheiro-200); max-width: 46ch; margin: 0 0 28px; line-height: 1.5; }
.xmas-rule { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; max-width: 48ch; font-size: var(--fs-sm); color: var(--ambar-300); line-height: 1.5; }
.xmas-rule .icon { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.xmas-outro-title { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.025em; color: var(--neve); margin: 0 0 10px; }
.xmas-outro p { color: var(--pinheiro-200); max-width: 52ch; margin: 0 auto 24px; }
.xmas-credit { display: flex; gap: 8px; align-items: flex-start; font-size: 0.75rem; line-height: 1.45; color: rgb(201 216 204 / 0.85); max-width: 52ch; margin: 14px 0 0; }
.xmas-credit .icon { width: 16px; height: 16px; flex: none; color: var(--ambar-400); }
.xmas-credit a { color: var(--ambar-300); }
.xmas-gifts { list-style: none; margin: 0; padding: 0; }
.xmas-dots, .xmas-progress { display: none; }

/* ── cartão do presente ─────────────────────────────────── */
.xgift { --wrap: var(--vermelho-600); --ribbon: var(--ambar-300); }
.xgift.wrap-ouro { --wrap: var(--ambar-500); --ribbon: var(--neve); }
.xgift.wrap-verde { --wrap: var(--pinheiro-700); --ribbon: var(--ambar-400); }
.xgift.wrap-creme { --wrap: #E6D7B8; --ribbon: var(--vermelho-600); }
.xgift-card { position: relative; display: grid; grid-template-columns: clamp(104px, 11vw, 148px) minmax(0, 1fr); grid-template-areas: "count count" "photo body"; column-gap: 18px; row-gap: 12px; padding: 22px 20px 20px; background: var(--creme); color: var(--ink); border-radius: var(--r-lg); box-shadow: 0 30px 60px -28px rgb(0 0 0 / 0.65), inset 0 0 0 1px rgb(200 150 62 / 0.35); isolation: isolate; }
/* "tampa": a faixa do embrulho no topo do cartão */
.xgift-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: linear-gradient(90deg, var(--wrap) 0 calc(50% - 14px), var(--ribbon) calc(50% - 14px) calc(50% + 14px), var(--wrap) calc(50% + 14px)); transform-origin: 10% 100%; transition: transform 700ms var(--ease), opacity 500ms var(--ease); }
.xgift-count { grid-area: count; display: flex; align-items: center; gap: 8px; margin: 0; font-size: 0.8125rem; font-weight: 700; color: var(--vermelho-600); letter-spacing: 0.01em; }
.xgift-count .icon { width: 18px; height: 18px; }
.xgift-photo { grid-area: photo; position: relative; display: block; align-self: start; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line-soft); }
.xgift-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* laço no canto da foto (não cobre o produto) */
.xgift-bow { position: absolute; top: -2px; right: -2px; width: 40px; height: 30px; z-index: 2; transition: transform 800ms var(--ease), opacity 600ms var(--ease); }
.xgift-bow i { position: absolute; top: 6px; width: 18px; height: 14px; border: 4px solid var(--ribbon); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: transparent; box-shadow: 0 1px 2px rgb(0 0 0 / 0.2); }
.xgift-bow i:first-child { left: 2px; transform: rotate(-24deg); }
.xgift-bow i:last-child { right: 2px; transform: rotate(24deg); }
.xgift-bow::after { content: ""; position: absolute; left: 50%; top: 12px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--ribbon); }
.xgift.wrap-creme .xgift-bow i, .xgift.wrap-ouro .xgift-bow i { border-color: var(--vermelho-600); }
.xgift.wrap-creme .xgift-bow::after, .xgift.wrap-ouro .xgift-bow::after { background: var(--vermelho-600); }
.xgift-body { grid-area: body; min-width: 0; display: grid; gap: 8px; align-content: start; }
.xgift-name { font-family: var(--font-body); font-size: 0.9688rem; font-weight: 650; line-height: 1.35; letter-spacing: 0; margin: 0; }
.xgift-name a { color: var(--ink); text-decoration: none; }
.xgift-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.xgift-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.xgift-tags span { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: var(--r-pill); font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.04em; line-height: 1.2; }
.xgift-tag-off { background: var(--pinheiro-800); color: var(--ambar-300); }
.xgift-tag-gift { background: var(--vermelho-600); color: #FFF6E6; }
.xgift-ladder { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 16px; row-gap: 2px; margin: 2px 0 0; }
.xgift-ladder div { display: grid; gap: 1px; }
.xgift-ladder dt { font-size: 0.6875rem; color: var(--ink-3); font-weight: 600; }
.xgift-ladder dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 650; font-size: 0.9375rem; color: var(--ink-2); white-space: nowrap; }
.xgift-ladder dd small { font-size: 0.6875rem; font-weight: 500; }
.xgift-ladder s { text-decoration-thickness: 1.5px; color: var(--ink-3); }
.xgift-final dt { color: var(--vermelho-600); }
.xgift-final dd { font-family: var(--font-display); font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); font-weight: 780; letter-spacing: -0.02em; color: var(--vermelho-600); line-height: 1.1; }
.xgift-total { margin: 0; font-size: 0.75rem; color: var(--ink-3); }
.xgift-actions { margin-top: 4px; }
.xgift-after { display: none; gap: 8px; flex-wrap: wrap; align-items: center; }
.xgift-unlocked { flex-basis: 100%; margin: 0; font-size: 0.8125rem; font-weight: 600; color: var(--pinheiro-700); }
.xgift-unlocked:empty { display: none; }
.xgift[data-opened="1"] .xgift-open { display: none; }
.xgift[data-opened="1"] .xgift-after { display: flex; }
.xgift[data-opened="1"] .xgift-bow { opacity: 0; transform: translate(26px, -36px) rotate(70deg) scale(0.6); }
.xgift[data-opened="1"] .xgift-card::before { transform: translateY(-10px) rotate(-5deg); opacity: 0; }
.xgift[data-opened="1"] .xgift-final dd::after { content: " ✓"; font-size: 0.6em; vertical-align: 0.25em; }
.xgift-burst { position: absolute; left: 50%; top: 55%; width: 0; height: 0; z-index: 5; pointer-events: none; }
.xgift-burst i { position: absolute; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: radial-gradient(circle, #FFF3D0 0 30%, var(--ambar-400) 60%, transparent 70%); animation: burst var(--t, 1s) cubic-bezier(.15, .7, .3, 1) forwards; }
.xgift-burst i:nth-child(3n) { width: 5px; height: 5px; background: #FFE7A8; border-radius: 1px; }
@keyframes burst { 0% { transform: translate(0, 0) scale(0.2); opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(var(--s)); opacity: 0; } }
.xgift.is-opening .xgift-card { animation: gift-glow 1.4s var(--ease); }
@keyframes gift-glow { 0% { box-shadow: 0 30px 60px -28px rgb(0 0 0 / 0.65), 0 0 0 0 rgb(255 216 154 / 0); } 30% { box-shadow: 0 30px 60px -28px rgb(0 0 0 / 0.65), 0 0 0 6px rgb(255 216 154 / 0.55), 0 0 60px 10px rgb(255 196 120 / 0.55); } 100% { box-shadow: 0 30px 60px -28px rgb(0 0 0 / 0.65), 0 0 0 0 rgb(255 216 154 / 0); } }
.xgift.is-opening .xgift-final { animation: reveal 900ms var(--ease) 200ms both; }
.xgift.is-opening .xgift-after { animation: rise 600ms var(--ease) 450ms both; }
@keyframes reveal { 0% { transform: scale(0.9); filter: blur(3px); opacity: 0.2; } 100% { transform: none; filter: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── modo estático (sem JS, sem WebGL com movimento reduzido) ─ */
.xmas:not(.is-steps):not(.is-swipe) .xmas-stage { padding-bottom: clamp(72px, 8vw, 120px); }
.xmas:not(.is-steps):not(.is-swipe) .xmas-scene { position: absolute; right: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); top: clamp(24px, 4vw, 56px); width: min(38%, 420px); aspect-ratio: 360 / 470; }
.xmas:not(.is-steps):not(.is-swipe) .xmas-intro { max-width: 58%; padding-block: clamp(56px, 8vw, 120px) clamp(40px, 5vw, 72px); min-height: min(52vw, 560px); }
.xmas:not(.is-steps):not(.is-swipe) .xmas-gifts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.xmas:not(.is-steps):not(.is-swipe) .xmas-outro { text-align: center; padding-top: 48px; }
.xmas:not(.is-steps):not(.is-swipe) .xmas-outro .btn { display: none; }
@media (max-width: 760px) {
  .xmas:not(.is-steps):not(.is-swipe) .xmas-scene { position: relative; right: auto; top: auto; width: min(72%, 300px); margin: 28px auto 0; }
  .xmas:not(.is-steps):not(.is-swipe) .xmas-intro { max-width: none; min-height: 0; padding-top: 20px; }
}

/* ── modo por etapas (a seção fica fixa e a rolagem conduz) ── */
.xmas.is-steps { --unit: 72svh; height: calc((var(--gift-count, 8) + 2) * var(--unit) + 100svh); margin-top: calc(-1 * var(--header-h)); }
.xmas.is-steps .xmas-stage { position: sticky; top: 0; height: 100svh; min-height: 560px; }
.xmas.is-steps .xmas-scene { position: absolute; inset: 0; }
.xmas.is-steps .xmas-poster { position: absolute; right: 9%; bottom: 7%; height: 80%; aspect-ratio: 360 / 470; transition: opacity 900ms var(--ease); }
.xmas-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: auto; }
.xmas.is-3d .xmas-canvas { opacity: calc(1 - var(--outro, 0) * 0.35); }
.xmas.is-3d .xmas-poster { opacity: 0; }
.xmas.is-steps .xmas-layout { position: absolute; inset: var(--header-h) 0 0; pointer-events: none; }
.xmas.is-steps .xmas-intro,
.xmas.is-steps .xgift,
.xmas.is-steps .xmas-outro { position: absolute; left: var(--gutter); top: 50%; width: min(620px, 50%); transform: translateY(calc(-50% + 22px)); opacity: 0; visibility: hidden; transition: opacity 520ms var(--ease), transform 620ms var(--ease), visibility 0s linear 620ms; }
.xmas.is-steps .xgift { width: min(520px, 46%); }
.xmas.is-steps[data-step="intro"] .xmas-intro,
.xmas.is-steps .xgift.is-active,
.xmas.is-steps[data-step="outro"] .xmas-outro { opacity: 1; visibility: visible; transform: translateY(-50%); pointer-events: auto; transition: opacity 520ms var(--ease) 80ms, transform 620ms var(--ease) 80ms, visibility 0s; }
.xmas.is-steps .xmas-outro p { margin-left: 0; }
.xmas.is-steps .xmas-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 60% at 50% 50%, rgb(6 26 19 / 0.7), rgb(6 26 19 / 0.2)); opacity: var(--outro, 0); }
.xmas.is-steps .xmas-outro { z-index: 2; }
.xmas.is-steps .xmas-dots { display: flex; position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); flex-direction: column; gap: 2px; padding: 6px 2px; border-radius: var(--r-pill); background: rgb(6 26 19 / 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: auto; }
.xmas.is-steps[data-step="intro"] .xmas-dots, .xmas.is-steps[data-step="outro"] .xmas-dots { opacity: 0.35; }
.xmas-dot { width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; cursor: pointer; }
.xmas-dot span { width: 11px; height: 11px; border-radius: 50%; background: rgb(250 250 246 / 0.35); box-shadow: inset 0 -2px 3px rgb(0 0 0 / 0.25); transition: transform var(--t-mid) var(--ease), background var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease); }
.xmas-dot:hover span { background: rgb(250 250 246 / 0.7); }
.xmas-dot[aria-current] span { background: radial-gradient(circle at 35% 30%, #FFF1C9, var(--ambar-400) 55%, var(--ambar-600)); transform: scale(1.35); box-shadow: 0 0 14px 2px rgb(255 216 154 / 0.6); }
.xmas.is-steps .xmas-progress { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgb(250 250 246 / 0.08); }
.xmas-progress i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ambar-500), var(--luz)); transform-origin: left; transform: scaleX(0); }

@media (max-width: 760px) {
  .xmas.is-steps { --unit: 64svh; }
  .xmas.is-steps .xmas-poster { left: 50%; right: auto; top: calc(var(--header-h) + 12px); bottom: auto; height: 40%; transform: translateX(-50%); }
  .xmas.is-steps .xmas-layout { inset: 0; }
  .xmas.is-steps .xmas-intro,
  .xmas.is-steps .xgift,
  .xmas.is-steps .xmas-outro { left: 12px; right: 12px; width: auto; top: auto; bottom: 14px; transform: translateY(22px); }
  .xmas.is-steps[data-step="intro"] .xmas-intro, .xmas.is-steps .xgift.is-active, .xmas.is-steps[data-step="outro"] .xmas-outro { transform: none; }
  .xmas.is-steps .xmas-outro { padding: 0 8px 18px; }
  .xmas.is-steps .xmas-intro { padding: 0 8px 6px; }
  .xmas.is-steps .xmas-intro::before { content: ""; position: absolute; inset: -60px -12px -14px; z-index: -1; background: linear-gradient(to bottom, transparent, rgb(6 26 19 / 0.88) 34%); }
  .xmas-title { font-size: clamp(1.75rem, 1.2rem + 3.2vw, 2.25rem); margin-bottom: 10px; }
  .xmas-sub { font-size: 0.9688rem; margin-bottom: 16px; }
  .xmas-rule { margin-top: 14px; font-size: 0.75rem; }
  .xmas.is-steps .xgift-card { max-height: calc(58svh); overflow: auto; overscroll-behavior: contain; }
  .xmas.is-steps .xmas-dots { top: calc(var(--header-h) + 6px); right: auto; left: 50%; transform: translateX(-50%); flex-direction: row; gap: 0; }
  .xmas-dot { width: 28px; height: 28px; }
  .xmas-credit { margin-top: 10px; }
}
@media (max-width: 760px) {
  .xgift-card { grid-template-columns: 92px minmax(0, 1fr); column-gap: 14px; padding: 18px 14px 14px; }
  .xgift-name { font-size: 0.875rem; }
  .xgift-ladder { column-gap: 12px; }
  .xgift-final dd { font-size: 1.375rem; }
  .xgift-actions .btn { min-height: 44px; }
  .xgift-open { width: 100%; }
  .xgift-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 440px) {
  /* três preços não cabem lado a lado: o preço do presente vai para a linha de baixo */
  .xgift-ladder { grid-template-columns: auto auto; row-gap: 6px; }
  .xgift-final { grid-column: 1 / -1; }
}
/* ── modo deslizar (celular): a faixa de presentes passa para o lado ──
   A seção ocupa exatamente uma tela. A cena 3D fica parada atrás; na frente,
   .xmas-layout vira uma faixa horizontal com um slide por tela (abertura, os
   oito presentes, fechamento). Até a última oferta, arrastar na vertical sobre
   a faixa não rola a página (pan-x); com .is-done, volta a rolar. */
.xmas.is-swipe { height: calc(100svh - var(--xmas-top, 0px)); min-height: 540px; margin-top: calc(-1 * var(--header-h)); }
.xmas.is-swipe .xmas-stage { height: 100%; }
.xmas.is-swipe .xmas-scene { position: absolute; inset: 0; }
.xmas.is-swipe .xmas-poster { position: absolute; left: 50%; top: calc(var(--header-h) + 40px); height: 42%; aspect-ratio: 360 / 470; transform: translateX(-50%); transition: opacity 900ms var(--ease); }
.xmas.is-swipe.is-3d .xmas-poster { opacity: 0; }
.xmas.is-swipe .xmas-layout { position: absolute; inset: 0; max-width: none; margin: 0; padding: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; touch-action: pan-x; -webkit-overflow-scrolling: touch; }
.xmas.is-swipe .xmas-layout::-webkit-scrollbar { display: none; }
.xmas.is-swipe.is-done .xmas-layout { touch-action: pan-x pan-y; }
.xmas.is-swipe .xmas-gifts { display: contents; }
.xmas.is-swipe .xmas-intro,
.xmas.is-swipe .xgift,
.xmas.is-swipe .xmas-outro { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 52px) 12px 40px; }
/* os cartões vizinhos aparecem esmaecidos enquanto o dedo arrasta */
.xmas.is-swipe .xgift-card, .xmas.is-swipe .xmas-intro > *, .xmas.is-swipe .xmas-outro > * { transition: opacity 360ms var(--ease), transform 360ms var(--ease); }
.xmas.is-swipe .xgift:not(.is-active) .xgift-card,
.xmas.is-swipe .xmas-intro[inert] > *,
.xmas.is-swipe .xmas-outro[inert] > * { opacity: 0.35; transform: scale(0.96); }
.xmas.is-swipe .xmas-intro { padding-inline: 20px; }
.xmas.is-swipe .xmas-intro::before,
.xmas.is-swipe .xmas-outro::before { content: ""; position: absolute; inset: 40% 0 0; z-index: -1; background: linear-gradient(to bottom, transparent, rgb(6 26 19 / 0.9) 42%); pointer-events: none; }
.xmas.is-swipe .xmas-outro { text-align: center; padding-inline: 24px; }
.xmas.is-swipe .xmas-outro-title { font-size: 1.625rem; }
.xmas.is-swipe .xmas-outro p { margin-inline: auto; }
.xmas.is-swipe .xmas-title { font-size: clamp(1.75rem, 1.2rem + 3.2vw, 2.25rem); margin-bottom: 10px; }
.xmas.is-swipe .xmas-sub { font-size: 0.9688rem; margin-bottom: 16px; }
.xmas.is-swipe .xmas-rule { margin-top: 14px; font-size: 0.75rem; }
.xmas.is-swipe .xmas-credit { margin-top: 10px; }
.xmas.is-swipe .xmas-dots { display: flex; position: absolute; z-index: 4; top: calc(var(--header-h) + 8px); left: 50%; transform: translateX(-50%); gap: 0; padding: 4px 2px; border-radius: var(--r-pill); background: rgb(6 26 19 / 0.72); }
.xmas.is-swipe[data-step="intro"] .xmas-dots, .xmas.is-swipe[data-step="outro"] .xmas-dots { opacity: 0.45; }
.xmas.is-swipe .xmas-dot { width: 28px; height: 28px; }
.xmas-skip { display: none; }
.xmas.is-swipe .xmas-skip { display: inline-grid; place-items: center; position: absolute; z-index: 4; top: calc(var(--header-h) + 8px); right: 10px; height: 36px; padding: 0 12px; border-radius: var(--r-pill); background: rgb(6 26 19 / 0.72); color: var(--pinheiro-200); font-size: 0.8125rem; font-weight: 600; text-decoration: none; transition: opacity var(--t-mid) var(--ease); }
.xmas.is-swipe.is-done .xmas-skip { opacity: 0; pointer-events: none; }
/* com 8 bolinhas centralizadas, o "Pular" desce para não encostar nelas */
@media (max-width: 359px) { .xmas.is-swipe .xmas-skip { top: calc(var(--header-h) + 50px); } }
.xmas-swipe-hint { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: 0.8125rem; font-weight: 600; color: var(--ambar-300); }
.xmas-swipe-hint span { position: relative; width: 34px; height: 2px; border-radius: 2px; background: rgb(232 201 135 / 0.35); overflow: hidden; }
.xmas-swipe-hint span::after { content: ""; position: absolute; inset: 0; width: 40%; border-radius: 2px; background: var(--ambar-300); animation: swipe-hint 1.6s var(--ease-in-out) infinite; }
@keyframes swipe-hint { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

@media (max-height: 640px) and (min-width: 761px) {
  .xgift-card { grid-template-columns: 96px minmax(0, 1fr); padding: 16px; row-gap: 8px; }
  .xmas-title { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem); }
}

@media (prefers-reduced-motion: reduce) {
  .hdr-garland::after, .xmas-snow, .xt-bulbs circle, .promo-xmas::after { animation: none !important; }
  .xgift-bow, .xgift-card::before { transition: none; }
}

/* ══ LOJA ═════════════════════════════════════════════════ */
.xmas-store { position: relative; }
.rail-xmas { background: var(--bg); }
.rail-xmas .section-head h2::after { content: ""; display: inline-block; width: 0.7em; height: 0.7em; margin-left: 0.3em; vertical-align: 0.05em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.7 5.6 6.1.8-4.4 4.3 1 6.1L12 16.4l-5.4 2.9 1-6.1-4.4-4.3 6.1-.8z' fill='%23C8963E'/%3E%3C/svg%3E") center / contain no-repeat; }

/* cards: produto que é um dos presentes */
.card.is-gift { border-color: rgb(200 150 62 / 0.45); }
.card-ribbon { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: var(--vermelho-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6EBD3' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5h16v3.5H4zM5.5 13v7h13v-7M12 9.5V20'/%3E%3Cpath d='M12 9.5c-1.6-3.4-5.6-3.9-5.6-1.6 0 1.3 1.7 1.6 5.6 1.6Zm0 0c1.6-3.4 5.6-3.9 5.6-1.6 0 1.3-1.7 1.6-5.6 1.6Z'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: 0 4px 10px -4px rgb(126 42 32 / 0.6); }
.card-gift { position: relative; z-index: 2; display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--vermelho-600); text-decoration: none; line-height: 1.3; }
.card-gift .icon { width: 15px; height: 15px; flex: none; }
.card-gift b { font-weight: 750; white-space: nowrap; }
.card-gift:hover { text-decoration: underline; text-underline-offset: 2px; }

/* selo "+15% no presente" */
.badge-gift { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 8px; border-radius: var(--r-pill); background: var(--vermelho-600); color: #FFF6E6; font-size: 0.75rem; font-weight: 700; line-height: 1.2; margin-left: 6px; }
.badge-gift .icon { width: 14px; height: 14px; }

/* página do produto: bloco do presente */
.gift-panel { position: relative; margin: 18px 0 6px; padding: 20px 20px 18px; border-radius: var(--r-lg); background: var(--creme); border: 1px solid rgb(200 150 62 / 0.45); overflow: hidden; isolation: isolate; }
.gift-panel::before { content: ""; position: absolute; top: 0; bottom: 0; right: 46px; width: 10px; background: var(--vermelho-600); opacity: 0.9; z-index: -1; }
.gift-panel::after { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 10px; background: var(--vermelho-600); opacity: 0.9; z-index: -1; clip-path: inset(0 0 0 calc(100% - 92px)); }
.gift-panel-bow { position: absolute; right: 31px; top: 18px; width: 40px; height: 34px; }
.gift-panel-bow::before, .gift-panel-bow::after { content: ""; position: absolute; top: 4px; width: 17px; height: 13px; border: 4px solid var(--vermelho-700); border-radius: 50%; }
.gift-panel-bow::before { left: 0; transform: rotate(-24deg); }
.gift-panel-bow::after { right: 0; transform: rotate(24deg); }
.gift-panel-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 0.9375rem; font-weight: 750; color: var(--vermelho-600); margin: 0 72px 12px 0; letter-spacing: 0; }
.gift-panel-title .icon { width: 20px; height: 20px; flex: none; }
.gift-steps { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 4px 22px; margin: 0 0 10px; }
.gift-steps div { display: grid; gap: 2px; }
.gift-steps dt { font-size: 0.75rem; color: var(--ink-3); font-weight: 600; }
.gift-steps dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.gift-steps-final dt { color: var(--vermelho-600); }
.gift-steps-final dd { font-family: var(--font-display); font-size: 1.5rem; font-weight: 780; color: var(--vermelho-600); letter-spacing: -0.02em; line-height: 1.1; }
.gift-panel-note { margin: 0 64px 12px 0; font-size: var(--fs-sm); color: var(--ink-2); }
.gift-steps { margin-right: 60px; }
.gift-panel.is-open { border-color: rgb(43 107 83 / 0.4); }
.gift-panel.is-open .gift-panel-note { margin-bottom: 0; }
.gift-panel.is-opening { animation: gift-glow 900ms var(--ease); }
.pdp-price.is-gift-open .price-now { color: var(--vermelho-600); }
.gift-cell { color: var(--vermelho-600); }
@media (max-width: 480px) { .gift-steps { grid-template-columns: repeat(2, minmax(0, auto)); } .gift-steps-final { grid-column: 1 / -1; } }

/* carrinho, finalização e pedido */
.cart-line-gift, .co-line-name .co-line-gift { display: flex; align-items: center; gap: 5px; margin: 2px 0 0; font-size: 0.75rem; font-weight: 650; color: var(--vermelho-600); }
.cart-line-gift .icon, .co-line-gift .icon { width: 14px; height: 14px; flex: none; }
.cart-line-gift.is-closed { font-weight: 500; color: var(--ink-3); }
.cart-line-gift.is-closed a { color: var(--vermelho-600); font-weight: 650; }
.cart-discount-gift dt, .co-discount-gift dt { display: inline-flex; align-items: center; gap: 5px; }
.cart-discount-gift dt .icon, .co-discount-gift dt .icon { width: 15px; height: 15px; color: var(--vermelho-600); }
.cart-discount-gift dd, .co-discount-gift dd { color: var(--vermelho-600); }
.co-summary-card { position: relative; overflow: hidden; }
.co-summary-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--vermelho-600) 0 46%, var(--ambar-400) 46% 54%, var(--vermelho-600) 54%); }
.pix-qr { box-shadow: 0 0 0 3px var(--ambar-100), 0 0 0 4px rgb(200 150 62 / 0.5); }

/* listagens: neve leve no cabeçalho da categoria */
.cat-hero { position: relative; overflow: hidden; }
.cat-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background-image: radial-gradient(1.6px 1.6px at 30px 40px, var(--pinheiro-200), transparent), radial-gradient(1.2px 1.2px at 120px 90px, var(--ambar-300), transparent), radial-gradient(2px 2px at 200px 30px, var(--pinheiro-200), transparent);
  background-size: 240px 140px; mask-image: linear-gradient(90deg, transparent 40%, #000); }

/* entrar / criar conta: neve sobre o painel verde */
.auth-visual::after { content: ""; position: absolute; inset: -140px 0 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(1.6px 1.6px at 20px 30px, #fff, transparent), radial-gradient(1.2px 1.2px at 140px 80px, #fff, transparent), radial-gradient(2px 2px at 80px 160px, rgb(255 255 255 / 0.8), transparent);
  background-size: 200px 220px; animation: snowfall 30s linear infinite; }

/* rodapé: pinheiros com neve */
.site-footer { padding-top: 0; }
.footer-xmas { height: clamp(40px, 5vw, 64px); margin-bottom: clamp(32px, 4vw, 56px); background: var(--bg); }
.footer-pines { display: block; width: 100%; height: 100%; fill: var(--pinheiro-900); }
.footer-snowline { fill: var(--pinheiro-900); }
.footer-season { display: inline-flex; align-items: center; gap: 6px; color: var(--ambar-300); }
.footer-season .icon { width: 15px; height: 15px; }

/* preço único do presente (desde a reprecificação de dez/2026) */
.xgift-ladder.xgift-ladder-single { grid-template-columns: auto; justify-content: start; }
.xgift-ladder-single .xgift-final { text-align: left; }
