/* Odcień: palarnia kawy z Nadodrza. Projekt demonstracyjny TP Digital. */

@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:200 800;font-stretch:75% 100%;font-display:swap;src:url(../fonts/bricolage-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:'Bricolage Grotesque';font-style:normal;font-weight:200 800;font-stretch:75% 100%;font-display:swap;src:url(../fonts/bricolage-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:'Schibsted Grotesk';font-style:normal;font-weight:400 900;font-display:swap;src:url(../fonts/schibsted-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:'Schibsted Grotesk';font-style:normal;font-weight:400 900;font-display:swap;src:url(../fonts/schibsted-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}

@property --qc { syntax: '<color>'; inherits: true; initial-value: #C9C4BA; }

:root {
  --ink: #1B1512;
  --ink-2: #3A322D;
  --muted: #5C544E;
  --paper: #F2F1ED;
  --stone: #E3E0D9;
  --stone-2: #D3CEC4;
  --white: #FFFFFF;
  --roast: #211915;
  --swatch: #F39A45;
  --swatch-t: #1B1512;
  --line: rgba(27, 21, 18, .14);
  --f-display: 'Bricolage Grotesque', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --f-text: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --head-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
html.is-locked { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
svg { display: block; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 18px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }

.h-section {
  font-family: var(--f-display); font-weight: 800; font-stretch: 75%;
  font-size: clamp(44px, 6.4vw, 100px); line-height: .9; letter-spacing: -.028em;
  text-wrap: balance;
}

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 2px solid transparent; border-radius: 4px;
  font: 600 16px/1.1 var(--f-text); text-decoration: none; letter-spacing: .005em;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--white); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--label { background: var(--t); color: var(--c); }
.btn--label:hover { filter: brightness(1.15); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; background: transparent; border-radius: 50%; }
.icon-btn:hover { background: rgba(27, 21, 18, .08); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.link-btn { background: none; border: 0; padding: 10px 0; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---------- nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--head-h);
  background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__in {
  height: 100%; display: flex; align-items: center; gap: 32px;
  padding-inline: var(--gut); max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.logo__swatch { width: 24px; height: 24px; background: var(--swatch); transition: background-color .45s var(--ease); box-shadow: inset 0 0 0 1px rgba(27,21,18,.08); }
.logo__word { font: 800 34px/1 var(--f-display); font-stretch: 75%; letter-spacing: -.035em; transform: translateY(-1px); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 12px 12px; font-weight: 500; font-size: 15.5px; text-decoration: none; border-radius: 4px; }
.nav a:hover { background: rgba(27, 21, 18, .07); }
.nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.site-header__tools { display: flex; align-items: center; gap: 8px; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 16px;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 4px; font-weight: 600; font-size: 15.5px;
}
.cart-btn__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.cart-btn__count {
  min-width: 30px; height: 30px; padding: 0 8px; display: inline-grid; place-items: center;
  background: var(--swatch); color: var(--swatch-t, var(--ink)); border-radius: 3px; font: 700 15px/1 var(--f-text); font-variant-numeric: tabular-nums;
  transition: background-color .45s var(--ease), color .45s;
}
.cart-btn__count.is-zero { background: rgba(242, 241, 237, .16); color: var(--paper); }
.cart-btn__count.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.35) rotate(-6deg); } 100% { transform: scale(1); } }
.menu-btn { display: none; width: 46px; height: 46px; border: 2px solid var(--ink); background: transparent; border-radius: 4px; position: relative; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); content: ''; transition: transform .25s var(--ease), opacity .2s; }
.menu-btn__bars { top: 50%; margin-top: -1px; }
.menu-btn__bars::before { left: 0; right: 0; top: -7px; }
.menu-btn__bars::after { left: 0; right: 0; top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-7px) rotate(-45deg); }

.menu {
  position: fixed; inset: var(--head-h) 0 0 0; z-index: 39; background: var(--paper);
  padding: 24px var(--gut) 32px; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease); overflow-y: auto;
}
.menu.is-open { opacity: 1; transform: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font: 800 44px/1.08 var(--f-display); font-stretch: 75%; letter-spacing: -.02em; text-decoration: none; padding: 6px 0; }
.menu__foot { color: var(--muted); font-size: 15px; }

/* ---------- opakowanie ---------- */
.bag {
  position: relative; container-type: inline-size; width: 100%; aspect-ratio: 7 / 10;
  background: #F8F7F3; color: var(--ink); border-radius: 3px 3px 8px 8px; overflow: hidden;
  box-shadow: 0 34px 44px -28px rgba(27, 21, 18, .55), 0 12px 18px -12px rgba(27, 21, 18, .35);
  transform-origin: 50% 100%;
}
.bag__top { position: absolute; inset: 0 0 auto 0; height: 31%; }
.bag__seal {
  position: absolute; left: 0; right: 0; top: 0; height: 8cqw;
  background: repeating-linear-gradient(90deg, rgba(27,21,18,.075) 0 1px, transparent 1px 3px);
  border-bottom: 1px solid rgba(27, 21, 18, .1);
}
.bag__valve {
  position: absolute; right: 8cqw; top: 13.5cqw; width: 9cqw; height: 9cqw; border-radius: 50%;
  background: radial-gradient(circle at 42% 36%, #fff 0 18%, #E7E5E0 40%, #CFCBC3 100%);
  box-shadow: inset 0 0 0 1.4cqw #EFEDE8, 0 0 0 1px rgba(27,21,18,.08);
}
.bag__logo {
  position: absolute; left: 8cqw; top: 13cqw; display: flex; align-items: center; gap: 2cqw;
  font: 800 11.5cqw/1 var(--f-display); font-stretch: 75%; letter-spacing: -.03em;
}
.bag__logo i { width: 5.5cqw; height: 5.5cqw; background: var(--c); display: block; transform: translateY(.3cqw); }
.bag__city { position: absolute; left: 8cqw; top: 26cqw; font: 500 3.7cqw/1.2 var(--f-text); color: #5C544E; }
.bag__label {
  position: absolute; left: 0; right: 0; bottom: 0; top: 31%;
  background: var(--c); color: var(--t); padding: 5cqw 8cqw 6.5cqw;
  display: flex; flex-direction: column; transition: background-color .7s var(--ease), color .5s;
}
.bag__row { display: flex; justify-content: space-between; gap: 4cqw; font: 600 4cqw/1.2 var(--f-text); }
.bag__row span:first-child::first-letter { text-transform: uppercase; }
.bag__row--foot { margin-top: auto; padding-top: 3cqw; border-top: .6cqw solid currentColor; }
.bag__origin {
  margin-top: 4cqw; font: 800 calc(156cqw / var(--len)) / .84 var(--f-display); font-stretch: 75%;
  letter-spacing: -.035em; white-space: nowrap;
}
.bag__origin--q { font-size: 40cqw; line-height: .8; }
.bag__name { margin-top: 2.5cqw; font: 700 6.4cqw/1.05 var(--f-display); font-stretch: 85%; letter-spacing: -.01em; }
.bag__notes { margin-top: 3.5cqw; font: 500 4.4cqw/1.28 var(--f-text); }
.bag__sticker {
  position: absolute; right: 5cqw; top: 22%; width: 25cqw; height: 25cqw; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 3cqw;
  background: var(--ink); color: var(--paper); font: 700 4.1cqw/1.05 var(--f-text);
  transform: rotate(-12deg); box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.bag__shade {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(0,0,0,.2) 0, rgba(0,0,0,0) 6%, rgba(255,255,255,.18) 13%, rgba(255,255,255,0) 26%, rgba(0,0,0,0) 70%, rgba(0,0,0,.07) 86%, rgba(0,0,0,.22) 100%),
    linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 30.6%, rgba(0,0,0,.08) 31%, rgba(255,255,255,.06) 31.8%, rgba(0,0,0,0) 38%, rgba(0,0,0,0) 90%, rgba(0,0,0,.14) 100%);
}

/* ---------- pierwszy ekran ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); overflow-x: clip;
  min-height: min(calc(100svh - var(--head-h)), 940px); min-height: max(640px, min(calc(100svh - var(--head-h)), 940px));
}
.hero__text {
  position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center;
  padding: 40px 48px 200px max(var(--gut), calc((100vw - var(--max)) / 2));
}
.hero__title {
  font-family: var(--f-display); font-weight: 800; font-stretch: 75%;
  font-size: clamp(60px, 7.9vw, 132px); line-height: .88; letter-spacing: -.022em;
}
.hero__title span { display: inline; }
.hero__lead { margin-top: 30px; max-width: 34em; font-size: 18.5px; line-height: 1.5; color: var(--ink-2); }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__roast { margin-top: 26px; display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); max-width: 38em; }
.hero__drum {
  flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink);
  background: conic-gradient(var(--swatch) 0 25%, transparent 0 50%, var(--swatch) 0 75%, transparent 0);
  animation: spin 3.2s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__photo { position: relative; margin: 0; min-height: 100%; background: #2a1d16; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero__photo figcaption {
  position: absolute; right: 20px; top: 20px; max-width: 18em; padding: 10px 14px;
  background: rgba(27, 21, 18, .82); color: var(--paper); font-size: 13.5px; line-height: 1.35;
}
.hero__bags {
  position: absolute; z-index: 3; bottom: 0; left: 50%;
  width: clamp(380px, 38vw, 600px); height: clamp(300px, 30vw, 470px); transform: translateX(-10%);
  pointer-events: none;
}
.hero__bag { position: absolute; bottom: 34px; }
.hero__bag--a { left: 0; width: 37%; z-index: 1; }
.hero__bag--b { left: 30%; width: 43%; z-index: 3; bottom: 18px; }
.hero__bag--c { left: 64%; width: 36%; z-index: 2; bottom: 44px; }
.hero__bag .bag { position: relative; }
.hero__bag--a .bag { transform: rotate(-7deg); }
.hero__bag--b .bag { transform: rotate(1.5deg); }
.hero__bag--c .bag { transform: rotate(8deg); }
.hero__bag::after {
  content: ''; position: absolute; left: 8%; right: 8%; bottom: -12px; height: 22px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(27,21,18,.45), rgba(27,21,18,0)); z-index: -1;
}
.hero__bag { animation: rise .9s var(--ease) both; }
.hero__bag--b { animation-delay: .12s; }
.hero__bag--c { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }

/* ---------- sklep ---------- */
.shop { padding: clamp(80px, 10vw, 150px) 0 clamp(80px, 9vw, 130px); }
.shop__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30em); gap: 32px 64px; align-items: end; }
.shop__intro { color: var(--ink-2); font-size: 17.5px; }
.filters { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; padding: 22px 0; border-top: 3px solid var(--ink); }
.filters__toggle { display: none; }
.filters__panel { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 36px; }
.fgroup legend, .select > span, .field > span, .field > legend { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1.5px solid rgba(27,21,18,.28); border-radius: 999px; font-weight: 500; font-size: 15px; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip--fruit span::before, .chip--choc span::before, .chip--flower span::before { content: ''; width: 10px; height: 10px; border-radius: 2px; }
.chip--fruit span::before { background: #EF5A3A; }
.chip--choc span::before { background: #6B4A33; }
.chip--flower span::before { background: #BBA8F2; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.fgroup--selects { display: flex; gap: 16px; }
.select { display: block; }
.select select, .field select, .field input[type="text"], .field input[type="email"] {
  appearance: none; -webkit-appearance: none; min-height: 46px; padding: 0 44px 0 14px; width: 100%;
  border: 1.5px solid rgba(27,21,18,.3); border-radius: 4px; background-color: var(--white); font-size: 15.5px;
}
.select select, .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1512' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.select select { min-width: 200px; }
.field input { padding-right: 14px; }
.select select:hover, .field select:hover, .field input:hover { border-color: var(--ink); }
.filters__count { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; padding-bottom: 12px; }

.grid { margin-top: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 24px; }
.card { position: relative; display: flex; flex-direction: column; }
.card__stage {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  aspect-ratio: 4 / 5; padding: 11% 17% 12%; text-decoration: none; overflow: hidden;
  background: color-mix(in srgb, var(--c) 22%, var(--paper));
  transition: background-color .4s var(--ease);
}
.card__stage::after {
  content: ''; position: absolute; left: 24%; right: 24%; bottom: 10.5%; height: 16px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(27,21,18,.35), rgba(27,21,18,0));
}
.card__stage .bag { z-index: 1; transition: transform .55s var(--ease), box-shadow .55s var(--ease); }
.card:hover .card__stage { background: color-mix(in srgb, var(--c) 40%, var(--paper)); }
.card:hover .card__stage .bag, .card__stage:focus-visible .bag { transform: translateY(-10px) rotate(-2.5deg); }
.card__stage:focus-visible { outline-offset: -3px; }
.card__body { padding-top: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card__title h3 { font: 700 23px/1.05 var(--f-display); font-stretch: 85%; letter-spacing: -.015em; }
.card__title h3 a { text-decoration: none; }
.card__title h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.card__price { font-weight: 600; white-space: nowrap; }
.card__notes { color: var(--ink-2); font-size: 15.5px; }
.card__notes::first-letter { text-transform: uppercase; }
.card__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__foot .btn { white-space: nowrap; flex: none; }
.card__tags { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.card__tags span { display: inline-flex; align-items: center; gap: 6px; }
.card__tags span:first-child::before { content: ''; width: 8px; height: 8px; background: var(--c); border-radius: 1px; box-shadow: inset 0 0 0 1px rgba(27,21,18,.15); }

.quick {
  position: absolute; inset: 0 0 auto 0; aspect-ratio: 4 / 5; z-index: 4;
  background: var(--c); color: var(--t); padding: 20px; display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .3s var(--ease); overflow-y: auto;
}
.quick.is-open { opacity: 1; transform: none; }
.quick__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.quick__head p { font: 800 26px/.95 var(--f-display); font-stretch: 75%; letter-spacing: -.02em; }
.quick .icon-btn { color: var(--t); margin: -8px -8px 0 0; flex: none; }
.quick .icon-btn:hover { background: color-mix(in srgb, var(--t) 14%, transparent); }
.quick fieldset legend { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.quick :focus-visible, .p-sticky :focus-visible { outline-color: var(--t); }
.card--promo :focus-visible, .toast :focus-visible, .ws-done :focus-visible { outline-color: var(--paper); }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.opt { position: relative; display: flex; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span {
  flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 44px; padding: 6px 12px; border-radius: 4px;
  border: 1.5px solid color-mix(in srgb, var(--t) 40%, transparent); font-size: 14.5px; font-weight: 500; line-height: 1.15;
}
.opt span small { display: block; font-size: 12px; font-weight: 400; }
.opt input:checked + span { background: var(--t); color: var(--c); border-color: var(--t); }
.opt input:focus-visible + span { outline: 3px solid var(--t); outline-offset: 2px; }
.quick .btn { margin-top: auto; }

.card--promo { grid-column: span 2; background: var(--ink); color: var(--paper); padding: clamp(28px, 3.4vw, 48px); justify-content: space-between; gap: 28px; min-height: 100%; }
.card--promo p.big { color: var(--paper); font: 800 clamp(40px, 4.4vw, 68px)/.9 var(--f-display); font-stretch: 75%; letter-spacing: -.03em; max-width: 9em; }
.card--promo p { max-width: 30em; color: rgba(242,241,237,.82); }
.card--promo .swatches { display: flex; gap: 6px; }
.card--promo .swatches i { width: 30px; height: 44px; display: block; }
.card--promo .btn { align-self: flex-start; }

.grid-empty { padding: 60px 0 20px; max-width: 34em; }
.grid-empty__big { font: 800 56px/.95 var(--f-display); font-stretch: 75%; margin-bottom: 12px; }
.grid-empty .btn { margin-top: 20px; }

/* ---------- quiz ---------- */
.quiz {
  --qc: #C9C4BA; --qt: var(--ink);
  background: color-mix(in srgb, var(--qc) 34%, var(--paper));
  transition: --qc .9s var(--ease);
  padding: clamp(80px, 9vw, 140px) 0;
}
.quiz__in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: 'head side' 'stage side'; gap: 0 clamp(40px, 6vw, 110px); }
.quiz__head { grid-area: head; }
.quiz__stage { grid-area: stage; }
.quiz__side { grid-area: side; align-self: center; }
.quiz__top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.quiz__title { font: 800 clamp(26px, 2.4vw, 34px)/1 var(--f-display); font-stretch: 85%; letter-spacing: -.01em; }
.quiz__progress { font-size: 15px; font-weight: 600; }
.quiz__bar { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.quiz__bar span { height: 6px; background: rgba(27,21,18,.14); transition: background-color .4s; }
.quiz__bar span.is-done { background: var(--ink); }
.quiz__stage { margin-top: clamp(28px, 4vw, 56px); min-height: 430px; }
.quiz__q { font: 800 clamp(40px, 5vw, 76px)/.92 var(--f-display); font-stretch: 75%; letter-spacing: -.03em; max-width: 12em; text-wrap: balance; }
.quiz__opts { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quiz__opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qopt {
  display: flex; align-items: center; gap: 16px; text-align: left; min-height: 76px; padding: 14px 18px;
  background: rgba(255,255,255,.55); border: 2px solid rgba(27,21,18,.14); border-radius: 6px;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.qopt:hover { background: var(--white); border-color: var(--ink); }
.qopt.is-picked { border-color: var(--ink); background: var(--white); }
.qopt svg { width: 44px; height: 44px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.qopt b { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; }
.qopt small { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); line-height: 1.3; }
.qopt .sw { width: 14px; height: 44px; flex: none; border-radius: 2px; }
.quiz__nav { margin-top: 24px; display: flex; gap: 20px; align-items: center; }
.quiz__side { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.quiz__bag { width: min(340px, 78%); position: relative; }
.quiz__bag::after { content: ''; position: absolute; left: 6%; right: 6%; bottom: -16px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(27,21,18,.35), rgba(27,21,18,0)); z-index: -1; }
.quiz__bag .bag { transition: transform .6s var(--ease); }
.quiz__bag.is-wiggle .bag { animation: wiggle .7s var(--ease); }
@keyframes wiggle { 0% { transform: rotate(0); } 30% { transform: rotate(-4deg) translateY(-8px); } 65% { transform: rotate(2deg); } 100% { transform: rotate(0); } }
.quiz__bag.is-reveal .bag { animation: reveal .9s var(--ease); }
@keyframes reveal { 0% { transform: translateY(0) scale(1); } 35% { transform: translateY(-34px) rotate(-6deg) scale(1.03); } 70% { transform: translateY(4px) rotate(2deg); } 100% { transform: none; } }
.quiz__spectrum { width: min(340px, 78%); display: flex; gap: 3px; height: 16px; margin-top: 4px; }
.quiz__spectrum i { flex: 1 1 0; min-width: 3px; transition: flex-grow .9s var(--ease); }
.quiz__spec-cap { margin-top: -20px; font-size: 13px; color: var(--ink-2); text-align: center; }
.quiz__lead { text-align: center; max-width: 24em; font-size: 15.5px; color: var(--ink-2); min-height: 3em; }
.quiz__lead strong { color: var(--ink); }
.result__kicker { font-weight: 600; font-size: 15px; }
.result__name { margin-top: 10px; font: 800 clamp(48px, 6vw, 92px)/.88 var(--f-display); font-stretch: 75%; letter-spacing: -.035em; }
.result__notes { margin-top: 14px; font: 600 clamp(20px, 1.8vw, 26px)/1.25 var(--f-display); font-stretch: 90%; }
.result__why { margin-top: 24px; display: grid; gap: 10px; max-width: 36em; }
.result__why li { display: flex; gap: 12px; align-items: flex-start; }
.result__why svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.result__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.result__alt { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.result__alt a { font-weight: 600; }

/* ---------- subskrypcja ---------- */
.subs { background: var(--roast); color: var(--paper); padding: clamp(80px, 9vw, 140px) 0; }
.subs__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px clamp(40px, 6vw, 110px); align-items: start; }
.subs .h-section { max-width: 9em; }
.subs__big { margin-top: 28px; display: flex; align-items: flex-start; font: 800 clamp(140px, 19vw, 300px)/.78 var(--f-display); font-stretch: 75%; letter-spacing: -.02em; color: #F27EA6; }
.subs__big i { font-style: normal; margin-right: .06em; }
.subs__big small { font-size: .42em; margin-top: .08em; margin-left: .04em; }
.subs__big-note { margin-top: 18px; font-size: 18px; color: rgba(242,241,237,.8); max-width: 24em; }
.steps { margin-top: 48px; display: grid; gap: 24px; counter-reset: s; max-width: 36em; }
.steps li { position: relative; padding-left: 64px; color: rgba(242,241,237,.78); counter-increment: s; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -4px; width: 44px; height: 44px; display: grid; place-items: center;
  font: 800 28px/1 var(--f-display); font-stretch: 75%; color: var(--ink); background: var(--sc, #F39A45);
}
.steps li:nth-child(2) { --sc: #37A8A0; }
.steps li:nth-child(3) { --sc: #BBA8F2; }
.steps strong { display: block; color: var(--paper); font-size: 19px; margin-bottom: 2px; }
.subs__form { background: var(--paper); color: var(--ink); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; position: sticky; top: calc(var(--head-h) + 24px); }
.subs__form h3 { font: 800 34px/1 var(--f-display); font-stretch: 75%; letter-spacing: -.02em; }
.segs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.seg { position: relative; display: flex; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 46px; padding: 6px 12px;
  border: 1.5px solid rgba(27,21,18,.3); border-radius: 4px; font-weight: 600; font-size: 15px; line-height: 1.15;
}
.seg span small { display: block; font-weight: 400; font-size: 13px; }
.seg:hover span { border-color: var(--ink); }
.seg input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.seg input:disabled + span { opacity: .45; }
.subs__out { background: var(--stone); padding: 18px 20px; display: grid; gap: 6px; font-size: 15.5px; }
.subs__out .price { font: 800 44px/1 var(--f-display); font-stretch: 75%; letter-spacing: -.01em; }
.subs__out .price s { font-size: .5em; font-weight: 500; color: var(--muted); margin-left: 8px; }
.subs__out .dates { color: var(--ink-2); }
.subs .btn--paper { background: var(--ink); color: var(--paper); }
.subs .btn--paper:hover { background: #000; }

/* ---------- palarnia ---------- */
.roastery { padding: clamp(90px, 10vw, 160px) 0; }
.roastery__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
.roastery__text { grid-column: 1 / 6; grid-row: 1; align-self: center; padding-right: 12px; }
.roastery__text p { margin-top: 20px; color: var(--ink-2); font-size: 17.5px; max-width: 34em; }
.roastery__text .h-section { margin-bottom: 12px; }
.roastery__big { grid-column: 6 / 13; grid-row: 1; margin-right: calc(-1 * max(var(--gut), (100vw - var(--max)) / 2)); }
.roastery__big img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.facts { grid-column: 1 / 13; margin-top: clamp(56px, 7vw, 100px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.facts > div { border-top: 10px solid var(--fc, #F39A45); padding-top: 18px; }
.facts > div:nth-child(2) { --fc: #2B3FD0; }
.facts > div:nth-child(3) { --fc: #F27EA6; }
.facts dt { font: 800 clamp(64px, 8.4vw, 136px)/.86 var(--f-display); font-stretch: 75%; letter-spacing: -.015em; }
.facts dd { margin-top: 12px; color: var(--ink-2); max-width: 22em; }
.roastery__green { grid-column: 1 / 5; margin-top: clamp(56px, 7vw, 100px); align-self: start; }
.roastery__roasted { grid-column: 5 / 8; margin-top: clamp(120px, 12vw, 180px); align-self: start; }
.roastery__green img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.roastery__roasted img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.team { grid-column: 9 / 13; margin-top: clamp(56px, 7vw, 100px); display: grid; gap: 28px; align-self: start; }
.team strong { display: block; font: 800 34px/1 var(--f-display); font-stretch: 75%; letter-spacing: -.02em; }
.team span { display: block; margin-top: 4px; font-weight: 600; font-size: 15px; }
.team p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- parzenie ---------- */
.brew { background: var(--stone); padding: clamp(80px, 9vw, 140px) 0; }
.brew__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 28em); gap: 24px 64px; align-items: end; }
.brew__head p { color: var(--ink-2); }
.brew__grid { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; align-items: stretch; }
.brew__photo { position: relative; min-height: 100%; }
.brew__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brew__panel { background: var(--paper); padding: clamp(20px, 3vw, 40px); min-width: 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
  min-height: 46px; padding: 0 18px; border: 1.5px solid rgba(27,21,18,.28); border-radius: 999px; background: transparent;
  font-weight: 600; font-size: 15px; white-space: nowrap;
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.brew__body { margin-top: 28px; }
.brew__body:focus-visible { outline-offset: 6px; }
.params { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.params div { border-top: 3px solid var(--ink); padding-top: 10px; }
.params dt { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.params dd { font: 800 clamp(30px, 3vw, 44px)/1 var(--f-display); font-stretch: 75%; letter-spacing: -.02em; margin-top: 4px; }
.params dd.small { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.05; font-stretch: 85%; }
.timer { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; align-items: center; }
.timer__clock { font: 800 clamp(96px, 12vw, 196px)/.8 var(--f-display); font-stretch: 75%; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.timer__clock small { display: block; margin-top: 14px; font: 500 15px/1.3 var(--f-text); letter-spacing: 0; color: var(--muted); }
.timer__now { min-height: 190px; }
.timer__step { font-size: 14px; font-weight: 600; color: var(--muted); }
.timer__title { margin-top: 6px; font: 800 clamp(30px, 3vw, 44px)/.95 var(--f-display); font-stretch: 75%; letter-spacing: -.02em; }
.timer__text { margin-top: 10px; font-size: 17px; color: var(--ink-2); max-width: 26em; }
.timer__pour { margin-top: 14px; display: inline-flex; align-items: baseline; gap: 10px; background: var(--ink); color: var(--paper); padding: 8px 14px 10px; }
.timer__pour b { font: 800 40px/1 var(--f-display); font-stretch: 75%; font-variant-numeric: tabular-nums; }
.timer__track { margin-top: 28px; position: relative; display: flex; gap: 3px; height: 14px; }
.timer__track i { display: block; height: 100%; background: rgba(27,21,18,.14); }
.timer__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ink); mix-blend-mode: normal; pointer-events: none; }
.timer__track-wrap { position: relative; }
.timer__controls { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.timer__controls .btn { min-width: 150px; }
.timer__list { margin-top: 30px; display: grid; gap: 2px; counter-reset: none; }
.timer__list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 10px 12px; border-left: 4px solid transparent; color: var(--muted); transition: background-color .3s, color .3s; }
.timer__list li b { color: var(--ink); font-weight: 600; }
.timer__list li time { font-weight: 600; color: var(--ink); }
.timer__list li.is-now { background: var(--white); border-left-color: var(--swatch); color: var(--ink-2); }
.timer__list li.is-done { opacity: .55; }

/* ---------- akcesoria ---------- */
.gear { padding: clamp(80px, 9vw, 140px) 0; }
.gear__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 28em); gap: 24px 64px; align-items: end; }
.gear__head p { color: var(--ink-2); }
.gear__list { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.gear__item { background: var(--stone); padding: 28px; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px 24px; align-items: center; }
.gear__art { grid-row: 1 / 3; width: 112px; height: 112px; display: grid; place-items: center; background: var(--paper); }
.gear__art svg { width: 76px; height: 76px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gear__item h3 { font: 700 22px/1.05 var(--f-display); font-stretch: 85%; }
.gear__item p { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.gear__buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gear__buy b { font-weight: 700; }

/* ---------- kawiarnia ---------- */
.cafe { background: var(--paper); }
.cafe__photo { position: relative; height: clamp(440px, 72vh, 780px); margin: 0; background: #1d1714; }
.cafe__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.cafe__photo::after { content: ''; position: absolute; inset: 45% 0 0 0; background: linear-gradient(180deg, rgba(20,15,12,0), rgba(20,15,12,.72)); pointer-events: none; }
.cafe__over { position: absolute; left: 0; right: 0; bottom: clamp(28px, 5vw, 64px); z-index: 1; color: var(--paper); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.cafe__over .h-section { max-width: 8em; }
.cafe__status { display: inline-flex; align-items: center; gap: 10px; background: var(--paper); color: var(--ink); padding: 10px 16px; font-weight: 600; font-size: 15.5px; }
.cafe__status::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #2E7A4E; }
.cafe__status.is-closed::before { background: #C2352B; }
.cafe__grid { padding-top: clamp(56px, 6vw, 90px); padding-bottom: clamp(80px, 9vw, 130px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .8fr); gap: 48px clamp(28px, 3vw, 48px); }
.cafe__col h3 { font: 800 30px/1 var(--f-display); font-stretch: 75%; letter-spacing: -.01em; padding-bottom: 14px; border-bottom: 3px solid var(--ink); margin-bottom: 18px; }
.cafe__col p + p { margin-top: 14px; }
.cafe__col p { color: var(--ink-2); }
.cafe__addr { font: 700 28px/1.1 var(--f-display) !important; font-stretch: 85% !important; color: var(--ink) !important; }
.cafe__contact { font-weight: 600; color: var(--ink) !important; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 12px 10px; font-weight: 500; vertical-align: top; }
.hours td { text-align: right; }
.hours tr { border-bottom: 1px solid var(--line); }
.hours tr.is-today { background: var(--stone); }
.hours tr.is-today th { font-weight: 700; }
.cafe__note { margin-top: 18px; font-size: 15px; }
.menu-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.menu-list b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cafe__latte { margin: 0; }
.cafe__latte img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }

/* ---------- warsztaty ---------- */
.workshops { background: var(--stone); padding: clamp(80px, 9vw, 140px) 0; }
.workshops__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 24px clamp(32px, 5vw, 80px); align-items: start; }
.workshops__head .h-section { grid-column: 1; }
.workshops__photo { grid-column: 2; grid-row: 1 / 3; }
.workshops__photo img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.workshops__head p { grid-column: 1; color: var(--ink-2); max-width: 30em; }
.workshops__grid { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px clamp(32px, 4vw, 64px); align-items: start; }
.ws-list { display: grid; gap: 4px; }
.ws {
  display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 8px 28px; align-items: start;
  background: var(--paper); padding: 24px; border-left: 8px solid var(--wc, var(--ink));
}
.ws.is-selected { background: var(--white); box-shadow: inset 0 0 0 2px var(--ink); }
.ws .ws__date { margin: 0; color: var(--ink); font: 800 64px/.8 var(--f-display); font-stretch: 75%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ws__date small { display: block; margin-top: 10px; font: 600 14px/1.25 var(--f-text); letter-spacing: 0; }
.ws h3 { font: 800 30px/1 var(--f-display); font-stretch: 75%; letter-spacing: -.015em; }
.ws p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
.ws .ws__meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.seats { display: inline-flex; align-items: center; gap: 8px; }
.seats__dots { display: inline-flex; gap: 3px; }
.seats__dots i { width: 9px; height: 14px; background: var(--ink); display: block; }
.seats__dots i.free { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.ws__side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ws .ws__price { margin: 0; color: var(--ink); font: 800 30px/1 var(--f-display); font-stretch: 75%; white-space: nowrap; }
.ws__price small { display: block; text-align: right; font: 500 13px/1.3 var(--f-text); color: var(--muted); }
.ws-form { background: var(--paper); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; position: sticky; top: calc(var(--head-h) + 24px); }
.ws-form h3 { font: 800 34px/1 var(--f-display); font-stretch: 75%; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #B3261E; box-shadow: inset 0 0 0 1px #B3261E; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.check.is-invalid span { color: #B3261E; }
.form-error { color: #B3261E; font-weight: 600; font-size: 15px; }
.ws-done { background: var(--ink); color: var(--paper); padding: 22px; }
.ws-done h4 { font: 800 30px/1 var(--f-display); font-stretch: 75%; margin-bottom: 8px; }
.ws-done p { color: rgba(242,241,237,.85); font-size: 15.5px; }
.ws-done p + p { margin-top: 8px; }
.ws-done button { margin-top: 14px; color: var(--paper); }

/* ---------- ilość ---------- */
.qty { display: inline-flex; align-items: center; border: 1.5px solid rgba(27,21,18,.3); border-radius: 4px; height: 44px; }
.qty button { width: 42px; height: 100%; border: 0; background: transparent; display: grid; place-items: center; font-size: 20px; font-weight: 600; }
.qty button:hover { background: rgba(27,21,18,.07); }
.qty button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.qty output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty--lg { height: 48px; }
.qty--lg button { width: 48px; }

/* ---------- stopka ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(64px, 7vw, 100px); overflow: hidden; }
.site-footer__in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer .site-footer__word { color: var(--paper); font: 800 clamp(80px, 10vw, 150px)/.8 var(--f-display); font-stretch: 75%; letter-spacing: -.045em; margin-bottom: 22px; }
.site-footer h2 { font: 700 16px/1.2 var(--f-text); color: rgba(242,241,237,.6); margin-bottom: 14px; }
.site-footer li + li { margin-top: 2px; }
.site-footer a { display: inline-block; padding: 8px 0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer p { color: rgba(242,241,237,.82); font-size: 15.5px; }
.site-footer p + p { margin-top: 12px; }
.site-footer__legal { margin-top: 64px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(242,241,237,.16); }
.site-footer__legal p { font-size: 14px; color: rgba(242,241,237,.72); }
.site-footer__legal a { padding: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--paper); }
.site-footer :focus-visible { outline-color: var(--paper); }

/* ---------- koszyk ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(20, 15, 12, .5); opacity: 0; transition: opacity .3s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--paper);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); outline: none;
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 12px 24px; }
.drawer__head h2 { font: 800 40px/1 var(--f-display); font-stretch: 75%; letter-spacing: -.02em; }
.drawer__head h2 span { font-size: .6em; color: var(--muted); font-variant-numeric: tabular-nums; }
.drawer__ship { padding: 0 24px 16px; font-size: 15px; }

.meter { margin-top: 10px; height: 10px; background: var(--stone); position: relative; overflow: hidden; }
.meter span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); transition: width .5s var(--ease); }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 24px; border-top: 1px solid var(--line); }
.lines { display: grid; }
.line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line__thumb { width: 56px; height: 76px; background: var(--c); color: var(--t); display: flex; align-items: flex-end; padding: 6px; position: relative; box-shadow: inset 0 18px 0 #F8F7F3, inset 0 0 0 1px rgba(27,21,18,.08); }
.line__thumb b { font: 700 12px/1 var(--f-text); }
.line__thumb--acc { background: var(--stone); box-shadow: none; display: grid; place-items: center; padding: 0; }
.line__thumb--acc svg { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.line__title { font-weight: 600; line-height: 1.25; }
.line__meta { font-size: 14px; color: var(--muted); margin-top: 2px; }
.line__row { margin-top: 10px; display: flex; align-items: center; gap: 14px; }
.line__remove { background: none; border: 0; padding: 0 4px; min-height: 44px; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.line__remove:hover { color: var(--ink); }
.line__price { font-weight: 600; text-align: right; white-space: nowrap; }
.line__price s { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.drawer__foot { padding: 16px 24px 20px; border-top: 1px solid var(--line); background: var(--paper); display: grid; gap: 14px; }
.drawer__foot:empty { display: none; }
.subbox { background: var(--stone); padding: 14px 16px; display: grid; gap: 12px; transition: background-color .3s; }
.subbox.is-on { background: color-mix(in srgb, #F27EA6 30%, var(--paper)); }
.subbox__every { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.subbox__every:disabled { display: none; }
.switch { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; position: relative; }
.switch input { position: absolute; opacity: 0; width: 52px; height: 30px; margin: 0; cursor: pointer; }
.switch__ui { flex: none; width: 52px; height: 30px; border-radius: 999px; background: rgba(27,21,18,.25); position: relative; transition: background-color .2s; margin-top: 2px; }
.switch__ui::after { content: ''; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); transition: transform .25s var(--ease); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + .switch__ui { background: var(--ink); }
.switch input:checked + .switch__ui::after { transform: translateX(22px); }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--ink); outline-offset: 3px; }
.switch input:disabled + .switch__ui { opacity: .45; }
.switch__text strong { display: block; font-size: 15.5px; }
.switch__text small { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.sum { display: grid; gap: 4px; font-size: 15px; }
.sum div { display: flex; justify-content: space-between; }
.sum dd { margin: 0; }
.sum__disc dd { color: #8A1F4F; font-weight: 600; }
.sum__total { margin-top: 6px; padding-top: 10px; border-top: 2px solid var(--ink); font: 800 28px/1 var(--f-display); font-stretch: 75%; }
.drawer__fine { font-size: 13px; color: var(--muted); }
.empty, .done { padding: 40px 0; }
.empty__big { font: 800 72px/.9 var(--f-display); font-stretch: 75%; margin-bottom: 14px; }
.empty p, .done p { color: var(--ink-2); }
.empty .btn, .done .btn { margin-top: 24px; }
.done__mark { width: 64px; height: 64px; display: grid; place-items: center; background: #2E7A4E; color: var(--white); margin-bottom: 20px; }
.done__mark svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.done h3 { font: 800 40px/.95 var(--f-display); font-stretch: 75%; margin-bottom: 14px; }
.done p + p { margin-top: 10px; }
.done__sum { font-size: 18px; }
.done__note { font-size: 14px; color: var(--muted) !important; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 20px; background: var(--ink); color: var(--paper);
  max-width: calc(100% - 32px); transition: opacity .25s, transform .35s var(--ease); font-size: 15px;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast span { flex: 1 1 auto; min-width: 0; }
.toast__btn { flex: none; min-height: 44px; padding: 0 14px; border: 0; background: var(--paper); color: var(--ink); font-weight: 600; border-radius: 3px; }

/* ---------- pojawianie się ---------- */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   KARTA KAWY (kawa.html)
   ========================================================= */
.product { --c: #F39A45; --t: #1B1512; }
.p-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: calc(100svh - var(--head-h)); }
.p-gallery { background: color-mix(in srgb, var(--c) 26%, var(--paper)); display: flex; flex-direction: column; padding: 28px max(var(--gut), calc((100vw - var(--max)) / 2)) 28px; padding-right: var(--gut); }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.crumbs a { padding: 10px 0; text-decoration: underline; text-underline-offset: 3px; }
.p-gallery__main { position: relative; flex: 1; display: grid; place-items: center; min-height: 520px; margin-top: 8px; }
.p-gallery__main .p-bag { width: min(380px, 56%); position: relative; }
.p-gallery__main .p-bag::after { content: ''; position: absolute; left: 6%; right: 6%; bottom: -18px; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(27,21,18,.38), rgba(27,21,18,0)); z-index: -1; }
.p-gallery__main .p-bag .bag { transform: rotate(-3deg); }
.p-gallery__main img.p-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-gallery__thumbs { display: flex; gap: 8px; margin-top: 20px; }
.p-thumb { width: 88px; height: 88px; padding: 0; border: 2px solid transparent; background: var(--paper); overflow: hidden; position: relative; }
.p-thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-thumb[aria-selected="true"] { border-color: var(--ink); }
.p-thumb__bag { position: absolute; inset: 10px 24px; background: var(--c); box-shadow: inset 0 18px 0 #F8F7F3; }
.p-buy { background: var(--c); color: var(--t); padding: 40px max(var(--gut), calc((100vw - var(--max)) / 2)) 48px clamp(28px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.p-buy :focus-visible { outline-color: var(--t); }
.p-buy__origin { font: 700 22px/1 var(--f-display); font-stretch: 85%; }
.p-buy__title { margin-top: 10px; font: 800 clamp(56px, 6.4vw, 108px)/.86 var(--f-display); font-stretch: 75%; letter-spacing: -.035em; text-wrap: balance; }
.p-buy__notes { margin-top: 18px; font: 700 clamp(22px, 2vw, 30px)/1.15 var(--f-display); font-stretch: 85%; }
.p-buy__desc { margin-top: 16px; max-width: 34em; font-size: 17px; }
.p-form { margin-top: 28px; display: grid; gap: 20px; max-width: 560px; }
.p-form legend { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.p-form .opt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-form .segs .seg span { border-color: color-mix(in srgb, var(--t) 40%, transparent); }
.p-form .seg input:checked + span { background: var(--t); color: var(--c); border-color: var(--t); }
.p-form .seg input:focus-visible + span { outline-color: var(--t); }
.buy-type { display: grid; gap: 6px; }
.buy-type label { position: relative; display: flex; }
.buy-type input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.buy-type .bt {
  flex: 1; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; min-height: 56px;
  border: 1.5px solid color-mix(in srgb, var(--t) 40%, transparent); border-radius: 4px;
}
.buy-type .bt::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; box-sizing: border-box; }
.buy-type input:checked + .bt { border-color: var(--t); box-shadow: inset 0 0 0 1px var(--t); background: color-mix(in srgb, var(--t) 8%, transparent); }
.buy-type input:checked + .bt::before { background: radial-gradient(circle, currentColor 0 4px, transparent 5px); }
.buy-type input:focus-visible + .bt { outline: 3px solid var(--t); outline-offset: 2px; }
.bt b { font-weight: 600; }
.bt small { display: block; font-size: 13.5px; }
.bt .bt__price { font-weight: 700; text-align: right; }
.bt .bt__price s { display: block; font-weight: 400; font-size: 13px; }
.bt-every { display: none; margin-top: 4px; }
.buy-type .is-sub-on ~ .bt-every, .bt-every.is-shown { display: grid; }
.p-form .qty { border-color: color-mix(in srgb, var(--t) 40%, transparent); }
.p-form .qty button:hover { background: color-mix(in srgb, var(--t) 12%, transparent); }
.p-add { display: flex; gap: 12px; align-items: center; }
.p-add .btn { flex: 1; min-height: 56px; font-size: 17px; }
.p-ship { margin-top: 18px; font-size: 14.5px; display: flex; gap: 10px; align-items: center; }

.p-section { padding: clamp(80px, 9vw, 130px) 0; }
.p-origin__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px clamp(40px, 6vw, 100px); align-items: start; }
.alt { font: 800 clamp(120px, 17vw, 270px)/.78 var(--f-display); font-stretch: 75%; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.alt small { display: block; margin-top: 18px; font: 600 18px/1.3 var(--f-text); letter-spacing: 0; }
.alt-bar { margin-top: 26px; height: 14px; background: var(--c); width: 100%; box-shadow: inset 0 0 0 1px rgba(27,21,18,.1); }
.p-origin .h-section { margin-bottom: 40px; }
.facts-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 3px solid var(--ink); }
.facts-list div { padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.facts-list dt { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.facts-list dd { margin-top: 4px; font: 700 23px/1.15 var(--f-display); font-stretch: 85%; }
.facts-list dd small { display: block; margin-top: 6px; font: 400 15px/1.45 var(--f-text); color: var(--ink-2); }
.facts-list .wide { grid-column: 1 / -1; }

.p-taste { background: var(--stone); }
.p-taste__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 48px clamp(40px, 6vw, 100px); align-items: start; }
.scales { display: grid; gap: 22px; margin-top: 32px; }
.scale__top { display: flex; justify-content: space-between; font-weight: 600; font-size: 15.5px; }
.scale__top span:last-child { color: var(--muted); font-weight: 500; }
.scale__bar { margin-top: 8px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.scale__bar i { height: 18px; background: rgba(27,21,18,.1); }
.scale__bar i.on { background: var(--c); box-shadow: inset 0 0 0 1.5px rgba(27,21,18,.55); }
.scale__ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 6px; }
.quote { margin: 40px 0 0; padding: 24px; background: var(--paper); border-left: 8px solid var(--c); }
.quote p { font: 600 22px/1.3 var(--f-display); font-stretch: 90%; }
.quote footer { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.chart { background: var(--paper); padding: clamp(18px, 2.4vw, 32px); }
.chart__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.chart__head h3 { font: 800 34px/1 var(--f-display); font-stretch: 75%; }
.chart__head p { font-size: 14.5px; color: var(--muted); }
.chart__svg { position: relative; margin-top: 18px; }
.chart__svg svg { width: 100%; height: auto; overflow: visible; touch-action: pan-y; max-width: none; }
.chart__svg .grid-l { stroke: rgba(27,21,18,.1); stroke-width: 1; }
.chart__svg .axis-t { font: 500 12px var(--f-text); fill: var(--muted); }
.chart__svg .dev { fill: var(--c); opacity: .55; }
.chart__svg .area { fill: var(--c); opacity: .18; }
.chart__svg .curve { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart__svg .ev circle { fill: var(--ink); stroke: var(--paper); stroke-width: 2; }
.chart__svg .ev text { font: 600 12.5px var(--f-text); fill: var(--ink); }
.chart__svg .ev text.sub { font-weight: 400; fill: var(--muted); }
.chart__svg .dev-t { font: 600 12.5px var(--f-text); fill: var(--ink); }
.chart__svg .cross { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.chart__svg .cross-dot { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.chart__tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--paper); padding: 8px 10px; font-size: 13px; line-height: 1.3; white-space: nowrap; transform: translate(-50%, calc(-100% - 14px)); font-variant-numeric: tabular-nums; }
.chart__tip b { font-weight: 700; }
.chart details { margin-top: 16px; font-size: 14.5px; }
.chart summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; gap: 10px; list-style: none; }
.chart summary::-webkit-details-marker { display: none; }
.chart summary::before { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .2s; }
.chart details[open] summary::before { transform: rotate(45deg); }
.chart table { margin-top: 8px; width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.chart th, .chart td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.chart__note { margin-top: 14px; font-size: 15px; color: var(--ink-2); max-width: 46em; }

.p-recipes__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.p-recipes__head p { max-width: 30em; color: var(--ink-2); }
.recipe { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px clamp(32px, 5vw, 80px); }
.recipe .params { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.recipe .params div { border-top-color: var(--c); border-top-width: 8px; }
.recipe ol { display: grid; gap: 4px; }
.recipe ol li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 16px; padding: 14px 16px; background: var(--stone); }
.recipe ol time { font: 800 26px/1 var(--f-display); font-stretch: 75%; font-variant-numeric: tabular-nums; }
.recipe ol b { display: block; font-weight: 600; }
.recipe ol span { color: var(--ink-2); font-size: 15.5px; }
.recipe__link { margin-top: 18px; }

.p-similar { background: var(--paper); padding-top: 0; }
.p-similar .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; }

.p-sticky { display: none; }

/* ---------- szerokości ---------- */
@media (max-width: 1340px) {
  .hero__bags { left: calc(53% + 4px); transform: none; width: calc(47% - 12px); height: auto; aspect-ratio: 600 / 470; }
  .hero__text { padding-bottom: 80px; }
}
@media (max-width: 1240px) {
  .nav a { padding: 12px 8px; font-size: 15px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card--promo { grid-column: span 2; }
  .gear__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cafe__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cafe__latte img { aspect-ratio: 4 / 3; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .site-header__tools { margin-left: auto; }
  .menu-btn { display: inline-block; }
  .quiz__opts--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timer { grid-template-columns: 1fr; }
  .params { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws { grid-template-columns: 90px minmax(0, 1fr); }
  .ws__side { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .ws__price small { text-align: left; }
  .p-form .opt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --head-h: 64px; }
  .shop, .quiz, .subs, .roastery, .brew, .gear, .workshops, .p-section { padding-top: 56px; padding-bottom: 56px; }
  .cafe__grid { padding-top: 44px; padding-bottom: 56px; }
  .shop__intro, .brew__head p, .gear__head p { font-size: 16px; }
  .filters { margin-top: 28px; }
  .brew__grid, .gear__list, .workshops__grid { margin-top: 28px; }
  .steps { margin-top: 32px; gap: 18px; }
  .facts { margin-top: 44px; gap: 22px; }
  .facts dt { font-size: 58px; }
  .team { gap: 18px; }
  .team strong { font-size: 28px; }
  .workshops__photo { display: none; }
  .ws p { font-size: 15px; }
  .site-footer { padding-top: 48px; }
  .site-footer__in { gap: 24px 20px; }
  .site-footer .site-footer__word { font-size: 84px; margin-bottom: 12px; }
  .site-footer a { padding: 6px 0; }
  .site-footer__legal { margin-top: 36px; }
  .cafe__latte { display: none; }
  .card__title h3 { font-size: 18px; }
  .card__notes { font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card--promo { padding: 24px; gap: 16px; }
  .card--promo .swatches i { width: 22px; height: 30px; }
  .card--promo p.big { font-size: 40px; }
  .seats__dots { display: none; }
  .ws { padding: 18px; }
  .facts > div { display: grid; grid-template-columns: 44% 1fr; gap: 14px; align-items: start; border-top-width: 8px; padding-top: 14px; }
  .facts dt { font-size: 48px; }
  .facts dd { margin-top: 2px; font-size: 14.5px; }
  .subs__big { font-size: 120px; margin-top: 20px; }
  .steps li { font-size: 15px; }
  .qopt { min-height: 58px; }
  .gear__art { height: 72px; }
  .site-footer a { padding: 4px 0; }
  body { font-size: 16px; }
  .logo__word { font-size: 30px; }
  .cart-btn__text { display: none; }
  .cart-btn { padding: 0 6px 0 12px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding: 28px var(--gut) 36px; }
  .hero__title { font-size: clamp(54px, 15vw, 96px); }
  .hero__lead { font-size: 17px; margin-top: 20px; }
  .hero__photo { height: auto; aspect-ratio: 4 / 4.4; min-height: 0; }
  .hero__text { padding-bottom: 36px; }
  .hero__photo figcaption { left: 12px; right: auto; top: 12px; bottom: auto; font-size: 12.5px; }
  .hero__bags { top: auto; bottom: 0; left: 50%; width: min(92vw, 520px); height: auto; aspect-ratio: 520 / 400; transform: translateX(-50%); }
  .hero__bag { bottom: 18px; }
  .hero__bag--b { bottom: 8px; }
  .hero__bag--c { bottom: 26px; }
  .shop__head, .brew__head, .gear__head { grid-template-columns: 1fr; }
  .filters { flex-direction: column; align-items: stretch; gap: 14px; }
  .filters__toggle {
    display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 18px; width: 100%;
    background: var(--white); border: 1.5px solid rgba(27,21,18,.3); border-radius: 4px; font-weight: 600;
  }
  .filters__toggle::after { content: ''; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
  .filters__toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-3px); }
  .filters__toggle span { margin-left: auto; margin-right: 14px; color: var(--muted); font-weight: 500; }
  .filters__panel { display: none; flex-direction: column; align-items: stretch; gap: 18px; }
  .filters__panel.is-open { display: flex; }
  .fgroup--selects { flex-direction: column; }
  .select select { min-width: 0; }
  .filters__count { padding-bottom: 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 12px; }
  .card--promo { grid-column: 1 / -1; }
  .card__stage { padding: 14% 17% 13%; }
  .card__title { flex-direction: column; gap: 4px; }
  .card__title h3 { font-size: 20px; }
  .card__notes { font-size: 14.5px; }
  .card__foot { flex-direction: column; align-items: stretch; padding-top: 8px; }
  .card__tags { display: none; }
  .card__foot .btn { width: 100%; }
  .quick { position: fixed; inset: auto 0 0 0; aspect-ratio: auto; z-index: 70; padding: 20px var(--gut) 24px; max-height: 88svh; box-shadow: 0 -20px 40px rgba(0,0,0,.25); transform: translateY(40px); }
  .quiz__in { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: 'head' 'side' 'stage'; }
  .quiz__side { margin-top: 24px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
  .quiz__spectrum { order: 3; width: 100%; height: 12px; }
  .quiz__spec-cap { display: none; }
  .quiz__bag { width: 128px; flex: none; }
  .quiz__lead { text-align: left; min-height: 0; }
  .quiz__stage { min-height: 0; margin-top: 28px; }
  .quiz__opts, .quiz__opts--3 { grid-template-columns: 1fr; }
  .qopt { min-height: 64px; padding: 10px 14px; }
  .qopt svg { width: 36px; height: 36px; }
  .subs__in { grid-template-columns: 1fr; }
  .subs__form { position: static; }
  .roastery__big { margin: 32px calc(-1 * var(--gut)) 0; }
  .facts { grid-template-columns: 1fr; gap: 28px; }
  .roastery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .roastery__text, .roastery__big, .facts, .team { grid-column: 1 / -1; grid-row: auto; }
  .roastery__green, .roastery__roasted { grid-column: auto; margin-top: 44px; align-self: start; }
  .roastery__green img, .roastery__roasted img { aspect-ratio: 4 / 5; }
  .team { margin-top: 44px; }
  .brew__grid { grid-template-columns: 1fr; }
  .brew__photo { display: none; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 6px; scrollbar-width: none; }
  .brew .tabs { margin: 0 calc(-1 * clamp(20px, 3vw, 40px)); padding: 2px clamp(20px, 3vw, 40px) 6px; }
  .brew__grid { grid-template-columns: minmax(0, 1fr); }
  .tabs::-webkit-scrollbar { display: none; }
  .timer__now { min-height: 0; }
  .timer__list li { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 8px 10px; }
  .timer__list li span { font-size: 0; }
  .timer__list li span b { font-size: 15.5px; }
  .gear__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gear__item { grid-template-columns: 1fr; padding: 14px; gap: 10px; align-content: start; }
  .gear__art { grid-row: auto; width: 100%; height: 88px; }
  .gear__art svg { width: 56px; height: 56px; }
  .gear__item h3 { font-size: 18px; }
  .gear__item p { font-size: 13.5px; }
  .gear__buy { flex-direction: column; align-items: stretch; gap: 8px; }
  .gear__buy .btn { width: 100%; }
  .cafe__photo { height: 52svh; min-height: 360px; }
  .cafe__grid { grid-template-columns: 1fr; gap: 44px; }
  .cafe__latte { width: 100%; }
  .cafe__latte img { aspect-ratio: 16 / 10; }
  .workshops__head { grid-template-columns: 1fr; }
  .workshops__photo { grid-column: 1; grid-row: auto; }
  .workshops__grid { grid-template-columns: 1fr; }
  .ws { grid-template-columns: 1fr; padding: 20px; gap: 10px; }
  .ws__date { font-size: 52px; display: flex; align-items: baseline; gap: 12px; }
  .ws__date small { margin-top: 0; display: inline; }
  .ws__side { grid-column: auto; }
  .ws-form { position: static; }
  .site-footer__in { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .drawer__head { padding-left: 16px; }
  .toast { left: 12px; right: 12px; bottom: 12px; max-width: none; transform: translateY(30px); }
  .toast.is-on { transform: none; }
  .page-product .toast { bottom: 84px; }
  .drawer__ship, .drawer__body, .drawer__foot { padding-left: 16px; padding-right: 16px; }

  .p-hero { grid-template-columns: 1fr; min-height: 0; }
  .p-gallery { padding: 16px var(--gut) 20px; }
  .p-gallery__main { min-height: 380px; }
  .p-gallery__main .p-bag { width: min(250px, 62%); }
  .p-thumb { width: 68px; height: 68px; }
  .p-buy { padding: 32px var(--gut) 40px; }
  .p-origin__grid, .p-taste__grid, .recipe { grid-template-columns: 1fr; }
  .facts-list { grid-template-columns: 1fr; }
  .p-similar .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-similar .grid > :nth-child(3) { display: none; }
  .p-sticky {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: 12px; align-items: center; justify-content: space-between;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: var(--c); color: var(--t);
    box-shadow: 0 -10px 24px rgba(0,0,0,.18); transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .p-sticky.is-on { transform: none; }
  .p-sticky p { font-weight: 600; line-height: 1.2; font-size: 15px; }
  .p-sticky p b { display: block; font: 800 22px/1 var(--f-display); font-stretch: 75%; }
  .page-product .site-footer { padding-bottom: 72px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .hero__photo { aspect-ratio: 16 / 11; }
}
@media (max-width: 420px) {
  .hero__cta .btn { width: 100%; }
  .subs__big { font-size: 128px; }
  .opt-grid { grid-template-columns: 1fr 1fr; }
  .p-form .opt-grid { grid-template-columns: 1fr 1fr; }
  .site-footer__in { grid-template-columns: 1fr 1fr; }
  .site-footer__in > div:last-child { grid-column: 1 / -1; }
  .params dd { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__drum { animation: none; }
}
