/* ═══════════════ Tokeny ═══════════════ */
:root {
  /* czarno-biała kolorystyka: "--red" to teraz akcent (czerń), nazwa zostaje dla zgodności */
  --red: #0066ff;
  --red-dark: #0052cc;
  --red-deep: #0a1630;
  --red-soft: #eaf2ff;
  --red-softer: #f5f9ff;
  --gray: #64748b;       /* drugi kolor akcentu */
  /* AKCENT – jeden kolor dla przycisków, cen i aktywnych elementów (np. #1d5bf0 = niebieski) */
  --accent: #0066ff;
  --accent-soft: #eaf2ff;
  --accent-2: #0066ff;       /* druga część nagłówków ("Najnowsza <span>dostawa</span>") */
  --accent-2-dark: #3c83f6;  /* to samo na ciemnym banerze */
  --font-h: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --danger: #c81e1e;     /* tylko komunikaty błędów */
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e5e9;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --radius: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 18px 40px -12px rgba(15, 23, 42, .14);
  --shadow-red: 0 14px 30px -12px rgba(0, 102, 255, .55);
  --nav-h: 72px;
}

/* ═══════════════ Baza ═══════════════ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 3px solid rgba(0, 102, 255, .35); outline-offset: 3px; border-radius: 10px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; border: 2px solid #f1f5f9; }
::-webkit-scrollbar-thumb:hover { background: var(--ink); }

/* ═══════════════ Rysowane ikony ═══════════════ */
.ic {
  width: 1em; height: 1em; display: block; overflow: visible;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  filter: url(#sketch);
}
.ic .a { stroke: var(--gray); }
[data-icon] { display: inline-grid; place-items: center; font-style: normal; }
.age-badge {
  display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 6px; margin-right: 6px;
  border: 1.5px solid rgba(255,255,255,.6); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 800; vertical-align: 1px;
}

/* ═══════════════ Animacje wejścia ═══════════════ */
.js [data-anim] {
  opacity: 0;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.js [data-anim="fade-up"] { transform: translateY(28px); }
.js [data-anim="zoom"] { transform: scale(.94) translateY(16px); }
.js [data-anim="line"] { opacity: 1; display: inline-block; transform: translateY(105%); transition-duration: 1.1s; }
.js [data-anim].in { opacity: 1; transform: none; }

/* ═══════════════ Pasek postępu ═══════════════ */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80;
  background: linear-gradient(90deg, var(--ink), var(--gray));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ═══════════════ Przyciski ═══════════════ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; letter-spacing: -.01em; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--red { background: var(--accent); color: #fff; box-shadow: var(--shadow-red); }
.btn--red::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .8s var(--ease);
}
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(0,102,255,.6), 0 0 0 3px rgba(0,102,255,.15); }
.btn--red:hover::after { transform: translateX(110%); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--ink); box-shadow: 0 12px 30px -10px rgba(0,0,0,.35); }
.btn--white:hover { transform: translateY(-3px) scale(1.02); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; box-shadow: none; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; transition: transform .4s var(--ease), background-color .2s, color .2s;
}
.icon-btn:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.link-btn { background: none; border: 0; color: var(--muted); font-size: 14px; padding: 6px; transition: color .2s; }
.link-btn:hover { color: var(--red); }

/* ═══════════════ Układ sklepu ═══════════════ */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ── górny pasek ── */
.topbar { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__l { display: inline-flex; align-items: center; gap: 8px; }
.topbar__l i { font-size: 17px; }
.topbar__c b, .topbar__l b { font-weight: 700; color: var(--ink); }
.coins-mini {
  margin-left: 6px; padding: 2px 8px; border-radius: 6px; border: 1px dashed #cbd5e1; font-size: 11.5px; font-weight: 700;
  letter-spacing: .04em; color: var(--ink);
}
.topbar__r { display: flex; gap: 18px; }
.topbar__ann { flex: 1; min-width: 0; text-align: center; font-weight: 600; color: var(--ink); padding: 8px 0; }
.topbar__ann b { color: var(--accent); font-weight: 800; }
.topbar--ann { background: var(--accent-soft); }
.admin-preview {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 120; display: flex; align-items: center; gap: 10px;
  background: #b45309; color: #fff; font-weight: 700; font-size: 13.5px; padding: 10px 16px; border-radius: 999px;
  box-shadow: 0 16px 34px -12px rgba(0,0,0,.45); max-width: calc(100% - 32px);
}
.admin-preview a { color: #fff; text-decoration: underline; white-space: nowrap; }
.topbar__r a { color: var(--muted); transition: color .2s; }
.topbar__r a:hover { color: var(--ink); }

/* ── nagłówek ── */
.hdr {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.hdr.scrolled { box-shadow: 0 10px 30px -22px rgba(0,0,0,.35); }
.hdr__in { display: flex; align-items: center; gap: 22px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand__logo { width: 40px; height: 40px; object-fit: contain; transition: transform .5s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.06); }
.brand__name { font-family: var(--font-h); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.hdr__nav { display: flex; gap: 4px; }
.hdr__nav a {
  padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.hdr__nav a:hover { background: var(--bg-alt); color: var(--ink); }
.hdr__nav a.active { color: var(--accent); background: var(--accent-soft); }
.search {
  flex: 1 1 200px; min-width: 0; max-width: 360px; margin-left: auto; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 10px 0 14px;
  border-radius: 999px; background: var(--bg-alt); border: 1.5px solid transparent; color: var(--muted);
  transition: border-color .2s, background-color .2s;
}
.search:focus-within { background: #fff; border-color: var(--accent); color: var(--ink); }
.search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 14.5px; color: var(--ink); outline: 0; }
.search input::placeholder { color: #94a3b8; }
.search input::-webkit-search-cancel-button { display: none; }
.search kbd { font-size: 11px; padding: 1px 7px; }
.hdr__icon { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); padding: 8px 6px; transition: color .2s; }
.hdr__icon:hover { color: var(--ink); }
.cart-btn {
  position: relative; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 14px; border-radius: 999px;
  border: 0; background: var(--accent); color: #fff; font-weight: 700; font-size: 14.5px; flex: none;
  transition: background-color .3s, transform .4s var(--ease), box-shadow .3s;
}
.cart-btn:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: var(--shadow-red); }
.cart-btn__count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: #fff; color: var(--ink); border: 1.5px solid var(--ink); font-size: 11px; display: grid; place-items: center;
}
.cart-btn.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.1); } 60% { transform: scale(.96); } }
.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; position: relative; flex: none;
}
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ── baner ── */
.banner-wrap { padding-top: 20px; }
.banner {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; min-height: 400px;
  background: radial-gradient(120% 140% at 85% 30%, #16357a 0%, #0a1630 55%, #060d1f 100%); color: #fff;
}
.banner__grid {
  position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(90deg, #000 10%, transparent 70%); -webkit-mask-image: linear-gradient(90deg, #000 10%, transparent 70%);
}
.slide {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; padding: 44px 56px;
  opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s;
}
.slide.active { position: relative; opacity: 1; visibility: visible; transition: opacity .7s var(--ease); }
.slide__text > * { transform: translateY(14px); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease); }
.slide.active .slide__text > * { transform: none; opacity: 1; }
.slide.active .slide__text > :nth-child(2) { transition-delay: .06s; }
.slide.active .slide__text > :nth-child(3) { transition-delay: .12s; }
.slide.active .slide__text > :nth-child(4) { transition-delay: .18s; }
.slide__brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-h); font-weight: 800; font-size: 18px; color: rgba(255,255,255,.85); }
.slide__brand img { width: 28px; height: 28px; object-fit: contain; }
.slide__title { font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 22px 0 16px; }
.slide__title em { display: block; font-style: normal; color: var(--accent-2-dark); }
.slide__lead { color: rgba(255,255,255,.72); font-size: 16.5px; max-width: 470px; margin: 0 0 26px; }
.slide__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.slide__price { font-family: var(--font-h); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.slide__price small { display: block; font: 600 12px Inter, sans-serif; color: rgba(255,255,255,.55); letter-spacing: 0; }
.slide__visual { position: relative; height: 100%; min-height: 300px; display: grid; place-items: center; }
.slide__disc {
  position: absolute; width: min(360px, 90%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #eef2f7 55%, #cbd5e1 100%);
  box-shadow: 0 0 0 14px rgba(255,255,255,.04), 0 0 0 30px rgba(255,255,255,.03), 0 40px 80px -20px rgba(0,0,0,.6);
}
/* zdjęcie produktu leży na jasnym krążku – białe tło zdjęcia "znika" (multiply) */
.slide__visual > img { position: relative; width: min(300px, 78%); aspect-ratio: 1; object-fit: contain; border-radius: 50%; mix-blend-mode: multiply; animation: float 6s ease-in-out infinite; }
.slide__visual > img.slide__logo { width: min(250px, 64%); border-radius: 0; }
@keyframes float { 50% { transform: translateY(-12px); } }
.slide__chip {
  position: absolute; left: 0; bottom: 8%; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px;
  background: rgba(10,22,48,.85); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 30px -12px rgba(0,0,0,.5);
  animation: float 7s ease-in-out infinite; animation-delay: -2s;
}
.slide__chip i { width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--ink); font-size: 21px; }
.slide__chip small { display: block; font-size: 11.5px; color: rgba(255,255,255,.6); }
.slide__chip b { font-size: 15px; }
.coinstack { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.coinstack span {
  width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-h); font-weight: 800; font-size: 22px;
  background: var(--ink); color: #fff; box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 7px var(--ink), 0 20px 30px -12px rgba(0,0,0,.5);
  animation: float 6s ease-in-out infinite;
}
.coinstack span:nth-child(2) { animation-delay: -1.5s; }
.coinstack span:nth-child(3) { animation-delay: -3s; }
.coinstack span:nth-child(4) { animation-delay: -4.5s; }

.banner__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 14px; }
.banner__tabs button {
  position: relative; border: 0; background: none; padding: 12px 0 0; text-align: left; font-weight: 600; font-size: 14px; color: var(--muted);
  border-top: 2px solid var(--line); transition: color .2s;
}
.banner__tabs button:hover, .banner__tabs button.active { color: var(--ink); }
.banner__tabs i { position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--accent); }
.banner__tabs button.active i { animation: tabfill var(--slide-ms, 6000ms) linear forwards; }
.banner.paused ~ .banner__tabs button.active i, .banner__tabs.paused button.active i { animation-play-state: paused; }
@keyframes tabfill { to { width: 100%; } }

/* ── bloki ── */
.block { padding-top: 64px; }
.block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.block h2, .community h2, .perks h2, .faq h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.block h2 span, .community h2 span, .perks h2 span, .faq h2 span { color: var(--accent-2); }
.btn--sm { padding: 11px 18px; font-size: 14px; gap: 8px; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

/* ── karty produktów ── */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.pcard {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.pcard.enter { animation: cardIn .6s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }
.pcard__img {
  position: relative; aspect-ratio: 1; border: 0; padding: 18px; background: var(--bg-alt); display: grid; place-items: center; cursor: pointer;
}
.pcard__img img, .pm__img img, .citem__img img { mix-blend-mode: multiply; } /* białe tło zdjęć zlewa się z szarym tłem karty */
.pcard__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__img .thumb { font-size: 96px; color: var(--ink); }
.thumb { position: relative; display: grid; place-items: center; }
.thumb .ic { stroke-width: 1.3; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 1; }
.badge { background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 8px; letter-spacing: .02em; }
.badge--sale { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pcard__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.pcard__brand { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pcard__name { font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.pcard__name button { border: 0; background: none; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__name button:hover { text-decoration: underline; text-underline-offset: 3px; }
.pcard__meta { font-size: 13px; color: var(--muted); }
.pcard__foot { display: flex; align-items: flex-end; gap: 8px; margin-top: auto; padding-top: 12px; }
.price { font-family: var(--font-h); font-weight: 800; font-size: 20px; line-height: 1.1; letter-spacing: -.02em; color: var(--accent); margin-right: auto; white-space: nowrap; }
.price s { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.pbtn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: background-color .2s, border-color .2s, color .2s, transform .3s var(--ease);
}
.pbtn:hover { border-color: var(--ink); transform: translateY(-2px); }
.pbtn--go { background: var(--accent); border-color: var(--accent); color: #fff; }
.pbtn--go:hover { background: var(--red-dark); border-color: var(--red-dark); }
.pbtn.done { background: var(--ink); border-color: var(--ink); color: #fff; }
.products__empty { grid-column: 1 / -1; text-align: center; padding: 48px 20px; color: var(--muted); border: 1.5px dashed var(--line); border-radius: 18px; }
.products__empty a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.shop__count { text-align: center; color: var(--muted); font-size: 13.5px; margin: 18px 0 0; }

.flyer {
  position: fixed; z-index: 90; pointer-events: none; font-size: 32px; line-height: 1; color: var(--ink);
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--shadow-red);
}
.flyer img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; }

/* ── filtry / sortowanie ── */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: -8px 0 18px; }
.chips button {
  border: 1.5px solid var(--line); background: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2);
  transition: border-color .2s, background-color .2s, color .2s;
}
.chips button em { font-style: normal; color: var(--muted); margin-left: 4px; font-weight: 600; }
.chips button:hover { border-color: #cbd5e1; }
.chips button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.chips button.active em { color: rgba(255,255,255,.6); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); font-weight: 600; }
.sort select {
  appearance: none; -webkit-appearance: none; padding: 10px 36px 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); font: inherit; font-size: 14px;
  color: var(--ink); cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23121214' stroke-width='3' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
}

/* ── kategorie ── */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.cat {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 18px; background: var(--bg-alt); border: 1px solid var(--line);
  text-align: left; cursor: pointer; overflow: hidden; transition: transform .4s var(--ease), background-color .3s, border-color .3s, box-shadow .4s var(--ease);
}
.cat:hover { transform: translateY(-3px); background: #fff; border-color: #cbd5e1; box-shadow: var(--shadow); }
.cat i { font-size: 40px; width: 56px; height: 56px; border-radius: 14px; background: #fff; margin-bottom: 10px; color: var(--ink); transition: transform .4s var(--ease); }
.cat:hover i { transform: rotate(-8deg) scale(1.06); }
.cat b { font-size: 16px; }
.cat span { font-size: 13px; color: var(--muted); }
.cat::after {
  content: "→"; position: absolute; right: 16px; top: 18px; font-weight: 700; color: var(--muted); transition: transform .3s var(--ease), color .2s;
}
.cat:hover::after { transform: translateX(3px); color: var(--ink); }
.cat--dark { background: var(--accent); border-color: var(--accent); color: #fff; }
.cat--dark:hover { background: var(--red-dark); border-color: var(--red-dark); }
.cat--dark span, .cat--dark::after { color: rgba(255,255,255,.6); }
.cat--dark:hover::after { color: #fff; }
.cat--dark i { background: rgba(255,255,255,.1); color: #fff; }

/* ── społeczność ── */
.community {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 40px; border-radius: 28px;
  background: var(--bg-alt); border: 1px solid var(--line);
}
.community p { color: var(--muted); font-size: 16.5px; margin: 16px 0 0; max-width: 460px; }
.community__links { display: grid; gap: 10px; }
.social {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s; cursor: pointer;
}
.social:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.social__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 24px; }
.social__ic .ic .a { stroke: #9cc2ff; }
.social b { display: block; font-size: 16px; }
.social small { color: var(--muted); font-size: 13px; }
.social > svg { color: var(--muted); }

/* ── dlaczego warto ── */
.perks { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 12px; align-items: stretch; }
.perks__head { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 6px 12px 6px 0; }
.perk { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.perk:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.perk i { font-size: 30px; width: 50px; height: 50px; border-radius: 12px; background: var(--bg-alt); margin-bottom: 8px; }
.perk b { font-size: 16.5px; }
.perk span { color: var(--muted); font-size: 14px; }
.perk em { font-style: normal; font-weight: 700; color: var(--ink); }

/* ── jak zamawiać ── */
.how { display: grid; grid-template-columns: 1fr 1fr 1fr 1.1fr; gap: 12px; padding: 28px; border-radius: 28px; background: var(--bg-alt); border: 1px solid var(--line); }
.how__tabs { grid-column: 1 / -1; display: flex; gap: 8px; margin-bottom: 6px; }
.how__tabs span { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); background: #fff; border: 1px solid var(--line); }
.how__tabs span.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.how__steps { display: contents; list-style: none; }
.how__steps li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.how__steps li > span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff;
  font-family: var(--font-h); font-weight: 800; font-size: 18px; margin-bottom: 14px;
}
.how__steps h3 { font-size: 18px; margin-bottom: 6px; }
.how__steps p { margin: 0; color: var(--muted); font-size: 14.5px; }
.how__ship { background: var(--accent); color: #fff; border-radius: 18px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.how__ship h3 { font-size: 18px; }
.how__ship .row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14.5px; }
.how__ship .row b { white-space: nowrap; }
.how__ship p { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.65); }

/* ── legit checki ── */
.legit {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 34px 40px; border-radius: 28px;
  background: radial-gradient(120% 160% at 90% 0%, #16357a 0%, #0a1630 60%); color: #fff;
}
.legit h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; }
.legit p { margin: 8px 0 0; color: rgba(255,255,255,.7); max-width: 620px; }

/* ── FAQ ── */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.faq__side p { color: var(--muted); margin: 14px 0 20px; max-width: 360px; }
.faq__list { display: grid; gap: 10px; }
.faq__list details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .3s; }
.faq__list details[open] { border-color: #cbd5e1; box-shadow: var(--shadow-sm); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; font-size: 16px; position: relative;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23121214' stroke-width='3' stroke-linecap='round' d='M12 5v14M5 12h14'/%3E%3C/svg%3E") no-repeat center;
  transition: transform .3s var(--ease);
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* ── regulamin ── */
.rules { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; counter-reset: r; }
.rules li {
  counter-increment: r; position: relative; display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 16px 52px 16px 16px; transition: border-color .3s, box-shadow .3s;
}
.rules li:hover { border-color: #cbd5e1; box-shadow: var(--shadow-sm); }
.rules li::after { content: counter(r, decimal-leading-zero); position: absolute; right: 18px; font-family: var(--font-h); font-weight: 800; color: #cbd5e1; }
.rules i { font-style: normal; font-size: 26px; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--bg-alt); color: var(--ink); }
.rules p { margin: 0; font-weight: 500; color: var(--ink-2); font-size: 15px; }
.rules b { color: var(--ink); }
.rules .rules__last { grid-column: 1 / -1; background: var(--accent); border-color: var(--accent); }
.rules .rules__last p { color: #fff; font-weight: 600; }
.rules .rules__last i { background: rgba(255,255,255,.1); color: #fff; }
.rules .rules__last::after { color: rgba(255,255,255,.25); }

/* ── pasek zaufania ── */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 64px; }
.trust div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 16px; border-radius: 16px; background: var(--bg-alt); }
.trust i { grid-row: span 2; font-size: 26px; width: 46px; height: 46px; border-radius: 12px; background: #fff; }
.trust b { font-size: 15px; }
.trust span { font-size: 13px; color: var(--muted); }

/* ── stopka ── */
.footer { background: var(--red-deep); color: #94a3b8; margin-top: 64px; }
.footer__inner { padding-top: 56px; padding-bottom: 36px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand p { margin: 14px 0 0; max-width: 320px; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__logo { background: #fff; border-radius: 12px; padding: 3px; }
.footer__links { display: grid; gap: 10px; align-content: start; }
.footer__links h4 { color: #fff; font-size: 15px; margin-bottom: 4px; }
.footer__links a { width: fit-content; transition: color .2s, transform .3s var(--ease); }
.footer__links a:hover { color: #fff; transform: translateX(4px); }
.footer__bottom { padding-top: 22px; padding-bottom: 22px; border-top: 1px solid #1e2b4a; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footer__bottom p { margin: 0; }
.footer__copy { color: #64748b; }

/* ── karta produktu (modal) ── */
.pm {
  position: fixed; inset: 0; z-index: 95; background: rgba(10,22,48,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 16px; animation: fadeIn .3s var(--ease);
}
.pm__box {
  position: relative; width: min(940px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; overscroll-behavior: contain;
  display: grid; grid-template-columns: 1fr 1.05fr; background: #fff; border-radius: 26px; box-shadow: 0 40px 100px -20px rgba(0,0,0,.5);
  animation: popIn .5s var(--ease);
}
.pm__close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.pm__img { background: var(--bg-alt); display: grid; place-items: center; padding: 32px; min-height: 320px; border-radius: 26px 0 0 26px; }
.pm__img img { width: 100%; max-width: 380px; aspect-ratio: 1; object-fit: contain; }
.pm__img .thumb { font-size: 160px; }
.pm__info { padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pm__cat { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pm__info h3 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; padding-right: 40px; }
.pm__price { font-family: var(--font-h); font-weight: 800; font-size: 28px; letter-spacing: -.02em; }
.pm__price s { font-size: 16px; color: var(--muted); margin-left: 8px; font-weight: 600; }
.pm__desc { margin: 0; color: var(--muted); }
.pm__label { font-weight: 700; font-size: 14px; margin-top: 6px; }
.pm__label span { color: var(--muted); font-weight: 500; }
.pm__find { width: 100%; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); font: inherit; font-size: 14px; }
.pm__find:focus { outline: 0; border-color: var(--ink); }
.flavors { display: flex; flex-wrap: wrap; gap: 6px; max-height: 210px; overflow-y: auto; padding: 2px; overscroll-behavior: contain; }
.flavors label {
  display: inline-flex; padding: 7px 12px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.flavors label:hover { border-color: #cbd5e1; }
.flavors input { position: absolute; opacity: 0; pointer-events: none; }
.flavors label:has(input:checked) { background: var(--accent); border-color: var(--accent); color: #fff; }
.flavors label:has(input:focus-visible) { outline: 3px solid rgba(0,102,255,.35); outline-offset: 2px; }
.flavors__none { color: var(--muted); font-size: 13.5px; }
.pm__buy { display: flex; gap: 10px; margin-top: 8px; }
.pm__buy .btn { flex: 1; }
.qty--lg { padding: 5px; }
.qty--lg button { width: 38px; height: 38px; }
.pm__perks { list-style: none; padding: 14px 0 0; margin: 6px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--muted); }
.pm__perks li { display: inline-flex; align-items: center; gap: 6px; }
.pm__perks i { font-size: 18px; }
.pm__perks span { font-weight: 700; color: var(--ink); }

/* ═══════════════ Do góry ═══════════════ */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 45; width: 50px; height: 50px; border-radius: 50%;
  border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); box-shadow: var(--shadow), 0 0 0 3px rgba(15,23,42,.18); }

/* ═══════════════ Koszyk ═══════════════ */
.overlay {
  position: fixed; inset: 0; z-index: 60; background: rgba(10,22,48,.42);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
}
.overlay.show { opacity: 1; pointer-events: auto; }
.cart {
  position: fixed; top: 10px; right: 10px; bottom: 10px; width: min(430px, calc(100% - 20px)); z-index: 70;
  background: #fff; border-radius: 24px; display: flex; flex-direction: column;
  transform: translateX(calc(100% + 24px)); transition: transform .6s var(--ease), visibility 0s .6s;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.35); visibility: hidden; /* zamknięty koszyk nie rzuca cienia na stronę */
}
.cart.open { transform: none; visibility: visible; transition: transform .6s var(--ease); }
.cart__head { display: flex; align-items: center; gap: 12px; padding: 22px 22px 14px; }
.cart__titles { flex: 1; min-width: 0; }
.cart__back { flex: none; }
.cart__back:hover { transform: translateX(-3px); }

.cart__steps { display: flex; align-items: center; gap: 8px; padding: 0 22px 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.cart__step { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: color .3s; }
.cart__step b {
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px;
  background: var(--red-soft); color: var(--muted); transition: background-color .3s, color .3s;
}
.cart__step.active { color: var(--ink); }
.cart__step.active b { background: var(--accent); color: #fff; }
.cart__step.done b { background: var(--gray); color: #fff; }
.cart__steps i { flex: 1; height: 1px; background: var(--line); min-width: 10px; }

.cart__viewport { flex: 1; min-height: 0; overflow: hidden; overflow: clip; }

.tag {
  font-style: normal; font-size: 11.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px;
  background: var(--red-soft); color: var(--red); margin-left: 2px;
}
.tag--free { color: #0f7a3d; background: #e6f6ec; }
.choice label:has(input:checked) .tag { background: rgba(255,255,255,.14); color: #fff; }

.summary { width: 100%; display: grid; gap: 4px; font-size: 13.5px; color: var(--muted); padding-bottom: 8px; border-bottom: 1px dashed #cbd5e1; }
.summary div { display: flex; justify-content: space-between; gap: 10px; }
.summary b { color: var(--ink); font-weight: 700; white-space: nowrap; }

.freeship { width: 100%; display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
.freeship b { color: var(--ink); }
.freeship__bar { height: 5px; border-radius: 99px; background: var(--line); overflow: hidden; }
.freeship__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--ink); transition: width .6s var(--ease); }
.freeship.free .freeship__bar i { background: var(--red); }
.cart__views { display: flex; width: 200%; height: 100%; transition: transform .6s var(--ease); }
.cart__views[data-step="2"] { transform: translateX(-50%); }
.cart__view { width: 50%; height: 100%; display: flex; flex-direction: column; min-height: 0; margin: 0; }
.cart__form { flex: 1; overflow-y: auto; padding: 18px 22px 8px; overscroll-behavior: contain; display: grid; gap: 14px; align-content: start; }

/* formularz */
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 13.5px; font-weight: 700; color: var(--ink); padding: 0; }
.field .opt { color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.field input:hover, .field textarea:hover { border-color: #cbd5e1; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,102,255,.12); }
.field.invalid input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(200,30,30,.08); }
.field__err { color: var(--danger); font-size: 12.5px; font-weight: 600; min-height: 0; }
.field__err:empty { display: none; }
.field__hint { color: var(--muted); font-size: 12px; }
.field-row { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.choice label:hover { border-color: #cbd5e1; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #cbd5e1; flex: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.choice label:has(input:checked) { border-color: var(--accent); background: var(--accent); color: #fff; }
.choice label:has(input:checked)::before { border-color: #fff; background: #fff; box-shadow: inset 0 0 0 2.5px var(--accent); }
.choice label:has(input:focus-visible) { outline: 3px solid rgba(0,102,255,.35); outline-offset: 2px; }

/* kryptowaluty */
.coin {
  font-size: 10.5px; font-weight: 800; letter-spacing: .02em; padding: 2px 6px; border-radius: 6px;
  background: var(--red-soft); color: var(--ink);
}
.choice label:has(input:checked) .coin { background: rgba(255,255,255,.16); color: #fff; }
.choice--coins label { flex: 1 1 calc(50% - 4px); }
.choice--coins label::before { display: none; }

/* okno płatności crypto */
.pay { position: relative; overflow-y: auto; overscroll-behavior: contain; padding-top: 28px; }
.pay__close { position: absolute; top: 14px; right: 14px; }
.pay__view { width: 100%; display: flex; flex-direction: column; align-items: center; }
.pay__order {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); margin-bottom: 12px;
}
.pay h3 { font-size: 22px; }
.pay__qr {
  width: 176px; height: 176px; padding: 12px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; margin-bottom: 16px;
}
.pay__qr svg { width: 100%; height: 100%; display: block; }
.pay__qr svg path, .pay__qr svg rect[fill="black"], .pay__qr svg rect:not([fill="white"]) { fill: var(--ink); }
.pay__row {
  width: 100%; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 10px; text-align: left;
  padding: 10px 12px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--line); margin-bottom: 8px;
}
.pay__row > span { font-size: 12px; font-weight: 700; color: var(--muted); }
.pay__row code { font: 600 13.5px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--ink); word-break: break-all; }
.pay__copy {
  border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 6px 10px; font-size: 12.5px; font-weight: 700;
  transition: border-color .2s, background-color .2s, color .2s;
}
.pay__copy:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
.pay__sum { margin: 6px 0 12px; color: var(--muted); font-size: 14px; }
.pay__sum b { color: var(--ink); }
.pay__status {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; text-align: left;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: #fff; border: 1.5px dashed #cbd5e1;
}
.pay__status.found { border-style: solid; border-color: #0f7a3d; background: #e6f6ec; color: #0b5c2e; }
.pay__tx { width: 100%; margin-top: 12px; text-align: left; font-size: 13.5px; }
.pay__tx summary { cursor: pointer; color: var(--muted); font-weight: 600; list-style: none; text-align: center; }
.pay__tx summary::-webkit-details-marker { display: none; }
.pay__tx summary:hover { color: var(--ink); }
.pay__txform { display: flex; gap: 8px; margin-top: 10px; }
.pay__txform input {
  flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); font: 13px ui-monospace, Consolas, monospace;
}
.pay__txform input:focus { outline: 0; border-color: var(--ink); }
.pay__txform .btn { padding: 10px 16px; }
.pay__tx .field__err { display: block; margin-top: 6px; }
#payOk .link-btn { margin: -6px 0 14px; }

.spinner {
  width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid #cbd5e1; border-top-color: var(--red);
  animation: spin .8s linear infinite;
}
.pay__status.found .spinner { border-color: #b6e3c6; border-top-color: #0f7a3d; }
@keyframes spin { to { transform: rotate(360deg); } }

.pay-resume {
  position: fixed; left: 50%; bottom: 20px; z-index: 55; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 0;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; box-shadow: var(--shadow-red);
  animation: popIn .5s var(--ease);
}
.pay-resume .spinner { border-color: rgba(255,255,255,.25); border-top-color: #fff; }

/* zamówienie gotowe */
.order-done {
  position: fixed; inset: 0; z-index: 110; background: rgba(10,22,48,.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 16px; animation: fadeIn .4s var(--ease);
}
.done__box {
  background: #fff; border-radius: 28px; padding: 32px 28px 22px; max-width: 480px; width: 100%; text-align: center;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.5); animation: popIn .6s var(--ease); max-height: calc(100svh - 32px);
  display: flex; flex-direction: column; align-items: center;
}
.done__check { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; margin-bottom: 16px; box-shadow: 0 0 0 6px var(--red-soft); }
.done__check svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .6s .25s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done__box h3 { font-size: 24px; font-weight: 900; }
.done__lead { color: var(--muted); margin: 10px 0 16px; }
.done__lead b { color: var(--ink); }
kbd { font: 600 12px Inter, sans-serif; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); border-bottom-width: 2px; background: var(--bg-alt); color: var(--ink); }
.done__msg {
  width: 100%; text-align: left; margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; background: var(--bg-alt);
  border: 1px solid var(--line); border-left: 3px solid var(--red); font: 13px/1.55 ui-monospace, "Cascadia Mono", Consolas, monospace;
  white-space: pre-wrap; word-break: break-word; overflow-y: auto; max-height: 260px; flex: 0 1 auto;
}
.done__btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; width: 100%; }
.done__btns .btn { flex: 1 1 180px; }
.order-done .link-btn { margin-top: 8px; }
.cart__head h3 { font-size: 22px; font-weight: 800; }
.cart__sub { font-size: 13.5px; color: var(--muted); }
.cart__items { flex: 1; overflow-y: auto; padding: 8px 22px; overscroll-behavior: contain; }
.cart__empty { text-align: center; color: var(--muted); padding: 70px 0; }
.cart__empty b { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: var(--red-soft); font-size: 38px; }
.citem {
  display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 16px 0;
  border-bottom: 1px solid var(--line); animation: citemIn .5s var(--ease) both;
}
@keyframes citemIn { from { opacity: 0; transform: translateX(20px); } }
.citem__img { width: 60px; height: 60px; border-radius: 14px; background: var(--red-soft); display: grid; place-items: center; font-size: 34px; overflow: hidden; color: var(--ink); }
.citem__img img { width: 100%; height: 100%; object-fit: cover; }
.citem__name { font-weight: 700; font-size: 15px; line-height: 1.3; }
.citem__var { color: var(--muted); font-size: 13px; }
.citem__price { font-weight: 800; color: var(--ink); font-size: 14.5px; margin-top: 2px; }
.qty { display: flex; align-items: center; gap: 2px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; font-weight: 800; font-size: 16px; transition: background-color .2s, color .2s; }
.qty button:hover { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.cart__foot { padding: 18px 22px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; justify-items: center; background: var(--bg-alt); border-radius: 0 0 24px 24px; flex: none; }
.cart__total { width: 100%; display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; color: var(--muted); font-weight: 600; }
.cart__total b { font-family: var(--font-h); font-size: 28px; color: var(--ink); letter-spacing: -.03em; }
.cart__hint { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ═══════════════ 18+ ═══════════════ */
.age {
  position: fixed; inset: 0; z-index: 100; background: rgba(10,22,48,.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 16px; animation: fadeIn .4s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } }
.age__box {
  background: #fff; border-radius: 28px; padding: 36px 32px; max-width: 420px; width: 100%; text-align: center;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.5); animation: popIn .6s var(--ease);
}
@keyframes popIn { from { opacity: 0; transform: scale(.92) translateY(20px); } }
.age__logo { width: 96px; height: 96px; border-radius: 24px; object-fit: contain; background: #fff; padding: 6px; margin: 0 auto 18px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--ink); }
.age__box h3 { font-size: 26px; font-weight: 900; }
.age__box p { color: var(--muted); }
.age__btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.age__no { color: var(--danger) !important; font-weight: 700; }
.age.leaving { animation: fadeOut .4s var(--ease) forwards; }
@keyframes fadeOut { to { opacity: 0; } }

/* ═══════════════ Toast ═══════════════ */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 16px; font-weight: 600; font-size: 14.5px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.4); max-width: calc(100% - 32px);
  opacity: 0; transform: translate(-50%, 20px) scale(.96); pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; flex: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* ═══════════════ Responsywność ═══════════════ */
@media (max-width: 1240px) {
  .hdr__icon span { display: none; }
  .hdr__in { gap: 14px; }
  .hdr__nav a { padding: 8px 10px; }
}
@media (max-width: 1100px) {
  .perks { grid-template-columns: repeat(2, 1fr); }
  .perks__head { grid-column: 1 / -1; flex-direction: row; align-items: center; padding: 0; }
  .how { grid-template-columns: 1fr 1fr 1fr; }
  .how__ship { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .topbar__c { display: none; }
  .hdr__in { gap: 12px; }
  .burger { display: block; order: 5; }
  .hdr__nav {
    position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; flex-direction: column; gap: 2px;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .3s var(--ease), transform .4s var(--ease);
  }
  .hdr__nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .hdr__nav a { padding: 12px 14px; font-size: 16px; }
  .slide { grid-template-columns: 1fr; padding: 32px 28px 28px; text-align: left; }
  .slide__visual { min-height: 240px; order: -1; }
  .slide__disc { width: 230px; }
  .slide__visual > img { width: 220px; }
  .slide__visual > img.slide__logo { width: 170px; }
  .coinstack span { width: 76px; height: 76px; font-size: 17px; }
  .slide__chip { left: 0; bottom: 4%; }
  .community { grid-template-columns: 1fr; padding: 28px; }
  .faq { grid-template-columns: 1fr; gap: 20px; }
  .rules { grid-template-columns: 1fr; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .pm__box { grid-template-columns: 1fr; }
  .pm__img { border-radius: 26px 26px 0 0; min-height: 0; padding: 20px; }
  .pm__img img { max-width: 240px; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .wrap { padding: 0 16px; }
  .topbar__r { display: none; }
  .topbar__in { justify-content: center; }
  .brand__name { font-size: 19px; }
  .search { order: 6; flex-basis: 100%; max-width: none; margin: 0 0 10px; height: 42px; }
  .search kbd { display: none; }
  .hdr__in { flex-wrap: wrap; height: auto; min-height: var(--nav-h); padding-top: 10px; }
  .hdr__icon { margin-left: auto; }
  .cart-btn__sum { display: none; }
  .cart-btn { padding: 0 12px; }
  .banner { border-radius: 22px; }
  .banner__tabs { gap: 8px; }
  .banner__tabs button { font-size: 12.5px; }
  .block { padding-top: 48px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcard__body { padding: 12px; }
  .pcard__name { font-size: 14.5px; }
  .price { font-size: 17px; }
  .pbtn { width: 36px; height: 36px; }
  .pbtn--cart { display: none; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; padding: 18px; }
  .legit { padding: 26px 22px; }
  .trust { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; padding-top: 44px; }
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
  .pm__info { padding: 22px 18px 20px; }
  .pm__info h3 { font-size: 23px; }
}

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