/* ═══════════════════════════════════════════════════════════════
   Talerzyki i Słoiki — sklep ze słoikami (sloiki.html, zamowienie.html)
   Te same tokeny co index.html: spiżarnia (zieleń), porcelana, mosiądz.
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
img  { display: block; width: 100%; height: 100%; object-fit: cover; }
a    { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul   { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

:root {
  --bg:        #12211B;
  --bg-deep:   #0C1712;
  --surface:   #1A2C24;
  --surface-2: #213629;
  --line:      rgba(237,232,221,.14);
  --text:      #EDE8DD;
  --muted:     #A3AEA5;
  --brass:     #C9A56B;
  --brass-hi:  #DDBE86;
  --berry:     #D4607A;
  --serif:     'Fraunces', Georgia, serif;
  --sans:      'Switzer', 'Inter', system-ui, sans-serif;
  --nav-h:     76px;
  --max:       1240px;
  --ease-out:  cubic-bezier(.22,.61,.36,1);
}

body {
  background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
section[id] { scroll-margin-top: var(--nav-h); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ─── Przyciski (jak na stronie głównej) ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.8rem; border-radius: 3px;
  font-size: .92rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--text); color: var(--bg-deep); }
.btn-solid:hover { background: var(--brass); }
.btn-brass { background: var(--brass); color: var(--bg-deep); }
.btn-brass:hover { background: var(--brass-hi); }
.btn-line  { border: 1px solid rgba(237,232,221,.38); color: var(--text); }
.btn-line:hover { border-color: var(--brass); color: var(--brass); }
.btn-wide { width: 100%; padding: 1.1rem 1.8rem; font-size: 1rem; }

.h2 {
  font-family: var(--serif); font-variation-settings: "opsz" 120, "SOFT" 60;
  font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 300; line-height: 1.1; letter-spacing: -.01em;
}
.h2 em { font-style: italic; color: var(--brass); }
.note { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.05rem; color: var(--brass); }
.lead { font-family: var(--serif); font-weight: 300; font-size: 1.15rem; line-height: 1.75; color: rgba(237,232,221,.84); max-width: 50ch; }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: var(--nav-h);
  display: flex; align-items: center; border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s;
}
.nav.scrolled { background: rgba(12,23,18,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 2rem; }
.logo { font-family: var(--serif); font-variation-settings: "opsz" 72, "SOFT" 60; font-size: 1.45rem; font-weight: 400; }
.nav-links { display: flex; gap: 2.25rem; margin-left: auto; }
.nav-links a { font-size: .95rem; font-weight: 500; color: rgba(237,232,221,.78); padding: .35rem 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:hover { color: var(--text); border-bottom-color: var(--brass); }
.nav-back { margin-left: auto; font-size: .92rem; color: var(--muted); display: inline-flex; gap: .4rem; align-items: center; }
.nav-back:hover { color: var(--text); }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: .6rem;
  padding: .6rem 1.1rem; border: 1px solid rgba(237,232,221,.3); border-radius: 999px;
  font-size: .88rem; font-weight: 600; transition: border-color .2s, color .2s;
}
.cart-btn:hover { border-color: var(--brass); color: var(--brass); }
.cart-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--brass); color: var(--bg-deep);
  font-size: .75rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease-out);
}
.cart-count.bump { transform: scale(1.35); }

/* ─── HERO PRODUKTU ─── */
.p-hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 5rem;
  background: radial-gradient(60% 55% at 78% 45%, rgba(201,165,107,.16), transparent 70%), var(--bg);
}
.p-hero .wrap { display: grid; grid-template-columns: 1fr .95fr; gap: 5rem; align-items: center; }
.p-hero-text { display: flex; flex-direction: column; align-items: flex-start; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 1.6rem; letter-spacing: .02em; }
.crumbs a:hover { color: var(--text); }
.crumbs span { margin: 0 .45rem; opacity: .5; }

.p-hero h1 {
  font-family: var(--serif); font-variation-settings: "opsz" 144, "SOFT" 70;
  font-size: clamp(3.2rem, 7vw, 6.4rem); font-weight: 300; line-height: .98; letter-spacing: -.025em;
  margin: .6rem 0 1.4rem;
}
.p-hero h1 span { display: block; font-style: italic; color: var(--brass); }
.p-hero .lead { margin-bottom: 2rem; }

.facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; }
.fact {
  font-size: .8rem; font-weight: 500; letter-spacing: .02em;
  padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 999px; color: rgba(237,232,221,.85);
}

.buy-box {
  width: 100%; max-width: 480px;
  padding: 1.5rem; border: 1px solid rgba(201,165,107,.45); border-radius: 4px;
  background: linear-gradient(180deg, rgba(26,44,36,.75), rgba(12,23,18,.6));
}
.buy-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.price { font-family: var(--serif); font-variation-settings: "opsz" 144; font-size: 3rem; font-weight: 400; line-height: 1; color: var(--text); }
.price small { font-size: 1.2rem; color: var(--brass); margin-left: .25rem; }
.price-meta { text-align: right; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.buy-row { display: flex; gap: .75rem; }
.buy-row .btn { flex: 1; }
.buy-alt { margin-top: .75rem; }
.buy-note { margin-top: 1rem; font-size: .8rem; color: var(--muted); display: flex; gap: .5rem; align-items: flex-start; }
.buy-note svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: .2rem; fill: var(--brass); }

.qty {
  display: inline-flex; align-items: center; border: 1px solid rgba(237,232,221,.3); border-radius: 3px; flex-shrink: 0;
}
.qty button { width: 44px; height: 50px; font-size: 1.25rem; color: var(--text); transition: color .2s, background .2s; }
.qty button:hover { color: var(--brass); background: rgba(201,165,107,.08); }
.qty output { min-width: 34px; text-align: center; font-family: var(--serif); font-size: 1.25rem; }

/* zdjęcie w łuku jak w hero strony głównej */
.p-photo { position: relative; justify-self: center; width: min(100%, 470px); }
/* jak zdjęcie Anny na stronie głównej: prostokąt + ramka przesunięta w prawo-dół */
.p-photo::before { content: ''; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 4 / 5; transform: translate(18px, 18px); border: 1px solid rgba(201,165,107,.55); }
.p-arch { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.p-arch img { transform-origin: 50% 60%; }

/* wieczko słoika – plakietka z ceną */
.lid {
  position: absolute; left: -2.4rem; bottom: 3rem; z-index: 2;
  width: 138px; height: 138px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #E4C48D, var(--brass) 55%, #9C7C47);
  color: var(--bg-deep); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px rgba(201,165,107,.6), 0 18px 40px rgba(0,0,0,.45);
}
.lid::before { content: ''; position: absolute; inset: 14px; border-radius: 50%; border: 1px solid rgba(12,23,18,.25); }
.lid b { font-family: var(--serif); font-variation-settings: "opsz" 144; font-size: 2.6rem; font-weight: 400; line-height: .9; }
.lid span { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: .3rem; }

.thumbs { display: flex; gap: .6rem; margin-top: 1.6rem; justify-content: center; }
.thumb {
  width: 64px; height: 64px; border-radius: 3px; overflow: hidden; border: 1px solid var(--line);
  opacity: .6; transition: opacity .2s, border-color .2s;
}
.thumb:hover, .thumb.active { opacity: 1; border-color: var(--brass); }

/* ─── PASEK (marquee) ─── */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-deep); overflow: hidden; }
.strip-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.strip-track span {
  display: inline-flex; align-items: center; gap: 2.5rem; padding: 1.15rem 1.25rem;
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.15rem; color: rgba(237,232,221,.82); white-space: nowrap;
}
.strip-track span::after { content: '✦'; font-style: normal; font-size: .8rem; color: var(--brass); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── JAK PODAWAĆ ─── */
.serve { padding: 8rem 0; background: var(--bg-deep); }
.serve .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5.5rem; align-items: center; }
.serve-photo { position: relative; aspect-ratio: 4 / 3; }
.serve-photo::before { content: ''; position: absolute; inset: 0; transform: translate(18px, 18px); border: 1px solid rgba(201,165,107,.55); }
.serve-photo .frame { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--surface); }
.serve-text .note { display: block; margin-bottom: .8rem; }
.serve-text .h2 { margin-bottom: 1.6rem; }
.steps { margin: 2.2rem 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  counter-increment: s; content: '0' counter(s);
  font-family: var(--serif); font-size: 1.5rem; font-weight: 300; color: var(--brass); line-height: 1.2;
}
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; margin-bottom: .2rem; }
.steps p { color: var(--muted); font-size: .95rem; }
.sides { display: flex; flex-wrap: wrap; gap: .5rem; }
.side { padding: .45rem .95rem; border-radius: 999px; background: rgba(201,165,107,.12); color: var(--brass-hi); font-size: .85rem; font-weight: 500; }

/* ─── ZAPAS (pakiety) ─── */
.stock { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; background: var(--bg-deep); }
.stock-bg { position: absolute; top: -8%; bottom: -8%; right: 0; left: 34%; }
.stock-bg img { height: 100%; }
.stock::after { content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg-deep) 34%, rgba(12,23,18,.6) 46%, rgba(12,23,18,0) 62%),
    linear-gradient(to top, rgba(12,23,18,.85) 0%, rgba(12,23,18,0) 35%); }
.stock .wrap { position: relative; z-index: 2; padding-top: 5rem; padding-bottom: 5rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2.25rem; }
.stock-text { max-width: 30rem; }
.stock-text .note { display: block; margin-bottom: .7rem; }
.stock-text p { color: rgba(237,232,221,.8); margin-top: 1rem; }
.packs { display: flex; gap: .75rem; flex-wrap: wrap; }
.pack {
  min-width: 132px; padding: 1.1rem 1.25rem; text-align: left;
  border: 1px solid rgba(237,232,221,.3); border-radius: 4px; background: rgba(12,23,18,.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color .2s, transform .25s, background .2s;
}
.pack:hover { border-color: var(--brass); transform: translateY(-3px); background: rgba(201,165,107,.12); }
.pack b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.pack span { display: block; font-size: .85rem; color: var(--muted); }
.pack em { display: block; margin-top: .5rem; font-style: normal; font-size: .8rem; font-weight: 600; color: var(--brass); }

/* ─── SKŁAD / INFO ─── */
.info { padding: 8rem 0; background: var(--bg); }
.info .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: start; }
.info-head .note { display: block; margin-bottom: .8rem; }
.info-head .h2 { margin-bottom: 1.5rem; }
.label-card {
  margin-top: 2.5rem; padding: 1.75rem; background: #F1ECE1; color: #1d2a23; border-radius: 3px; position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.label-card::before, .label-card::after { content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #2F6B57; top: 12px; }
.label-card::before { left: 12px; } .label-card::after { right: 12px; }
.label-card h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; letter-spacing: .04em; text-align: center; line-height: 1; }
.label-card p.sub { text-align: center; font-family: var(--serif); font-style: italic; font-size: .95rem; margin: .3rem 0 1rem; }
.label-card blockquote { font-family: var(--serif); font-size: .95rem; line-height: 1.6; text-align: center; border-top: 1px solid rgba(29,42,35,.2); padding-top: 1rem; }

.acc details { border-top: 1px solid var(--line); }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 400;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brass); transition: transform .3s, border-color .2s; }
.acc details[open] summary i { transform: rotate(45deg); border-color: var(--brass); }
.acc .body { padding: 0 0 1.5rem; color: rgba(237,232,221,.82); max-width: 60ch; }
.acc .body p + p { margin-top: .6rem; }
.acc .body strong { color: var(--brass-hi); font-weight: 600; }
.acc .body ul { display: grid; gap: .4rem; }
.acc .body li { padding-left: 1.1rem; position: relative; }
.acc .body li::before { content: ''; position: absolute; left: 0; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }

/* ─── ODBIÓR / CTA ─── */
.pickup { padding: 0 0 7rem; background: var(--bg); }
.pickup-box {
  padding: 3.5rem; border: 1px solid rgba(201,165,107,.5);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center;
}
.pickup-box h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; }
.pickup-box p { color: var(--muted); margin-top: .9rem; }
.pickup-list { display: grid; gap: .9rem; }
.pickup-list div { display: flex; gap: .9rem; align-items: flex-start; }
.pickup-list svg { width: 20px; height: 20px; flex-shrink: 0; fill: var(--brass); margin-top: .15rem; }
.pickup-list b { display: block; font-weight: 600; }
.pickup-list span { color: var(--muted); font-size: .92rem; }

/* ─── STOPKA ─── */
.foot { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 2.5rem 0; }
.foot .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.foot a:hover { color: var(--text); }

/* ─── SZUFLADA KOSZYKA ─── */
.drawer-bg { position: fixed; inset: 0; z-index: 900; background: rgba(6,12,9,.7); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 901; width: min(440px, 100%);
  background: var(--bg-deep); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease-out);
}
.drawer-open .drawer-bg { opacity: 1; pointer-events: auto; }
.drawer-open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 1.75rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--serif); font-weight: 300; font-size: 1.7rem; }
.x-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .2s, color .2s; }
.x-btn:hover { border-color: var(--brass); color: var(--brass); }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.5rem 1.75rem; }
.drawer-foot { padding: 1.5rem 1.75rem; border-top: 1px solid var(--line); display: grid; gap: .75rem; }

.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 1rem; align-items: center; }
.line-item .li-img { width: 76px; height: 92px; border-radius: 3px; overflow: hidden; }
.line-item h3 { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; line-height: 1.25; }
.line-item p { color: var(--muted); font-size: .85rem; margin: .2rem 0 .6rem; }
.line-item .qty button { width: 34px; height: 36px; font-size: 1rem; }
.line-item .qty output { min-width: 26px; font-size: 1.05rem; }
.li-price { font-family: var(--serif); font-size: 1.2rem; color: var(--brass); white-space: nowrap; align-self: start; }
.empty { text-align: center; color: var(--muted); padding: 3rem 0; }
.empty p { font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin-bottom: 1.2rem; color: var(--text); }

.sum-row { display: flex; justify-content: space-between; font-size: .92rem; color: var(--muted); }
.sum-row.total { font-size: 1.1rem; color: var(--text); font-weight: 600; padding-top: .5rem; border-top: 1px solid var(--line); }
.sum-row.total b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--text); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 950; transform: translate(-50%, calc(100% + 3rem));
  display: flex; align-items: center; gap: .75rem; padding: .85rem 1.25rem;
  background: var(--text); color: var(--bg-deep); border-radius: 999px; font-weight: 600; font-size: .9rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.4); transition: transform .45s var(--ease-out);
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; fill: #2F6B57; }

/* lepki pasek zakupu na telefonie */
.sticky-buy {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 180;
  padding: .75rem 1.25rem calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(12,23,18,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  align-items: center; justify-content: space-between; gap: 1rem;
  transform: translateY(110%); transition: transform .35s var(--ease-out);
}
.sticky-buy.visible { transform: none; }
.sticky-buy .sb-price { font-family: var(--serif); font-size: 1.4rem; line-height: 1.1; }
.sticky-buy .sb-price span { display: block; font-family: var(--sans); font-size: .75rem; color: var(--muted); }

/* ─── ZAMÓWIENIE (checkout) ─── */
.co { padding: calc(var(--nav-h) + 3.5rem) 0 6rem; min-height: 100svh;
  background: radial-gradient(50% 40% at 85% 10%, rgba(201,165,107,.1), transparent 70%), var(--bg); }
.co-head { margin-bottom: 3rem; }
.co-head .h2 { margin-top: .4rem; }
.progress { display: flex; gap: .5rem; margin-top: 1.75rem; flex-wrap: wrap; }
.progress li { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }
.progress li b { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 600; font-size: .78rem; }
.progress li.on { color: var(--text); }
.progress li.on b { background: var(--brass); border-color: var(--brass); color: var(--bg-deep); }
.progress li + li::before { content: ''; width: 28px; height: 1px; background: var(--line); margin-right: .25rem; }

.co-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 3.5rem; align-items: start; }
.co-card { padding: 2rem; border: 1px solid var(--line); border-radius: 4px; background: rgba(26,44,36,.45); }
.co-card + .co-card { margin-top: 1.25rem; }
.co-card h2 { display: flex; align-items: center; gap: .85rem; font-family: var(--serif); font-weight: 400; font-size: 1.45rem; margin-bottom: 1.5rem; }
.co-card h2 span { width: 30px; height: 30px; border-radius: 50%; background: rgba(201,165,107,.15); color: var(--brass); font-family: var(--sans); font-size: .85rem; font-weight: 700; display: grid; place-items: center; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: .9rem 1rem; border-radius: 3px; border: 1px solid rgba(237,232,221,.22);
  background: rgba(12,23,18,.6); transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(163,174,165,.55); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brass); background: rgba(12,23,18,.85); }
.field textarea { min-height: 90px; resize: vertical; }

.opts { display: grid; gap: .75rem; }
.opts.cols { grid-template-columns: 1fr 1fr; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.15rem; cursor: pointer;
  border: 1px solid rgba(237,232,221,.22); border-radius: 4px; background: rgba(12,23,18,.45);
  transition: border-color .2s, background .2s;
}
.opt label:hover { border-color: rgba(201,165,107,.6); }
.opt input:checked + label { border-color: var(--brass); background: rgba(201,165,107,.1); }
.opt input:focus-visible + label { outline: 2px solid var(--brass); outline-offset: 2px; }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(237,232,221,.45); flex-shrink: 0; display: grid; place-items: center; }
.opt input:checked + label .radio { border-color: var(--brass); }
.opt input:checked + label .radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--brass); }
.opt-main { flex: 1; }
.opt-main b { display: block; font-weight: 600; font-size: .95rem; }
.opt-main span { display: block; color: var(--muted); font-size: .82rem; }
.opt-side { font-family: var(--serif); color: var(--brass); white-space: nowrap; }
.pay-logo {
  min-width: 52px; height: 30px; padding: 0 .5rem; border-radius: 4px; background: var(--text); color: var(--bg-deep);
  font-size: .72rem; font-weight: 800; letter-spacing: .02em; display: grid; place-items: center;
}
.blik-box { display: none; margin-top: 1rem; }
.blik-box.show { display: block; }
.blik-code { display: flex; gap: .4rem; }
.blik-code input { width: 44px; height: 54px; text-align: center; font-family: var(--serif); font-size: 1.5rem; padding: 0; }

.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-top: 1.25rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--brass); flex-shrink: 0; }
.check a { color: var(--text); text-decoration: underline; text-decoration-color: var(--brass); }

.summary { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.summary .co-card { background: var(--bg-deep); border-color: rgba(201,165,107,.4); }
.summary .line-item { padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.summary .sums { display: grid; gap: .6rem; margin-bottom: 1.5rem; }
.secure { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1rem; font-size: .8rem; color: var(--muted); }
.secure svg { width: 14px; height: 14px; fill: var(--brass); }
.demo-flag {
  display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1rem; padding: .35rem .75rem; border-radius: 999px;
  background: rgba(212,96,122,.14); color: #EBA2B2; font-size: .75rem; font-weight: 600; letter-spacing: .03em;
}

/* modal potwierdzenia */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 1.25rem; background: rgba(6,12,9,.88); backdrop-filter: blur(6px); }
.modal.open { display: flex; }
.modal-card {
  width: min(520px, 100%); padding: 2.75rem 2.25rem 2.25rem; text-align: center;
  background: var(--bg-deep); border: 1px solid rgba(201,165,107,.5); border-radius: 6px;
  animation: pop .5s var(--ease-out);
}
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.modal-card .lid { position: relative; left: auto; bottom: auto; margin: 0 auto 1.5rem; width: 96px; height: 96px; }
.modal-card .lid svg { width: 38px; height: 38px; fill: var(--bg-deep); }
.modal-card h2 { font-family: var(--serif); font-weight: 300; font-size: 2rem; line-height: 1.15; margin-bottom: .8rem; }
.modal-card p { color: var(--muted); margin-bottom: 1.5rem; }
.modal-card .btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ─── Animacje wejścia (fallback bez JS: wszystko widoczne) ─── */
.js .rv { opacity: 0; transform: translateY(26px); }

/* ─── RWD ─── */
@media (max-width: 1024px) {
  .p-hero .wrap, .serve .wrap, .info .wrap { gap: 3.5rem; }
  .co-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 860px) {
  :root { --nav-h: 66px; }
  .nav-links { display: none; }
  .nav .wrap { gap: 1rem; }
  .cart-btn { margin-left: auto; }
  .cart-btn .cb-label { display: none; }
  .p-hero { min-height: 0; padding-bottom: 4rem; }
  .p-hero .wrap { grid-template-columns: 1fr; }
  .p-photo { order: -1; width: min(82%, 380px); margin-top: 1rem; }
  .lid { left: -1.2rem; width: 112px; height: 112px; bottom: 2rem; }
  .lid b { font-size: 2.1rem; }
  .serve, .info { padding: 5.5rem 0; }
  .serve .wrap, .info .wrap { grid-template-columns: 1fr; }
  .stock { flex-direction: column; align-items: stretch; min-height: 0; }
  .stock-bg { position: relative; inset: auto; left: 0; height: 46vh; }
  .stock::after { background: linear-gradient(to top, var(--bg-deep) 52%, rgba(12,23,18,0) 70%); }
  .stock .wrap { margin-top: -6rem; padding-top: 0; padding-bottom: 4.5rem; }
  .pickup-box { grid-template-columns: 1fr; padding: 2.5rem 1.75rem; }
  .sticky-buy { display: flex; }
  body.has-sticky { padding-bottom: 76px; }
}
@media (max-width: 540px) {
  .wrap { padding: 0 1rem; }
  .nav-back .nb-label { display: none; }
  .buy-box { padding: 1.15rem; }
  .price { font-size: 2.5rem; }
  .buy-row { flex-wrap: wrap; }
  .buy-row .btn { flex: 1 1 100%; }
  .buy-row .qty { width: 100%; justify-content: space-between; }
  .buy-row .qty button { width: 56px; }
  .packs { width: 100%; }
  .pack { flex: 1 1 calc(33% - .75rem); min-width: 0; padding: .9rem; }
  .fields, .opts.cols { grid-template-columns: 1fr; }
  .co-card { padding: 1.4rem 1.1rem; }
  .blik-code input { width: 40px; height: 50px; }
  .progress li + li::before { width: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip-track { animation: none; }
  .js .rv { opacity: 1; transform: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
