/* Коледно — саморазгъваща се елха
   Тъмна зимна нощ, злато, червено и много светлинки. */

@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --night: #04110c;
  --pine: #0a2419;
  --pine-2: #103426;
  --pine-3: #17503a;
  --red: #ec2a40;
  --red-2: #b3122a;
  --gold: #ffc94a;
  --gold-2: #f29e1f;
  --snow: #fff8ef;
  --muted: #b7cabe;
  --line: rgba(255, 248, 239, .12);
  --glass: rgba(255, 255, 255, .045);
  --display: "Unbounded", "Onest", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --r: 22px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.55 var(--body);
  color: var(--snow);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(255, 201, 74, .10), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(236, 42, 64, .10), transparent 60%),
    radial-gradient(1000px 900px at 50% 120%, rgba(23, 80, 58, .55), transparent 70%),
    linear-gradient(180deg, var(--night), var(--pine) 40%, var(--night));
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 4.6vw, 56px); font-weight: 900; }
h3 { font-size: 18px; font-weight: 800; }
p { margin: 0; }
.center { text-align: center; }
.hl {
  background: linear-gradient(100deg, var(--gold), #ffe7a3 40%, var(--gold-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kicker {
  font-family: var(--hand); font-size: 30px; color: var(--gold);
  transform: rotate(-3deg); display: block; margin-bottom: 4px;
}
.kicker.center { transform: rotate(-2deg); }
.sub { color: var(--muted); margin-top: 12px; }
::selection { background: var(--red); color: #fff; }

main, .hdr, .topbar, .foot { position: relative; z-index: 2; }
#snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 9999; pointer-events: none; }

section { padding: clamp(64px, 10vw, 130px) var(--gutter); }

/* ---------- бутони ---------- */
.btn {
  --bg: var(--red);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; padding: 16px 26px;
  font-family: var(--display); font-weight: 800; font-size: 16px; text-decoration: none;
  background: var(--bg); color: #fff;
  transition: transform .25s var(--bounce), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-gold { --bg: linear-gradient(135deg, #ffe08a, var(--gold) 45%, var(--gold-2)); color: #3a2200; }
.btn-cta {
  --bg: linear-gradient(135deg, #ff5a6c, var(--red) 45%, var(--red-2));
  box-shadow: 0 10px 30px -8px rgba(236, 42, 64, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
  animation: ctaPulse 2.6s ease-in-out infinite;
}
.btn-cta::after {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); animation: shine 3.2s ease-in-out infinite;
}
.btn-cta b { background: rgba(0, 0, 0, .2); border-radius: 999px; padding: 4px 10px; font-weight: 800; }
.btn-xl { padding: 20px 34px; font-size: 18px; }
.btn-block { width: 100%; }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(236, 42, 64, .8), 0 0 0 0 rgba(236, 42, 64, .45); }
  50% { box-shadow: 0 10px 30px -8px rgba(236, 42, 64, .8), 0 0 0 12px rgba(236, 42, 64, 0); }
}

/* ---------- горна лента и гирлянд ---------- */
.topbar {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px;
  padding: 9px 14px; font-size: 13.5px; text-align: center;
  background: linear-gradient(90deg, var(--red-2), var(--red), var(--red-2));
  background-size: 200% 100%; animation: barShift 8s linear infinite;
}
.topbar .cd { font-variant-numeric: tabular-nums; background: rgba(0, 0, 0, .22); padding: 1px 8px; border-radius: 6px; }
.tb-gift { display: inline-block; animation: wiggle 2.4s ease-in-out infinite; }
@keyframes barShift { to { background-position: 200% 0; } }
@keyframes wiggle { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-14deg); } 85% { transform: rotate(12deg); } 92% { transform: rotate(-6deg); } }

.garland { position: relative; z-index: 3; height: 0; pointer-events: none; }
.garland .wire { position: absolute; top: 0; left: 0; width: 100%; height: 40px; }
.garland .wire path { fill: none; stroke: #0b1f16; stroke-width: 3; }
.bulbs { position: absolute; inset: 0; height: 40px; }
.bulb {
  position: absolute; width: 12px; height: 18px; margin-left: -6px; border-radius: 50% 50% 46% 46%;
  background: var(--c); transform-origin: 50% -4px; transform: rotate(var(--rot, 0deg));
  box-shadow: 0 0 10px 2px var(--c), 0 0 26px 6px color-mix(in srgb, var(--c) 45%, transparent);
  animation: twinkle var(--d, 2s) ease-in-out var(--dl, 0s) infinite alternate;
}
.bulb::before { content: ""; position: absolute; top: -5px; left: 3px; width: 6px; height: 6px; border-radius: 2px; background: #1d2b24; }
@keyframes twinkle { 0% { opacity: .35; filter: saturate(.6); box-shadow: 0 0 4px 0 var(--c); } 100% { opacity: 1; } }

/* ---------- хедър ---------- */
.hdr {
  position: relative; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1240px; margin: 26px auto 0; padding: 6px 10px 6px 18px;
  width: calc(100% - 2 * var(--gutter));
  border-radius: 999px; background: var(--snow); color: #12261c;
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, .8), inset 0 -3px 0 rgba(0, 0, 0, .06);
}
.hdr::before { /* снежна шапка */
  content: ""; position: absolute; left: 30px; right: 30px; top: -7px; height: 14px; border-radius: 14px;
  background: radial-gradient(circle at 10px 10px, #fff 9px, transparent 10px) 0 0 / 38px 14px repeat-x;
  filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .05)); pointer-events: none;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand-img { height: 60px; width: auto; margin: -6px 0; transition: transform .4s var(--bounce); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .12)); }
.brand:hover .brand-img { transform: rotate(-3deg) scale(1.05); }
.brand-txt { display: inline-flex; align-items: flex-start; gap: 2px; font: 400 36px/1 "Lobster", var(--display); color: #c8102e; text-shadow: 0 2px 0 rgba(0, 0, 0, .08); }
.brand-txt svg { width: 18px; height: 18px; fill: var(--gold-2); margin-top: -4px; animation: spinStar 9s linear infinite; }
.nav { display: flex; gap: 26px; font-weight: 700; font-size: 15px; }
.nav a { text-decoration: none; position: relative; color: #12261c; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease-out); }
.nav a:hover::after { transform: scaleX(1); }
@keyframes spinStar { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .nav { display: none; } }

/* ---------- продукт ---------- */
.product {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px); align-items: start;
  max-width: 1240px; margin: 0 auto; padding-top: clamp(20px, 4vw, 48px);
}
.gallery { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 24px; }
@media (min-width: 961px) { .gallery { position: sticky; top: 16px; } }

.frame {
  position: relative; width: min(100%, 430px); aspect-ratio: 9 / 14;
  border-radius: 999px 999px 34px 34px; padding: 7px;
  background: conic-gradient(from var(--ang), var(--gold), var(--red), #ffe7a3, var(--gold-2), var(--red), var(--gold));
  animation: spinBorder 6s linear infinite;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 80px -20px rgba(255, 201, 74, .45), 0 0 120px -30px rgba(236, 42, 64, .6);
}
@keyframes spinBorder { to { --ang: 360deg; } }
.frame-in { position: relative; height: 100%; border-radius: 999px 999px 28px 28px; overflow: hidden; background: #000; }
.frame-in video, .frame-in img { width: 100%; height: 100%; object-fit: cover; }
.frame-in img { animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: scale(1.04); } }
.rec {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px);
}
.rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

.sticker {
  position: absolute; right: -26px; top: 18%; width: 118px; height: 118px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 35% 30%, #ff6b7b, var(--red) 55%, var(--red-2));
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .6), inset 0 2px 0 rgba(255, 255, 255, .3);
  transform: rotate(12deg); animation: bob 3.4s ease-in-out infinite;
}
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spinStar 14s linear infinite; }
.sticker text { font: 800 9.4px var(--display); fill: #fff; letter-spacing: .14em; }
.sticker b { font: 900 34px/1 var(--display); display: flex; flex-direction: column; align-items: center; }
.sticker small { font-size: 11px; letter-spacing: .1em; }
@keyframes bob { 0%, 100% { transform: rotate(12deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-10px); } }

.scribble {
  position: absolute; left: -6px; top: 46%; width: 150px;
  font: 700 26px/1 var(--hand); color: var(--gold); transform: rotate(-10deg);
}
.scribble svg { width: 70px; margin: 4px 0 0 60px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1.4s 1s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 1180px) { .scribble { display: none; } }

.bauble { position: absolute; top: -40px; z-index: 3; transform-origin: 50% 0; animation: swing var(--s, 3.2s) ease-in-out infinite alternate; pointer-events: none; }
.bauble::before { content: ""; display: block; width: 2px; height: var(--len, 70px); margin: 0 auto; background: linear-gradient(var(--gold), rgba(255, 201, 74, .4)); }
.bauble i {
  display: block; width: var(--sz, 40px); height: var(--sz, 40px); border-radius: 50%; position: relative;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .9) 0 7%, transparent 12%), radial-gradient(circle at 50% 50%, var(--bc), color-mix(in srgb, var(--bc) 50%, #000));
  box-shadow: 0 0 24px -4px var(--bc);
}
.bauble i::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 8px; margin-left: -6px; border-radius: 3px 3px 1px 1px; background: linear-gradient(90deg, #a67c1a, #ffe08a, #a67c1a); }
.b1 { left: 4%; --len: 90px; --sz: 46px; --bc: var(--red); --s: 3s; }
.b2 { right: 8%; --len: 40px; --sz: 34px; --bc: var(--gold); --s: 2.6s; animation-delay: -.8s; }
.b3 { left: 20%; --len: 30px; --sz: 26px; --bc: #3ad29f; --s: 3.6s; animation-delay: -1.6s; }
@keyframes swing { from { transform: rotate(9deg); } to { transform: rotate(-9deg); } }

.thumbs { display: flex; gap: 12px; margin-top: 18px; }
.thumb {
  position: relative; width: 62px; height: 92px; padding: 0; border-radius: 999px 999px 12px 12px; overflow: hidden;
  border: 2px solid var(--line); background: #000; opacity: .65; transition: all .3s var(--bounce);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 18px; background: rgba(0, 0, 0, .35); }
.thumb em { position: absolute; left: 0; right: 0; bottom: 0; font-size: 9px; font-style: normal; font-weight: 700; padding: 3px 0; background: rgba(0, 0, 0, .6); text-align: center; }
.thumb.is-on, .thumb:hover { opacity: 1; border-color: var(--gold); transform: translateY(-4px); }

/* buybox */
.buybox {
  position: relative; padding: clamp(20px, 3vw, 34px); border-radius: 30px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--line); backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9);
}
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.badge { font-size: 12px; font-weight: 800; letter-spacing: .02em; padding: 6px 12px; border-radius: 999px; text-transform: uppercase; }
.badge-red { background: var(--red); animation: wiggle 3.6s ease-in-out infinite; }
.badge-gold { background: rgba(255, 201, 74, .14); color: var(--gold); border: 1px solid rgba(255, 201, 74, .35); }
.title { font-size: clamp(30px, 4.4vw, 54px); font-weight: 900; line-height: 1.02; }
.title .w { display: inline-block; opacity: 0; transform: translateY(30px) rotate(4deg); animation: wordIn .7s var(--bounce) forwards; }
.title .w:nth-child(2) { animation-delay: .08s; } .title .w:nth-child(3) { animation-delay: .16s; } .title .w:nth-child(4) { animation-delay: .3s; }
.title em { font-style: normal; display: inline-block; background: linear-gradient(100deg, var(--gold), #fff2c7 45%, var(--gold-2) 70%, var(--gold)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.title em.w { animation: wordIn .7s .3s var(--bounce) forwards, goldFlow 4s 1s linear infinite; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
@keyframes goldFlow { to { background-position: -200% 0; } }
.lead { color: var(--muted); margin: 14px 0 16px; font-size: 16.5px; }
.ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-weight: 500; font-size: 15px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 900; color: #04110c; background: var(--gold); }
@media (max-width: 480px) { .ticks { grid-template-columns: 1fr; } }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .02em; margin-bottom: 10px; padding: 0; }
legend small { font-family: var(--body); font-weight: 500; color: var(--muted); margin-left: 6px; }

.size-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size-card {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px;
  min-height: 132px; padding: 14px 6px 12px; border-radius: 18px; cursor: pointer;
  border: 2px solid var(--line); background: rgba(0, 0, 0, .2); transition: all .3s var(--bounce);
}
.size-card:hover { border-color: rgba(255, 201, 74, .5); transform: translateY(-3px); }
.size input:checked + .size-card { border-color: var(--gold); background: rgba(255, 201, 74, .1); transform: translateY(-4px) scale(1.03); box-shadow: 0 14px 30px -14px rgba(255, 201, 74, .7); }
.size input:focus-visible + .size-card { outline: 3px solid var(--gold); outline-offset: 2px; }
.size-card strong { font-family: var(--display); font-size: 17px; font-weight: 800; margin-top: 6px; }
.size-card small { color: var(--muted); font-weight: 700; font-size: 13px; }
.size input:checked + .size-card small { color: var(--gold); }
.size-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: 10px; font-weight: 800; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--red); }
.mini { position: relative; display: block; width: calc(14px + 40px * var(--h)); height: calc(70px * var(--h)); transition: transform .5s var(--bounce); }
.mini::before {
  content: ""; position: absolute; inset: 0 0 12% 0;
  background: linear-gradient(180deg, #2a8a5c, #145238);
  clip-path: polygon(50% 0, 70% 30%, 62% 30%, 84% 62%, 74% 62%, 100% 100%, 0 100%, 26% 62%, 16% 62%, 38% 30%, 30% 30%);
}
.mini::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 6px; height: 14%; margin-left: -3px; background: #6b4226; border-radius: 1px; }
.mini b {
  position: absolute; inset: 8% 10% 16%; z-index: 1; opacity: .25;
  background:
    radial-gradient(circle, #ffe7a3 0 1.4px, transparent 2.2px) 0 0 / 9px 10px,
    radial-gradient(circle, var(--red) 0 1.4px, transparent 2.2px) 4px 5px / 11px 12px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transition: opacity .3s;
}
.size input:checked + .size-card .mini { transform: scale(1.12); }
.size input:checked + .size-card .mini b { opacity: 1; animation: blink 1s steps(2) infinite; }
.size-meta { margin-top: 10px; font-size: 13.5px; color: var(--muted); min-height: 1.5em; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 18px 0 20px; }
.price .now { font-family: var(--display); font-weight: 900; font-size: clamp(38px, 5vw, 50px); color: var(--gold); text-shadow: 0 0 30px rgba(255, 201, 74, .35); font-variant-numeric: tabular-nums; }
.price .old { color: var(--muted); font-size: 18px; }
.price .save { font-weight: 800; font-size: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(236, 42, 64, .18); color: #ff8593; border: 1px dashed rgba(236, 42, 64, .6); }
.price.pop .now { animation: pricePop .5s var(--bounce); }
@keyframes pricePop { 30% { transform: scale(1.12) rotate(-2deg); } }

.addons { margin-bottom: 18px; }
.addon { display: flex; align-items: center; gap: 12px; padding: 11px 14px; margin-bottom: 8px; border-radius: 14px; cursor: pointer; border: 1px solid var(--line); background: rgba(0, 0, 0, .18); transition: all .25s; }
.addon:hover { border-color: rgba(255, 201, 74, .45); }
.addon input { position: absolute; opacity: 0; pointer-events: none; }
.addon .box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid rgba(255, 255, 255, .35); display: grid; place-items: center; transition: all .25s var(--bounce); }
.addon input:checked ~ .box { background: var(--gold); border-color: var(--gold); transform: rotate(-8deg) scale(1.1); }
.addon input:checked ~ .box::after { content: "✓"; color: #04110c; font-weight: 900; font-size: 13px; }
.addon input:focus-visible ~ .box { outline: 3px solid var(--gold); outline-offset: 2px; }
.addon:has(input:checked) { border-color: var(--gold); background: rgba(255, 201, 74, .08); }
.addon-name { flex: 1; font-size: 14.5px; font-weight: 500; }
.addon b { color: var(--gold); font-size: 14px; white-space: nowrap; }
.bundle-hint { font-size: 13.5px; color: var(--muted); padding: 4px 2px; transition: color .3s; }
.bundle-hint.on { color: #7ff0b9; font-weight: 700; animation: pricePop .5s var(--bounce); }

.buyrow { display: flex; gap: 10px; align-items: stretch; }
.qty { display: flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.qty button { width: 42px; height: 100%; min-height: 54px; border: 0; background: none; font-size: 22px; font-weight: 700; border-radius: 999px; }
.qty button:hover { color: var(--gold); }
.qty output { min-width: 24px; text-align: center; font-family: var(--display); font-weight: 800; }
.buyrow .btn-cta { flex: 1; font-size: 17px; padding: 16px 18px; }
.qty-hint { font-size: 13px; color: var(--muted); margin: 10px 2px 0; }

.ship { margin: 16px 0 14px; }
.ship-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ship-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: repeating-linear-gradient(-45deg, var(--red) 0 10px, #fff 10px 20px); background-size: 28px 28px; animation: candy 1s linear infinite; transition: width .6s var(--ease-out); }
@keyframes candy { to { background-position: 28px 0; } }
.ship p { font-size: 13.5px; margin-top: 7px; font-weight: 500; }
.trust { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13.5px; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.eta { font-size: 14px; color: var(--muted); }
.eta b { color: var(--snow); }

/* ---------- ленти ---------- */
.ribbons { position: relative; z-index: 2; height: 170px; overflow: hidden; margin: 20px 0 -20px; }
.ribbon { position: absolute; left: -10%; width: 120%; padding: 14px 0; white-space: nowrap; overflow: hidden; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .7); }
.ribbon .track { display: inline-flex; animation: marquee 32s linear infinite; }
.ribbon span { font-family: var(--display); font-weight: 800; font-size: clamp(15px, 2vw, 20px); letter-spacing: .02em; padding-right: 0; }
.r1 { top: 30px; background: var(--red); transform: rotate(-3.2deg); }
.r2 { top: 82px; background: var(--gold); color: #3a2200; transform: rotate(2.4deg); }
.r2 .track { animation-direction: reverse; animation-duration: 38s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- скрол секция ---------- */
.scrub { height: 340vh; padding: 0 var(--gutter); }
.scrub-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; max-width: 1200px; margin: 0 auto; }
.scrub-copy h2 { margin-bottom: 26px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; border: 1px solid transparent; opacity: .38; transition: all .45s var(--ease-out); }
.steps li b { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); background: rgba(255, 255, 255, .08); transition: all .45s var(--bounce); }
.steps li strong { display: block; font-family: var(--display); font-size: 16px; margin-bottom: 2px; }
.steps li span { color: var(--muted); font-size: 14.5px; }
.steps li.is-on { opacity: 1; border-color: rgba(255, 201, 74, .35); background: rgba(255, 201, 74, .07); transform: translateX(8px); }
.steps li.is-on b { background: var(--gold); color: #04110c; transform: scale(1.1) rotate(-8deg); }
.timer { margin-top: 22px; font-family: var(--display); font-weight: 900; font-size: 64px; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.timer small { font-size: 18px; margin-left: 6px; color: var(--muted); }
.scrub-stage { position: relative; justify-self: center; height: min(82svh, 720px); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; transform: rotate(2deg); background: #000; border: 6px solid #fff8ef; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 100px -20px rgba(255, 201, 74, .35); }
.scrub-stage canvas, .scrub-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scrub-stage canvas { z-index: 1; }
.scrub-bar { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; height: 6px; border-radius: 9px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.scrub-bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.scrub-hint { position: absolute; z-index: 2; top: 14px; left: 50%; transform: translateX(-50%); font: 700 22px var(--hand); background: rgba(0, 0, 0, .55); padding: 2px 14px; border-radius: 999px; animation: bob2 1.6s ease-in-out infinite; transition: opacity .4s; }
@keyframes bob2 { 50% { transform: translate(-50%, 6px); } }

/* ---------- сравнение ---------- */
.vs { max-width: 1100px; margin: 0 auto; }
.vs h2 { margin-bottom: 40px; }
.vs-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.vs-card { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); }
.vs-card h3 { margin-bottom: 14px; }
.vs-card ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.vs-card li { display: flex; gap: 10px; }
.vs-card.old { transform: rotate(-1.5deg); }
.vs-card.old li::before { content: "✗"; color: #ff7b8a; font-weight: 900; }
.vs-card.old h3 { color: var(--muted); }
.vs-card.new { transform: rotate(1.5deg); border-color: rgba(255, 201, 74, .5); background: linear-gradient(160deg, rgba(255, 201, 74, .12), rgba(255, 201, 74, .02)); }
.vs-card.new li::before { content: "✓"; color: var(--gold); font-weight: 900; }
.vs-x { font: 900 28px var(--display); width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: var(--red); transform: rotate(-12deg); box-shadow: 0 0 0 8px rgba(236, 42, 64, .18); }
.meter { position: relative; height: 34px; border-radius: 999px; background: rgba(0, 0, 0, .35); overflow: hidden; }
.meter i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; transition: width 2.2s var(--ease-out) .3s; }
.old .meter i { background: linear-gradient(90deg, #5e6f66, #8a9a91); }
.new .meter i { background: linear-gradient(90deg, var(--gold-2), var(--gold)); min-width: 34px; }
.meter span { position: relative; z-index: 1; display: flex; align-items: center; height: 100%; padding: 0 14px; font-family: var(--display); font-weight: 800; font-size: 14px; justify-content: flex-end; }
.vs-card.in .meter i { width: var(--w); }
.new .meter span { color: var(--gold); }

/* ---------- предимства ---------- */
.features { max-width: 1200px; margin: 0 auto; }
.features h2 { margin-bottom: 44px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { padding: 26px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); transition: transform .4s var(--bounce), border-color .3s, background .3s; }
.feat:nth-child(odd) { --tilt: -1.4deg; } .feat:nth-child(even) { --tilt: 1.6deg; margin-top: 28px; }
.feat.in { transform: rotate(var(--tilt)); }
.feat:hover { transform: rotate(0) translateY(-6px) scale(1.02); border-color: rgba(255, 201, 74, .5); background: rgba(255, 201, 74, .06); }
.fi { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 18px; color: var(--gold); background: radial-gradient(circle at 30% 30%, rgba(255, 201, 74, .35), rgba(255, 201, 74, .06)); }
.fi svg { width: 28px; height: 28px; }
.feat:hover .fi { animation: wiggle 1s ease; }
.feat h3 { margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 15px; }

/* ---------- размери ---------- */
.compare { max-width: 1100px; margin: 0 auto; }
.stage {
  --H: clamp(300px, 52vh, 480px);
  position: relative; height: var(--H); margin: 50px auto 30px; max-width: 760px;
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 4vw, 44px);
  padding-left: 44px; border-bottom: 3px solid rgba(255, 248, 239, .5);
}
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 26px; transform: translateY(100%); background: radial-gradient(ellipse at 50% 0, rgba(255, 248, 239, .25), transparent 70%); }
.ruler { position: absolute; left: 0; top: 0; bottom: 0; width: 34px; border-right: 1px dashed var(--line); }
.ruler span { position: absolute; right: 6px; bottom: var(--b); transform: translateY(50%); font-size: 11px; color: var(--muted); }
.ceiling { position: absolute; left: 44px; right: 0; top: 0; border-top: 2px dashed rgba(255, 201, 74, .45); }
.ceiling span { position: absolute; right: 0; top: 4px; font-size: 12px; color: var(--gold); }
.person, .ctree { position: relative; height: var(--hh); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.person svg { height: 100%; width: auto; fill: rgba(255, 248, 239, .22); }
.person span, .ctag { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--muted); }
.ctree { border: 0; background: none; padding: 0; transform-origin: 50% 100%; transform: scaleY(.15); opacity: 0; transition: transform .9s var(--bounce), opacity .5s, filter .3s; }
.stage.in .ctree { transform: none; opacity: 1; }
.stage.in .ctree:nth-of-type(2) { transition-delay: .12s; } .stage.in .ctree:nth-of-type(3) { transition-delay: .24s; } .stage.in .ctree:nth-of-type(4) { transition-delay: .36s; }
.ctree svg { height: 100%; width: auto; overflow: visible; }
.ctree .t1 { fill: #2f9a68; } .ctree .t2 { fill: #237d53; } .ctree .t3 { fill: #19603f; }
.ctree .lights circle { fill: #ffe7a3; opacity: .25; transition: opacity .3s; }
.ctree .lights circle:nth-child(3n) { fill: var(--red); } .ctree .lights circle:nth-child(4n) { fill: #8fd8ff; }
.ctree .star { fill: rgba(255, 201, 74, .35); transition: fill .3s; }
.ctree.is-on { filter: drop-shadow(0 0 22px rgba(255, 201, 74, .45)); }
.ctree.is-on .lights circle { opacity: 1; animation: blink 1.1s steps(2) infinite; }
.ctree.is-on .star { fill: var(--gold); }
.ctree.is-on .ctag { color: var(--gold); font-size: 15px; }
.ctree:hover { filter: drop-shadow(0 0 14px rgba(255, 255, 255, .25)); }
.ctree:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; border-radius: 8px; }

.spec-wrap { overflow-x: auto; margin-top: 40px; }
.spec { width: 100%; min-width: 520px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.spec th, .spec td { padding: 13px 14px; text-align: center; border-bottom: 1px solid var(--line); transition: background .3s, color .3s; }
.spec tbody th { text-align: left; color: var(--muted); font-weight: 500; }
.spec thead th { font-family: var(--display); font-size: 16px; }
.spec td s { color: var(--muted); font-size: 12px; display: block; }
.spec .is-col { background: rgba(255, 201, 74, .09); color: var(--gold); }
.spec thead .is-col { border-radius: 14px 14px 0 0; }
.spec-common { margin-top: 16px; font-size: 14px; color: var(--muted); text-align: center; }
.spec-common b { color: var(--snow); }

/* ---------- подарък ---------- */
.gift { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.gift-copy p:last-child { color: var(--muted); margin-top: 14px; font-size: 17px; }
.giftbox { position: relative; width: 220px; height: 230px; border: 0; background: none; padding: 0; margin: 40px 30px 0; animation: giftShake 3.5s ease-in-out infinite; }
.giftbox:focus-visible { outline: 3px solid var(--gold); outline-offset: 10px; border-radius: 18px; }
.gb-body { position: absolute; left: 10px; right: 10px; bottom: 0; height: 160px; border-radius: 10px; background: linear-gradient(90deg, transparent 42%, var(--gold) 42% 58%, transparent 58%), radial-gradient(circle at 30% 20%, #ff6b7b, var(--red) 50%, var(--red-2)); box-shadow: 0 24px 50px -16px rgba(236, 42, 64, .8), inset 0 -20px 30px rgba(0, 0, 0, .2); }
.gb-lid { position: absolute; left: 0; right: 0; bottom: 150px; height: 46px; z-index: 3; border-radius: 10px; background: linear-gradient(90deg, transparent 42%, #ffe08a 42% 58%, transparent 58%), linear-gradient(180deg, #ff5a6c, var(--red-2)); box-shadow: 0 8px 14px rgba(0, 0, 0, .25); transition: transform .8s var(--bounce), opacity .6s .3s; }
.bow { position: absolute; bottom: 38px; width: 54px; height: 40px; border: 10px solid var(--gold); border-radius: 50% 50% 10% 50%; }
.bow.l { right: 50%; transform: rotate(-20deg); border-radius: 60% 40% 10% 60%; }
.bow.r { left: 50%; transform: scaleX(-1) rotate(-20deg); border-radius: 60% 40% 10% 60%; }
.gb-card { position: absolute; left: 24px; right: 24px; bottom: 40px; z-index: 2; padding: 16px 10px; border-radius: 14px; text-align: center; color: #04110c; background: var(--snow); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transform: translateY(40px) scale(.6); opacity: 0; transition: transform .9s .25s var(--bounce), opacity .3s .25s; }
.gb-card small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #5b6b62; }
.gb-card b { display: block; font: 900 24px var(--display); color: var(--red); margin: 4px 0; letter-spacing: .04em; }
.gb-card em { font-style: normal; font-weight: 700; font-size: 13px; }
.gb-tap { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%) rotate(-4deg); font: 700 24px var(--hand); color: var(--gold); white-space: nowrap; }
.giftbox.open { animation: none; }
.giftbox.open .gb-lid { transform: translate(40px, -130px) rotate(28deg); opacity: 0; }
.giftbox.open .gb-card { transform: translateY(-150px) scale(1.08) rotate(-3deg); opacity: 1; }
.giftbox.open .gb-tap { opacity: 0; }
@keyframes giftShake { 0%, 80%, 100% { transform: none; } 83% { transform: rotate(-6deg) scale(1.03); } 86% { transform: rotate(6deg) scale(1.03); } 89% { transform: rotate(-4deg); } 92% { transform: rotate(3deg); } }

/* ---------- оферти ---------- */
.offers { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 0; }
.offer { position: relative; overflow: hidden; padding: 30px 26px; border-radius: 26px; transition: transform .4s var(--bounce); }
.offer .big { display: block; font: 900 clamp(46px, 6vw, 72px)/1 var(--display); margin-bottom: 12px; }
.offer h3 { margin-bottom: 6px; font-size: 20px; }
.offer p { opacity: .85; font-size: 15px; }
.offer::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.o1 { background: linear-gradient(150deg, #ff5a6c, var(--red-2)); --tilt: -2deg; }
.o2 { background: linear-gradient(150deg, #ffe08a, var(--gold-2)); color: #3a2200; --tilt: 1.5deg; margin-top: 24px; }
.o3 { background: linear-gradient(150deg, var(--pine-3), var(--pine-2)); border: 1px solid rgba(255, 201, 74, .35); --tilt: -1deg; }
.offer.in { transform: rotate(var(--tilt)); }
.offer:hover { transform: rotate(0) scale(1.03); }

/* ---------- въпроси ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq h2 { margin-bottom: 34px; }
.faq-list { display: grid; gap: 10px; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: var(--glass); transition: background .3s, border-color .3s; }
.faq details[open] { background: rgba(255, 201, 74, .06); border-color: rgba(255, 201, 74, .35); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative; font-weight: 700; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: rgba(255, 255, 255, .08); transition: transform .35s var(--bounce), background .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background: var(--gold); color: #04110c; }
.faq details p { padding: 0 20px 18px; color: var(--muted); animation: fadeIn .4s ease; }

/* ---------- финал ---------- */
.final { position: relative; overflow: hidden; text-align: center; padding-bottom: clamp(220px, 28vw, 320px); }
.final-copy { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.xmas { display: inline-block; font: 700 30px var(--hand); color: var(--gold); transform: rotate(-3deg); margin-bottom: 10px; }
.xmas b { font: 900 38px var(--display); color: var(--snow); padding: 0 6px; }
.final h2 { margin-bottom: 18px; }
.final p { color: var(--muted); font-size: 17px; margin-bottom: 30px; }
.village { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(200px, 26vw, 300px); }
.village .moon { fill: #fff3cf; filter: drop-shadow(0 0 30px rgba(255, 243, 207, .8)); }
.village .h1 { fill: #dfe9e4; opacity: .9; }
.village .h2 { fill: #fff8ef; }
.village .houses path { fill: #12392a; }
.village .win { fill: var(--gold); animation: twinkleWin 3s ease-in-out infinite alternate; }
.village .win:nth-child(odd) { animation-delay: -1.3s; }
@keyframes twinkleWin { from { opacity: .55; } to { opacity: 1; filter: drop-shadow(0 0 6px var(--gold)); } }
.village .sleigh { fill: none; stroke: #fff3cf; stroke-width: 2; stroke-linecap: round; animation: sleigh 16s linear infinite; }
.village .sleigh .deer { fill: #fff3cf; stroke: none; }
@keyframes sleigh {
  0% { transform: translate(-140px, 120px) rotate(-6deg); }
  50% { transform: translate(600px, 40px) rotate(-3deg); }
  70%, 100% { transform: translate(1340px, 10px) rotate(-6deg); }
}

/* ---------- футър ---------- */
.foot { text-align: center; padding: 40px var(--gutter) 120px; background: #fff8ef; color: #2c3b33; }
.foot .logo { color: #04110c; margin-bottom: 10px; }
.foot p { font-size: 14px; }
.foot .fine { margin-top: 8px; color: #5b6b62; font-size: 13px; }

/* ---------- лента за купуване ---------- */
.sticky-buy {
  position: fixed; z-index: 80; left: 50%; bottom: max(12px, env(safe-area-inset-bottom));
  width: min(520px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 10px; border-radius: 20px;
  background: rgba(6, 22, 16, .88); backdrop-filter: blur(14px); border: 1px solid rgba(255, 201, 74, .35);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8);
  transform: translate(-50%, 150%); transition: transform .5s var(--bounce);
}
.sticky-buy.show { transform: translate(-50%, 0); }
.sticky-buy img { width: 40px; height: 60px; object-fit: cover; border-radius: 20px 20px 6px 6px; }
.sticky-buy div { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.sticky-buy div b { font-size: 13px; color: var(--muted); font-weight: 500; }
.sticky-buy div span { font: 900 19px var(--display); color: var(--gold); }
.sticky-buy .btn { padding: 14px 20px; font-size: 15px; }

/* ---------- поръчка ---------- */
.checkout {
  width: min(540px, calc(100% - 20px)); max-height: calc(100svh - 20px); padding: 0;
  border: 1px solid rgba(255, 201, 74, .35); border-radius: 26px; color: var(--snow);
  background: linear-gradient(170deg, #12392a, #071a12 70%); box-shadow: 0 40px 120px rgba(0, 0, 0, .8);
  overflow: auto; overscroll-behavior: contain;
}
.checkout[open] { animation: sheetIn .5s var(--bounce); }
.checkout::backdrop { background: rgba(2, 8, 5, .7); backdrop-filter: blur(6px); }
@keyframes sheetIn { from { transform: translateY(40px) scale(.96); opacity: 0; } }
.co-x { position: absolute; right: 12px; top: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; font-size: 24px; line-height: 1; background: rgba(255, 255, 255, .1); }
.co-x:hover { background: var(--red); }
.co-body, .co-done { padding: 26px 22px 22px; }
.co-body h2 { font-size: 24px; margin-bottom: 16px; padding-right: 40px; }
.co-sum { border-radius: 16px; background: rgba(0, 0, 0, .25); padding: 14px 16px; margin-bottom: 16px; font-size: 14.5px; }
.co-line { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.co-line span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.co-line.minus span:last-child { color: #7ff0b9; }
.co-line.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 9px; font-weight: 800; font-size: 17px; }
.co-line.total span:last-child { color: var(--gold); font-family: var(--display); }
.co-sizes, .co-ship { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.co-sizes label, .co-ship label { flex: 1 1 auto; cursor: pointer; }
.co-sizes input, .co-ship input { position: absolute; opacity: 0; pointer-events: none; }
.co-sizes span, .co-ship span { display: block; text-align: center; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; transition: all .2s; white-space: nowrap; }
.co-sizes input:checked + span, .co-ship input:checked + span { border-color: var(--gold); background: rgba(255, 201, 74, .12); color: var(--gold); }
.co-sizes input:focus-visible + span, .co-ship input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.fld { display: block; margin-bottom: 12px; }
.fld span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; color: var(--muted); }
.fld input { width: 100%; padding: 14px 15px; font: 500 16px var(--body); color: var(--snow); border-radius: 13px; border: 1.5px solid var(--line); background: rgba(0, 0, 0, .3); transition: border-color .2s, box-shadow .2s; }
.fld input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 201, 74, .15); }
.fld input.bad { border-color: var(--red); box-shadow: 0 0 0 4px rgba(236, 42, 64, .18); animation: shake .4s; }
.fld input::placeholder { color: rgba(183, 202, 190, .5); }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.fld-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.co-more { margin: 2px 0 14px; }
.co-more summary { cursor: pointer; font-size: 14px; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.co-err { background: rgba(236, 42, 64, .15); border: 1px solid rgba(236, 42, 64, .5); color: #ffb3bc; padding: 10px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 12px; }
.co-fine { font-size: 13px; color: var(--muted); text-align: center; margin-top: 12px; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.co-done { text-align: center; padding: 44px 26px 30px; }
.done-tree { font-size: 80px; animation: bob 2s ease-in-out infinite; }
.co-done h2 { font-size: 24px; margin: 10px 0 14px; }
.co-done p { color: var(--muted); margin-bottom: 10px; }
.co-done p b { color: var(--gold); font-family: var(--display); }
.co-done .btn { margin-top: 12px; }

/* ---------- известие ---------- */
.toast { position: fixed; z-index: 9500; left: 50%; top: 18px; transform: translate(-50%, -160%); max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: #3a2200; background: linear-gradient(135deg, #ffe08a, var(--gold)); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .7); transition: transform .5s var(--bounce); text-align: center; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- искрички след курсора ---------- */
.spark { position: fixed; z-index: 9000; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; background: var(--c, var(--gold)); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: spark .8s ease-out forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) rotate(180deg) scale(0); opacity: 0; } }

/* ---------- появяване при скрол ---------- */
.js .reveal { opacity: 0; transform: translateY(50px) rotate(var(--tilt, 0deg)) scale(.96); transition: opacity .8s var(--ease-out), transform .9s var(--bounce); }
.js .reveal.in { opacity: 1; transform: rotate(var(--tilt, 0deg)); }
.js .feat-grid .reveal:nth-child(3n+2), .js .offers .reveal:nth-child(2) { transition-delay: .1s; }
.js .feat-grid .reveal:nth-child(3n), .js .offers .reveal:nth-child(3) { transition-delay: .2s; }

/* ---------- таблет ---------- */
@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; }
  .gallery { padding-top: 10px; }
  .frame { width: min(78vw, 360px); }
  .sticker { width: 96px; height: 96px; right: -14px; }
  .sticker b { font-size: 28px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat:nth-child(even) { margin-top: 0; }
  .feat:nth-child(3n+2) { margin-top: 0; }
  .offers { grid-template-columns: 1fr; max-width: 560px; }
  .o2 { margin-top: 0; }
  .gift { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .vs-grid { grid-template-columns: 1fr; }
  .vs-x { margin: -6px auto; }

  .scrub { height: 300vh; }
  .scrub-sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 14px; align-content: center; padding: 14px 0; }
  .scrub-stage { order: -1; height: min(56svh, 520px); }
  .scrub-copy { text-align: center; }
  .scrub-copy .kicker { display: none; }
  .scrub-copy h2 { font-size: clamp(22px, 6vw, 32px); margin-bottom: 12px; }
  .steps { display: block; position: relative; min-height: 86px; }
  .steps li { position: absolute; inset: 0; opacity: 0; transform: translateY(16px); text-align: left; }
  .steps li.is-on { opacity: 1; transform: none; }
  .timer { display: none; }
}

/* ---------- телефон ---------- */
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .topbar { font-size: 12.5px; }
  .tb-sep, .tb-free { display: none; }
  .hdr { padding-top: 30px; }
  .hdr .btn { display: none; }
  .bauble.b3 { display: none; }
  .b1 { left: 0; --len: 60px; --sz: 38px; }
  .b2 { right: 2%; }
  .buybox { border-radius: 24px; padding: 20px 16px; margin: 0 -4px; }
  .size-card { min-height: 118px; }
  .size-card strong { font-size: 15px; }
  .buyrow .btn-cta { font-size: 15px; padding: 14px 12px; }
  .buyrow .btn-cta b { font-size: 13px; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat { --tilt: 0deg !important; }
  .fld-row { grid-template-columns: 1fr; gap: 0; }
  .ribbons { height: 140px; }
  .r1 { top: 22px; } .r2 { top: 66px; }
  .stage { padding-left: 34px; }
  .ruler { width: 28px; }
  .ceiling { left: 34px; }
  .person span, .ctag { font-size: 11px; }
  .ctree.is-on .ctag { font-size: 12.5px; }
  .checkout { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 24px 24px 0 0; max-height: 94svh; }
  .checkout[open] { animation: sheetUp .45s var(--ease-out); }
  @keyframes sheetUp { from { transform: translateY(100%); } }
  .co-body, .co-done { padding: 22px 16px calc(18px + env(safe-area-inset-bottom)); }
}

/* ================= v2: компактен продукт, Еконт, количка ================= */
.econt-logo { height: 20px; width: auto; flex: none; }
.econt-txt { display: inline-grid; place-items: center; height: 24px; padding: 0 9px; border-radius: 7px; background: #fff; color: #234185; font: 900 italic 14px/1 var(--display); letter-spacing: .02em; transform: skewX(-6deg); }
.econt-txt.sm { height: 20px; font-size: 12px; padding: 0 7px; }
img.econt-logo { background: #fff; padding: 3px 7px; border-radius: 6px; height: 24px; }

.size-txt { display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.addon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.addon { margin: 0; padding: 9px 10px; gap: 9px; }
.addon-name { display: flex; flex-direction: column; font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.addon-name b { color: var(--gold); font-size: 12.5px; font-weight: 700; }
.bundle-hint { font-size: 12.5px; padding: 6px 2px 0; }

.ship-line { display: flex; align-items: center; gap: 10px; margin: 12px 0 6px; font-size: 13.5px; }
.ship-line p { margin: 0; }
.ship-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-bottom: 12px; }
.ship-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: repeating-linear-gradient(-45deg, var(--red) 0 10px, #fff 10px 20px); background-size: 28px 28px; animation: candy 1s linear infinite; transition: width .6s var(--ease-out); }
.trust { grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0; }
.trust li { flex-direction: column; gap: 2px; text-align: center; padding: 8px 4px; font-size: 12px; line-height: 1.2; }
.price .size-meta { flex-basis: 100%; margin: 0; }

.hdr-cta { animation: none; }

/* идеи */
.ideas { max-width: 1240px; margin: 0 auto; }
.ideas .sub { margin-bottom: 36px; }
.ideas-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.idea { margin: 0; padding: 8px 8px 12px; background: var(--snow); color: #12261c; border-radius: 8px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9); transition: transform .5s var(--bounce); }
.idea img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.idea figcaption { font: 700 21px/1.1 var(--hand); text-align: center; margin-top: 8px; }
.idea:nth-child(even) { margin-top: 34px; }
.js .idea.reveal.in, .idea.in { transform: rotate(var(--tilt)); }
.idea:hover { transform: rotate(0) scale(1.06) !important; z-index: 2; }
.credit { font-size: 12px; color: var(--muted); margin-top: 22px; opacity: .7; }

/* количка */
.co-item { display: flex; align-items: center; gap: 12px; padding: 10px; margin-bottom: 14px; border-radius: 16px; background: rgba(0, 0, 0, .25); }
.co-item img { width: 50px; height: 76px; object-fit: cover; border-radius: 25px 25px 8px 8px; flex: none; }
.co-item-main { flex: 1; min-width: 0; }
.co-item-main strong { display: block; font-size: 14px; margin-bottom: 6px; }
.co-item .co-sizes { margin: 0; gap: 5px; }
.co-item .co-sizes span { padding: 6px 8px; font-size: 12.5px; }
.qty-sm { flex: none; }
.qty-sm button { width: 32px; min-height: 40px; font-size: 18px; }
.co-step { display: flex; align-items: center; gap: 8px; font: 800 14px var(--display); margin: 6px 0 10px; }
.co-step b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #04110c; font-size: 12px; }
.co-ship label span { font-size: 14px; }
.co-ship label.off { opacity: .4; pointer-events: none; }
.aps-note { font-size: 13px; color: #ffcf7a; margin: -6px 0 10px; }
.office-pick { position: relative; margin-bottom: 6px; }
.office-list { list-style: none; margin: -6px 0 12px; padding: 4px; max-height: 260px; overflow: auto; border-radius: 14px; border: 1.5px solid rgba(255, 201, 74, .4); background: #0a2219; }
.office-list li { padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: 14px; line-height: 1.3; }
.office-list li small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.office-list li:hover, .office-list li.act { background: rgba(255, 201, 74, .12); }
.office-list li.empty { cursor: default; color: var(--muted); }
.office-list mark { background: none; color: var(--gold); font-weight: 800; }
.office-chosen { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-bottom: 12px; border-radius: 14px; border: 1.5px solid var(--gold); background: rgba(255, 201, 74, .08); font-size: 14px; }
.office-chosen div { flex: 1; }
.office-chosen strong { display: block; }
.office-chosen small { color: var(--muted); display: block; margin-top: 2px; }
.office-chosen button { border: 0; background: none; color: var(--gold); font-weight: 700; font-size: 13px; text-decoration: underline; padding: 0; }
.co-line .was { text-decoration: line-through; color: var(--muted); margin-right: 6px; font-size: 13px; }
.co-fine .cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; }
.co-fine .cards i { font-style: normal; font-weight: 800; font-size: 11px; padding: 3px 8px; border-radius: 6px; background: #fff; color: #1a1f71; }

/* футър */
.foot .brand { justify-content: center; margin-bottom: 12px; }
.foot .brand-img { height: 96px; margin: 0; }
.foot-ship { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; font-weight: 700; font-size: 14px; }
.foot-ship .econt-txt { background: #234185; color: #fff; }
.foot-ship img.econt-logo { background: transparent; }
.foot-links { display: flex; justify-content: center; gap: 18px; margin-top: 10px; font-size: 14px; font-weight: 700; }
.foot-links a { color: #c8102e; }

/* страница за доставка / благодарност */
.page { max-width: 820px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter); }
.page-card { padding: clamp(22px, 4vw, 40px); border-radius: 28px; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--line); }
.page h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin-bottom: 18px; }
.page h2 { font-size: 20px; margin: 26px 0 8px; }
.page p, .page li { color: var(--muted); }
.page ul { padding-left: 20px; }
.page .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 10px 0 6px; }
.page .facts div { padding: 16px; border-radius: 16px; background: rgba(0, 0, 0, .25); }
.page .facts b { display: block; font: 900 22px var(--display); color: var(--gold); }
.page .facts span { font-size: 13.5px; color: var(--muted); }
.done-hero { text-align: center; }
.done-hero .done-tree { font-size: 90px; }
.done-hero .btn { margin-top: 22px; }

/* ---------- компактен първи екран на компютър ---------- */
@media (min-width: 961px) {
  .topbar { padding: 7px 14px; font-size: 13px; }
  .product { padding-top: 18px; padding-bottom: 40px; gap: clamp(24px, 4vw, 56px); grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); }
  .gallery { padding-top: 0; top: 10px; }
  .frame { height: clamp(380px, calc(100svh - 250px), 600px); width: auto; }
  .sticker { width: 96px; height: 96px; right: -30px; }
  .sticker b { font-size: 28px; }
  .thumbs { margin-top: 10px; gap: 8px; }
  .thumb { width: 46px; height: 68px; }
  .bauble { top: -60px; }
  .buybox { padding: 18px 22px 16px; border-radius: 26px; }
  .badges { margin-bottom: 8px; }
  .badge { font-size: 11px; padding: 4px 10px; }
  .title { font-size: clamp(24px, 2.35vw, 34px); }
  .lead { font-size: 14.5px; margin: 6px 0 8px; }
  .ticks { gap: 3px 12px; margin-bottom: 12px; font-size: 13.5px; }
  .ticks li::before { width: 18px; height: 18px; font-size: 10px; }
  legend { font-size: 12.5px; margin-bottom: 6px; }
  .size-card { min-height: 0; flex-direction: row; justify-content: center; gap: 10px; padding: 9px 8px; border-radius: 14px; }
  .size-card strong { margin: 0; font-size: 15px; }
  .size-card small { font-size: 12.5px; }
  .mini { width: calc(8px + 20px * var(--h)); height: calc(40px * var(--h)); }
  .size-badge { top: -9px; font-size: 9px; }
  .price { margin: 10px 0 10px; gap: 2px 12px; }
  .price .now { font-size: clamp(30px, 2.8vw, 38px); }
  .price .old { font-size: 16px; }
  .price .save { font-size: 12.5px; padding: 3px 10px; }
  .size-meta { font-size: 12.5px; }
  .addons { margin-bottom: 12px; }
  .addon { padding: 7px 9px; border-radius: 12px; }
  .addon .box { width: 18px; height: 18px; border-radius: 6px; }
  .qty button { min-height: 48px; width: 38px; }
  .buyrow .btn-cta { padding: 13px 16px; font-size: 16px; }
}

/* ---------- телефон: нови елементи ---------- */
@media (max-width: 960px) {
  .ideas-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 10px 4px 20px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
  .idea { flex: 0 0 62%; scroll-snap-align: center; }
  .idea:nth-child(even) { margin-top: 0; }
  .hdr { border-radius: 26px; }
}
@media (max-width: 560px) {
  .hdr { margin-top: 22px; padding: 4px 6px 4px 12px; }
  .brand-img { height: 48px; }
  .brand-txt { font-size: 30px; }
  .hdr .btn { display: inline-flex; padding: 9px 14px; font-size: 12px; }
  .addon-grid { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .addon { flex-direction: column; align-items: flex-start; gap: 5px; padding: 8px; }
  .addon-name { font-size: 12.5px; }
  .trust li { font-size: 11px; padding: 7px 2px; }
  .frame { width: min(70vw, 300px); }
  .co-item { flex-wrap: wrap; }
  .co-item-main { flex-basis: calc(100% - 64px); }
  .qty-sm { margin-left: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .title .w { opacity: 1; transform: none; }
}
