/* =====================================================================
   Nic Pouches — Christmas page (job 12738)
   Every new class starts with npx- so nothing clashes with the theme.
   The product rows reuse the live theme's own .rail and .pc (card) styles.
   Colours: the site's own tokens only, with fallbacks —
     blue-900 #004380, blue #0070d5, NP icon blue #004bdc, blue-50 #e5f1fb,
     sky #16bfdb / sky-50 #daf5f9 / sky-ink #0c6978, mint #1ecb84 / mint-ink #106b45,
     amber #ffb21a (gold), ink #1d1d1f / #181d27, line #eaeaec / #d5d7da.
   Fonts: the theme's --head (Bricolage Grotesque) and --ui (Archivo).
   ===================================================================== */
.npx{
  --npx-night:var(--blue-900,#004380);
  --npx-blue:var(--blue,#0070d5);
  --npx-icon:var(--np-icon-blue,#004bdc);
  --npx-sky:var(--np-sky,#16bfdb);
  --npx-sky-50:var(--np-sky-50,#daf5f9);
  --npx-sky-ink:var(--np-sky-ink,#0c6978);
  --npx-mint:var(--np-mint,#1ecb84);
  --npx-gold:var(--np-amber,#ffb21a);
  --npx-ink:var(--np-mixmatch-ink,#181d27);
  --npx-head:var(--head,"Bricolage Grotesque","Archivo",system-ui,sans-serif);
  --npx-ui:var(--ui,"Archivo",system-ui,sans-serif);
  --npx-gut:var(--gut,24px);
  --npx-r:24px;
  --npx-in:44px;   /* the one text inset: hero, offer cards and strip headers all start here */
  --npx-gap:24px;  /* the one gap between sections */
  display:block;max-width:calc(var(--wrap,1320px) + 2 * var(--npx-gut));margin:0 auto;padding:20px var(--npx-gut) 8px;
  font-family:var(--npx-ui);color:var(--ink,#1d1d1f)
}
.npx *,.npx *::before,.npx *::after{box-sizing:border-box}
.npx-ico{flex:none}

/* ---------- buttons ---------- */
.npx-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 24px;border-radius:999px;
  font:600 15px/1 var(--npx-ui);text-decoration:none;white-space:nowrap;transition:transform .15s,background .15s,box-shadow .15s}
.npx-btn:hover{transform:translateY(-1px)}
.npx-btn:focus-visible,.npx-code__copy:focus-visible,.npx-strip__all:focus-visible{outline:3px solid var(--npx-gold);outline-offset:3px}
.npx-btn--gold{background:var(--npx-gold);color:var(--npx-ink);box-shadow:0 6px 18px rgba(255,178,26,.35)}
.npx-btn--gold:hover{box-shadow:0 8px 22px rgba(255,178,26,.5)}
.npx-btn--ghost{background:rgba(255,255,255,.08);color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.75)}
.npx-btn--ghost:hover{background:rgba(255,255,255,.16)}
.npx-btn--ink{background:var(--npx-night);color:#fff}
.npx-btn--ink:hover{background:var(--npx-blue)}

/* ---------- 1. top banner ---------- */
.npx-hero__box{position:relative;overflow:hidden;border-radius:var(--npx-r);color:#fff;isolation:isolate;
  background:#0062d7} /* sampled from every edge of the gift picture, so it melts into the panel */
.npx-hero__grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr);min-height:500px}
.npx-hero__content{position:relative;z-index:2;align-self:center;padding:48px 0 48px var(--npx-in);max-width:520px}
.npx-hero__eyebrow{display:inline-flex;align-items:center;margin:0 0 18px;padding:8px 14px;border-radius:999px;
  background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3);font:700 13px/1 var(--npx-ui);letter-spacing:.08em;text-transform:uppercase}
.npx-hero__title{margin:0;font:800 clamp(48px,6.2vw,92px)/.94 var(--npx-head);letter-spacing:-.035em;color:#fff}
.npx-hero__title em{display:block;font-style:normal;color:var(--npx-gold)}
.npx-hero__text{margin:20px 0 0;max-width:420px;font:400 17px/1.5 var(--npx-ui);color:rgba(255,255,255,.92)}
.npx-hero__ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.npx-hero__age{display:flex;align-items:center;gap:10px;margin:24px 0 0;font:400 13px/1.4 var(--npx-ui);color:rgba(255,255,255,.86)}
.npx-18{flex:none;display:grid;place-items:center;width:34px;height:24px;border-radius:6px;background:#fff;color:var(--npx-ink);font:800 12px/1 var(--npx-ui)}
/* the picture, zoomed in: fills the right ~58% edge to edge, runs off the top, right and bottom, its left edge fades into the blue */
.npx-hero__media{position:absolute;z-index:1;top:0;bottom:0;left:40%;right:0;overflow:hidden}
.npx-hero__gift{position:absolute;left:0;top:-9%;width:108%;max-width:none;height:auto;display:block;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16%);mask-image:linear-gradient(90deg,transparent 0,#000 16%)}
/* gentle snowfall, two layers of soft dots drifting down, across the whole panel */
.npx-hero__snow{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:.5;
  background-image:radial-gradient(2px 2px at 20px 30px,#fff 50%,transparent 51%),radial-gradient(2px 2px at 140px 90px,#fff 50%,transparent 51%),
    radial-gradient(1.5px 1.5px at 80px 160px,#fff 50%,transparent 51%),radial-gradient(3px 3px at 200px 200px,rgba(255,255,255,.8) 50%,transparent 51%),
    radial-gradient(1.5px 1.5px at 250px 60px,#fff 50%,transparent 51%);
  background-size:280px 240px;animation:npx-snow 18s linear infinite}
.npx-hero__snow::after{content:"";position:absolute;inset:0;
  background-image:radial-gradient(2.5px 2.5px at 50px 50px,rgba(255,255,255,.9) 50%,transparent 51%),radial-gradient(1.5px 1.5px at 170px 140px,#fff 50%,transparent 51%),
    radial-gradient(2px 2px at 110px 220px,#fff 50%,transparent 51%);
  background-size:220px 260px;animation:npx-snow 28s linear infinite}
@keyframes npx-snow{from{background-position:0 0,0 0,0 0,0 0,0 0}to{background-position:40px 480px,-30px 480px,20px 480px,-40px 480px,30px 480px}}

/* ---------- 2. two offer cards ---------- */
.npx-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--npx-gap);margin-top:var(--npx-gap)}
.npx-offer{position:relative;overflow:hidden;isolation:isolate;display:flex;min-height:380px;border-radius:var(--npx-r)}
/* words: eyebrow, lead-in, big figure, body, then the action, with one spacing rhythm in both cards */
.npx-offer__copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  width:58%;padding:44px 0 44px var(--npx-in)}
.npx-offer__tag{margin:0;font:700 14px/1.2 var(--npx-ui);letter-spacing:.08em;text-transform:uppercase}
.npx-offer__title{margin:6px 0 0;color:inherit;font-family:var(--npx-head);letter-spacing:-.03em}
.npx-offer__lead{display:block;font:700 34px/1.1 var(--npx-head);letter-spacing:-.025em}
.npx-offer__big{display:block;margin-top:2px;font:800 clamp(72px,6.6vw,96px)/.95 var(--npx-head);letter-spacing:-.045em;white-space:nowrap}
.npx-offer__text{margin:10px 0 0;max-width:340px;font:400 18px/1.45 var(--npx-ui)}
.npx-offer .npx-btn,.npx-offer .npx-code{margin-top:16px}
.npx-offer .npx-btn{height:52px;padding:0 26px;font-size:17px}
.npx-offer .npx-code + .npx-btn{margin-top:10px}
/* picture: the right-hand side, flush to the top, right and bottom edges; its left edge fades into the card colour */
.npx-offer__img{position:absolute;z-index:1;top:-2%;left:54%;height:104%;width:auto;max-width:none;display:block;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22%);mask-image:linear-gradient(90deg,transparent 0,#000 22%);
  transition:transform .4s var(--ease,cubic-bezier(.2,.7,.2,1))}
.npx-offer:hover .npx-offer__img{transform:scale(1.03)}
/* card colours sampled from each picture's edges */
.npx-offer--gifts{color:#fff;background:linear-gradient(180deg,#01367e 0%,#004ba5 52%,#0153b0 100%)}
.npx-offer--gifts .npx-offer__big{color:var(--npx-gold)}
.npx-offer--gifts .npx-offer__text{color:rgba(255,255,255,.92)}
.npx-offer--frost{color:var(--npx-ink);background:linear-gradient(180deg,#a6e6ec 0%,#b4f0f3 52%,#cff1f9 100%)}
.npx-offer--frost .npx-offer__tag{color:var(--npx-sky-ink)}
.npx-offer--frost .npx-offer__big{color:var(--npx-night)}
.npx-code{display:flex;align-items:center;gap:8px;padding:4px 4px 4px 16px;border-radius:999px;background:#fff;
  box-shadow:inset 0 0 0 1.5px var(--npx-night),0 6px 16px rgba(0,67,128,.12)}
.npx-code__value{font:800 18px/1 var(--npx-ui);letter-spacing:.12em;color:var(--npx-night)}
.npx-code__copy{height:44px;min-width:44px;padding:0 18px;border:0;border-radius:999px;background:var(--npx-night);color:#fff;font:600 14px/1 var(--npx-ui);cursor:pointer;touch-action:manipulation}
.npx-code__copy:hover{background:var(--npx-blue)}
.npx-code__copy.is-copied{background:var(--np-mint-ink,#106b45)}

/* ---------- 3. three collection strips (live .rail + .pc inside) ---------- */
.npx-strip{margin-top:var(--npx-gap)}
.npx-strip__panel{position:relative;padding:32px 0 28px var(--npx-in);border-radius:var(--npx-r);overflow:hidden;
  background:linear-gradient(180deg,var(--blue-50,#e5f1fb) 0%,#fff 62%);box-shadow:inset 0 0 0 1px var(--line,#eaeaec)}
.npx-strip--mints .npx-strip__panel{background:linear-gradient(180deg,var(--npx-sky-50) 0%,#fff 62%)}
/* faint snowflake in the corner */
.npx-strip__panel::before{content:"";position:absolute;top:-34px;right:-26px;width:170px;height:170px;opacity:.13;pointer-events:none;
  background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230070d5' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17 20.7 7M9 4l3 2 3-2M9 20l3-2 3 2M4.2 10.4 6 7.6 4.6 4.9M19.8 13.6 18 16.4l1.4 2.7M19.4 4.9 18 7.6l1.8 2.8M4.6 19.1 6 16.4l-1.8-2.8'/%3E%3C/svg%3E")}
.npx-strip__head{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 var(--npx-in) 20px 0}
.npx-eyebrow{margin:0 0 8px;color:var(--npx-blue);font:700 12px/1.2 var(--npx-ui);letter-spacing:.08em;text-transform:uppercase}
.npx-strip--mints .npx-eyebrow{color:var(--npx-sky-ink)}
.npx-strip__title{margin:0;font:800 clamp(26px,2.6vw,36px)/1.05 var(--npx-head);letter-spacing:-.03em;color:var(--ink,#1d1d1f)}
.npx-strip__title em{font-style:normal;color:var(--npx-blue)}
.npx-strip--mints .npx-strip__title em{color:var(--npx-sky-ink)}
.npx-strip__tools{display:flex;align-items:center;gap:16px}
.npx-strip__all{display:inline-flex;align-items:center;gap:6px;height:44px;padding:0 16px;border-radius:999px;background:#fff;color:var(--npx-blue);
  box-shadow:inset 0 0 0 1px var(--line-2,#d5d7da);font:600 14px/1 var(--npx-ui);text-decoration:none;white-space:nowrap}
.npx-strip__all:hover{background:var(--blue-50,#e5f1fb)}
/* the row runs to the panel's right edge, so the peeking card slides off under the rounded corner; inset on the left only */
.npx-rail{position:relative;margin:0;padding:2px 28px 6px 0;scroll-padding-left:0}
.npx-rail .pc{height:100%}
.npx-rail .pc__media img{mix-blend-mode:multiply}  /* white-backed pack shots sit on the tile like the cut-outs */

/* ---------- small desktop ---------- */
@media (max-width:1180px){
  .npx{--npx-in:36px}
  .npx-offer__img{left:56%}
}
/* ---------- tablet ---------- */
@media (max-width:1023px){
  .npx{--npx-in:32px;--npx-gap:20px}
  .npx-hero__grid{grid-template-columns:minmax(0,48%) minmax(0,1fr);min-height:440px}
  .npx-hero__media{left:42%}
  .npx-hero__gift{width:120%;top:-6%}
  /* offer cards: words on top, the picture under them, full card width, sitting on the bottom edge */
  .npx-offer{flex-direction:column;min-height:0}
  .npx-offer__copy{width:auto;padding:32px var(--npx-in) 0;justify-content:flex-start}
  .npx-offer__img{position:relative;top:auto;left:auto;right:auto;width:100%;height:auto;margin:auto 0 0;
    -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 18%);mask-image:linear-gradient(180deg,transparent 0,#000 18%)}
  .npx-offer__lead{font-size:28px}
  .npx-offer__big{font-size:72px}
  .npx-offer__text{font-size:16px}
  .npx-offer .npx-btn{height:48px;font-size:16px}
}
@media (max-width:900px){
  .npx-hero__grid{grid-template-columns:1fr;min-height:0}
  .npx-hero__content{padding:40px var(--npx-in) 0;max-width:none}
  /* picture under the words, cropped above the cans, running to the bottom edge; its top fades into the blue */
  .npx-hero__media{position:relative;left:auto;top:auto;bottom:auto;aspect-ratio:1/.62;margin-top:-2%}
  .npx-hero__gift{left:0;top:-10%;width:100%;
    -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 16%);mask-image:linear-gradient(180deg,transparent 0,#000 16%)}
}
/* ---------- phones ---------- */
@media (max-width:767px){
  .npx{--npx-in:20px;--npx-gap:16px;padding:12px var(--npx-gut) 4px}
  .npx-hero__box{border-radius:18px}
  .npx-hero__content{padding:24px var(--npx-in) 0}
  .npx-hero__eyebrow{font-size:12px;margin-bottom:14px;padding:7px 12px}
  .npx-hero__title{font-size:clamp(48px,15vw,60px);line-height:.95;letter-spacing:-.04em}
  .npx-hero__text{font-size:15px;margin-top:12px}
  .npx-hero__ctas{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
  .npx-hero__ctas .npx-btn{height:44px;padding:0 10px;font-size:15px}
  .npx-hero__age{margin-top:14px;font-size:12.5px;gap:8px}
  .npx-hero__snow{opacity:.35}
  .npx-hero__media{aspect-ratio:1/.78;margin-top:10px}

  /* offer cards: a sideways swipe row, each card ~72% of the screen so the next one shows beside it */
  .npx-offers{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:72vw;gap:12px;margin:var(--npx-gap) calc(-1 * var(--npx-gut)) 0;
    padding:0 var(--npx-gut) 4px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--npx-gut);
    scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .npx-offers::-webkit-scrollbar{display:none}
  .npx-offer{scroll-snap-align:start;border-radius:18px}
  .npx-offer__copy{padding:22px var(--npx-in) 0}
  .npx-offer__tag{font-size:13px}
  .npx-offer__lead{font-size:26px}
  .npx-offer__big{font-size:60px}
  .npx-offer__text{font-size:16px}
  .npx-offer .npx-btn{height:48px;padding:0 20px;font-size:16px}
  .npx-offer:hover .npx-offer__img{transform:none}
  .npx-code{width:100%;justify-content:space-between;padding:4px 4px 4px 14px}
  .npx-code__value{font-size:18px}
  .npx-code__copy{padding:0 14px}

  .npx-strip{margin-top:var(--npx-gap)}
  .npx-strip__panel{margin:0 calc(-1 * var(--npx-gut));padding:24px 0 22px var(--npx-gut);border-radius:0;box-shadow:none}
  .npx-strip__head{flex-direction:column;align-items:flex-start;gap:12px;margin:0 var(--npx-gut) 14px var(--npx-in)}
  .npx-strip__panel::before{width:120px;height:120px;top:-24px;right:-20px}
  .npx-strip__all{font-size:15px}
  /* rows: run to the screen edge; two full cards side by side and a peek of the third, the live card at its own sizes */
  .npx-rail{margin:0 0 0 calc(-1 * var(--npx-gut));padding:2px var(--npx-gut) 8px;scroll-padding-inline:var(--npx-gut);
    grid-auto-columns:calc((100vw - var(--npx-gut) - 44px) / 2);gap:10px;scroll-snap-type:x mandatory}
  /* the live card as on the site's phone grid; only its smallest labels lifted to 12px */
  .npx-rail .pc__brand,.npx-rail .tag,.npx-rail .pc__chips--card .mgc{font-size:12px}
}
@media (max-width:374px){
  .npx-hero__eyebrow{letter-spacing:.02em}
  .npx-hero__ctas .npx-btn{font-size:14px}
  .npx-offers{grid-auto-columns:80vw}
  .npx-offer__big{font-size:52px}
  .npx-code{flex-wrap:wrap;border-radius:16px;padding:8px 6px 6px 12px;row-gap:6px}
  .npx-code__copy{flex:1 0 100%}
}
@media (prefers-reduced-motion:reduce){
  .npx-hero__snow,.npx-hero__snow::after{animation:none}
  .npx-btn,.npx-offer__img{transition:none}
}
