:root {
  --white: #ffffff;
  --stone: #f5f3ef;
  --stone-2: #e9e5de;
  --ink: #141414;
  --ink-2: #4f4d49;
  --ink-3: #6e6b65;
  --line: #e3dfd8;
  --line-2: #cfcac1;
  --error: #9b2c1f;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --header: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 300 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip:focus { top: 12px; }
html:not(.js) .js-only { display: none !important; }

.icon {
  width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.05; letter-spacing: -.01em; }
h1 { font-size: clamp(2.8rem, 5.6vw, 5.4rem); font-weight: 300; line-height: .98; letter-spacing: -.02em; }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); font-weight: 300; }
em { font-style: italic; }
p { margin: 0 0 1em; }

.label {
  font: 400 .72rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 1.2rem;
}
.small { font-size: .92rem; color: var(--ink-3); }
.center { text-align: center; }
.hint { font-size: .9rem; color: var(--ink-3); margin: 0 0 14px; }
.hint a { color: var(--ink); text-underline-offset: 4px; }

/* przyciski i linki */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 34px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--white); text-decoration: none; cursor: pointer;
  font: 400 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn:hover, .btn:focus-visible { background: #2c2c2c; border-color: #2c2c2c; }
.btn--block { display: flex; width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none;
  font: 400 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}
.link-arrow::after { content: "→"; letter-spacing: 0; transition: transform .3s var(--ease); }
.link-arrow:hover::after, .link-arrow:focus-visible::after { transform: translateX(4px); }
.link-small {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: .9rem; text-decoration: underline; text-underline-offset: 5px;
}
.link-small .icon { width: 18px; height: 18px; }

/* pasek ogłoszeń */
.announce { background: var(--ink); color: #e9e6e0; }
.announce p {
  margin: 0; padding: 10px var(--gutter); text-align: center;
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px;
}
.announce__dot { color: #8c8880; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
  .site-header { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
.header-inner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  max-width: var(--max); margin: 0 auto; min-height: var(--header); padding-inline: var(--gutter);
}
.brand { display: block; padding: 6px 0; }
.brand img { width: 128px; height: auto; }
.nav { display: flex; justify-content: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none;
  font-size: .9rem; letter-spacing: .04em; color: var(--ink-2);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat;
  transition: background-size .3s var(--ease), color .3s;
}
.nav a:hover, .nav a:focus-visible { color: var(--ink); background-size: 100% 1px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-order {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--ink); text-decoration: none;
  font: 400 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.header-order .icon { width: 18px; height: 18px; }
.header-order:hover, .header-order:focus-visible { background: var(--ink); color: var(--white); }

.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px;
  display: grid; place-content: center; gap: 6px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 22px; height: 1px; background: var(--ink); transition: transform .3s; }
.menu[open] summary span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu nav {
  position: fixed; left: 0; right: 0; top: calc(var(--header) + 37px);
  background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
}
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a {
  display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line);
  text-decoration: none; font: 400 1.5rem/1 var(--serif);
}

/* grafika zastępcza / zdjęcia */
.ph {
  position: relative; margin: 0; overflow: hidden;
  background: radial-gradient(110% 90% at 50% 40%, #faf9f7 0%, var(--stone-2) 100%);
  display: grid; place-items: center;
  --tone: #1b1b19;
}
.ph__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; transition: transform 1s var(--ease); }
.ph__img[hidden] { display: none; }
.ph__art {
  width: 62%; height: auto; aspect-ratio: 640 / 246; overflow: visible;
  color: var(--tone); fill: none; stroke: currentColor; stroke-width: 7;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 24px 16px rgba(0, 0, 0, .09));
  transition: transform 1s var(--ease), color .4s;
}
.ph__art--zoom { width: 150%; transform: translateX(22%); }
.ph__tag {
  position: absolute; left: 16px; bottom: 14px; z-index: 1;
  font: 400 .64rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #8d887f;
}
[data-tone="krysztal"] { --tone: rgba(255, 255, 255, .95); }
.ph[data-tone="krysztal"] { background: radial-gradient(110% 90% at 50% 40%, #ece8e1, #d5cfc5); }
[data-tone="krysztal"] .ph__art { filter: drop-shadow(0 1px 1px rgba(0,0,0,.2)) drop-shadow(0 22px 16px rgba(0,0,0,.08)); }
[data-tone="blekit"] { --tone: #9cb8d3; }
[data-tone="grafit"] { --tone: #6a6964; }

/* baner */
.banner { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: min(78svh, 760px); background: var(--stone); }
.ph--banner { min-height: 100%; order: 2; }
.ph--banner .ph__art { width: 72%; }
.banner__copy {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(48px, 7vw, 112px) var(--gutter); max-width: 640px; justify-self: end; width: 100%;
}
.banner__copy h1 { margin-bottom: 1.6rem; }
.banner__copy > p:not(.label) { font-size: 1.1rem; color: var(--ink-2); max-width: 26em; margin-bottom: 2.2rem; }
.banner__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

/* karta produktu */
.pdp {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px);
  max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--gutter);
  scroll-margin-top: var(--header);
}
.gallery { align-self: start; position: sticky; top: calc(var(--header) + 24px); }
.gallery__stage { display: grid; gap: 12px; }
.ph--gallery { aspect-ratio: 4 / 3; }
.js .gallery__slide:not(.is-active) { display: none; }
.gallery { min-width: 0; }
/* minmax(0, 1fr) + min-width: 0 — inaczej Safari rozpycha kolumny do szerokości SVG (300 px) */
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.thumb {
  display: grid; place-items: center; min-width: 0; width: 100%;
  aspect-ratio: 4 / 3; padding: 12%; border: 1px solid transparent; cursor: pointer;
  background: radial-gradient(110% 90% at 50% 40%, #faf9f7 0%, var(--stone-2) 100%);
  color: var(--tone, #1b1b19); transition: border-color .2s;
}
.thumb svg {
  width: 100%; height: auto; aspect-ratio: 640 / 246; overflow: visible;
  fill: none; stroke: currentColor; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round;
}
.thumb:hover { border-color: var(--line-2); }
.thumb.is-active { border-color: var(--ink); }

.pdp__info { padding-top: 8px; min-width: 0; }
.gallery__stage, .gallery__slide { min-width: 0; }
.crumbs { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.crumbs span { margin: 0 6px; }
.pdp__title { font-size: clamp(2.4rem, 3.6vw, 3.4rem); font-weight: 400; margin-bottom: 8px; }
.pdp__sub { color: var(--ink-3); margin-bottom: 22px; }
.pdp__price { font: 400 2rem/1 var(--serif); margin-bottom: 8px; }
.pdp__from { font: 300 1rem var(--sans); color: var(--ink-3); margin-right: 4px; }
.pdp__price-note { font-size: .92rem; color: var(--ink-3); padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.pdp__block { margin-bottom: 24px; }
.pdp__label { font-size: .95rem; color: var(--ink-2); margin-bottom: 10px; }
.pdp__label strong { font-weight: 400; color: var(--ink); }
.pdp__size { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 8px; }
.pdp__size .pdp__label { margin: 0; }

.swatches { display: flex; gap: 6px; }
.swatch {
  width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: transparent; position: relative;
}
.swatch::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.swatch::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1px solid transparent; transition: border-color .2s; }
.swatch[aria-checked="true"]::after { border-color: var(--ink); }
.swatch:hover::after { border-color: var(--line-2); }
.swatch--czarny { --sw: #1a1a18; }
.swatch--krysztal { --sw: linear-gradient(135deg, #fff, #e2dfd7); }
.swatch--blekit { --sw: linear-gradient(135deg, #e5eef6, #a5bfd8); }
.swatch--grafit { --sw: linear-gradient(135deg, #b9b8b2, #6c6b66); }

.perks { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 12px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  min-height: 60px; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.3rem; font-weight: 300; transition: transform .3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details > p { font-size: .95rem; color: var(--ink-2); }
.accordion details[open] { padding-bottom: 12px; }
.spec { margin: 0 0 16px; }
.spec div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dotted var(--line-2); font-size: .95rem; }
.spec dt { color: var(--ink-2); }
.spec dd { margin: 0; }

/* pasek zalet */
.usp {
  display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0;
  border-block: 1px solid var(--line);
}
.usp li { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 32px 16px; }
.usp li + li { border-left: 1px solid var(--line); }
.usp .icon { width: 28px; height: 28px; margin-bottom: 6px; }
.usp strong { font-weight: 400; font-size: .95rem; }
.usp span { font-size: .85rem; color: var(--ink-3); }

/* sekcje */
section[id] { scroll-margin-top: var(--header); }
.section { padding: clamp(72px, 9vw, 128px) var(--gutter); }
.section--stone { background: var(--stone); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head > p:not(.label) { color: var(--ink-2); margin-top: 1rem; }
.narrow { max-width: 820px; margin-inline: auto; }

/* karty kolorów */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); }
.card { display: block; text-decoration: none; }
.ph--card { aspect-ratio: 1; }
.ph--card .ph__art { width: 76%; stroke-width: 9; }
.card:hover .ph__art, .card:focus-visible .ph__art, .card:hover .ph__img, .card:focus-visible .ph__img { transform: scale(1.04); }
.card__body { display: grid; gap: 4px; padding: 16px 2px 0; }
.card__name { font: 400 1.35rem/1.2 var(--serif); }
.card__colour { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-3); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.card__price { font-size: .95rem; }

/* szkła */
.lenses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0 auto; padding: 0; max-width: 1120px; }
.lenses li { background: var(--white); border: 1px solid var(--line); padding: 36px 30px; text-align: center; }
.lenses__featured { border-color: var(--ink) !important; }
.lenses h3 { font: 400 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 22px; }
.lenses__price { font: 300 3.4rem/1 var(--serif); margin-bottom: 16px; }
.lenses li p:last-child { color: var(--ink-3); font-size: .95rem; margin: 0; }
.lenses__price--text { font-style: italic; }
.lenses__addon { text-align: center; margin: 28px auto 0; color: var(--ink-2); }
.lenses__addon strong { font-weight: 500; color: var(--ink); }

/* jak to działa */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); list-style: none; margin: 0 auto; padding: 0; max-width: 1120px; text-align: center; }
.how__no {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px;
  border: 1px solid var(--ink); border-radius: 50%; font: 400 1.4rem/1 var(--serif);
}
.how h3 { font-size: 1.6rem; margin-bottom: 10px; }
.how p { color: var(--ink-2); margin: 0; }

/* historia */
.story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: var(--ink); color: var(--white); }
.ph--story { aspect-ratio: 5 / 4; }
.story blockquote { margin: 0; padding: clamp(48px, 7vw, 112px) clamp(24px, 6vw, 104px); }
.story blockquote p { font: italic 300 clamp(1.8rem, 3vw, 2.7rem)/1.2 var(--serif); }
.story footer { margin-top: 1.6rem; font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: #a9a59d; }

/* konfigurator zamówienia */
.checkout {
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 56px);
  max-width: 1200px; margin: 0 auto; align-items: start;
}
.step { border: 0; margin: 0 0 16px; padding: clamp(22px, 3vw, 34px); background: var(--white); border: 1px solid var(--line); min-width: 0; }
.step legend { float: left; width: 100%; padding: 0; margin-bottom: 22px; display: flex; align-items: center; gap: 14px; font: 400 1.6rem/1.2 var(--serif); }
.step legend + * { clear: both; }
.step__no {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); color: var(--white); font: 400 .85rem/1 var(--sans);
}

label { font-size: .9rem; color: var(--ink-2); }
input, select {
  width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 0;
  background: var(--white); color: var(--ink); font: 400 1rem var(--sans);
  transition: border-color .2s, box-shadow .2s;
}
input:hover, select:hover { border-color: var(--ink-3); }
input:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--error); }
.input-unit { position: relative; max-width: 220px; }
.input-unit input { padding-right: 52px; }
.input-unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: .9rem; }

.choice-grid { display: grid; gap: 10px; }
.choice-grid--4 { grid-template-columns: repeat(4, 1fr); }
.choice-grid--2 { grid-template-columns: repeat(2, 1fr); }
.choice-grid--lenses { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-grid--lenses .choice--lens { flex-wrap: wrap; align-content: center; }
.choice .choice__price--small { font: 400 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.check--addon { margin-top: 14px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); font-size: .92rem; }
.check--addon:has(input:checked) { border-color: var(--ink); }
.check--addon strong { font-weight: 500; color: var(--ink); }
.custom-fields { margin: 4px 0 20px; padding-top: 4px; }
.field--add select { max-width: 220px; }
textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 0; background: var(--white);
  color: var(--ink); font: 400 1rem/1.5 var(--sans); resize: vertical;
}
textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.summary__quote { margin: 0 0 4px; font-size: .88rem; color: var(--ink-3); }
.choice {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 16px;
  background: var(--white); border: 1px solid var(--line); cursor: pointer; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.choice:hover { border-color: var(--ink-3); }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice:has(input:focus-visible) { outline: 1px solid var(--ink); outline-offset: 4px; }
.choice__swatch { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.choice--lens { padding: 16px 18px; min-height: 76px; }
.choice__text { display: grid; gap: 2px; flex: 1; }
.choice__text strong { font-weight: 400; }
.choice__text small { font-size: .85rem; color: var(--ink-3); }
.choice__price { font: 400 1.25rem/1 var(--serif); white-space: nowrap; }

.rx-table { display: grid; grid-template-columns: 1fr repeat(3, 1fr); gap: 10px; align-items: center; margin-bottom: 24px; }
.rx-table__head { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.rx-table__eye { font: 400 1.2rem/1.1 var(--serif); }
.rx-table__eye small { display: block; margin-top: 4px; font: 400 .7rem var(--sans); letter-spacing: .16em; color: var(--ink-3); }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row--street { grid-template-columns: 2fr 1fr; }
.field-row--postcode { grid-template-columns: 1fr 2fr; }
.delivery { margin-top: 20px; }
.map-open {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; margin-bottom: 14px;
  background: var(--white); border: 1px solid var(--ink); cursor: pointer;
  font: 400 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.map-open:hover, .map-open:focus-visible { background: var(--ink); color: var(--white); }
.map-open .icon { width: 20px; height: 20px; }
.map { height: min(70vh, 520px); margin-bottom: 16px; border: 1px solid var(--line); background: var(--stone); }
.map inpost-geowidget { display: block; width: 100%; height: 100%; }
.map__error { padding: 24px; font-size: .92rem; color: var(--error); }
.point-chosen { margin: 0 0 14px; padding: 14px 16px; background: var(--stone); border-left: 2px solid var(--ink); font-size: .95rem; }
.point-chosen strong { font-weight: 500; }

.howto { margin: 0 0 18px; }
.howto summary {
  display: inline-flex; align-items: center; min-height: 44px; cursor: pointer;
  font-size: .9rem; text-decoration: underline; text-underline-offset: 5px;
}
.howto p { color: var(--ink-2); font-size: .95rem; }

.rx-messages:empty, .form-status:empty { display: none; }
.rx-messages { display: grid; gap: 10px; }
.msg { margin: 0; padding: 12px 16px; border-left: 2px solid var(--ink); background: var(--stone); font-size: .92rem; }
.msg--error { border-left-color: var(--error); color: var(--error); background: #fbf1ee; }

.check { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 0; cursor: pointer; font-size: .88rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; min-height: 0; flex: none; margin: 2px 0 0; accent-color: var(--ink); }
.check a { color: var(--ink); text-underline-offset: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary { position: sticky; top: calc(var(--header) + 24px); }
.summary__inner { background: var(--white); border: 1px solid var(--ink); padding: 28px; }
.summary h3 { font: 400 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 20px; }
.summary__product { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.ph--mini { aspect-ratio: 1; }
.ph--mini .ph__art { width: 84%; stroke-width: 12; filter: none; }
.summary__name { font: 400 1.35rem/1.2 var(--serif); margin: 0; }
.summary__colour { font-size: .9rem; color: var(--ink-3); margin: 2px 0 0; }
.summary__lines { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.summary__lines div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .95rem; }
.summary__lines dt { color: var(--ink-2); }
.summary__lines dd { margin: 0; white-space: nowrap; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 4px; }
.summary__total > span:first-child { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.summary__total > span:last-child { font: 400 2.2rem/1 var(--serif); }
.check--terms { margin: 16px 0 20px; }
.summary__secure { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 16px 0 10px; font-size: .82rem; color: var(--ink-3); }
.summary__secure .icon { width: 16px; height: 16px; }
.form-status { margin: 14px 0 0; }

.pay-methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pay-methods li {
  padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 3px;
  font: 500 .7rem/1 var(--sans); letter-spacing: .08em; color: var(--ink-2);
}

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 72px; padding: 14px 0; font: 400 1.4rem/1.25 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.4rem/1 var(--sans); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 14px; max-width: 44em; }

/* stopka */
.site-footer { background: var(--stone); padding: 72px var(--gutter) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; max-width: var(--max); margin: 0 auto; }
.footer-logo { width: 220px; height: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--ink-3); font-size: .92rem; max-width: 22em; }
.site-footer h2 { font: 400 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; font-size: .92rem; color: var(--ink-2); }
.site-footer nav a:hover, .site-footer nav a:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  max-width: var(--max); margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--line-2);
  font-size: .82rem; color: var(--ink-3);
}
.footer-bottom p { margin: 0; }

/* strona podziękowania i komunikaty serwera */
.thanks-steps { max-width: 520px; margin: 40px auto; padding-left: 1.2em; color: var(--ink-2); }
.thanks-steps li { margin-bottom: 12px; }
.thanks-steps strong { color: var(--ink); font-weight: 400; }
.errors { text-align: left; max-width: 520px; margin: 20px auto; color: var(--error); }

/* przełącznik języka */
.langs { position: relative; }
.langs summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 10px; font: 400 .74rem/1 var(--sans); letter-spacing: .14em;
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary .icon { width: 18px; height: 18px; }
.langs summary:hover, .langs[open] summary { background: var(--stone); }
.langs ul {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 190px;
  list-style: none; margin: 0; padding: 6px 0; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}
.langs a { display: flex; align-items: center; min-height: 44px; padding: 0 18px; text-decoration: none; font-size: .95rem; }
.langs a:hover, .langs a:focus-visible { background: var(--stone); }
.langs a[aria-current] { font-weight: 500; }
.langs a[aria-current]::after { content: "✓"; margin-left: auto; }

/* dostawa tylko w Polsce */
.ship-note { display: flex; gap: 10px; align-items: center; margin: -6px 0 16px; font-size: .9rem; color: var(--ink-2); }
.ship-note .icon { width: 20px; height: 20px; }

/* „w cenie” — filtr i antyrefleks */
.included {
  display: flex; gap: 12px; align-items: flex-start; margin: 0 0 26px; padding: 14px 16px;
  background: var(--stone); border-left: 2px solid var(--ink); font-size: .93rem; color: var(--ink-2);
}
.included .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--ink); }
.included strong { font-weight: 500; color: var(--ink); }
.included--step { margin: 14px 0 0; background: var(--stone); }
.lenses__included strong { font-weight: 500; color: var(--ink); }
.summary__incl dt, .summary__incl dd { font-size: .85rem; color: var(--ink-3) !important; }

/* dokumenty prawne */
.legal { max-width: 780px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter) 96px; }
.legal h1 { font-size: clamp(2.6rem, 5vw, 3.8rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.7rem; font-weight: 400; margin: 48px 0 16px; scroll-margin-top: calc(var(--header) + 16px); }
.legal section { scroll-margin-top: var(--header); }
.legal p, .legal li { color: var(--ink-2); }
.legal ol, .legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: 10px; }
.legal li ul { margin-top: 10px; }
.legal a { color: var(--ink); text-underline-offset: 4px; }
.legal strong { font-weight: 500; color: var(--ink); }
.legal__meta { font-size: .9rem; color: var(--ink-3); }
.legal__toc { margin: 32px 0; padding: 22px 26px; background: var(--stone); }
.legal__toc ol { margin: 0; columns: 2; column-gap: 32px; }
.legal__toc li { margin-bottom: 6px; break-inside: avoid; }
.legal__summary { margin: 32px 0; padding: 22px 26px; background: var(--stone); }
.legal__summary h2 { margin-top: 0; font-size: 1.4rem; }
.legal__summary ul { margin: 0; }
.legal__note { font-size: .88rem; color: var(--ink-3); }
.legal__form { padding: 22px 26px; border: 1px dashed var(--line-2); }
.legal__table { overflow-x: auto; margin-bottom: 16px; }
.legal__table:focus-visible { outline-offset: 2px; }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .92rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.legal th { font-weight: 500; color: var(--ink); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
mark.todo { background: #fff2b3; color: var(--ink); padding: 0 3px; }
.site-footer--slim { padding-top: 0; }
.site-footer--slim .footer-bottom { margin-top: 0; }
.site-footer--slim a { color: var(--ink-2); text-underline-offset: 4px; }

/* wejścia przy przewijaniu — stan początkowy tylko z JS */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* responsywność */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .checkout { grid-template-columns: minmax(0, 1fr) 330px; }
  .lenses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-grid--lenses { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav-wrap { display: none; }
  .menu { display: block; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .header-actions { grid-column: 3; }
  .banner { grid-template-columns: 1fr; min-height: 0; }
  .ph--banner { order: 0; aspect-ratio: 4 / 3; }
  .banner__copy { justify-self: stretch; max-width: none; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .usp { grid-template-columns: repeat(2, 1fr); }
  .usp li:nth-child(3) { border-left: 0; }
  .usp li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .how { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .announce p { font-size: .68rem; letter-spacing: .08em; }
  .announce p span:nth-child(n+2) { display: none; }
  .brand img { width: 108px; }
  .header-order span { display: none; }
  .header-order { width: 44px; padding: 0; justify-content: center; }
  .header-order--text { width: auto; padding: 0 14px; }
  .header-order--text span { display: inline; }
  .choice-grid--4, .choice-grid--2 { grid-template-columns: 1fr 1fr; }
  .choice-grid--2:has(.choice--lens) { grid-template-columns: 1fr; }
  .lenses { grid-template-columns: 1fr; }
  .field-row, .field-row--street, .field-row--postcode { grid-template-columns: 1fr; }
  .rx-table { grid-template-columns: repeat(3, 1fr); }
  .rx-table__head:first-child { display: none; }
  .rx-table__eye { grid-column: 1 / -1; margin-top: 8px; }
  .step { padding: 20px 16px; }
  .summary__inner { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .legal__toc ol { columns: 1; }
}

/* bezpiecznik — zawsze ostatni */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
