/* Self-hosted @font-face for GUEVE (Google Fonts css2, latin + latin-ext, files in site/fonts/). */

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/inter-tight-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/inter-tight-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-tight-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-tight-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-tight-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-tight-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   GUEVE - Direction B "editorial white"
   Instrument Serif (oversized display) + Inter Tight (UI / body)
   White page, warm hairlines, her tan accent. Big silences.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f4f1;        /* barely-there warm ground for media wells */
  --bg-deep: #eeeae4;
  --ink: #14120f;
  --ink-soft: #4b4640;
  --muted: #918a80;
  --line: #e7e3dd;
  --line-strong: #cfc7bc;
  --tan: #c2a18a;            /* her existing accent */
  --sale: #96604a;

  --f-display: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --f-sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad: clamp(1.15rem, 4vw, 4.5rem);   /* page gutter */
  --gap: clamp(0.5rem, 1.1vw, 1rem);    /* grid gutter (edge-to-edge grids) */
  --sec: clamp(4.5rem, 12vh, 9rem);     /* vertical rhythm between sections */
  --header-h: 66px;
  --announce-h: 34px;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 400; letter-spacing: -0.005em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; }

/* The gift card is a real product but never belongs in a browse surface.
   One rule hides it from every category nav, chip bar, print row and grid. */
[data-cat="e-karta-upominkowa"] { display: none !important; }
.grid .card[data-category="e-karta-upominkowa"] { display: none !important; }

/* ---------- shared type utilities ---------- */
.kicker {
  display: block;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.link-underline {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  transition: border-color .25s, color .25s;
}
.link-underline:hover { color: var(--tan); border-color: var(--tan); }
.crumb {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumb a:hover { color: var(--ink); }
.crumb span { padding: 0 0.35rem; }
.crumb .crumb-now { padding: 0; color: var(--ink-soft); text-transform: none; letter-spacing: 0.06em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1.05rem 1.5rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: background .25s, color .25s;
}
.btn:hover { background: #2c2723; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: transparent; border-color: var(--ink); }
.btn--ghost svg { width: 15px; height: 15px; }

/* ============================================================
   ANNOUNCE + HEADER
   ============================================================ */
.announce {
  min-height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-size: 0.63rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  line-height: 1.4;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: background .35s, border-color .35s, color .35s;
}
/* Home only: float over the hero photo until scrolled. */
.site-header[data-over] {
  position: fixed;
  top: var(--announce-h);
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
}
.site-header[data-over] .logo img { filter: drop-shadow(0 1px 10px rgba(0, 0, 0, .45)); }
.site-header[data-over].solid { text-shadow: none; }
.site-header[data-over].solid .logo img { filter: none; }
.site-header[data-over].solid {
  position: fixed;
  background: var(--bg);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 var(--pad);
}
.header-side { display: flex; align-items: center; gap: 1.6rem; min-width: 0; }
.header-side--end { justify-content: flex-end; }
.header-nav { display: flex; gap: 1.6rem; }
.header-nav-link, .header-cart, .menu-btn {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: inherit;
  white-space: nowrap;
  transition: opacity .2s;
}
.header-nav-link:hover, .header-cart:hover, .menu-btn:hover { opacity: .58; }
.menu-btn { display: none; }
.header-cart { position: relative; }
.header-count {
  margin-left: 0.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}
.header-count::before { content: '('; }
.header-count::after { content: ')'; }

.logo { display: block; line-height: 0; }
.logo img { width: clamp(96px, 9vw, 126px); height: auto; }
.logo-light { display: none; }
.site-header[data-over] .logo-dark { display: none; }
.site-header[data-over] .logo-light { display: block; }
.site-header[data-over].solid .logo-dark { display: block; }
.site-header[data-over].solid .logo-light { display: none; }

/* ---------- mobile full-screen menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  padding: 1.4rem var(--pad) 2rem;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1), visibility .4s;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mm-top { display: flex; align-items: center; justify-content: space-between; }
.mm-logo { width: 108px; height: auto; }
.mm-close { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; }
.mm-nav { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 2.6rem; }
.mm-nav a {
  font-family: var(--f-display);
  font-size: clamp(2rem, 11vw, 3rem);
  line-height: 1.15;
  text-transform: uppercase;
}
.mm-foot { margin-top: auto; font-size: 0.78rem; color: var(--muted); max-width: 24rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; }
.hero-media {
  position: relative;
  aspect-ratio: 3 / 2;          /* landscape crop: nobody gets decapitated */
  overflow: hidden;
  background: var(--bg-soft);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 8, .55) 0%, rgba(12, 10, 8, .18) 16%, rgba(12, 10, 8, 0) 38%);
  pointer-events: none;
}
.hero-card {
  position: absolute;
  right: var(--pad);
  bottom: clamp(1.6rem, 4vw, 3.4rem);
  width: min(26rem, 42vw);
  background: var(--bg);
  padding: clamp(1.5rem, 2.2vw, 2.3rem);
}
.hero-heading {
  font-size: clamp(1.65rem, 2.3vw, 2.5rem);
  line-height: 1.1;
  margin: 0.85rem 0 1.5rem;
}

/* ============================================================
   BIG CATEGORY WORDS (the Polene moment)
   ============================================================ */
.cats {
  padding: var(--sec) var(--pad);
  text-align: center;
}
.cat-words { display: block; margin-top: clamp(1.8rem, 4vh, 3rem); }
.cat-word {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 1.06;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  transition: color .3s;
}
.cat-word span {
  display: inline-block;
  padding-bottom: 0.05em;
  border-bottom: 1px solid transparent;
  transition: border-color .35s;
}
.cat-word:hover { color: var(--tan); }
.cat-word:hover span { border-bottom-color: var(--tan); }
.cats-note {
  margin-top: clamp(1.8rem, 4vh, 3rem);
  font-size: 0.84rem;
  color: var(--muted);
}

/* ============================================================
   PRINT ROW (circular crops instead of colour swatches)
   ============================================================ */
.prints { padding: 0 var(--pad) var(--sec); }
.prints-head { text-align: center; margin-bottom: clamp(1.6rem, 3.5vh, 2.6rem); }
.prints-heading { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-top: 0.5rem; }
.print-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.6vw, 2.6rem);
}
.dot { width: 104px; text-align: center; }
.dot-media {
  display: block;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-soft);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.dot-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.dot:hover .dot-media { transform: scale(1.06); }
.dot-name {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.dot:hover .dot-name { color: var(--ink); }

/* ============================================================
   PRODUCT CARD (shared: home row, shop, category, PDP related)
   ============================================================ */
.grid { display: grid; gap: clamp(1.8rem, 3.5vh, 3rem) var(--gap); }
.grid--4 { grid-template-columns: repeat(4, 1fr); padding: 0 var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card.is-filtered { display: none; }

.card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-soft);
}
.card-link { position: absolute; inset: 0; display: block; }
.card-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity .45s ease;
}
/* Scrub is capped at four frames: the rest stay display:none so a lazy browser
   never fetches them. 22 cards x 10 photos would have cost the page its speed. */
.card-frame:nth-child(n + 5) { display: none; }
.card-media.has-scrub .card-frame { opacity: 0; }
.card-media.has-scrub .card-frame.is-on { opacity: 1; }

/* Segment ticks, one per scrub frame, drawn by script.js. */
.card-ticks {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  right: 0.55rem;
  z-index: 3;
  display: flex;
  gap: 3px;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.card-ticks i { flex: 1; height: 2px; background: rgba(255, 255, 255, .6); transition: background .2s; }
.card-ticks i.is-on { background: var(--ink); }
.card-media:hover .card-ticks, .card.is-hover .card-ticks { opacity: 1; }

.card-flag {
  position: absolute;
  z-index: 3;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  pointer-events: none;
}
.card-flag--sale { top: 1.15rem; left: 0.55rem; background: var(--bg); color: var(--sale); }
.card-flag--sale[data-compare=""] { display: none; }
.card-flag--out {
  display: none;
  inset: auto 0.55rem 0.55rem 0.55rem;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  text-align: center;
}
.card[data-in-stock="false"] .card-flag--out { display: block; }
.card[data-in-stock="false"] .card-frame { filter: grayscale(.55); }
.card[data-in-stock="false"] .card-quick { display: none; }

.card-heart {
  position: absolute;
  z-index: 4;
  top: 0.5rem;
  right: 0.5rem;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--ink);
  opacity: 0;
  transition: opacity .25s, color .2s;
}
.card-heart svg { width: 17px; height: 17px; filter: drop-shadow(0 1px 2px rgba(255, 255, 255, .75)); }
.card-media:hover .card-heart, .card.is-hover .card-heart { opacity: 1; }
.card-heart.os-active { opacity: 1; color: var(--sale); }
.card-heart.os-active svg { fill: currentColor; }

/* Quick-add size chips: fade up on hover, feed the hidden select store.js reads. */
.card-quick {
  position: absolute;
  z-index: 4;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0.5rem;
  background: rgba(255, 255, 255, .94);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .28s, transform .28s;
}
.card-media:hover .card-quick, .card.is-hover .card-quick { opacity: 1; transform: translateY(0); }
.qa-size {
  flex: 1 1 auto;
  min-width: 2.6rem;
  padding: 0.42rem 0.3rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  border: 1px solid var(--line-strong);
  transition: background .2s, color .2s, border-color .2s;
}
.qa-size:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.qa-size[data-in-stock="false"], .qa-size.is-disabled, .qa-size:disabled {
  color: var(--muted);
  border-color: var(--line);
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: .55;
}
.qa-size[data-in-stock="false"]:hover, .qa-size.is-disabled:hover, .qa-size:disabled:hover {
  background: none;
  color: var(--muted);
  border-color: var(--line);
}
.qa-select, .pdp-variant {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.card-info { display: block; margin-top: 0.85rem; }
.card-name {
  display: block;
  font-family: var(--f-display);
  font-size: 1.02rem;
  line-height: 1.25;
}
.card-prices { display: block; margin-top: 0.15rem; font-size: 0.8rem; letter-spacing: 0.02em; }
.card-was { color: var(--muted); text-decoration: line-through; margin-right: 0.45rem; }
.card-was[data-compare=""] { display: none; }
.card-was:not([data-compare=""]) + .card-now { color: var(--sale); }
.card-omnibus {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.6rem;
  line-height: 1.5;
  color: var(--muted);
}
.card-omnibus[data-compare=""] { display: none; }

/* ============================================================
   HOME: four-up row, campaign band, newsletter
   ============================================================ */
.row-section { padding: 0 0 var(--sec); }
.row-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 var(--pad);
  margin-bottom: clamp(1.6rem, 3.5vh, 2.6rem);
}
.row-heading { font-size: clamp(1.5rem, 2.6vw, 2.3rem); margin-top: 0.5rem; }
.row-cta { flex: 0 0 auto; }

.campaign { position: relative; margin-bottom: var(--sec); }
.campaign-media { aspect-ratio: 64 / 30; overflow: hidden; background: var(--bg-soft); }
.campaign-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.campaign-card {
  position: absolute;
  left: var(--pad);
  bottom: clamp(1.6rem, 4vw, 3.4rem);
  width: min(27rem, 44vw);
  background: var(--bg);
  padding: clamp(1.5rem, 2.2vw, 2.3rem);
}
.campaign-heading { font-size: clamp(1.5rem, 2.2vw, 2.2rem); line-height: 1.12; margin: 0.85rem 0 0.9rem; }
.campaign-body { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 1.4rem; }

.news {
  max-width: 34rem;
  margin: 0 auto;
  padding: 0 var(--pad) var(--sec);
  text-align: center;
}
.news-heading { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.12; margin: 0.8rem 0 0.9rem; }
.news-body { font-size: 0.9rem; color: var(--ink-soft); }
.news-form {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.news-input {
  flex: 1 1 14rem;
  min-width: 0;
  font: inherit;
  font-size: 0.88rem;
  padding: 0.6rem 0 0.6rem;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  color: var(--ink);
}
.news-input::placeholder { color: var(--muted); }
.news-input:focus { outline: none; border-bottom-color: var(--ink); }
.news-btn {
  flex: 0 0 auto;
  padding: 0.75rem 1.6rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background .25s;
}
.news-btn:hover { background: #2c2723; }
.news-btn:disabled { opacity: .5; cursor: default; }
.news-msg { flex: 1 0 100%; font-size: 0.78rem; color: var(--ink-soft); text-align: left; }
.news-msg.is-error { color: var(--sale); }
.news-success { font-size: 0.9rem; color: var(--ink-soft); }
.news-consent { margin-top: 1.1rem; font-size: 0.68rem; color: var(--muted); }
.news-consent a { border-bottom: 1px solid var(--line-strong); }

/* ============================================================
   SHOP + CATEGORY
   ============================================================ */
.page-head { padding: clamp(3rem, 8vh, 6rem) var(--pad) clamp(1.8rem, 4vh, 2.8rem); max-width: 46rem; }
.page-title { font-size: clamp(2.4rem, 5.5vw, 5rem); line-height: 1.02; margin-top: 0.7rem; }
.page-intro { margin-top: 1.1rem; font-size: 0.9rem; color: var(--ink-soft); max-width: 32rem; }
.page-head--cat { max-width: none; }
.cat-title {
  font-size: clamp(2.6rem, 8vw, 7rem);
  line-height: 1;
  text-transform: uppercase;
  margin-top: 0.9rem;
}

.chip-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.chip-bar-inner {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem var(--pad);
  overflow-x: auto;
  scrollbar-width: none;
}
.chip-bar-inner::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.shop-count {
  margin-left: auto;
  padding-left: 1.2rem;
  flex: 0 0 auto;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
#grid { padding-top: clamp(2rem, 5vh, 3.4rem); padding-bottom: var(--sec); }
.grid-empty {
  grid-column: 1 / -1;
  padding: 4rem 0;
  text-align: center;
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--muted);
}

/* ============================================================
   PDP
   ============================================================ */
.pdp-crumb { padding: clamp(1.6rem, 4vh, 2.6rem) var(--pad) 0; }
.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 25rem;
  gap: clamp(1.6rem, 4vw, 4.5rem);
  padding: clamp(1.4rem, 3vh, 2.4rem) var(--pad) var(--sec);
  align-items: start;
}
.pdp-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.pdp-shot { margin: 0; aspect-ratio: 2 / 3; overflow: hidden; background: var(--bg-soft); }
.pdp-shot:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.pdp-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.pdp-buy-col { position: sticky; top: calc(var(--header-h) + 1.6rem); }
.pdp-name { font-size: clamp(1.8rem, 2.9vw, 2.7rem); line-height: 1.08; }
.pdp-prices { margin-top: 0.9rem; font-size: 1.02rem; letter-spacing: 0.02em; }
.pdp-was { color: var(--muted); text-decoration: line-through; margin-right: 0.6rem; }
.pdp-was[data-compare=""] { display: none; }
.pdp-was:not([data-compare=""]) + .pdp-now { color: var(--sale); }
.pdp-omnibus { margin-top: 0.35rem; font-size: 0.68rem; color: var(--muted); }
.pdp-omnibus[data-compare=""] { display: none; }

.pdp-buy { margin-top: 2rem; }
.pdp-sizes-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.pdp-sizes-label, .pdp-sizes-hint { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; }
.pdp-sizes-hint { color: var(--muted); }
.pdp-sizes-hint.is-warn { color: var(--sale); }
.size-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.8rem; }
.size-btn {
  min-width: 3.6rem;
  padding: 0.72rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  transition: background .2s, color .2s, border-color .2s;
}
.size-btn:hover { border-color: var(--ink); }
.size-btn.is-selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-btn[data-in-stock="false"], .size-btn.is-disabled, .size-btn:disabled {
  color: var(--muted);
  border-color: var(--line);
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: .55;
}
.size-btn[data-in-stock="false"]:hover, .size-btn.is-disabled:hover, .size-btn:disabled:hover { border-color: var(--line); }

.pdp-actions { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; }
.pdp-out {
  display: none;
  padding: 1.05rem 1.5rem;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.pdp-buy[data-in-stock="false"] .pdp-add { display: none; }
.pdp-buy[data-in-stock="false"] .pdp-out { display: block; }
.pdp-heart.os-active { border-color: var(--sale); color: var(--sale); }
.pdp-heart.os-active svg { fill: currentColor; }

.pdp-promise { list-style: none; margin: 1.8rem 0 0; padding: 1.3rem 0 0; border-top: 1px solid var(--line); }
.pdp-promise li { font-size: 0.75rem; color: var(--ink-soft); padding: 0.28rem 0; }
.pdp-promise strong { font-weight: 500; color: var(--ink); margin-right: 0.4rem; }

.pdp-acc { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 0;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 1rem; color: var(--muted); }
.acc[open] summary::after { content: '\2212'; }
.acc-body { padding-bottom: 1.3rem; font-size: 0.82rem; color: var(--ink-soft); }
.acc-body p + p { margin-top: 0.7rem; }
.acc-body ul { margin: 0; padding-left: 1.05rem; }
.acc-body li { padding: 0.1rem 0; }
.acc-body table { width: 100%; border-collapse: collapse; margin-top: 0.9rem; font-size: 0.75rem; }
.acc-body td { border: 1px solid var(--line); padding: 0.4rem 0.55rem; vertical-align: top; }

.related { padding: 0 var(--pad) var(--sec); }
.related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding-top: clamp(2rem, 5vh, 3.5rem);
  border-top: 1px solid var(--line);
  margin-bottom: clamp(1.6rem, 3.5vh, 2.4rem);
}
.related-heading { font-size: clamp(1.4rem, 2.4vw, 2rem); }
/* Deliberately narrow: two cards, then a lot of quiet. */
.related-grid { max-width: 38rem; gap: var(--gap); }

/* ============================================================
   LEGAL PAGES (Regulamin / Polityka prywatności / Zwroty)
   One richtext blob per page, no classes inside it, so every rule
   here targets bare tags scoped to .legal-body.
   ============================================================ */
.legal { padding-bottom: var(--sec); }
.legal-head {
  padding: clamp(2.4rem, 6vh, 4.5rem) var(--pad) clamp(1.6rem, 3.5vh, 2.4rem);
  border-bottom: 1px solid var(--line);
}
.legal-title { font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.04; margin-top: 0.8rem; }

.legal-body {
  /* 72ch of actual text. The gutter is added on top of the measure, not taken out of it:
     with border-box the padding would otherwise eat a third of the column. */
  max-width: calc(72ch + var(--pad) * 2);
  padding: clamp(2rem, 5vh, 3.4rem) var(--pad) 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.legal-body > :first-child { margin-top: 0; }
.legal-body p { margin: 0 0 0.95rem; }
.legal-body h2 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.2;
  color: var(--ink);
  margin: 2.8rem 0 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
/* A paragraph that is nothing but a bold label is a section title in her source text.
   :has() gives it real hierarchy without touching a single character of the wording. */
.legal-body p:has(> strong:only-child) {
  margin-top: 2.1rem;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  color: var(--ink);
}
.legal-body strong { font-weight: 500; color: var(--ink); }
.legal-body em { font-style: italic; }
.legal-body ul { margin: 0 0 1.1rem; padding-left: 1.15rem; }
.legal-body li { margin: 0.3rem 0; }
.legal-body a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  word-break: break-word;
  transition: border-color .25s, color .25s;
}
.legal-body a:hover { color: var(--tan); border-bottom-color: var(--tan); }

.legal-foot {
  max-width: calc(72ch + var(--pad) * 2);
  padding: clamp(2.4rem, 5vh, 3.4rem) var(--pad) 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); }
.footer-cols {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 2.5rem;
  padding: clamp(3rem, 7vh, 5rem) var(--pad) clamp(2.4rem, 5vh, 3.4rem);
}
.footer-logo { width: 104px; height: auto; }
.footer-tagline { margin-top: 1.1rem; font-size: 0.8rem; color: var(--muted); max-width: 20rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col h3 {
  font-family: var(--f-sans);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.footer-col a, .footer-col p { font-size: 0.79rem; color: var(--ink-soft); }
.footer-col a:hover { color: var(--ink); }

.footer-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  flex-wrap: wrap;
  padding: 1.2rem var(--pad) 1.5rem;
  border-top: 1px solid var(--line);
}
.footer-promise { display: flex; flex-wrap: wrap; gap: 1.8rem; }
.footer-promise span { font-size: 0.7rem; color: var(--muted); }
.footer-promise strong {
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.62rem;
  margin-right: 0.4rem;
}
.footer-copy { font-size: 0.68rem; color: var(--muted); }

/* ============================================================
   STORE.JS DRAWER OVERRIDES (os- prefixed defaults)
   ============================================================ */
.os-panel { font-family: var(--f-sans); }
.os-drawer .os-panel-head span { letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.72rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .pdp-grid { grid-template-columns: minmax(0, 1fr) 21rem; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 58px; }
  .header-nav { display: none; }
  .menu-btn { display: block; }
  .header-side--end .header-nav-link { display: none; }
  .site-header[data-over] {
    position: sticky;
    top: 0;
    background: var(--bg);
    border-bottom-color: var(--line);
    color: var(--ink);
    text-shadow: none;
  }
  .site-header[data-over] .logo img { filter: none; }
  .site-header[data-over] .logo-dark { display: block; }
  .site-header[data-over] .logo-light { display: none; }
  .hero-scrim { display: none; }

  .hero-media { aspect-ratio: 4 / 5; }
  .hero-media img { object-position: 32% center; }
  .hero-card {
    position: static;
    width: auto;
    padding: clamp(1.6rem, 6vw, 2.2rem) var(--pad) 0;
  }
  .hero-scrim { background: linear-gradient(180deg, rgba(12, 10, 8, .42) 0%, rgba(12, 10, 8, 0) 26%); }

  .campaign-media { aspect-ratio: 4 / 3; }
  .campaign-card {
    position: static;
    width: auto;
    padding: clamp(1.6rem, 6vw, 2.2rem) var(--pad) 0;
  }

  .pdp-grid { grid-template-columns: 1fr; }
  .pdp-buy-col { position: static; }
  .pdp-shot:first-child { aspect-ratio: 3 / 4; }
  .related-grid { max-width: none; }
}

@media (max-width: 760px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .print-row {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
    margin: 0 calc(var(--pad) * -1);
    padding-left: var(--pad);
    padding-right: var(--pad);
  }
  .print-row::-webkit-scrollbar { display: none; }
  .dot { flex: 0 0 auto; width: 76px; }
  .dot-media { width: 76px; height: 76px; }

  /* Chips are always visible on touch, so the quick-add overlay would just cover the photo. */
  .card-quick, .card-ticks { display: none; }
  .card-heart { opacity: 1; }

  .announce { font-size: 0.55rem; letter-spacing: 0.15em; }
  .row-head, .related-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-strip { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-promise { flex-direction: column; gap: 0.4rem; }
  .news-form { flex-direction: column; align-items: stretch; }
  .news-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   LAP 1 STORE LAYER (gueve-site): the live store's proven features
   restyled in concept B's language. Everything below extends B;
   nothing above was changed except the self-hosted @font-face.
   ============================================================ */

/* ---------- shared form bits ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wform { display: grid; gap: 1.1rem; }
.wform-field { display: grid; gap: 0.4rem; }
.wform-label { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.wform-optional { letter-spacing: 0.04em; text-transform: none; color: var(--muted); }
.wform-input {
  width: 100%;
  font: inherit;
  font-size: 0.9rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  border-radius: 0;
}
.wform-input:focus { outline: none; border-color: var(--ink); }
.wform-textarea { resize: vertical; min-height: 7rem; }
.wform-error { font-size: 0.8rem; color: var(--sale); }
.wform-success h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.wform-success p { margin-top: 0.8rem; font-size: 0.9rem; color: var(--ink-soft); }
.wform-success a { border-bottom: 1px solid var(--line-strong); }

/* ---------- newsletter wrapper (form + consent + Turnstile + message) ---------- */
.news-wrap { max-width: 34rem; margin: 0 auto; }
.news-wrap .news-form { margin-top: 2.2rem; }
.news-consent { display: flex; gap: 0.6rem; align-items: flex-start; justify-content: center; text-align: left; line-height: 1.5; }
.news-consent input { margin-top: 0.15rem; accent-color: var(--ink); }
.news-wrap .news-msg { margin-top: 0.8rem; text-align: center; }
.cf-turnstile:empty { display: none; }
.cf-turnstile { margin-top: 0.9rem; }

/* ---------- header: wishlist link sits with Sklep + Koszyk ---------- */
.header-side--end { gap: clamp(1rem, 2vw, 1.8rem); }
.mm-sub { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.mm-sub a { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- badges (store.js fills [data-badges] from /stock; static first paint) ---------- */
.badges {
  position: absolute;
  top: 1.15rem;
  left: 0.55rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  pointer-events: none;
}
.badge {
  display: inline-block;
  padding: 0.28rem 0.55rem;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--bg);
  color: var(--ink);
}
.os-badge-sale { color: var(--sale); }
.os-badge-soldout { background: var(--ink); color: #fff; }
.os-badge-new, .os-badge-label { background: var(--tan); color: #fff; }
/* static fallbacks: sale only with a compare price, sold out only on a sold-out product */
.badges .os-badge-sale[data-compare=""] { display: none; }
.badges .os-badge-soldout { display: none; }
.card[data-in-stock="false"] .os-badge-soldout,
.card.os-sold-out .os-badge-soldout,
.pdp-buy-col:has(.pdp-buy[data-in-stock="false"]) .os-badge-soldout,
.badges:not(:has([data-compare])) .os-badge-soldout { display: inline-block; }
.card-flag { display: none !important; } /* concept B's flags, replaced by the badges above */
.pdp-badges { position: static; margin-bottom: 0.9rem; }

/* ---------- sold-out cards (rendered flag or store.js's live .os-sold-out) ---------- */
.card.os-sold-out { opacity: 1; }
.card.os-sold-out .card-frame { filter: grayscale(.55); }
.card.os-sold-out .card-quick { display: none; }
.card.os-sold-out .card-now { color: var(--muted); }

/* ---------- Omnibus line: shown only while Orbit has a lowest-30-day price ---------- */
.card-omnibus[data-lowest=""], .pdp-omnibus[data-lowest=""] { display: none; }
.card-omnibus:not([data-lowest=""]) { display: block; }
.pdp-omnibus { display: block; }

/* ---------- home: Nowości row shows the first four shop cards ---------- */
.home-new .card:nth-child(n+5) { display: none; }

/* ---------- PDP: thumbnails, model pill, size chart, back-in-stock ---------- */
.pdp-thumbs { display: none; }
.pdp-model {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.42rem 0.8rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  background: var(--bg-soft);
  color: var(--ink-soft);
  border-radius: 999px;
}
.pdp-model[hidden] { display: none; }
.size-chart-link { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 1px solid var(--line-strong); }
.size-chart-link:hover { border-color: var(--ink); }
.pdp:has(.size-chart-text:empty):has(.size-chart-img[src=""]) .size-chart-link { display: none; }
.pdp-sizes-hint { margin-top: 0.7rem; }
.size-btn.is-selected[data-in-stock="false"] { background: var(--bg-soft); color: var(--ink); border-color: var(--ink); }

.size-dialog {
  margin: 0 0 0 auto;
  height: 100%;
  max-height: none;
  width: min(32rem, 100vw);
  border: 0;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: var(--bg);
  color: var(--ink);
  overflow-y: auto;
}
.size-dialog::backdrop { background: rgba(20, 18, 15, .38); }
.size-dialog h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.size-dialog-body { margin-top: 1.4rem; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.7; }
.size-dialog-body p { margin: 0 0 0.6rem; }
.size-dialog-body table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.size-dialog-body td, .size-dialog-body th { border-bottom: 1px solid var(--line); padding: 0.45rem 0.3rem; text-align: left; vertical-align: top; }
.size-chart-img[src=""] { display: none; }
.size-chart-img { width: 100%; height: auto; margin-bottom: 1rem; }
.size-dialog-close { margin-top: 1.6rem; }

.pdp-bis { display: none; margin-top: 1.4rem; padding: 1.3rem; background: var(--bg-soft); }
.pdp-buy[data-in-stock="false"] .pdp-bis,
.pdp-buy[data-size-oos] .pdp-bis { display: grid; gap: 0.8rem; }
.pdp-buy[data-in-stock="false"] .pdp-add,
.pdp-buy[data-size-oos] .pdp-add { display: none; }
.pdp-bis-lead { font-size: 0.82rem; color: var(--ink-soft); }
.pdp-bis-lead--size { display: none; }
.pdp-buy[data-size-oos]:not([data-in-stock="false"]) .pdp-bis-lead { display: none; }
.pdp-buy[data-size-oos]:not([data-in-stock="false"]) .pdp-bis-lead--size { display: block; }
.pdp-bis-email { font: inherit; font-size: 0.88rem; padding: 0.7rem 0.8rem; border: 1px solid var(--line-strong); background: var(--bg); }
.pdp-bis-consent { display: flex; gap: 0.55rem; font-size: 0.68rem; color: var(--muted); line-height: 1.5; }
.pdp-bis-consent a { border-bottom: 1px solid var(--line-strong); }
.pdp-bis-msg { font-size: 0.78rem; color: var(--ink-soft); }
.pdp-bis-msg.is-error { color: var(--sale); }
.pdp-out { display: none !important; }

/* ---------- shop system pages (koszyk, zamowienie, dziekujemy, konto, ulubione, śledzenie) ---------- */
.sys { padding-bottom: var(--sec); }
.sys .page-head { max-width: 52rem; }
.cart-page, .wishlist-page, .track-page, .account-page, .sys-note, .sys-cta { padding: 0 var(--pad); }
.cart-page { max-width: calc(56rem + var(--pad) * 2); }
.cart-next-note { margin-top: 1.4rem; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.04em; }
.sys-cta .btn { width: auto; }
.sys-note { max-width: calc(46rem + var(--pad) * 2); margin-top: clamp(2.4rem, 6vh, 4rem); }
.sys-note h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.legal-body--tight { padding: 1rem 0 0; }
.account-page { max-width: calc(40rem + var(--pad) * 2); }
.account-lead { font-size: 1rem; color: var(--ink); }
.account-note { margin-top: 0.8rem; font-size: 0.88rem; color: var(--ink-soft); }
.account-page .news-wrap { margin: 0; }
.account-page .news-consent { justify-content: flex-start; }
.account-page .news-wrap .news-msg { text-align: left; }
.account-help { margin-top: 2.2rem; font-size: 0.82rem; color: var(--ink-soft); }
.account-help a, .wishlist-empty-more a { border-bottom: 1px solid var(--line-strong); }
.wishlist-empty-more { margin-top: 1.4rem; font-size: 0.85rem; color: var(--ink-soft); }
.wishlist-page:has([data-wishlist-list] .os-wishlist-item) .wishlist-empty-more,
.wishlist-page:has([data-wishlist-list] [data-slug]) .wishlist-empty-more { display: none; }
.track-page { max-width: calc(30rem + var(--pad) * 2); }
.track-page .btn, .legal-form .btn { margin-top: 0.4rem; }
.track-result { margin-top: 1.6rem; font-size: 0.88rem; }
.legal-form { max-width: calc(36rem + var(--pad) * 2); padding: 2rem var(--pad) 0; }

/* ---------- checkout (store.js contract markup, B's quiet editorial look) ---------- */
.checkout { padding: 0 var(--pad); }
.co { display: grid; grid-template-columns: minmax(0, 1fr) 24rem; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.co__summary { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 1.6rem); padding: 1.6rem; background: var(--bg-soft); }
.co__main { grid-column: 1; grid-row: 1; display: grid; gap: 2.4rem; }
.co__block { border: 0; margin: 0; padding: 0; min-width: 0; }
.co__title { display: block; padding: 0; font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 400; margin-bottom: 1.1rem; }
.co__fields { display: grid; gap: 1rem; }
.co__row { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; }
.co__invoice, .co__terms { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1rem; font-size: 0.82rem; color: var(--ink-soft); }
.co__invoice input, .co__terms input { accent-color: var(--ink); margin-top: 0.2rem; }
.co__terms a, .co__privacy a { border-bottom: 1px solid var(--line-strong); }
.co__methods, .co__paylist { border: 0; margin: 0; padding: 0; display: grid; gap: 0.5rem; min-width: 0; }
.co__methods label, .co__paylist label { border: 1px solid var(--line); padding: 0.85rem 1rem; }
.co__methods label:has(input:checked), .co__paylist label:has(input:checked) { border-color: var(--ink); }
.co__locker { margin-top: 1rem; display: grid; gap: 0.8rem; }
.co__locker-btn { width: auto; justify-self: start; }
.co__locker-fallback { display: grid; gap: 0.4rem; }
.co__privacy { margin-top: 1.2rem; font-size: 0.75rem; color: var(--muted); }
.co__err { margin-top: 1rem; font-size: 0.82rem; color: var(--sale); }
.co__pay-btn { margin-top: 1.4rem; }
.co__pay-note { margin-top: 0.8rem; font-size: 0.72rem; color: var(--muted); }
.co__back { display: inline-block; margin-top: 1.2rem; }

/* store.js drawer / cart / wishlist defaults, in B's type */
.os-cart-page, .os-wishlist, [data-wishlist-list] { font-family: var(--f-sans); }
[data-cart-page] .os-btn, .os-drawer .os-btn, [data-cart-page] button[class*="checkout"] { letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.72rem; border-radius: 0; }

@media (max-width: 900px) {
  /* PDP gallery: one photo per screen, swipe sideways; thumbnails underneath */
  .pdp-crumb { padding-bottom: 0.4rem; }
  .pdp-grid { padding-top: 0.8rem; }
  .pdp-gallery-col { margin: 0 calc(var(--pad) * -1); min-width: 0; }
  .pdp-gallery {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .pdp-gallery::-webkit-scrollbar { display: none; }
  .pdp-shot, .pdp-shot:first-child { flex: 0 0 100%; aspect-ratio: 3 / 4; scroll-snap-align: start; }
  .pdp-thumbs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 8px var(--pad) 0;
  }
  .pdp-thumbs::-webkit-scrollbar { display: none; }
  .pdp-thumbs button { flex: 0 0 52px; height: 70px; padding: 0; opacity: .55; border: 1px solid transparent; transition: opacity .2s, border-color .2s; }
  .pdp-thumbs button.active { opacity: 1; border-color: var(--ink); }
  .pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

  .co { grid-template-columns: 1fr; }
  .co__summary { grid-column: 1; grid-row: auto; position: static; }
  .co__main { grid-column: 1; grid-row: auto; }
}
@media (max-width: 560px) {
  .co__row { grid-template-columns: 1fr; }
}

/* The gift card stays hidden from every browse surface (concept B) EXCEPT its own category page,
   which the footer links to. */
body[data-active-cat="e-karta-upominkowa"] .grid .card[data-category="e-karta-upominkowa"] { display: block !important; }
/* store.js toggles [hidden] on these hosts; the display rules above must not beat it */
.co [hidden], .wform [hidden], .news-wrap [hidden], .pdp-buy [hidden] { display: none !important; }
