/* ============================================================
   PREMIUM STORY — navy + amber on warm cream. Mobile-first.
   System: 8px spacing scale · one container · headings centred,
   card content left-aligned · one radius family · one shadow.
   ============================================================ */
.tpl-story{
  --navy:#12233d;--navy2:#1f3d6b;--amber:#f2a900;--amber2:#ffc83d;--gold:#ffd27a;
  --bg:#fffaf0;--bg2:#f6efdf;--ink:#16233a;--mut:#5d6677;--line:#eadfc6;
  --pri:#12233d;--pri-ink:#ffd27a;--acc:#f2a900;--acc-ink:#1b1200;--danger:#b3261e;--cta:#f2a900;--cta-ink:#1b1200;--pulse:rgba(242,169,0,.5);
  --rad:20px;--rad-s:14px;--sh:0 18px 40px -24px rgba(18,35,61,.45);
  --gut:20px;
}
.tpl-story .wrap{width:min(1120px,100% - var(--gut) * 2)}.tpl-story .narrow{width:min(860px,100% - var(--gut) * 2)}
.tpl-story .sec{padding:56px 0}
@media (min-width:900px){.tpl-story .sec{padding:84px 0}}

/* ---------- buttons ---------- */
.tpl-story .btn{background:var(--navy);color:var(--gold)}
.tpl-story .btn.cta,.tpl-story .o-col .btn,.tpl-story .sticky-cta{background:linear-gradient(180deg,var(--amber2),var(--amber));color:#1b1200;border:0;font-weight:800;box-shadow:0 14px 28px -12px rgba(242,169,0,.85)}
.tpl-story .btn-call{background:transparent;color:var(--navy);border:1.5px solid var(--navy);box-shadow:none}
@media (max-width:560px){.tpl-story .btn-lg{width:100%;justify-content:center}}

/* ---------- header / announce ---------- */
.tpl-story .announce{background:var(--navy);color:var(--gold)}.tpl-story .countdown span{background:rgba(255,210,122,.14)}
.tpl-story .lp-head,.tpl-story .site-head{background:#fffaf0;border-bottom:1px solid var(--line)}

/* ---------- section heading: eyebrow + title + sub (always centred) ---------- */
.tpl-story .sec-hd{text-align:center;margin:0 auto 32px;max-width:680px}
.tpl-story .eyebrow{display:inline-block;margin-bottom:10px;padding:5px 14px;border-radius:99px;background:rgba(242,169,0,.16);color:#8a5a00;font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.tpl-story .sec-h{color:var(--navy);font-weight:800;line-height:1.3;font-size:clamp(1.55rem,5.4vw,2.35rem);margin:0 0 32px}
.tpl-story .sec-hd .sec-h{margin:0}
.tpl-story .sec-h:after{content:"";display:block;width:56px;height:4px;border-radius:4px;background:var(--amber);margin:14px auto 0}
.tpl-story .sec-sub{text-align:center;color:var(--mut);max-width:620px;margin:-16px auto 32px;line-height:1.7}
.tpl-story .sec-hd + .sec-sub{margin-top:-16px}

/* ---------- HERO ---------- */
.tpl-story .hero{position:relative;overflow:hidden;color:#fff;padding:40px 0 48px;background:radial-gradient(70% 55% at 90% 0%,rgba(242,169,0,.25),transparent 60%),radial-gradient(60% 50% at 0% 100%,rgba(61,110,190,.35),transparent 60%),linear-gradient(180deg,#0e1c33,#17315a)}
.tpl-story .hero-in{position:relative;z-index:1;display:grid;gap:32px;align-items:center}
.tpl-story .hero-txt{text-align:center}
.tpl-story .badge{display:inline-block;padding:7px 16px;border-radius:99px;background:rgba(255,210,122,.14);border:1px solid rgba(255,210,122,.45);color:var(--gold);font-weight:700;font-size:.9rem}
.tpl-story .hero h1{color:#fff;font-weight:800;line-height:1.28;font-size:clamp(1.9rem,7.4vw,3.3rem);margin:16px 0 12px}
.tpl-story .hero h1:after{display:none}
.tpl-story .hero .lead{color:#cfd9ec;font-size:1.05rem;line-height:1.7;margin:0 0 20px}
.tpl-story .hero-bul{list-style:none;margin:0 0 20px;padding:16px;display:grid;gap:12px;text-align:left;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:var(--rad)}
.tpl-story .hero-bul li{position:relative;padding-left:34px;line-height:1.5;color:#fff}
.tpl-story .hero-bul li:before{content:"✓";position:absolute;left:0;top:0;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:.8rem;font-weight:800;background:var(--amber);color:#1b1200}
.tpl-story .hero-price{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:0 0 20px}
.tpl-story .hero-price .now,.tpl-story .hero-price b{color:var(--gold);font-size:2.4rem}
.tpl-story .hero-price s,.tpl-story .hero-price .was{color:#9fb0cc}
.tpl-story .save{background:var(--amber);color:#1b1200;font-weight:800}
.tpl-story .hero-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.tpl-story .hero .btn-call{color:#fff;border-color:rgba(255,255,255,.55)}
.tpl-story .hero-media{position:relative;width:100%;max-width:560px;margin-inline:auto}
.tpl-story .hero-pic,.tpl-story .hero-media .video{border-radius:24px;border:1px solid rgba(255,255,255,.18);box-shadow:0 36px 70px -30px rgba(0,0,0,.8)}
.tpl-story .hero-off{position:absolute;z-index:3;top:-16px;right:-6px;width:80px;height:80px;border-radius:50%;display:grid;place-content:center;text-align:center;line-height:1.05;background:linear-gradient(135deg,var(--amber2),var(--amber));color:#1b1200;box-shadow:0 12px 24px -8px rgba(0,0,0,.55);transform:rotate(10deg)}
.tpl-story .hero-off b{font-size:1.35rem}.tpl-story .hero-off small{font-size:.78rem;font-weight:800}
@media (max-width:560px){.tpl-story .hero-cta .btn{width:100%}}
@media (min-width:900px){
  .tpl-story .hero{padding:72px 0 80px}
  .tpl-story .hero-in{grid-template-columns:1.05fr .95fr;gap:56px}
  .tpl-story .hero-txt{text-align:left}.tpl-story .hero-price,.tpl-story .hero-cta{justify-content:flex-start}
  .tpl-story .hero .lead{font-size:1.15rem;max-width:520px}
}

/* ---------- ticker ---------- */
.tpl-story .ticker{background:var(--amber);color:#1b1200;padding:11px 0;overflow:hidden;white-space:nowrap}
.tpl-story .ticker .tk{display:inline-flex;animation:tk 30s linear infinite}
.tpl-story .ticker span{padding:0 28px;font-weight:700;font-size:.92rem}.tpl-story .ticker span:after{content:"✦";margin-left:28px;opacity:.55}
@keyframes tk{to{transform:translateX(-25%)}}@media (prefers-reduced-motion:reduce){.tpl-story .ticker .tk{animation:none}}

/* ---------- stats ---------- */
.tpl-story .stats{position:relative;z-index:2;padding:0}
.tpl-story .stat-in{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid var(--line);border-radius:var(--rad);box-shadow:var(--sh);margin:28px 0 0;overflow:hidden}
.tpl-story .stat{padding:18px 8px;text-align:center;border-right:1px solid var(--line)}.tpl-story .stat:last-child{border:0}
.tpl-story .stat b{display:block;font-size:clamp(1.5rem,6.4vw,2.4rem);line-height:1.15;color:var(--navy2)}
.tpl-story .stat span{display:block;margin-top:4px;color:var(--mut);font-size:.84rem}

/* ---------- strip (trust) ---------- */
.tpl-story .strip{background:var(--bg);padding:24px 0 0}
.tpl-story .strip ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tpl-story .strip li{display:flex;align-items:center;gap:12px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:var(--rad-s);font-weight:700;font-size:.9rem;line-height:1.35}
.tpl-story .strip li i{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--bg2);font-style:normal;font-size:1.3rem}
@media (min-width:900px){.tpl-story .strip ul{grid-template-columns:repeat(4,1fr)}}

/* ---------- contrast ---------- */
.tpl-story .contrast{background:var(--bg2)}
.tpl-story .cgrid{display:grid;gap:16px}
.tpl-story .cbox{background:#fff;border:1px solid var(--line);border-radius:var(--rad);padding:24px 20px;box-shadow:var(--sh)}
.tpl-story .cbox h3{margin:0 0 16px;font-size:1.1rem;color:var(--navy)}
.tpl-story .cbox.good{border:2px solid var(--amber)}
.tpl-story .cbox ul{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.tpl-story .cbox li{position:relative;padding-left:34px;line-height:1.55}
.tpl-story .cbox li:before{position:absolute;left:0;top:0;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:.8rem;font-weight:800}
.tpl-story .cbox.bad li:before{content:"✕";background:#fde8e6;color:var(--danger)}.tpl-story .cbox.good li:before{content:"✓";background:#dff5e6;color:#17803d}
@media (min-width:760px){.tpl-story .cgrid{grid-template-columns:1fr 1fr;gap:24px}.tpl-story .cbox{padding:32px 28px}}

/* ---------- feature cards ---------- */
.tpl-story .fgrid{display:grid;gap:14px}
.tpl-story .fcard{display:grid;grid-template-columns:56px 1fr;gap:4px 16px;align-items:center;text-align:left;padding:18px;background:#fff;border:1px solid var(--line);border-radius:var(--rad);box-shadow:var(--sh);transition:transform .25s}
.tpl-story .fcard i{grid-row:span 2;display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:linear-gradient(135deg,#ffe7a8,var(--amber2));font-style:normal;font-size:1.7rem}
.tpl-story .fcard h3{margin:0;font-size:1.05rem;color:var(--navy);align-self:end}
.tpl-story .fcard p{margin:0;color:var(--mut);font-size:.92rem;line-height:1.55;align-self:start}
.tpl-story .fcard:hover{transform:translateY(-4px)}
@media (min-width:700px){.tpl-story .fgrid{grid-template-columns:repeat(2,1fr);gap:20px}}
@media (min-width:1000px){
  .tpl-story .fgrid{grid-template-columns:repeat(3,1fr)}
  .tpl-story .fcard{grid-template-columns:1fr;gap:12px;padding:28px 24px;align-items:start}
  .tpl-story .fcard i{grid-row:auto;width:64px;height:64px;font-size:2rem}.tpl-story .fcard h3,.tpl-story .fcard p{align-self:auto}
}

/* ---------- offer ---------- */
.tpl-story .offer{background:linear-gradient(180deg,var(--bg),var(--bg2))}
.tpl-story .offer-box{position:relative;overflow:hidden;padding:0;border:0;border-radius:28px;background:#fff;box-shadow:var(--sh),0 0 0 2px var(--amber)}
.tpl-story .offer-box:before{content:"";position:absolute;z-index:2;inset:0 0 auto 0;height:8px;background:linear-gradient(90deg,var(--navy),var(--amber),var(--navy))}
.tpl-story .offer-split{display:grid;grid-template-columns:1fr;gap:0}
.tpl-story .offer-img{position:relative;display:block;padding:8px 0 0;background:linear-gradient(160deg,#0e1c33,#244a7c);aspect-ratio:16/10;overflow:hidden}
.tpl-story .offer-img picture,.tpl-story .offer-img img{width:100%;height:100%;object-fit:cover;border-radius:0;box-shadow:none}
.tpl-story .offer-img .off-badge{position:absolute;z-index:2;top:22px;left:16px;padding:8px 16px;border-radius:99px;background:linear-gradient(135deg,var(--amber2),var(--amber));color:#1b1200;font-weight:800;box-shadow:0 10px 20px -8px rgba(0,0,0,.5)}
.tpl-story .offer-info{display:flex;flex-direction:column;align-items:center;gap:14px;padding:28px 20px 32px;text-align:center}
.tpl-story .offer-info h2{margin:0;color:var(--navy);font-size:clamp(1.3rem,4.4vw,1.8rem)}
.tpl-story .offer-row{display:flex;flex-direction:column;align-items:center;gap:2px}
.tpl-story .offer-row .reg{color:#7a8396}.tpl-story .offer-row .off{font-weight:700;color:var(--navy)}
.tpl-story .offer-row .newp{display:inline-block;font-size:clamp(2.6rem,11vw,3.8rem);line-height:1.1;color:var(--navy2)}
.tpl-story .offer-text{width:100%;margin:0;padding:14px 16px;background:#fff8e6;border:1px dashed var(--amber);border-radius:var(--rad-s);color:#33405a;line-height:1.6}
.tpl-story .chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0;padding:0;list-style:none}
.tpl-story .chips li{padding:7px 14px;background:#fff;border:1px solid var(--line);border-radius:99px;font-size:.86rem;font-weight:600}
.tpl-story .offer-info .btn{width:100%}
@media (min-width:900px){
  .tpl-story .offer-split{grid-template-columns:1.05fr 1fr}
  .tpl-story .offer-img{aspect-ratio:auto;min-height:420px;padding-top:8px}
  .tpl-story .offer-info{align-items:flex-start;text-align:left;padding:48px 44px}
  .tpl-story .offer-row{align-items:flex-start}.tpl-story .chips{justify-content:flex-start}.tpl-story .offer-info .btn{width:auto}
}

/* ---------- prize ---------- */
.tpl-story .prize{background:var(--bg);padding-top:24px;padding-bottom:24px}
.tpl-story .prize-box{position:relative;overflow:hidden;display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;padding:22px 18px;border-radius:24px;color:#fff;background:radial-gradient(60% 90% at 95% 10%,rgba(255,200,61,.28),transparent 60%),linear-gradient(145deg,#0e1c33,#24497d);box-shadow:0 26px 48px -30px rgba(18,35,61,.85)}
.tpl-story .pz-txt{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;min-width:0}
.tpl-story .pz-badge{padding:4px 12px;border-radius:99px;background:rgba(255,210,122,.15);border:1px solid rgba(255,210,122,.5);color:var(--gold);font-weight:700;font-size:.8rem}
.tpl-story .prize-box h2{margin:0;color:#fff;font-size:clamp(1.05rem,4.4vw,1.5rem);line-height:1.35}
.tpl-story .prize-box p{margin:0;color:#d5dff1;line-height:1.6;font-size:.9rem}
.tpl-story .prize-box ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.tpl-story .prize-box li{padding:4px 10px;font-size:.8rem;font-weight:600;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:99px}
.tpl-story .prize-box li:before{content:"🏆 ";position:static;background:none;width:auto;height:auto;font-size:.8rem}
.tpl-story .pz-note{color:#9fb0cc;font-size:.74rem;line-height:1.5}
.tpl-story .prize-box .btn{display:none}
.tpl-story .pz-img{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px}
.tpl-story .pz-art{width:64px;height:auto;filter:drop-shadow(0 8px 12px rgba(0,0,0,.45))}
.tpl-story .pz-img img{border-radius:12px;width:84px;height:auto}
.tpl-story .pz-big{font-size:clamp(1.6rem,7.4vw,2.4rem);font-weight:800;line-height:1.1;white-space:nowrap;background:linear-gradient(180deg,#fff3c4,#ffb800);-webkit-background-clip:text;background-clip:text;color:transparent}
.tpl-story .pz-cap{color:var(--gold);font-weight:700;font-size:.78rem}
@media (min-width:800px){
  .tpl-story .prize-box{padding:26px 40px;gap:40px}
  .tpl-story .pz-txt{gap:10px}.tpl-story .prize-box h2{font-size:1.7rem}.tpl-story .prize-box p{font-size:1rem}
  .tpl-story .pz-img{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:4px 16px;max-width:380px}
  .tpl-story .pz-art{width:86px}.tpl-story .pz-big{font-size:3rem}.tpl-story .pz-cap{flex-basis:100%}
}

/* ---------- steps ---------- */
.tpl-story .steps{background:var(--bg2)}
.tpl-story .steps ol{list-style:none;margin:0;padding:0;display:grid;gap:14px;position:relative}
.tpl-story .steps li{position:relative;z-index:1;display:grid;grid-template-columns:48px 1fr;gap:16px;align-items:start;padding:18px;background:#fff;border:1px solid var(--line);border-radius:var(--rad);box-shadow:var(--sh)}
.tpl-story .steps li b{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--navy);color:var(--gold);font-size:1.15rem}
.tpl-story .steps h3{margin:2px 0 4px;font-size:1.05rem;color:var(--navy)}.tpl-story .steps p{margin:0;color:var(--mut);line-height:1.6}
.tpl-story .steps ol:before{content:"";position:absolute;left:41px;top:36px;bottom:36px;width:2px;background:repeating-linear-gradient(var(--amber) 0 6px,transparent 6px 12px)}
@media (min-width:900px){
  .tpl-story .steps .narrow{width:min(1120px,100% - var(--gut) * 2)}
  .tpl-story .steps ol{grid-template-columns:repeat(3,1fr);gap:24px}.tpl-story .steps ol:before{display:none}
  .tpl-story .steps li{grid-template-columns:1fr;text-align:center;justify-items:center;padding:32px 24px}
}

/* ---------- gallery pager (8 per page) ---------- */
.tpl-story .pager{position:relative}
.tpl-story .pg-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}.tpl-story .pg-track::-webkit-scrollbar{display:none}
.tpl-story .pg-page{flex:0 0 100%;scroll-snap-align:start;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:2px}
.tpl-story .mo{margin:0;aspect-ratio:4/3;border-radius:var(--rad-s);overflow:hidden;background:var(--bg2);box-shadow:0 12px 24px -18px rgba(0,0,0,.55)}
.tpl-story .mo a,.tpl-story .mo picture{display:block;width:100%;height:100%}.tpl-story .mo img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.tpl-story .mo:hover img{transform:scale(1.07)}
.tpl-story .pg-b{position:absolute;top:calc(50% - 22px);z-index:3;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:var(--navy);font-size:1.7rem;line-height:1;box-shadow:0 10px 22px -8px rgba(0,0,0,.55);cursor:pointer}
.tpl-story .pg-b:disabled{opacity:.35}.tpl-story .pg-prev{left:-8px}.tpl-story .pg-next{right:-8px}
.tpl-story .pg-dots{display:flex;gap:8px;justify-content:center;margin-top:20px}
.tpl-story .pg-dots i{width:9px;height:9px;border-radius:9px;background:#d9ccaa;cursor:pointer;transition:all .25s}.tpl-story .pg-dots i.on{width:28px;background:var(--amber)}
@media (min-width:800px){.tpl-story .pg-page{grid-template-columns:repeat(4,1fr);gap:14px}.tpl-story .pg-prev{left:-22px}.tpl-story .pg-next{right:-22px}}

/* ---------- video ---------- */
.tpl-story .video{border-radius:24px;overflow:hidden;box-shadow:0 30px 60px -30px rgba(18,35,61,.7);border:1px solid var(--line)}

/* ---------- reviews / faq ---------- */
.tpl-story .reviews{background:var(--bg2)}
.tpl-story .rev-card{border-radius:var(--rad);box-shadow:var(--sh)}
.tpl-story .faq details{margin-bottom:12px;padding:0;background:#fff;border:1px solid var(--line);border-radius:var(--rad-s);box-shadow:0 10px 22px -20px rgba(18,35,61,.5);overflow:hidden}
.tpl-story .faq summary{position:relative;padding:18px 52px 18px 18px;font-weight:700;color:var(--navy);line-height:1.5;list-style:none;cursor:pointer}
.tpl-story .faq summary::-webkit-details-marker{display:none}
.tpl-story .faq summary:after{content:"+";position:absolute;right:14px;top:50%;margin-top:-15px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--bg2);color:var(--navy);font-size:1.3rem;font-weight:700;transition:transform .25s}
.tpl-story .faq details[open] summary:after{content:"−";background:var(--amber);color:#1b1200}
.tpl-story .faq details p{margin:0;padding:0 18px 18px;color:var(--mut);line-height:1.7}

/* ---------- CTA band ---------- */
.tpl-story .ctaband{position:relative;overflow:hidden;padding:56px 0;text-align:center;color:#fff;background:radial-gradient(60% 80% at 90% 0%,rgba(242,169,0,.25),transparent 60%),linear-gradient(135deg,#0e1c33,#1f3d6b)}
.tpl-story .ctaband .wrap{display:flex;flex-direction:column;align-items:center;gap:14px}
.tpl-story .ctaband h2{margin:0;color:#fff;font-size:clamp(1.5rem,6vw,2.3rem);line-height:1.3}.tpl-story .ctaband p{margin:0;color:#cfd9ec;line-height:1.7;max-width:46ch}
.tpl-story .cb-tag{padding:6px 16px;border-radius:99px;background:rgba(255,210,122,.14);border:1px solid rgba(255,210,122,.4);color:var(--gold);font-weight:700;font-size:.85rem}
.tpl-story .cb-price{display:flex;align-items:baseline;justify-content:center;gap:14px}.tpl-story .cb-price b{font-size:clamp(2.6rem,11vw,3.6rem);color:var(--gold);line-height:1}.tpl-story .cb-price s{color:#9fb0cc;font-size:1.25rem}
.tpl-story .cb-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;width:100%}
.tpl-story .ctaband .btn-call{color:#fff;border-color:rgba(255,255,255,.55)}
.tpl-story .cb-trust{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 20px;color:#cfd9ec;font-size:.88rem}
@media (max-width:560px){.tpl-story .cb-btns .btn{width:100%}}

/* ---------- order ---------- */
.tpl-story .order-sec{background:linear-gradient(180deg,var(--bg2),var(--bg))}
.tpl-story .oform{background:#fff;border:1px solid #e3d5b2;border-radius:var(--rad);box-shadow:0 30px 60px -36px rgba(18,35,61,.55)}
.tpl-story .o-col h3{border-color:var(--amber)}.tpl-story .o-item.on{background:#fff8e6;border-color:var(--amber)}

/* ---------- footer ---------- */
.tpl-story .site-foot{margin-top:0;padding:0 0 28px;background:#0b1830;color:#c3cde0}
.tpl-story .foot-cta{margin:0 0 40px;padding:24px 0;background:linear-gradient(135deg,var(--amber),var(--amber2));color:#1b1200}
.tpl-story .fc-in{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}
.tpl-story .fc-in b{display:block;font-size:1.25rem}.tpl-story .fc-in span{opacity:.8}
.tpl-story .foot-cta .btn{background:var(--navy)!important;color:var(--gold)!important;border:0!important}
.tpl-story .foot-badges{list-style:none;margin:0 0 32px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tpl-story .foot-badges li{padding:14px 10px;text-align:center;font-weight:600;font-size:.88rem;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:var(--rad-s)}
.tpl-story .foot-grid h4{margin:0 0 10px;color:#fff;font-size:1rem}
.tpl-story .fg-brand .logo{max-width:130px;height:auto;margin-bottom:10px;filter:brightness(0) invert(1)}.tpl-story .fg-brand b{display:block;color:#fff;font-size:1.15rem}
.tpl-story .site-foot a{color:var(--gold)}.tpl-story .abroad{background:#13294a;border-color:#22385a}
@media (min-width:800px){.tpl-story .foot-badges{grid-template-columns:repeat(4,1fr)}}
@media (max-width:560px){.tpl-story .fc-in{justify-content:center;text-align:center}.tpl-story .foot-cta .btn{width:100%}}
@media (min-width:800px){.tpl-story .foot-grid{grid-template-columns:1.4fr 1fr 1fr;gap:40px}}

/* v3 tweaks */
.tpl-story .pg-b{display:none}
.tpl-story .pg-dots{margin-top:14px}
.tpl-story .cards-4 .fgrid{grid-template-columns:repeat(2,1fr);gap:12px}
.tpl-story .cards-4 .fcard{padding:16px 12px;text-align:center;align-items:center}
.tpl-story .cards-4 .fcard h3{font-size:.95rem}.tpl-story .cards-4 .fcard p{font-size:.82rem}
@media (min-width:800px){.tpl-story .cards-4 .fgrid{grid-template-columns:repeat(4,1fr);gap:18px}}
.tpl-story .cards-4 .fcard{grid-template-columns:1fr;justify-items:center;gap:8px}
.tpl-story .cards-4 .fcard i{grid-row:auto;width:52px;height:52px;font-size:1.6rem}
.tpl-story .cards-4 .fcard h3,.tpl-story .cards-4 .fcard p{align-self:auto}

/* v4 */
.tpl-story .stat b{font-size:clamp(1.3rem,5.6vw,2.4rem);white-space:nowrap}
.tpl-story .stat span{font-size:.8rem}
.tpl-story .books{background:var(--bg2)}
.tpl-story .bk-row{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:20px;padding:6px 20px 18px;margin:0 -20px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.tpl-story .bk-row::-webkit-scrollbar{display:none}
.tpl-story .bk{flex:0 0 42%;max-width:190px;scroll-snap-align:start;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 14px 28px -14px rgba(18,35,61,.55);border:1px solid var(--line);transition:transform .25s}
.tpl-story .bk img{display:block;width:100%;height:auto;aspect-ratio:3/4.6;object-fit:cover}
.tpl-story .bk:hover{transform:translateY(-5px)}
@media (min-width:800px){.tpl-story .bk-row{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;overflow:visible;padding:6px 0 10px;margin:0}.tpl-story .bk{flex:none;max-width:none}}

/* v5: prize mobile stack */
.tpl-story .prize-box{grid-template-columns:1fr;gap:14px;padding:22px 18px}
.tpl-story .pz-img{order:-1;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:2px 14px;padding:12px 14px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16)}
.tpl-story .pz-art{width:60px}
.tpl-story .pz-big{font-size:clamp(2rem,10vw,2.6rem)}
.tpl-story .pz-cap{flex-basis:100%;text-align:center}
.tpl-story .prize-box h2{font-size:clamp(1.15rem,5vw,1.5rem)}
@media (min-width:800px){
  .tpl-story .prize-box{grid-template-columns:1fr auto;gap:40px;padding:26px 40px}
  .tpl-story .pz-img{order:0;background:none;border:0;padding:0}
}
/* v6: gallery pager — override store pagination styles from base.css */
.tpl-story .pager{display:block;margin:0;gap:0}
.tpl-story .pager a{padding:0;border:0;border-radius:0}
.tpl-story .pg-page{gap:8px;padding:0}
.tpl-story .mo{border-radius:12px;box-shadow:0 10px 20px -16px rgba(0,0,0,.6)}
.tpl-story .pg-dots{margin-top:16px}
@media (min-width:800px){.tpl-story .pg-page{gap:14px}}

/* v7: simple wide hero + highlighted announce bar */
.tpl-story .announce{position:relative;overflow:hidden;background:linear-gradient(100deg,#ffb800 0%,#ffe08a 45%,#ffb800 100%);background-size:220% 100%;animation:annsh 7s ease-in-out infinite;color:#1b1200;font-weight:800;box-shadow:0 6px 18px -8px rgba(242,169,0,.9)}
@keyframes annsh{50%{background-position:100% 0}}@media (prefers-reduced-motion:reduce){.tpl-story .announce{animation:none}}
.tpl-story .ann-in{gap:10px 18px;padding:9px 0}
.tpl-story .ann-in>span:first-child{font-size:1rem;text-align:center}
.tpl-story .countdown span{background:#12233d;color:#ffd27a;border-radius:9px;padding:3px 10px;min-width:50px;box-shadow:inset 0 0 0 1px rgba(255,210,122,.25)}
.tpl-story .countdown b{color:#ffd27a}.tpl-story .countdown small{color:#cfd9ec}
@media (max-width:560px){.tpl-story .ann-in>span:first-child{font-size:.9rem;line-height:1.35}.tpl-story .countdown{gap:6px}.tpl-story .countdown span{min-width:44px;padding:2px 7px}}
.tpl-story .hero .wrap{width:min(1280px,100% - 40px)}
.tpl-story .hero{padding:34px 0 40px}
.tpl-story .hero h1{font-size:clamp(1.7rem,7vw,2.9rem);margin:0 0 12px}
.tpl-story .hero .lead{font-size:1.02rem;margin:0 0 18px}
.tpl-story .hero-price{margin:0 0 18px}
.tpl-story .hero-media{max-width:640px}
@media (min-width:900px){
  .tpl-story .hero{padding:64px 0 72px}
  .tpl-story .hero-in{grid-template-columns:1fr 1.08fr;gap:64px}
  .tpl-story .hero h1{font-size:clamp(2.4rem,3.6vw,3.4rem);line-height:1.22}
  .tpl-story .hero .lead{font-size:1.2rem;max-width:480px}
  .tpl-story .hero-media{max-width:none}
}
.tpl-story .ticker{background:#fff;color:#12233d;border-block:1px solid var(--line)}
.tpl-story .ticker span:after{color:#f2a900;opacity:1}
/* v8: order form product line */
.tpl-story .o-item:not(:has(.o-pick)){grid-template-columns:76px 1fr;align-items:start;gap:6px 14px;padding:14px}
.tpl-story .o-item:not(:has(.o-pick)) .oi-img img{width:76px;height:76px;border-radius:14px}
.tpl-story .o-item:not(:has(.o-pick)) .oi-main{gap:6px}
.tpl-story .o-item:not(:has(.o-pick)) .oi-name{font-size:.98rem;line-height:1.45;font-weight:700}
.tpl-story .o-item:not(:has(.o-pick)) .oi-price{font-size:1.15rem}
.tpl-story .o-item:not(:has(.o-pick)) .qty{grid-column:2;justify-self:start;margin-top:2px}
@media (max-width:560px){.tpl-story .o-item:not(:has(.o-pick)){grid-template-columns:64px 1fr}.tpl-story .o-item:not(:has(.o-pick)) .oi-img img{width:64px;height:64px}.tpl-story .o-item:not(:has(.o-pick)) .qty{grid-column:2}}
