/* nagori: arkusz stylów sklepu
   Paleta wzięta z herbaty: papier w odcieniu celadonu, atrament koloru liścia,
   a jedyne mocne kolory na stronie to kolory naparów (zmienna --c przy produkcie). */

@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/spectral-300-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: 'Spectral'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/spectral-300-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/spectral-400-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: 'Spectral'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/spectral-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/hanken-grotesk-400-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: 'Hanken Grotesk'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/hanken-grotesk-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --paper: #F4F6F1;
  --paper-2: #E8EEE2;
  --paper-3: #DCE5D4;
  --label: #FFFFFF;
  --line: #CDD7C5;
  --line-strong: #AEBBA5;
  --ink: #22301F;
  --ink-2: #536150;
  --ink-3: #63705F;
  --leaf: #2F4A26;
  --leaf-dark: #22381B;
  --shincha: #B4C64A;
  --danger: #9C2F1F;
  --ok: #2F6B3A;

  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --radius-img: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--shincha); }
p { margin: 0 0 1em; }
::selection { background: var(--shincha); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 300; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 4.6vw + 1rem, 4.75rem); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 2.4vw + 1rem, 2.9rem); line-height: 1.1; }
h3 { font-size: 1.3rem; font-weight: 400; line-height: 1.25; }
.lead { font-size: clamp(1.1rem, .4vw + 1rem, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * .6); }
.wash { background: var(--paper-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.section-head p { margin: 12px 0 0; }
.link-more { font-weight: 500; white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; border-radius: 4px; }
.skip:focus { top: 12px; }

/* ---------- pasek ogłoszeń i nagłówek ---------- */
.announce { background: var(--ink); color: #EEF2EA; font-size: .875rem; text-align: center; padding: 9px var(--gutter); }
.announce a { color: #fff; }
.announce::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--shincha); margin-right: 10px; vertical-align: 1px; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(244, 246, 241, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { flex: none; display: block; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .9375rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.cart-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; font-size: .9375rem; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; }
.cart-link:hover { border-color: var(--ink); }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--paper-3); display: inline-grid; place-items: center; font-size: .8125rem; font-variant-numeric: tabular-nums; }
.cart-count.has { background: var(--leaf); color: #fff; }
.cart-count.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.3); } }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; font: 500 .9375rem var(--sans); color: var(--ink); cursor: pointer; }

@media (max-width: 880px) {
  .header-row { height: 64px; gap: 12px; }
  .brand img { height: 26px; }
  .nav-toggle { display: inline-block; }
  .cart-link { padding: 7px 11px; }
  .cart-link .cart-word { display: none; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--line); }
}

/* ---------- przyciski i formularze ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .9em 1.5em; border-radius: 999px; border: 1px solid var(--leaf); background: var(--leaf); color: #fff; font: 500 1rem/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--leaf-dark); border-color: var(--leaf-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--label); border-color: var(--ink); color: var(--ink); }
.btn-small { padding: .62em 1.05em; font-size: .875rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .label-text { font-weight: 500; font-size: .9375rem; }
.field .hint { font-size: .8125rem; color: var(--ink-2); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="date"], input[type="url"], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--label);
  border: 1px solid var(--line-strong); border-radius: 6px; padding: 12px 14px; appearance: none;
}
textarea { min-height: 110px; resize: vertical; }
select { padding-right: 38px; background: var(--label) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2322301F'/%3E%3C/svg%3E") no-repeat right 14px center; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(34, 48, 31, .12); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.error { color: var(--danger); font-size: .875rem; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: .9375rem; margin-bottom: 14px; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--leaf); }
.notice { border-left: 3px solid var(--shincha); background: var(--label); padding: 14px 18px; margin: 0 0 24px; }
.notice-ok { border-left-color: var(--ok); }
.notice-error { border-left-color: var(--danger); }
.notice p:last-child { margin: 0; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(32px, 5vw, 72px) calc(var(--section) + 40px); }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.hero-copy { grid-column: 1 / 6; }
.hero-copy h1 { margin-bottom: 24px; }
.hero-copy .lead { margin-bottom: 32px; }
.hero-note { margin-top: 28px; font-size: .9375rem; color: var(--ink-2); display: flex; gap: 10px; align-items: baseline; }
.hero-note strong { color: var(--ink); font-weight: 500; }
.hero-media { grid-column: 6 / 13; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 40% 60%; border-radius: var(--radius-img); }
.hero-media .label { position: absolute; left: 28px; bottom: -72px; width: min(330px, 72%); }
.hero-caption { position: absolute; right: 0; bottom: -32px; font-size: .8125rem; color: var(--ink-3); }

@media (max-width: 980px) {
  .hero-copy, .hero-media { grid-column: 1 / -1; }
  .hero-media { margin-top: 16px; }
  .hero-media .label { left: 50%; transform: translateX(-50%) rotate(-1deg); bottom: auto; top: calc(100% - 56px); position: absolute; }
  .hero-labeled { padding-bottom: calc(var(--section) + 250px); }
  .hero-caption { display: none; }
}

/* ---------- etykieta: wzór tego, co naklejamy na paczkę ---------- */
.label {
  margin: 0; background: var(--label); color: var(--ink); padding: 18px 20px 14px;
  border: 1px solid rgba(34, 48, 31, .12);
  box-shadow: 0 1px 0 rgba(34, 48, 31, .05), 0 22px 40px -22px rgba(34, 48, 31, .45);
  transform: rotate(-1deg);
  font-size: .8125rem; line-height: 1.35;
}
.label-top { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.label-top img { width: 18px; height: 18px; }
.label-brand { font-family: var(--serif); font-size: 1rem; }
.label-lot { margin-left: auto; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.label-name { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; margin: 12px 0 10px; }
.label dl { margin: 0; }
.label-meta { display: grid; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.label-meta div { display: grid; grid-template-columns: 74px 1fr; gap: 8px; }
.label dt { color: var(--ink-3); }
.label dd { margin: 0; }
.label-meta .harvest dd { font-weight: 600; }
.label-meta .harvest dd::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--shincha); margin-right: 6px; vertical-align: 0; }
.label-brew { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.label-brew dt { font-size: .6875rem; }
.label-brew dd { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.label-foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; color: var(--ink-3); font-size: .75rem; }
.label-foot strong { color: var(--ink); font-weight: 600; font-size: .8125rem; white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
  .hero .label { animation: label-in .9s cubic-bezier(.2, .8, .2, 1) .25s both; }
  @keyframes label-in { from { opacity: 0; transform: translateY(18px) rotate(2deg); } }
  @media (max-width: 980px) {
    @keyframes label-in { from { opacity: 0; transform: translateX(-50%) translateY(18px) rotate(2deg); } }
  }
}

/* ---------- co jest w każdej paczce ---------- */
.promise-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.promise-grid h2 { margin-bottom: 18px; }
.promise-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.promise-list li { display: grid; grid-template-columns: 132px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.specimen { justify-self: start; background: var(--label); border: 1px solid var(--line); padding: 7px 10px; font-size: .8125rem; line-height: 1.25; font-variant-numeric: tabular-nums; }
.specimen b { font-weight: 600; display: block; }
.specimen-qr { width: 46px; height: 46px; padding: 5px; }
.promise-list h3 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; margin-bottom: 4px; }
.promise-list p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) {
  .promise-grid { grid-template-columns: 1fr; }
  .promise-list li { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- kolekcje ---------- */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.collection { text-decoration: none; display: grid; gap: 14px; align-content: start; }
.collection-photo { overflow: hidden; border-radius: var(--radius-img); background: var(--paper-3); }
.collection-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.collection:hover .collection-photo img { transform: scale(1.03); }
.collection h3 { font-size: 1.7rem; font-weight: 300; }
.collection p { margin: 0; color: var(--ink-2); }
.collection .meta { color: var(--ink); font-weight: 500; font-size: .9375rem; }
@media (max-width: 860px) { .collections { grid-template-columns: 1fr; } }

/* ---------- karty produktów ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(14px, 2vw, 28px); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1060px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card { display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; display: block; background: var(--paper-3); border-radius: var(--radius-img); overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.card-media:hover img { transform: scale(1.03); }
.badge { position: absolute; left: 10px; top: 10px; background: var(--label); color: var(--ink); font-size: .75rem; font-weight: 500; padding: 4px 9px; border-radius: 999px; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; flex: 1; }
.card-title { font-size: 1.2rem; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-color: var(--shincha); }
.card-origin { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .875rem; color: var(--ink-2); }
.card-sub { margin: 0; font-size: .875rem; color: var(--ink-2); }
.card-buy { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; margin: 0; white-space: nowrap; }
.price .size { font-family: var(--sans); font-size: .875rem; color: var(--ink-2); }
.unit { margin: 2px 0 0; font-size: .75rem; color: var(--ink-3); }
@media (max-width: 480px) {
  .card-buy { flex-direction: column; align-items: stretch; }
  .card-buy .btn { width: 100%; }
}

/* kolor naparu: czarka widziana z góry */
.liquor { --c: #C8C25A; display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 32%, color-mix(in srgb, var(--c) 55%, #fff) 0 18%, var(--c) 62%);
  box-shadow: 0 0 0 2px var(--label), 0 0 0 3px var(--line-strong); }

.liquors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 12px; }
.liquors a { display: grid; justify-items: center; gap: 12px; text-decoration: none; text-align: center; }
.cup { --c: #C8C25A; width: clamp(56px, 7vw, 92px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, color-mix(in srgb, var(--c) 45%, #fff) 0 10%, var(--c) 58%, color-mix(in srgb, var(--c) 82%, #000) 100%);
  box-shadow: inset 0 0 0 clamp(5px, .7vw, 8px) var(--label), 0 0 0 1px var(--line), 0 14px 24px -16px rgba(34, 48, 31, .5);
  transition: transform .3s ease; }
.liquors a:hover .cup { transform: translateY(-3px); }
.liquors .name { font-size: .8125rem; font-weight: 500; line-height: 1.25; }
.liquors .tone { display: block; font-weight: 400; color: var(--ink-3); font-size: .75rem; }
@media (max-width: 860px) { .liquors { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 420px) { .liquors .tone { display: none; } }

/* ---------- pas dla firm ---------- */
.band { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.band-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-img); }
.band h2 { margin-bottom: 16px; }
.facts { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); }
.facts li { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line-strong); }
.facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.facts span { font-size: .875rem; color: var(--ink-2); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

/* ---------- historia ---------- */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.story-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-img); }
.story-text h2 { margin-bottom: 20px; }
.story-text p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.65; max-width: 32em; }
.story-text p.muted { font-family: var(--sans); font-size: 1rem; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story-photo { order: 2; } }

/* ---------- lista mailowa ---------- */
.signup { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.signup h2 { margin-bottom: 14px; }
.signup-form .row { display: flex; gap: 10px; margin-bottom: 14px; }
.signup-form .row input { flex: 1; min-width: 0; }
@media (max-width: 860px) { .signup { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .signup-form .row { flex-direction: column; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--serif); font-size: 1.25rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-family: var(--sans); font-size: 1.5rem; font-weight: 300; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); max-width: 62ch; padding-bottom: 8px; }

/* ---------- strona sklepu ---------- */
.page-head { padding-block: clamp(36px, 6vw, 80px) clamp(24px, 3vw, 40px); }
.page-head h1 { margin-bottom: 16px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tabs a { text-decoration: none; font-size: .9375rem; font-weight: 500; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; }
.tabs a:hover { border-color: var(--ink); }
.tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- strona produktu ---------- */
.crumbs { font-size: .875rem; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.product { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); padding-block: clamp(24px, 4vw, 48px) var(--section); align-items: start; }
.product-media { position: sticky; top: 96px; }
.product-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-img); }
.photo-note { font-size: .75rem; color: var(--ink-3); margin-top: 8px; }
.product-info h1 { font-size: clamp(2.2rem, 2.8vw + 1rem, 3.4rem); margin-bottom: 14px; }
.product-info .lead { margin-bottom: 24px; }
.buy { display: grid; gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.buy-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.buy-price .price { font-size: 2rem; font-weight: 300; }
.buy-form { display: flex; gap: 10px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--label); }
.qty button { width: 42px; height: 46px; border: 0; background: none; font: 400 1.25rem var(--sans); color: var(--ink); cursor: pointer; border-radius: 999px; }
.qty input { width: 40px; border: 0; padding: 0; text-align: center; background: none; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { box-shadow: none; }
.buy-form .btn { flex: 1; min-width: 180px; }
.buy-note { font-size: .875rem; color: var(--ink-2); margin: 0; }
.product-info .label { transform: none; box-shadow: none; margin-bottom: 28px; padding: 20px 22px 16px; }
.product-info .label-name { font-size: 1.25rem; }
.prose p { max-width: 62ch; }
.prose h2 { font-size: 1.6rem; margin: 36px 0 14px; }
.contents { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line); }
.contents li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.contents li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); flex: none; }
.notes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.notes li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 12px; font-size: .875rem; }
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; }
  .product-media { position: static; }
}

/* ---------- koszyk i rezerwacja ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: var(--section); }
.cart-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 88px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line img { width: 88px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-img); }
.cart-line h3 { font-size: 1.15rem; }
.cart-line h3 a { text-decoration: none; }
.cart-line .line-total { font-family: var(--serif); font-size: 1.2rem; text-align: right; white-space: nowrap; }
.cart-line form { display: flex; gap: 10px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.cart-line select { width: auto; padding: 6px 30px 6px 12px; font-size: .9375rem; background: var(--label) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2322301F'/%3E%3C/svg%3E") no-repeat right 12px center; }
.linkish { background: none; border: 0; padding: 0; font: inherit; font-size: .875rem; color: var(--ink-2); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.summary { background: var(--label); border: 1px solid var(--line); padding: 24px; position: sticky; top: 96px; }
.summary h2 { font-size: 1.5rem; margin-bottom: 16px; }
.summary dl { margin: 0 0 18px; display: grid; gap: 8px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; }
.summary dd { margin: 0; font-variant-numeric: tabular-nums; }
.summary .total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-weight: 600; font-size: 1.125rem; }
.free-bar { height: 6px; background: var(--paper-3); border-radius: 999px; overflow: hidden; margin: 6px 0 8px; }
.free-bar span { display: block; height: 100%; background: var(--shincha); border-radius: 999px; }
.summary-lines { list-style: none; padding: 0; margin: 0 0 16px; font-size: .9375rem; }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.empty { padding: 40px 0 60px; }
@media (max-width: 860px) {
  .cart { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line img { width: 72px; }
  .cart-line .line-total { grid-column: 2; text-align: left; }
}

/* ---------- jak parzyć, teksty ---------- */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.brew-table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 640px; }
.brew-table th, .brew-table td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.brew-table th { font-weight: 500; color: var(--ink-2); font-size: .8125rem; }
.brew-table td:first-child a { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 500; }
.brew-table td { font-variant-numeric: tabular-nums; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { counter-increment: s; border-top: 1px solid var(--ink); padding-top: 16px; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 2rem; display: block; margin-bottom: 8px; }
.steps h3 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; margin-bottom: 6px; }
.steps p { color: var(--ink-2); margin: 0; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1060px) { .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .steps, .steps-4 { grid-template-columns: 1fr; } }
.text-page { max-width: 760px; padding-bottom: var(--section); }
.text-page h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.text-page ul, .text-page ol { padding-left: 1.2em; }
.text-page li { margin-bottom: 6px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.photo img { width: 100%; border-radius: var(--radius-img); object-fit: cover; }

/* ---------- stopka ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 32px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid h2 { font-family: var(--sans); font-size: .875rem; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-brand img { height: 30px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--ink-2); max-width: 28em; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8125rem; color: var(--ink-3); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- komunikaty ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: .9375rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60; display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--shincha); font-weight: 500; white-space: nowrap; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; background: var(--label); border: 1px solid var(--line-strong); padding: 18px 20px; z-index: 70; box-shadow: 0 20px 40px -20px rgba(34, 48, 31, .4); font-size: .9375rem; }
.consent p { margin-bottom: 12px; }
.consent[hidden] { display: none; }

.ph { background: var(--paper-3); aspect-ratio: 4 / 5; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- subskrypcja ---------- */
.sub-hero-img { object-position: 50% 40%; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.plan { background: var(--label); border: 1px solid var(--line); padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 6px; }
.plan-main { border-color: var(--ink); box-shadow: 0 22px 40px -28px rgba(34, 48, 31, .55); }
.plan h3 { font-size: 1.6rem; font-weight: 300; }
.plan-size { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.plan-price { font-family: var(--serif); font-size: 2.3rem; font-weight: 300; margin: 14px 0 0; line-height: 1.1; }
.plan-price span { font-family: var(--sans); font-size: .875rem; color: var(--ink-2); }
.plan-first { margin: 0 0 10px; font-size: .875rem; font-weight: 500; }
.plan-first::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--shincha); margin-right: 8px; }
.plan-for { margin: 0; color: var(--ink-2); flex: 1; }
.plan .btn { margin-top: 18px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

.sched { background: var(--label); border: 1px solid var(--line); padding: 8px 20px; }
.sched-row { display: grid; grid-template-columns: minmax(120px, 1.6fr) repeat(4, minmax(0, .7fr)) minmax(96px, 1.1fr); align-items: center; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sched-row:last-child { border-bottom: 0; }
.sched-head { font-size: .75rem; color: var(--ink-3); padding: 10px 0; }
.sched-label { font-weight: 500; font-size: .9375rem; }
.sched-cell { display: grid; place-items: center; height: 28px; border-left: 1px dashed var(--line); }
.parcel { width: 22px; height: 18px; background: var(--leaf); border-radius: 2px; position: relative; }
.parcel::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--shincha); }
.sched-price { text-align: right; font-variant-numeric: tabular-nums; font-size: .9375rem; }
@media (max-width: 520px) {
  .sched { padding: 4px 12px; }
  .sched-row { grid-template-columns: minmax(84px, 1.4fr) repeat(4, minmax(0, .6fr)) minmax(70px, 1fr); gap: 4px; }
  .sched-label, .sched-price { font-size: .8125rem; }
  .parcel { width: 16px; height: 13px; }
}

.choice { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.choice legend { font-family: var(--serif); font-size: 1.5rem; padding: 0; margin-bottom: 14px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.option { position: relative; display: flex; flex-direction: column; gap: 4px; background: var(--label); border: 1px solid var(--line-strong); border-radius: 8px; padding: 16px 16px 16px 46px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.option:hover { border-color: var(--ink); }
.option input { position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--leaf); }
.option:has(input:checked) { border-color: var(--leaf); box-shadow: 0 0 0 1px var(--leaf); }
.option:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.option-title { font-weight: 600; }
.option-title .muted { white-space: nowrap; font-weight: 400; }
.option-price { font-family: var(--serif); font-size: 1.3rem; }
.option-text { font-size: .875rem; color: var(--ink-2); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
@media (max-width: 760px) { .choice-grid, .checks { grid-template-columns: 1fr; } }

.sub-summary dl { margin: 0 0 12px; display: grid; gap: 8px; }
.sub-summary dl div { display: flex; justify-content: space-between; gap: 12px; }
.sub-summary dt { color: var(--ink-2); }
.sub-summary dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.sub-summary .total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-weight: 600; }
.sub-summary s { font-weight: 400; }
.sub-recap { margin: 28px 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.sub-recap div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sub-recap dt { color: var(--ink-2); }
.sub-recap dd { margin: 0; }
.cancel-box { border-top: 1px solid var(--line); padding-top: 18px; max-width: 640px; }
.cancel-box summary { cursor: pointer; color: var(--ink-2); text-decoration: underline; text-underline-offset: .2em; }

.sub-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .sub-band { grid-template-columns: 1fr; } }
.product-sub { border: 1px dashed var(--line-strong); padding: 14px 16px; margin: -12px 0 28px; font-size: .9375rem; display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.product-sub p { margin: 0; }

/* ---------- nagori: znaczenie nazwy (strona O nas) ---------- */
@font-face { font-family: 'Nagori JP'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/noto-serif-jp-300-nagori-v2.woff2') format('woff2'); }
.jp { font-family: 'Nagori JP', 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif JP', serif; font-weight: 300; font-style: normal; }

.nagori-intro { display: grid; grid-template-columns: minmax(120px, 2fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.nagori-intro h2 { margin-bottom: 18px; }
.nagori-intro p { max-width: 62ch; }
.nagori-intro .lead { margin-bottom: 20px; }
.nagori-mark { display: flex; gap: 14px; align-items: flex-start; justify-content: center; }
.kanji-v { writing-mode: vertical-rl; font-size: clamp(5rem, 10vw, 9.5rem); line-height: 1; letter-spacing: .08em; color: var(--ink); }
.nagori-reading { writing-mode: vertical-rl; font-size: .875rem; letter-spacing: .3em; color: var(--ink-3); margin-top: 10px; }
@media (max-width: 760px) {
  .nagori-intro { grid-template-columns: 1fr; }
  .nagori-mark { justify-content: flex-start; }
  .kanji-v { font-size: 5.5rem; }
}

.banner { margin: 0; }
.banner img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 60%; }
.banner-caption { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 80px); padding-top: 28px; padding-bottom: clamp(48px, 7vw, 96px); }
.banner-title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 1.6vw + 1rem, 2.3rem); line-height: 1.15; margin: 0; }
.banner-caption p:last-child { color: var(--ink-2); margin: 0; max-width: 62ch; }
@media (max-width: 860px) { .banner img { aspect-ratio: 4 / 3; } .banner-caption { grid-template-columns: 1fr; } }

.nagori-year { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.nagori-year h2 { margin-bottom: 16px; }
.nagori-year .photo { margin-top: 28px; }
.nagori-year .photo img { aspect-ratio: 4 / 3; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.tl-when { font-weight: 600; font-size: .9375rem; padding-top: 8px; }
.tl-kanji { font-size: 1.7rem; line-height: 1.2; margin: 0 0 4px; color: var(--ink-3); }
.timeline h3 { margin-bottom: 6px; }
.timeline li p:last-child { color: var(--ink-2); margin: 0; }
.timeline .tl-now { background: var(--label); border: 1px solid var(--line); margin: -1px -20px 0; padding: 24px 20px; }
.tl-now .tl-kanji { color: var(--ink); }
.tl-now .tl-when::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--shincha); margin-right: 8px; vertical-align: 1px; }
@media (max-width: 860px) { .nagori-year { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .timeline .tl-now { margin: -1px -12px 0; padding: 24px 12px; }
}

.triad { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.triad li { border-top: 1px solid var(--ink); padding-top: 18px; }
.triad-kanji { font-size: clamp(2.6rem, 3vw + 1rem, 3.6rem); line-height: 1.1; margin: 0 0 14px; color: var(--ink-3); }
.triad h3 { margin-bottom: 6px; }
.triad li p:last-child { color: var(--ink-2); margin: 0; }
.triad .triad-nagori { border-top: 3px solid var(--shincha); padding-top: 16px; }
.triad-nagori .triad-kanji { color: var(--ink); }
@media (max-width: 760px) { .triad { grid-template-columns: 1fr; } }

.specimen b.jp { font-weight: 300; font-size: 1.05rem; }
.coda { font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 2.6vw + 1rem, 3.2rem); line-height: 1.2; max-width: 20em; margin: 0; letter-spacing: -0.01em; }

/* ---------- informacje wymagane prawem ---------- */
.legal-info { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 28px; }
.legal-info summary { cursor: pointer; padding: 16px 0; font-weight: 500; }
.legal-info .dl { display: grid; gap: 8px; padding-bottom: 18px; font-size: .9375rem; }
.legal-info .dl div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; }
.legal-info dt { color: var(--ink-2); }
.legal-info dd { margin: 0; }
@media (max-width: 520px) { .legal-info .dl div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- poradnik i test ---------- */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2.4vw, 32px); }
.guide-card { display: grid; gap: 10px; align-content: start; }
.guide-card .card-media img { aspect-ratio: 3 / 2; }
.guide-card h2 { font-size: 1.35rem; font-weight: 400; line-height: 1.25; }
.guide-card h2 a { text-decoration: none; }
.guide-card h2 a:hover { text-decoration: underline; text-decoration-color: var(--shincha); }
.guide-card p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .guides { grid-template-columns: 1fr; } }
.guide-head { max-width: 860px; }
.guide-hero { margin-top: 0; margin-bottom: clamp(28px, 4vw, 48px); }
.guide-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius-img); }
.guide-body { max-width: 760px; padding-bottom: var(--section); font-size: 1.0625rem; }
.guide-body h2 { font-size: 1.7rem; margin: 40px 0 14px; }
.guide-body h3 { margin: 28px 0 10px; }
.guide-body ul, .guide-body ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.guide-body li { margin-bottom: 8px; max-width: 62ch; }
.guide-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.guide-links li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.guide-links a { font-family: var(--serif); font-size: 1.25rem; text-decoration: none; }
.guide-links a:hover { text-decoration: underline; text-decoration-color: var(--shincha); }
.choice-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.choice-grid-4 .option { justify-content: center; min-height: 64px; }
@media (max-width: 960px) { .choice-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .choice-grid-4 { grid-template-columns: 1fr; } }
.quiz-result { padding-bottom: clamp(40px, 6vw, 72px); margin-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.quiz-result h2 { margin-bottom: 12px; }

/* ---------- sprzedaż: koszyk, zamówienie, status, opinie ---------- */
.buy-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .9063rem; color: var(--ink-2); }
.buy-facts li { display: flex; gap: 8px; align-items: baseline; }
.buy-facts li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--shincha); transform: translateY(-2px); }
.buy-facts .low { color: var(--danger); font-weight: 500; }
.buy-facts .low::before { background: var(--danger); }
.sold-out { font-family: var(--serif); font-size: 1.4rem; margin: 0; color: var(--ink-2); }
.badge-out { background: var(--ink); color: #fff; }

.code-box { margin: 0 0 16px; font-size: .9375rem; }
.code-box summary { color: var(--ink-2); text-decoration: underline; text-underline-offset: .2em; }
.code-form { display: flex; gap: 8px; margin-top: 10px; }
.code-form input { flex: 1; min-width: 0; text-transform: uppercase; }
form.inline { display: inline; }

.order-form .two-col { align-items: start; }
.ship-box, .invoice-box { margin-top: 16px; }
.order-form.js .ship-box:not(.on), .order-form.js .invoice-box:not(.on) { display: none; }
.geo-modal { position: fixed; inset: 0; z-index: 60; background: rgba(34, 48, 31, .55); display: grid; place-items: center; padding: 16px; }
.geo-modal[hidden] { display: none; }
.geo-inner { background: var(--label); width: min(1000px, 100%); height: min(720px, 100%); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.geo-close { align-self: flex-end; padding: 12px 16px; }
.geo-inner inpost-geowidget { flex: 1; display: block; }
[data-geo-selected]:empty { display: none; }
[data-geo-selected] { background: var(--paper-2); padding: 10px 12px; border-radius: 6px; margin: 10px 0 0; }

.progress { list-style: none; padding: 0; margin: 28px 0 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.progress li { position: relative; padding-top: 30px; font-size: .875rem; color: var(--ink-3); text-align: center; }
.progress li::before { content: ''; position: absolute; top: 6px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-strong); z-index: 1; }
.progress li::after { content: ''; position: absolute; top: 12px; left: calc(-50% + 9px); right: calc(50% + 9px); height: 2px; background: var(--line); }
.progress li:first-child::after { display: none; }
.progress li.done { color: var(--ink); font-weight: 500; }
.progress li.done::before { background: var(--leaf); border-color: var(--leaf); }
.progress li.done::after { background: var(--leaf); }

.stars { color: #B68A1E; letter-spacing: 1px; white-space: nowrap; }
.stars-off { color: var(--line-strong); }
.rating-line { margin: -4px 0 12px; font-size: .9375rem; }
.rating-line a { text-decoration: none; display: inline-flex; gap: 8px; align-items: baseline; }
.rating-line span:not(.stars):not(.stars-off) { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-strong); }

.reviews { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; }
.reviews-head h2 { margin-bottom: 12px; }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.review-list li { padding: 20px 0; border-top: 1px solid var(--line); }
.review-list li p:last-child { margin-bottom: 0; }
.review-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; font-size: .875rem; color: var(--ink-2); margin-bottom: 6px; }
.review-reply { background: var(--paper-2); padding: 10px 14px; border-radius: 6px; font-size: .9375rem; }

.review-form .review-item { border: 1px solid var(--line); background: var(--label); border-radius: 8px; padding: 16px 18px; margin: 0 0 16px; }
.review-item legend { font-family: var(--serif); font-size: 1.2rem; padding: 0 6px; }
.review-item textarea { margin-top: 10px; width: 100%; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2rem; line-height: 1; color: var(--line-strong); cursor: pointer; padding: 2px; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #B68A1E; }
.star-input input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 3px; }

@media (max-width: 860px) {
  .reviews { grid-template-columns: 1fr; gap: 16px; }
  .order-form .choice-grid { grid-template-columns: 1fr !important; }
}

/* ---------- strona główna: film z parzenia ---------- */
.hero-film { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(560px, 84vh, 800px); background: #2B3326; color: #fff; }
.hero-film-media { position: absolute; inset: 0; z-index: -1; }
.hero-film-media img, .hero-film-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-film-media video { opacity: 0; transition: opacity 1.2s ease; }
.hero-film-media video.on { opacity: 1; }
.hero-film-media::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(19, 27, 16, .82) 0%, rgba(19, 27, 16, .58) 30%, rgba(19, 27, 16, .1) 62%, rgba(19, 27, 16, 0) 100%),
              linear-gradient(0deg, rgba(19, 27, 16, .5) 0%, rgba(19, 27, 16, 0) 42%); }
.hero-film-copy { width: 100%; padding-block: 96px clamp(56px, 9vh, 104px); }
.hero-film h1 { font-size: clamp(3rem, 5vw + 1rem, 5.9rem); max-width: 8.2em; margin-bottom: 22px; text-wrap: balance; }
.hero-lead { font-size: clamp(1.06rem, .35vw + 1rem, 1.25rem); line-height: 1.55; color: rgba(255, 255, 255, .88); max-width: 30em; margin-bottom: 30px; }
.hero-film-note { display: flex; gap: 10px; align-items: baseline; margin: 26px 0 0; font-size: .9375rem; color: rgba(255, 255, 255, .8); max-width: 38em; }
.hero-film-note strong { color: #fff; font-weight: 500; }
.hero-film .liquor, .hashiri .liquor { box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.hero-film :focus-visible, .hashiri :focus-visible { outline-color: #fff; }
.btn-light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-ghost-light { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .6); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; }
.film-toggle { position: absolute; right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); bottom: 24px; display: inline-flex; align-items: center; gap: 9px;
  background: rgba(19, 27, 16, .45); color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 7px 13px 7px 11px;
  font: 500 .8125rem/1 var(--sans); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.film-toggle:hover { border-color: #fff; }
.film-toggle[hidden] { display: none; }
.film-icon { width: 9px; height: 10px; background: linear-gradient(90deg, #fff 0 34%, transparent 34% 66%, #fff 66%); }
.film-toggle[aria-pressed="true"] .film-icon { background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
@media (max-width: 700px) {
  .hero-film { min-height: min(88svh, 740px); }
  .hero-film-media img, .hero-film-media video { object-position: 50% 35%; }
  .hero-film-media::after { background: linear-gradient(0deg, rgba(19, 27, 16, .88) 0%, rgba(19, 27, 16, .62) 42%, rgba(19, 27, 16, .12) 72%, rgba(19, 27, 16, 0) 100%); }
  .hero-film-copy { padding-block: 120px 36px; }
  .hero-film h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); margin-bottom: 16px; }
  .hero-lead { margin-bottom: 24px; }
  .hero-film .actions .btn { flex: 1 1 100%; }
  .film-toggle { top: 16px; bottom: auto; right: 16px; }
}

/* pasek zaufania pod filmem */
.trust { background: var(--label); border-bottom: 1px solid var(--line); }
.trust-row { list-style: none; margin-block: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-row li { display: flex; gap: 12px; align-items: flex-start; padding: 22px 20px 22px 0; font-size: .875rem; line-height: 1.4; color: var(--ink-2); }
.trust-row li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.trust-row strong { display: block; color: var(--ink); font-size: .9375rem; font-weight: 600; margin-bottom: 2px; }
.trust-row .liquor { margin-top: 3px; }
@media (max-width: 960px) {
  .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-row li { padding: 16px 14px 16px 0; }
  .trust-row li + li { padding-left: 0; border-left: 0; }
  .trust-row li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
  .trust-row li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* kategorie */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.cat { display: flex; flex-direction: column; gap: 6px; text-decoration: none; min-width: 0; }
.cat-photo { display: block; overflow: hidden; border-radius: var(--radius-img); background: var(--paper-3); margin-bottom: 10px; }
.cat-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.cat:hover .cat-photo img { transform: scale(1.03); }
.cat-name { font-family: var(--serif); font-size: clamp(1.25rem, .6vw + 1rem, 1.55rem); line-height: 1.15; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .18em; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
.cat:hover .cat-name { text-decoration-color: var(--shincha); }
.cat-text { color: var(--ink-2); font-size: .9375rem; line-height: 1.45; }
.cat-meta { font-weight: 500; font-size: .875rem; margin-top: 2px; }
@media (max-width: 860px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }

/* czym się różnimy */
.diff { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.diff-head h2 { margin-bottom: 18px; text-wrap: balance; }
.diff-label { max-width: 360px; margin: 40px 0 0 8px; }
.diff-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9688rem; line-height: 1.45; }
.diff-table th, .diff-table td { text-align: left; vertical-align: top; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.diff-table thead th { font-size: .875rem; font-weight: 500; color: var(--ink-3); padding-top: 18px; vertical-align: bottom; }
.diff-table tbody th { font-weight: 600; font-size: .9063rem; width: 24%; padding-left: 0; }
.diff-table thead th:nth-child(2) { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; color: var(--ink); background: var(--label); border: 1px solid var(--line); border-bottom-color: var(--line); border-radius: 8px 8px 0 0; }
.diff-table td.us { background: var(--label); border-left: 1px solid var(--line); border-right: 1px solid var(--line); color: var(--ink); }
.diff-table tbody tr:last-child td.us { border-radius: 0 0 8px 8px; }
.diff-table td.us::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--shincha); margin-right: 8px; vertical-align: 1px; }
.diff-table td.them { color: var(--ink-3); }
@media (max-width: 860px) {
  .diff { grid-template-columns: 1fr; }
  .diff-label { margin: 28px auto 0; }
}
@media (max-width: 640px) {
  .diff-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .diff-table, .diff-table tbody, .diff-table tr, .diff-table th, .diff-table td { display: block; width: auto; }
  .diff-table tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .diff-table tbody th, .diff-table td { border: 0; padding: 0; }
  .diff-table tbody th { margin-bottom: 8px; }
  .diff-table td.us { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 6px; }
  .diff-table tbody tr:last-child td.us { border-radius: 8px; }
  .diff-table td.them { padding: 0 12px; font-size: .875rem; }
  .diff-table td.us::before, .diff-table td.them::before { content: attr(data-label) ':'; display: inline; width: auto; height: auto; border-radius: 0; background: none; margin: 0 .3em 0 0; font-weight: 600; color: var(--ink); vertical-align: baseline; }
  .diff-table td.them::before { font-weight: 500; color: var(--ink-3); }
}

/* opinie na stronie głównej */
.home-reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.home-reviews li { background: var(--label); border: 1px solid var(--line); padding: 22px 24px; display: grid; gap: 10px; align-content: start; }
.home-reviews blockquote { margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; }
.home-reviews blockquote p, .home-reviews li > p { margin: 0; }
@media (max-width: 860px) { .home-reviews { grid-template-columns: 1fr; } }

/* pierwszy zbiór: jedyny ciemny pas na stronie */
.hashiri { background: var(--leaf-dark); color: #EEF2EA; padding-block: clamp(56px, 8vw, 104px); }
.hashiri-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.hashiri .kanji-v { color: var(--shincha); font-size: clamp(4.5rem, 7vw, 7rem); }
.hashiri h2 { color: #fff; margin-bottom: 14px; }
.hashiri .lead { color: rgba(238, 242, 234, .86); margin-bottom: 26px; max-width: 36em; }
@media (max-width: 640px) {
  .hashiri-grid { grid-template-columns: 1fr; gap: 20px; }
  .hashiri .kanji-v { writing-mode: horizontal-tb; font-size: 3.6rem; letter-spacing: .04em; }
}
.guide-card h3 { font-size: 1.3rem; font-weight: 400; line-height: 1.25; }
.guide-card h3 a { text-decoration: none; }
.guide-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--shincha); }

/* ---------- dokumenty prawne ---------- */
.legal .table-wrap { margin: 8px 0 20px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .9063rem; line-height: 1.45; min-width: 640px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.legal-table th { font-weight: 600; font-size: .8125rem; color: var(--ink-2); }
.legal-table td:first-child { font-weight: 500; }

/* ---------- galeria zdjęć produktu ---------- */
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: var(--radius-img); scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: start; }
.product-media .gallery-slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.gallery-thumb { flex: 0 0 64px; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--paper-3); cursor: pointer; overflow: hidden; opacity: .7; transition: opacity .15s, border-color .15s; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb[aria-current="true"] { opacity: 1; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.product-media .gallery-thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0; }
@media (max-width: 860px) { .gallery-thumb { flex-basis: 52px; } }

/* drugie zdjęcie na kafelku po najechaniu */
.card-hover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
@media (hover: hover) { .card-media:hover .card-hover.ready { opacity: 1; } }
/* .footer-grid .social, bo ogólne .footer-grid ul (display: grid) ustawiało ikony w kolumnę */
.footer-grid .social { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; padding: 0; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink); transition: border-color .15s, background .15s; }
.social a:hover { border-color: var(--ink); background: var(--label); }
.captcha { margin: 10px 0 4px; min-height: 65px; }
