/* Twój Butik – soft editorial design system. Mobile first; tokens on :root, dark theme via prefers-color-scheme or [data-theme]. */

@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: optional;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: optional;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-ext-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: optional;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #F6F3EE;
  --surface: #FFFFFF;
  --surface-2: #EFEAE2;
  --sand: #E6DCCB;
  --ink: #1F2A24;
  --ink-2: #56615A;
  --line: #E2DBCF;
  --sage: #8FA58A;
  --sage-deep: #4F6B4C;
  --sage-soft: #DCE5D7;
  --clay: #A9532F;
  --clay-ink: #FFFFFF;
  --clay-soft: #F3DED3;
  --footer: #18211C;
  --glass: rgb(255 255 255 / .62);
  --glass-line: rgb(255 255 255 / .55);
  --shadow: 0 1px 2px rgb(31 42 36 / .05), 0 8px 24px -8px rgb(31 42 36 / .12);
  --shadow-lg: 0 24px 60px -20px rgb(31 42 36 / .28);
  --r-sm: 12px; --r: 18px; --r-lg: 28px; --pill: 999px;
  --gutter: 16px;
  --max: 1240px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121815; --surface: #1A221E; --surface-2: #222C27; --sand: #2D3832; --ink: #EEF0EA; --ink-2: #A7B1A9; --line: #2C3731;
    --sage: #9DB698; --sage-deep: #B5CDAF; --sage-soft: #26332B; --clay: #E28D67; --clay-ink: #1B1410; --clay-soft: #3A2A22; --footer: #0D120F;
    --glass: rgb(18 24 21 / .55); --glass-line: rgb(255 255 255 / .12);
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -8px rgb(0 0 0 / .5); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121815; --surface: #1A221E; --surface-2: #222C27; --sand: #2D3832; --ink: #EEF0EA; --ink-2: #A7B1A9; --line: #2C3731;
  --sage: #9DB698; --sage-deep: #B5CDAF; --sage-soft: #26332B; --clay: #E28D67; --clay-ink: #1B1410; --clay-soft: #3A2A22; --footer: #0D120F;
  --glass: rgb(18 24 21 / .55); --glass-line: rgb(255 255 255 / .12);
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -8px rgb(0 0 0 / .5); color-scheme: dark;
}

/* — Base — */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: calc(68px + env(safe-area-inset-bottom)); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 420; letter-spacing: -.02em; line-height: 1.08; margin: 0; font-optical-sizing: auto; }
h1 em, h2 em { font-style: italic; font-weight: 340; color: var(--sage-deep); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--pill); }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 8px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* — Demo bar — */
.demo-bar { background: var(--ink); color: var(--bg); font-size: 12px; line-height: 1.4; text-align: center; padding: 7px var(--gutter); }
.demo-bar a { color: inherit; font-weight: 600; white-space: nowrap; }

/* — Header — */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.hdr { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; height: 62px; gap: 8px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); justify-self: center; }
.logo .mark { width: 34px; height: 34px; color: var(--sage-deep); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-word { font: italic 400 26px/1 var(--serif); letter-spacing: -.02em; }
.logo-sub { font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); margin-top: 3px; }
.main-nav { display: none; }
.hdr-actions { display: flex; align-items: center; gap: 2px; justify-self: end; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: var(--pill); background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; transition: background .2s; }
.icon-btn:hover { background: var(--surface-2); }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--pill); background: var(--clay); color: var(--clay-ink); font: 700 11px/18px var(--sans); text-align: center; }
.only-desktop { display: none; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; } :root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-sun { display: block; } :root:not([data-theme="light"]) .i-moon { display: none; } }

/* — Buttons & chips — */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--pill); border: 1px solid transparent;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--clay); color: var(--clay-ink); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--clay) 70%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--clay) 88%, black); }
.btn-glass { background: var(--glass); color: var(--ink); border-color: var(--glass-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-small { min-height: 36px; padding: 0 14px; font-size: 13px; }
.chips { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--pill); font: 600 11.5px/1.2 var(--sans); letter-spacing: .02em; }
.chip .icon { width: 14px; height: 14px; }
.chip-glass { background: color-mix(in srgb, var(--surface) 86%, transparent); color: var(--ink); border: 1px solid var(--glass-line); }
.chip-clay { background: var(--clay); color: var(--clay-ink); }
.chip-muted { background: var(--ink); color: var(--bg); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; text-decoration: none; color: var(--sage-deep); white-space: nowrap; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* — Hero — */
.hero { position: relative; margin: 12px 12px 0; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; min-height: max(480px, calc(100svh - 250px)); display: flex; align-items: flex-end; background: var(--sand); }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(20 26 22 / .05) 0%, rgb(20 26 22 / .2) 28%, rgb(20 26 22 / .68) 52%, rgb(20 26 22 / .88) 100%); }
.hero-copy { padding: 20px 18px 22px; color: #FBFAF7; max-width: 640px; text-shadow: 0 1px 18px rgb(0 0 0 / .25); }
.hero h1 { font-size: clamp(36px, 10vw, 76px); margin: 12px 0 10px; color: #FBFAF7; }
.hero h1 em { color: #D7E3D2; }
.hero-lead { font-size: 15px; line-height: 1.5; color: rgb(251 250 247 / .9); max-width: 46ch; }
.hero .hero-cta { margin-top: 16px; }
.hero .btn { min-height: 46px; padding: 0 18px; }
.hero .chip-glass { background: rgb(255 255 255 / .2); color: #fff; border-color: rgb(255 255 255 / .35); }
.hero .btn-glass { background: rgb(255 255 255 / .16); color: #fff; border-color: rgb(255 255 255 / .38); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* — Category stories — */
.stories { display: flex; gap: 14px; overflow-x: auto; padding-top: 20px; padding-bottom: 6px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.stories::-webkit-scrollbar { display: none; }
.story { flex: none; display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; font-size: 12.5px; font-weight: 500; scroll-snap-align: start; }
.story-ring { display: block; padding: 2.5px; border-radius: 50%; background: linear-gradient(135deg, var(--sage), var(--sand)); }
.story-ring.is-new { background: conic-gradient(from 200deg, var(--clay), #E7B48F, var(--sage), var(--clay)); }
.story-ring img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); background: var(--surface-2); }

/* — Sections — */
.sec { padding-top: 44px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sec-head h2 { font-size: clamp(28px, 7vw, 44px); }

/* — Product rail & cards — */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 64%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 10px;
  scroll-padding-inline: var(--gutter); scrollbar-width: none; max-width: var(--max); margin: 0 auto; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.card { position: relative; min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card.is-soldout .card-media img { filter: grayscale(.6) opacity(.7); }
.fav { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--glass-line);
  background: color-mix(in srgb, var(--surface) 88%, transparent); cursor: pointer; color: var(--ink); transition: transform .2s var(--ease); }
.fav .icon { width: 18px; height: 18px; }
.fav[aria-pressed="true"] { color: var(--clay); }
.fav[aria-pressed="true"] .icon { fill: currentColor; }
.fav:active { transform: scale(.88); }
.card-body { padding: 10px 2px 0; }
.card-title { font: 500 15px/1.3 var(--sans); letter-spacing: 0; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.fav { z-index: 1; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.price { font-weight: 650; font-size: 15px; font-variant-numeric: tabular-nums; }
.price s { color: var(--ink-2); font-weight: 400; margin-right: 4px; }
.swatches { display: inline-flex; gap: 4px; }
.swatch { width: 13px; height: 13px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14); }

/* — Bento categories — */
.bento { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 172px; gap: 10px; }
.tile { position: relative; border-radius: var(--r); overflow: hidden; text-decoration: none; background: var(--surface-2); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgb(20 26 22 / .62)); }
.tile-big { grid-row: span 2; }
.tile-label { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; color: #fff;
  font: italic 400 24px/1 var(--serif); }
.tile-label .icon { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: rgb(255 255 255 / .2); backdrop-filter: blur(8px); }
.tile-big .tile-label { font-size: 30px; }

/* — Promises — */
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.promises li { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.promises .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-deep); }
.promises strong { display: block; font-size: 14.5px; }
.promises span { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }

/* — Feature (signature product) — */
.feature { display: grid; border-radius: var(--r-lg); overflow: hidden; background: var(--sage-soft); }
.feature-media { aspect-ratio: 4 / 4.2; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.feature-copy { padding: 24px 20px 26px; }
.feature-copy h2 { font-size: clamp(32px, 8vw, 52px); margin-bottom: 12px; }
.feature-copy > p:not(.kicker) { color: var(--ink-2); max-width: 52ch; }
.feature-price { margin-top: 14px !important; font: 600 22px/1 var(--sans); color: var(--ink) !important; }
.feature-price span { font-weight: 400; font-size: 14px; color: var(--ink-2); }

/* — Instagram — */
.ig { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; }
.ig-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-bottom: 14px; }
.ig-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: conic-gradient(from 210deg, var(--clay), #E7B48F, var(--sage), var(--clay)); }
.ig-head strong { display: block; font-size: 15px; }
.ig-head span { display: block; font-size: 13px; color: var(--ink-2); }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: var(--r-sm); overflow: hidden; }
.ig-tile { aspect-ratio: 1; overflow: hidden; background: var(--surface-2); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; }

/* — Store — */
.store { display: grid; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.store-media { position: relative; aspect-ratio: 4 / 3; }
.store-media img { width: 100%; height: 100%; object-fit: cover; }
.open-status { position: absolute; left: 14px; top: 14px; }
.open-status[data-state="open"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3E9B55; box-shadow: 0 0 0 4px rgb(62 155 85 / .25); animation: pulse 2s infinite; }
.open-status[data-state="closed"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgb(62 155 85 / 0); } }
.store-copy { padding: 22px 20px 24px; }
.store-copy h2 { font-size: clamp(30px, 7.5vw, 46px); margin-bottom: 14px; }
.store-addr { display: flex; align-items: flex-start; gap: 8px; color: var(--ink-2); }
.store-addr .icon { margin-top: 2px; }
.store-addr small { display: block; font-size: 12.5px; }
.hours { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px solid var(--line); }
.hours li { display: flex; justify-content: space-between; padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.hours li.is-today { font-weight: 650; color: var(--sage-deep); }

/* — Footer — */
.site-footer { margin-top: 64px; background: var(--footer); color: #D9DED8; padding: 40px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand p { margin-top: 12px; max-width: 42ch; color: #AEB7AF; font-size: 14.5px; }
.logo-light { color: #F2F1EC; justify-self: start; }
.logo-light .logo-sub { color: #AEB7AF; }
.site-footer h2 { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8FA58A; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.site-footer a { color: #E8EBE6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; font-size: 14.5px; line-height: 1.6; }
.foot-contact { margin-top: 8px; font-size: 14.5px; }
.foot-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .1); display: grid; gap: 6px; font-size: 12.5px; color: #AEB7AF; }
.foot-bottom a { text-decoration: underline; }

/* — Mobile tab bar — */
.tab-bar { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 6px; border-radius: 22px; background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--line);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: var(--shadow-lg); }
.tab-bar a, .tab-bar button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; border: 0; background: none; border-radius: 16px;
  font-size: 10.5px; font-weight: 550; text-decoration: none; color: var(--ink-2); cursor: pointer; }
.tab-bar [aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.tab-bar .icon { width: 22px; height: 22px; }
.tab-bar .badge { top: 0; right: calc(50% - 22px); }

/* — Drawer menu — */
.drawer { margin: 0; width: min(88vw, 380px); max-width: none; height: 100dvh; max-height: none; border: 0; padding: 16px; background: var(--bg); color: var(--ink); }
.drawer::backdrop { background: rgb(18 24 21 / .45); backdrop-filter: blur(2px); }
.drawer[open] { animation: slide .32s var(--ease); }
@keyframes slide { from { transform: translateX(-100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-head .logo { justify-self: start; }
.drawer-nav { display: grid; }
.drawer-nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); font: italic 400 26px/1.1 var(--serif); text-decoration: none; }
.drawer-nav .icon { color: var(--ink-2); }
.drawer-links { display: grid; gap: 4px; margin-top: 22px; }
.drawer-links a, .drawer-links button { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border: 0; background: none; text-align: left; font-size: 15px; text-decoration: none; cursor: pointer; border-radius: 12px; }
.drawer-links a:hover, .drawer-links button:hover { background: var(--surface-2); }

/* — Desktop — */
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  body { padding-bottom: 0; }
  .tab-bar, .only-mobile { display: none; }
  .only-desktop { display: inline-grid; }
  .hdr { grid-template-columns: auto 1fr auto; height: 72px; gap: 32px; }
  .logo { justify-self: start; }
  .main-nav { display: flex; justify-content: center; gap: 4px; }
  .main-nav a { padding: 8px 14px; border-radius: var(--pill); text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
  .main-nav .nav-accent { color: var(--clay); }
  .hero { margin: 16px auto 0; max-width: calc(var(--max) - 2 * var(--gutter) + 0px); min-height: 620px; }
  .hero::after { background: linear-gradient(90deg, rgb(20 26 22 / .8) 0%, rgb(20 26 22 / .5) 42%, rgb(20 26 22 / 0) 72%); }
  .hero-copy { padding: 56px; }
  .hero-lead { font-size: 18px; }
  .stories { justify-content: center; gap: 28px; padding-top: 32px; }
  .story-ring img { width: 84px; height: 84px; }
  .sec { padding-top: 72px; }
  .rail { grid-auto-columns: calc((100% - 2 * var(--gutter) - 36px) / 4); padding-inline: var(--gutter); }
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 14px; }
  .tile-big { grid-column: span 2; }
  .promises { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .promises li { flex-direction: row; align-items: center; padding: 18px; }
  .feature { grid-template-columns: 1fr 1.1fr; align-items: center; }
  .feature-media { aspect-ratio: auto; height: 100%; min-height: 520px; }
  .feature-copy { padding: 56px; }
  .ig { padding: 24px; }
  .ig-grid { grid-template-columns: repeat(6, 1fr); }
  .store { grid-template-columns: 1fr 1fr; }
  .store-media { aspect-ratio: auto; min-height: 100%; }
  .store-copy { padding: 48px; }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; }
  .foot-brand { grid-column: auto; }
}

/* ===================== Milestone 2: shop, product, cart, checkout ===================== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.center { justify-content: center; }
.narrow { max-width: 760px; }
.btn-wide { width: 100%; }
.link-btn { border: 0; background: none; padding: 0; color: var(--sage-deep); font: 600 13.5px/1 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.btn.loading { opacity: .75; pointer-events: none; }
.btn.loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* marquee strip */
.marquee { margin-top: 14px; overflow: hidden; background: var(--sage-deep); color: #F2F1EC; border-radius: var(--pill); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
:root[data-theme="dark"] .marquee { color: #121815; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .marquee { color: #121815; } }
.marquee-track > div { display: flex; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; font-size: 13.5px; font-weight: 550; white-space: nowrap; }
.marquee span::after { content: "✦"; margin-left: 18px; opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* hero product pick (desktop) */
.hero-pick { display: none; }
@media (min-width: 900px) {
  .hero-pick { position: absolute; right: 28px; bottom: 28px; display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; width: 300px; padding: 10px;
    border-radius: 20px; background: rgb(255 255 255 / .72); color: #1F2A24; text-decoration: none; border: 1px solid rgb(255 255 255 / .6);
    backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: var(--shadow-lg); transition: transform .3s var(--ease); text-shadow: none; }
  .hero-pick:hover { transform: translateY(-3px); }
  .hero-pick img { position: static; width: 76px; height: 95px; object-fit: cover; border-radius: 14px; }
  .hero-pick small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #A9532F; }
  .hero-pick strong { display: block; font: italic 400 21px/1.1 var(--serif); margin: 3px 0 4px; }
  .hero-pick span { font-weight: 650; }
}

/* card: sizes in stock slide up on hover (pointer devices) */
.card-sizes { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; justify-content: center; gap: 4px; padding: 7px; border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--glass-line);
  font: 600 11.5px/1 var(--sans); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease); }
.card-sizes span { min-width: 26px; text-align: center; padding: 3px 0; }
.card-sizes .out { color: var(--ink-2); text-decoration: line-through; opacity: .55; }
@media (hover: hover) { .card:hover .card-sizes { opacity: 1; transform: none; } }

/* page head, crumbs, category tabs */
.page-head { padding-top: 18px; padding-bottom: 6px; }
.page-head h1 { font-size: clamp(34px, 9vw, 60px); }
.page-lead { margin-top: 10px; color: var(--ink-2); max-width: 60ch; font-size: 16.5px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 12px; padding: 0; font-size: 13px; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 18px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a { flex: none; padding: 9px 16px; border-radius: var(--pill); border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 550; background: var(--surface); }
.cat-tabs a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* toolbar, chips, grid */
.toolbar { position: sticky; top: 62px; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 0; margin-top: 8px;
  background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.toolbar .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: var(--pill); background: var(--clay); color: var(--clay-ink); font-size: 11px; }
.result-count { color: var(--ink-2); font-size: 13.5px; }
.sort { margin-left: auto; }
.sort select { appearance: none; min-height: 36px; padding: 0 34px 0 14px; border-radius: var(--pill); border: 1px solid var(--line); background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2356615A%22 stroke-width=%222.5%22%3E%3Cpath d=%22m6 9 6 6 6-6%22/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; color: var(--ink); font: 550 13px var(--sans); cursor: pointer; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 14px; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface);
  text-decoration: none; font-size: 14px; font-weight: 550; transition: background .2s, border-color .2s; }
.fchip:hover { border-color: var(--ink-2); }
.fchip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fchip .swatch { width: 16px; height: 16px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; margin-top: 8px; }
.empty { text-align: center; padding: 48px 16px; display: grid; justify-items: center; gap: 10px; }
.empty h2, .empty h1 { font-size: 28px; }
.empty p { color: var(--ink-2); max-width: 40ch; }
.empty .btn { margin-top: 8px; }
.empty-icon { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-deep); }
.empty-page { padding-top: 80px; padding-bottom: 40px; }

/* bottom sheet dialog (filters, size guide, lockers) */
.sheet { width: 100%; max-width: 560px; max-height: 88dvh; margin: auto auto 0; padding: 0; border: 0; border-radius: 26px 26px 0 0; background: var(--bg); color: var(--ink); display: none; flex-direction: column; }
.sheet[open] { display: flex; animation: sheet-up .32s var(--ease); }
.sheet::backdrop { background: rgb(18 24 21 / .45); backdrop-filter: blur(2px); }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 6px; }
.sheet-head h2 { font-size: 26px; }
.sheet-body { padding: 6px 18px 18px; overflow-y: auto; display: grid; gap: 18px; align-content: start; }
.sheet-body fieldset { border: 0; padding: 0; margin: 0; }
.sheet-body legend { font-weight: 650; margin-bottom: 10px; }
.sheet-foot { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-tall { height: 88dvh; }
@media (min-width: 900px) { .sheet { margin: auto; border-radius: 26px; max-height: 80vh; } .sheet-tall { height: 80vh; } }

/* product page */
.pdp { display: grid; gap: 22px; }
.gallery { position: relative; margin: 0 calc(-1 * var(--gutter)); }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 4 / 5; background: var(--surface-2); }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; }
.gallery-dots span { width: 7px; height: 7px; border-radius: var(--pill); background: rgb(255 255 255 / .6); box-shadow: 0 0 0 1px rgb(0 0 0 / .08); transition: width .25s; }
.gallery-dots span.on { width: 22px; background: #fff; }
.gallery .chips { top: 14px; left: calc(var(--gutter) + 2px); }
.buy h1 { font-size: clamp(32px, 8.5vw, 50px); }
.pdp-price { margin-top: 10px; font: 650 24px/1 var(--sans); }
.pdp-price span { font-size: 13px; font-weight: 400; color: var(--ink-2); }
.pdp-price s { color: var(--ink-2); font-weight: 400; }
.instore { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 11px 14px; border-radius: var(--r-sm); background: var(--sage-soft); color: var(--ink); font-size: 14px; }
.instore .icon { color: var(--sage-deep); }
.buy-form { margin-top: 18px; display: grid; gap: 18px; }
.opt { border: 0; padding: 0; margin: 0; min-width: 0; }
.opt legend { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 10px; font-size: 14.5px; }
.opt legend .link-btn { margin-left: auto; }
.colors { display: flex; gap: 10px; }
.color-opt, .size-opt { position: relative; }
.color-opt input, .size-opt input { position: absolute; opacity: 0; pointer-events: none; }
.swatch-lg { display: block; width: 38px; height: 38px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14), 0 0 0 3px var(--bg); cursor: pointer; transition: box-shadow .2s; }
.color-opt input:checked + .swatch-lg { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14), 0 0 0 3px var(--bg), 0 0 0 5px var(--ink); }
.color-opt input:focus-visible + .swatch-lg { outline: 2px solid var(--clay); outline-offset: 6px; }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.size-opt span { display: grid; place-items: center; height: 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; cursor: pointer; transition: all .15s; }
.size-opt input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.size-opt input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.size-opt.is-out span { color: var(--ink-2); background: transparent; text-decoration: line-through; opacity: .5; cursor: not-allowed; }
.sizes.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.stock-hint { min-height: 20px; margin-top: 10px; font-size: 13.5px; color: var(--sage-deep); font-weight: 550; }
.stock-hint.is-low { color: var(--clay); }
.stock-hint.is-out { color: var(--ink-2); }
.buy-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.buy-actions .btn { min-height: 54px; font-size: 16px; }
.buy-actions .btn.added { background: var(--sage-deep); }
.fav-inline { position: static; width: 54px; height: 54px; background: var(--surface); border-color: var(--line); }
.btn-wa .icon { color: #25A35A; }
.perks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks .icon { color: var(--sage-deep); }
.acc { margin-top: 20px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; font-weight: 650; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 400 22px/1 var(--sans); color: var(--ink-2); transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc p { margin: 0 2px 14px; color: var(--ink-2); }
.sticky-buy { position: fixed; z-index: 41; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px;
  border-radius: 22px; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow-lg); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.sticky-buy[hidden] { display: none; }
.sticky-buy div { flex: 1; min-width: 0; display: grid; }
.sticky-buy strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.sticky-buy span { font-size: 13px; color: var(--ink-2); }
.size-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; }
.size-table th, .size-table td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.size-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }

/* toast */
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 24px); padding: 10px 10px 10px 18px;
  border-radius: 18px; background: var(--ink); color: var(--bg); box-shadow: var(--shadow-lg); transform: translate(-50%, 20px); opacity: 0; transition: all .35s var(--ease); font-size: 14px; }
.toast.in { transform: translate(-50%, 0); opacity: 1; }
.toast .btn { min-height: 36px; }

/* cart */
.cart-layout { display: grid; gap: 24px; align-items: start; }
.free-bar { padding: 14px 16px; border-radius: var(--r); background: var(--sage-soft); margin-bottom: 14px; font-size: 14px; }
.free-bar .bar { display: block; height: 6px; margin-top: 10px; border-radius: var(--pill); background: color-mix(in srgb, var(--sage-deep) 18%, transparent); overflow: hidden; }
.free-bar i { display: block; height: 100%; border-radius: inherit; background: var(--sage-deep); transition: width .5s var(--ease); }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.line.is-out { opacity: .7; }
.line-img img { width: 84px; height: 105px; object-fit: cover; border-radius: 12px; background: var(--surface-2); }
.line-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.line-name { font-weight: 600; text-decoration: none; }
.line-meta { font-size: 13px; color: var(--ink-2); }
.line-warn { font-size: 12.5px; color: var(--clay); font-weight: 600; }
.line-end { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; margin-top: auto; border: 1px solid var(--line); border-radius: var(--pill); width: max-content; }
.qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 18px; cursor: pointer; border-radius: 50%; color: var(--ink); }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty output { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.line-skeleton { height: 131px; border-radius: var(--r); background: linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.summary { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; }
.summary[hidden] { display: none; }
.summary h2 { font-size: 26px; }
.sum { margin: 0; display: grid; gap: 8px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.sum dt { color: var(--ink-2); }
.sum dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.sum-total { padding-top: 10px; border-top: 1px solid var(--line); }
.sum-total dt, .sum-total dd { color: var(--ink); font-size: 18px; font-weight: 700; }
.pay-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pay-logos li { padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); font-size: 11.5px; font-weight: 700; color: var(--ink-2); }

/* checkout */
.back { flex-direction: row-reverse; margin-bottom: 6px; }
.back .icon { transform: rotate(180deg); }
.checkout { display: grid; gap: 24px; align-items: start; margin-top: 8px; }
.steps { display: grid; gap: 14px; }
.step { padding: 20px 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; }
.step h2 { display: flex; align-items: center; gap: 12px; font-size: 24px; }
.step-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); font: 700 14px/1 var(--sans); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields[hidden] { display: none; }
.field { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); grid-column: 1 / -1; }
@media (min-width: 560px) { .field:not(.field-full) { grid-column: auto; } }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 400 16px var(--sans); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 70px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage-deep); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sage) 25%, transparent); }
.field.has-error input { border-color: var(--clay); }
[data-err] { color: var(--clay); font-size: 12.5px; font-weight: 600; }
[data-err]:empty { display: none; }
.choices { display: grid; gap: 10px; }
.choice { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; transition: border-color .2s, background .2s; }
.choice input { position: absolute; opacity: 0; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink); }
.choice:has(input:focus-visible) { outline: 2px solid var(--clay); outline-offset: 2px; }
.choice[hidden] { display: none; }
.choice-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--sage-soft); color: var(--sage-deep); }
.pay-blik { background: #1F1F1F; color: #fff; font: 800 11px/1 var(--sans); letter-spacing: .02em; }
.choice-text { display: grid; }
.choice-text small { color: var(--ink-2); font-size: 12.5px; }
.choice-price { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.choice-price s { color: var(--ink-2); font-weight: 400; margin-right: 4px; }
.sub-choice[hidden] { display: none; }
.locker-picked { display: grid; gap: 2px; margin-bottom: 10px; padding: 12px 14px; border-radius: 14px; background: var(--sage-soft); font-size: 14px; }
.locker-picked[hidden] { display: none; }
.note-box { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--sage-soft); font-size: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--sage-deep); flex: none; }
.form-error { padding: 12px 14px; border-radius: 14px; background: var(--clay-soft); color: var(--ink); font-size: 14px; }
.form-error[hidden] { display: none; }
.test-note, .template-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); font-size: 13px; color: var(--ink-2); }
.test-note .icon, .template-note .icon { color: var(--clay); margin-top: 1px; }
.mini-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mini-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 13.5px; }
.mini-lines img { width: 56px; height: 70px; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.mini-lines div { display: grid; }
.mini-lines span { color: var(--ink-2); font-size: 12.5px; }
.locker-map { border-radius: 18px; overflow: hidden; height: 170px; flex: none; }
.locker-map svg { display: block; width: 100%; height: 100%; }
.map-pin.is-on circle { fill: var(--ink); }
.search { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 6px 6px 6px 16px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); }
.search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--ink); font: 400 16px var(--sans); padding: 10px 0; outline: none; }
.search-sm { margin-top: 0; }
.suggest { margin-top: 14px; }
.lockers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lockers li[hidden] { display: none; }
.locker { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; }
.locker.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.locker-pin { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--clay); color: var(--clay-ink); font: 700 13px/1 var(--sans); }
.locker-text { display: grid; font-size: 13.5px; }
.locker-text span { color: var(--ink-2); }
.locker-text small { color: var(--ink-2); font-size: 12px; }
.locker-check { opacity: 0; color: var(--sage-deep); }
.locker.is-on .locker-check { opacity: 1; }

/* payment gateway */
.paybox { margin: 28px auto 0; max-width: 460px; padding: 26px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 14px; }
.paybox-brand { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-2); }
.paybox-brand .icon { color: var(--clay); }
.paybox-amount { display: grid; font: 700 40px/1.1 var(--sans); font-variant-numeric: tabular-nums; }
.paybox-amount span { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.blik-label { font-weight: 650; }
.blik { width: 100%; height: 72px; text-align: center; font: 700 36px/1 var(--sans); letter-spacing: .18em; border-radius: 18px; border: 2px solid var(--line); background: var(--bg); color: var(--ink); font-variant-numeric: tabular-nums; }
.blik:focus { outline: none; border-color: var(--ink); }
.banks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bank { position: relative; }
.bank input { position: absolute; opacity: 0; }
.bank span { display: grid; place-items: center; height: 56px; border-radius: 14px; border: 1px solid var(--line); font-weight: 600; font-size: 13.5px; cursor: pointer; }
.bank input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

/* confirmation */
.confirm { display: grid; gap: 18px; padding-top: 18px; }
.confirm-hero { text-align: center; display: grid; justify-items: center; gap: 6px; }
.confirm-hero h1 { font-size: clamp(36px, 9vw, 56px); }
.tick { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--sage-deep); color: #fff; margin-bottom: 8px; }
.tick .icon { width: 36px; height: 36px; stroke-width: 2.6; }
.tick.pop { animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.12); } }
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; font-size: 12px; color: var(--ink-2); }
.track li { display: grid; gap: 8px; justify-items: center; }
.track span { width: 100%; height: 6px; border-radius: var(--pill); background: var(--line); }
.track .done span { background: var(--sage-deep); }
.track .current { color: var(--ink); font-weight: 650; }
.confirm-card, .email-preview { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; }
.confirm-card h2, .email-bar h2 { font-size: 24px; }
.facts { margin: 0; display: grid; gap: 10px; }
.facts div { display: grid; gap: 2px; }
.facts dt { display: flex; gap: 8px; align-items: center; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.facts dt .icon { width: 15px; height: 15px; }
.facts dd { margin: 0; }
.email-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.email-bar h2 { display: flex; gap: 10px; align-items: center; }
.email { padding: 18px; border-radius: 16px; background: var(--bg); border: 1px dashed var(--line); font-size: 14.5px; display: grid; gap: 10px; }
.email-meta { font-size: 12.5px; color: var(--ink-2); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.email pre { margin: 0; white-space: pre-wrap; font: 500 13.5px/1.6 var(--sans); }

/* documents */
.doc { padding-top: 24px; }
.doc h1 { font-size: clamp(34px, 8vw, 52px); }
.doc h2 { font-size: 24px; margin: 26px 0 8px; }
.doc p { color: var(--ink-2); margin-bottom: 8px; }
.doc .template-note { margin-top: 18px; }
.credits { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.credits li { display: flex; gap: 12px; align-items: center; font-size: 13.5px; }
.credits img { width: 48px; height: 60px; object-fit: cover; border-radius: 8px; }

@media (min-width: 900px) {
  .toolbar { top: 72px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 18px; }
  .pdp { grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
  .gallery { margin: 0; }
  .gallery-track { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; overflow: visible; }
  .gallery-slide { border-radius: var(--r); overflow: hidden; }
  .gallery-slide:first-child { grid-column: 1 / -1; }
  .gallery-dots { display: none; }
  .gallery .chips { left: 14px; }
  .buy { position: sticky; top: 96px; }
  .sticky-buy { display: none !important; }
  .cart-layout, .checkout { grid-template-columns: 1fr 380px; gap: 32px; }
  .summary-sticky { position: sticky; top: 96px; }
  .toast { bottom: 28px; }
}

/* ===================== Milestone 3: PWA, owner app ===================== */
.offline-bar { position: sticky; top: 0; z-index: 50; padding: 9px var(--gutter); background: var(--clay); color: var(--clay-ink); font-size: 13px; font-weight: 600; text-align: center; }
.drawer-links button[data-install] { color: var(--sage-deep); font-weight: 600; }

/* install promo on the home page */
.app-promo { display: grid; gap: 22px; align-items: center; padding: 26px 22px; border-radius: var(--r-lg); background: var(--ink); color: var(--bg); overflow: hidden; position: relative; }
.app-promo h2 { font-size: clamp(30px, 7vw, 46px); color: var(--bg); margin-bottom: 12px; }
.app-promo h2 em { color: #B5CDAF; }
.app-promo .kicker { color: #B5CDAF; }
.app-promo p:not(.kicker) { color: color-mix(in srgb, var(--bg) 78%, transparent); max-width: 52ch; margin-bottom: 18px; }
.app-promo-art { justify-self: center; display: grid; justify-items: center; gap: 10px; padding: 26px 34px; border-radius: 30px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); }
.app-promo-art img { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 18px 40px -12px rgb(0 0 0 / .6); }
.app-promo-art span { font-size: 13px; font-weight: 600; }
@media (min-width: 900px) { .app-promo { grid-template-columns: 1.4fr 1fr; padding: 48px; } }

/* install guide */
.install-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.install-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; }
.install-steps .step-n { flex: none; }
.ios-key { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-left: 8px; vertical-align: middle; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: #2F7CF6; }

/* push opt-in + feed (confirmation page and panel) */
.panel-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.panel-card h2 { display: flex; align-items: center; gap: 10px; font: 650 17px/1.3 var(--sans); letter-spacing: 0; }
.panel-card h2 .icon { color: var(--sage-deep); }
.panel-card > div { flex: 1 1 240px; display: grid; gap: 4px; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feed li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.feed li span { color: var(--ink-2); }
.feed li small { color: var(--ink-2); font-size: 12px; }
.feed li.is-new { border-color: var(--sage-deep); box-shadow: inset 3px 0 0 var(--sage-deep); }
.feed:empty { display: none; }
.offline-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.offline-list a { text-decoration-color: var(--line); }

/* owner app */
.panel-head { position: sticky; top: 0; z-index: 30; background: var(--ink); color: var(--bg); }
.panel-head-row { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.panel-head .icon-btn { color: var(--bg); }
.panel-head .icon-btn:hover { background: rgb(255 255 255 / .08); }
.panel-brand { display: flex; align-items: center; gap: 10px; color: var(--bg); text-decoration: none; }
.panel-brand .mark { width: 30px; height: 30px; color: #B5CDAF; }
.panel-brand span { display: grid; line-height: 1.15; }
.panel-brand strong { font: italic 400 21px/1 var(--serif); }
.panel-brand small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #AEB7AF; }
.panel-main { display: grid; gap: 22px; padding-top: 20px; padding-bottom: 30px; }
.panel-main .sec-head { margin-bottom: 10px; }
.panel-main .sec-head h2 { font-size: 26px; }
.panel-hello h1 { font-size: clamp(34px, 9vw, 52px); }
.panel-hello .kicker { text-transform: capitalize; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stats li { display: grid; gap: 4px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.stats span { font-size: 12.5px; color: var(--ink-2); }
.stats strong { font: 700 26px/1 var(--sans); font-variant-numeric: tabular-nums; }
.stats li:first-child { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.stats li:first-child span { color: rgb(255 255 255 / .8); }
.ocards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ocard { display: grid; gap: 4px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 80px; }
.ocard:target { border-color: var(--clay); box-shadow: 0 0 0 3px var(--clay-soft); }
.ocard-top { display: flex; align-items: center; justify-content: space-between; }
.ocard-top strong { font-size: 17px; }
.ocard-name { font-weight: 600; }
.ocard-name span, .ocard-items, .ocard-meta, .ocard-time { color: var(--ink-2); font-size: 13.5px; }
.ocard-time { font-size: 12px; }
.ocard .btn { justify-self: start; margin-top: 8px; }
.unpaid { color: var(--clay); font-style: normal; font-weight: 600; }
.ostatus { padding: 4px 10px; border-radius: var(--pill); font-size: 12px; font-weight: 700; background: var(--surface-2); }
.s-nowe { background: var(--clay); color: var(--clay-ink); }
.s-spakowane { background: #E7B48F; color: #2a1a10; }
.s-wyslane, .s-gotowe { background: var(--sage-soft); color: var(--sage-deep); }
.s-odebrane { background: var(--surface-2); color: var(--ink-2); }
.soon { opacity: .85; }
.prints { display: grid; gap: 10px; }
.print { align-items: flex-start; justify-content: flex-start; color: var(--ink); }
.print > .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--sage-soft); color: var(--sage-deep); }
.login { max-width: 420px; margin: 40px auto 0; display: grid; gap: 14px; text-align: center; }
.login h1 { font-size: 44px; }
.login-form { display: grid; gap: 14px; text-align: left; margin-top: 10px; }
.pin { text-align: center; font: 700 30px/1 var(--sans) !important; letter-spacing: .4em; }
.demo-pin { display: inline-flex; align-self: center; justify-self: center; gap: 8px; align-items: center; padding: 10px 16px; border-radius: var(--pill); background: var(--sage-soft); font-size: 14px; }
.demo-pin .icon { color: var(--clay); }
.panel-tabs { grid-template-columns: repeat(5, 1fr); }
@media (min-width: 900px) {
  .panel-body { padding-bottom: 90px; }
  .panel-tabs { display: grid !important; left: 50%; right: auto; width: 480px; transform: translateX(-50%); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .ocards { grid-template-columns: 1fr 1fr; }
  .prints { grid-template-columns: 1fr 1fr; }
  .panel-main { max-width: 980px; }
}

/* ===================== Milestone 4: sales modes ===================== */
.btn-wa-solid { background: #1F8F4E; color: #fff; box-shadow: 0 8px 20px -8px rgb(31 143 78 / .6); }
.btn-wa-solid:hover { background: #187A42; }
.btn-wa-solid .icon { color: #fff; }
.btn small { font-weight: 500; opacity: .75; }
.alt-actions { display: grid; gap: 10px; }
@media (min-width: 560px) { .alt-actions:has(> :nth-child(2)) { grid-template-columns: 1fr 1fr; } }
.ask-link { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--sage-deep); text-decoration: none; }
.ask-link:hover { text-decoration: underline; }
.ask-link .icon { width: 18px; height: 18px; color: #1F8F4E; }
.reserve-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--sage-soft); font-size: 13.5px; scroll-margin-top: 90px; }
.reserve-note .icon { color: var(--sage-deep); margin-top: 1px; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* chips that are real radio/checkbox inputs */
.fchip-radio { position: relative; cursor: pointer; }
.fchip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.fchip-radio:has(input:checked) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fchip-radio:has(input:focus-visible) { outline: 2px solid var(--clay); outline-offset: 2px; }

/* reservation */
.hold-choices { grid-template-columns: 1fr 1fr; }
.hold-choices .choice { grid-template-columns: auto 1fr; }
.countdown { margin-top: 6px; padding: 10px 18px; border-radius: var(--pill); background: var(--sage-soft); color: var(--sage-deep); font-size: 14px; font-variant-numeric: tabular-nums; }
.countdown b { font-size: 18px; color: var(--ink); }
.countdown.is-over { background: var(--clay-soft); color: var(--clay); }
.tick-sage { background: var(--clay); }
.track-3 { grid-template-columns: repeat(3, 1fr); }
.summary .store-addr { font-size: 14px; }
.summary .hours li { font-size: 13.5px; padding: 6px 2px; text-transform: capitalize; }

/* styling request */
.styling { display: grid; gap: 14px; max-width: 760px; }
.styling .step { gap: 16px; }
.styling .opt legend { font-weight: 650; color: var(--ink-2); font-size: 13.5px; }
.photo-drop { position: relative; display: grid; place-items: center; min-height: 150px; padding: 20px; border: 2px dashed var(--line); border-radius: var(--r); background: var(--bg); text-align: center; cursor: pointer; color: var(--ink-2); font-size: 14px; }
.photo-drop:hover { border-color: var(--sage); }
.photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-drop span { display: grid; justify-items: center; gap: 8px; max-width: 36ch; }
.photo-drop .icon { width: 30px; height: 30px; color: var(--sage-deep); }
.photo-drop img { max-height: 260px; width: auto; border-radius: 12px; }

/* owner panel: reservations */
.res-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.r-oczekuje { background: var(--clay); color: var(--clay-ink); }
.r-potwierdzona { background: var(--sage-soft); color: var(--sage-deep); }
.r-kupiona { background: var(--sage-deep); color: #fff; }
.r-zwolniona, .r-wygasla { background: var(--surface-2); color: var(--ink-2); }
.ocard-time.is-soon { color: var(--clay); font-weight: 650; }
.ocard-name a { color: inherit; }

/* ===================== Milestone 5: inventory ===================== */
.panel-head-actions { display: flex; gap: 2px; }
.notify-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.notify-link .icon { width: 16px; height: 16px; }

/* till */
.scan-box { display: grid; gap: 12px; }
.scanner { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #000; aspect-ratio: 3 / 4; max-height: 60vh; }
.scanner video { width: 100%; height: 100%; object-fit: cover; }
.scan-frame { position: absolute; inset: 22% 18%; border: 3px solid rgb(255 255 255 / .9); border-radius: 22px; box-shadow: 0 0 0 999px rgb(0 0 0 / .35); }
.scan-frame::after { content: ""; position: absolute; left: 8%; right: 8%; top: 50%; height: 2px; background: var(--clay); animation: scanline 1.8s ease-in-out infinite; }
@keyframes scanline { 50% { transform: translateY(-60px); } }
.scan-stop { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); color: #fff; background: rgb(0 0 0 / .45); border-color: rgb(255 255 255 / .4); }
.finds { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.find { width: 100%; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; }
.find img { width: 40px; height: 50px; object-fit: cover; border-radius: 8px; }
.find span { display: grid; font-size: 14px; }
.find small { color: var(--ink-2); font-size: 12px; }
.find:disabled { opacity: .5; cursor: not-allowed; }
.receipt { display: grid; gap: 12px; align-items: stretch; }
.receipt h2 { margin-bottom: 4px; }
.rlines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rlines li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
.rlines li div:first-child { display: grid; }
.rlines span { color: var(--ink-2); font-size: 12.5px; }
.rlines .qty { margin: 0; }

/* stock */
.stock-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.stock-tools label.btn { cursor: pointer; }
.stock-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.srow { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.srow img { width: 44px; height: 55px; object-fit: cover; border-radius: 8px; }
.srow-info { display: grid; min-width: 0; font-size: 14px; }
.srow-info span { color: var(--ink-2); font-size: 12.5px; }
.srow-info code { font-size: 11.5px; }
.srow .waiting { color: var(--clay); font-weight: 650; }
.srow-qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--pill); }
.srow-qty button { width: 36px; height: 36px; border: 0; background: none; font-size: 18px; color: var(--ink); cursor: pointer; border-radius: 50%; }
.srow-qty output { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.srow.is-low { border-color: #E7B48F; }
.srow.is-low output { color: var(--clay); }
.srow.is-out { background: var(--surface-2); }
.srow.is-out output { color: var(--ink-2); }
.history li strong { font-size: 14px; }
