/* Čaj Jitro — design system. Zen garden style: raked sand, stones, muted greys, petrol blue, apricot, beige. */

:root {
  --petrol: #1f3d3a;
  --petrol-light: #335c57;
  --apricot: #e2895a;
  --apricot-dark: #c46a3d;
  --beige: #f3ecdf;
  --beige-deep: #e7dcc6;
  --sand: #d8cdb4;
  --stone: #7c8a82;
  --ink: #223029;
  --paper: #fbf8f1;
  --radius: 14px;
  --measure: 70ch;
  --shadow-1: 0 6px 24px -8px rgba(31,61,58,.25);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --dur: .6s;
}
@media (prefers-reduced-motion: reduce) {
  :root { --dur: 0s; }
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--petrol); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--petrol); margin: 0 0 .5em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--petrol); color: #fff; padding: .6em 1em; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2.5px solid var(--apricot); outline-offset: 2px; }

/* ---------- utility ---------- */
.u-container { width: min(1160px, 92%); margin-inline: auto; }
.u-section { padding: clamp(3rem, 6vw, 6rem) 0; }
.u-grid { display: grid; gap: clamp(1.2rem, 3vw, 2.4rem); }
.u-grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.u-grid--3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.u-flex { display: flex; gap: 1rem; align-items: center; }
.u-center { text-align: center; }
.u-mt-0 { margin-top: 0; }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--dur) ease, transform var(--dur) ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 241, .92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--sand);
}
.site-header__inner {
  width: min(1160px, 92%); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .6rem; color: var(--petrol); }
.logo__mark { flex: none; width: 40px; height: 40px; }
.logo__word { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .02em; }
.logo__word--footer { color: var(--beige); font-size: 1.5rem; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: none; background: none; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--petrol); transition: transform .3s, opacity .3s; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav ul { display: flex; gap: 1.4rem; list-style: none; }
.site-nav a { color: var(--petrol-light); font-weight: 600; font-size: .96rem; position: relative; padding: .2em 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--apricot);
  transition: width .3s ease;
}
.site-nav a:hover::after, .site-nav a.is-active::after { width: 100%; }
.site-nav a.is-active { color: var(--petrol); }
.cart-link { position: relative; display: inline-flex; color: var(--petrol); }
.cart-count {
  position: absolute; top: -8px; right: -10px; background: var(--apricot); color: #fff;
  font-size: .68rem; font-weight: 700; border-radius: 50%; min-width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}
.cart-count--bump { animation: bump .35s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 72px 0 0 auto; width: min(78vw, 320px); height: calc(100vh - 72px);
    background: var(--paper); flex-direction: column; align-items: flex-start; padding: 2rem 1.6rem;
    transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s ease;
    box-shadow: var(--shadow-1); gap: 2rem;
  }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 1.2rem; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .7em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; cursor: pointer; position: relative; overflow: hidden;
  isolation: isolate; transition: color .3s ease, border-color .3s ease, transform .2s ease;
}
.btn::before {
  content: ""; position: absolute; inset: 0; left: -100%; width: 100%; z-index: -1;
  transition: left .35s ease;
}
.btn:active { transform: scale(.97); }
.btn--apricot { background: var(--apricot); color: #fff; }
.btn--apricot::before { background: var(--apricot-dark); }
.btn--apricot:hover::before { left: 0; }
.btn--petrol { background: var(--petrol); color: var(--beige); }
.btn--petrol::before { background: var(--petrol-light); }
.btn--petrol:hover::before { left: 0; }
.btn--ghost { background: transparent; color: var(--petrol); border-color: var(--petrol); }
.btn--ghost::before { background: var(--petrol); }
.btn--ghost:hover { color: var(--beige); }
.btn--ghost:hover::before { left: 0; }
.btn--ghost:hover { color: #fff; }
.btn--sm { min-height: 36px; padding: .4em 1.1em; font-size: .85rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(2.4rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem); overflow: hidden; }
.hero__inner { width: min(1160px, 92%); margin-inline: auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.hero__eyebrow { color: var(--apricot-dark); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem); margin: .3em 0 .6em; max-width: 14ch;
}
.hero p.lead { max-width: 46ch; font-size: 1.1rem; color: var(--petrol-light); }
.hero__art { position: relative; aspect-ratio: 1/1; }
.hero__art svg { width: 100%; height: 100%; }
.hero__sand-line { stroke-dasharray: 6 1200; stroke-dashoffset: 1200; animation: draw 2.4s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero__sand-line { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { max-width: 320px; margin-inline: auto; }
}

/* continuous subtle motion element */
.drift { animation: drift 7s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .drift { animation: none; } }

/* grain overlay */
.grain-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: .04; z-index: 1; mix-blend-mode: multiply; }

/* ---------- section dividers / ornaments ---------- */
.divider { width: 100%; height: 40px; display: block; color: var(--sand); }
.seal { width: 72px; height: 72px; color: var(--apricot-dark); }

/* ---------- accordion panels (home composition) ---------- */
.accordion { display: flex; flex-direction: column; gap: .75rem; }
.accordion-panel { border: 1px solid var(--sand); border-radius: var(--radius); background: var(--beige); overflow: hidden; }
.accordion-panel__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.4rem; background: none; border: none; cursor: pointer; text-align: left; min-height: 44px;
}
.accordion-panel__head h3 { margin: 0; font-size: 1.15rem; }
.accordion-panel__icon { flex: none; transition: transform .35s ease; color: var(--apricot-dark); }
.accordion-panel[open] .accordion-panel__icon { transform: rotate(45deg); }
.accordion-panel__body { padding: 0 1.4rem 1.4rem; color: var(--petrol-light); max-width: 64ch; }
.accordion-panel > summary { list-style: none; }
.accordion-panel > summary::-webkit-details-marker { display: none; }

/* ---------- tea compass (signature feature) ---------- */
.compass {
  display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 2.4rem; align-items: center;
  background: var(--petrol); color: var(--beige); border-radius: calc(var(--radius) + 6px); padding: clamp(1.6rem, 4vw, 3rem);
  position: relative; overflow: hidden;
}
.compass h2, .compass h3 { color: var(--beige); }
.compass__dial { position: relative; aspect-ratio: 1/1; }
.compass__dial svg { width: 100%; height: 100%; }
.compass__sector { cursor: pointer; fill: var(--petrol-light); stroke: var(--beige); stroke-width: .5; transition: fill .25s ease, transform .25s ease; transform-origin: 100px 100px; }
.compass__sector:hover, .compass__sector.is-active { fill: var(--apricot); }
.compass__sector:focus-visible { outline: 2px solid var(--apricot); }
.compass__label { font-size: 9px; fill: var(--beige); pointer-events: none; font-family: var(--font-body); font-weight: 600; }
.compass__result { background: rgba(251,248,241,.08); border: 1px solid rgba(251,248,241,.25); border-radius: var(--radius); padding: 1.4rem 1.6rem; min-height: 160px; }
.compass__result h3 { margin-bottom: .3em; }
.compass__result .tag { display: inline-block; background: var(--apricot); color: #fff; border-radius: 999px; padding: .15em .8em; font-size: .78rem; font-weight: 700; margin-right: .4em; }
@media (max-width: 760px) { .compass { grid-template-columns: 1fr; } }

/* ---------- product cards / catalog ---------- */
.product-strip, .product-grid {
  display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
@media (max-width: 640px) {
  .product-strip {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding-bottom: .5rem;
  }
  .product-strip .product-card { min-width: 76vw; scroll-snap-align: start; }
}
.product-card {
  background: var(--beige); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--sand);
  transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-1); }
.product-card__media { aspect-ratio: 4/3; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-card__cat { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--apricot-dark); font-weight: 700; }
.product-card__body h3 { font-size: 1.1rem; margin: 0; }
.product-card__price { font-weight: 700; color: var(--petrol); margin-top: auto; font-family: var(--font-mono); }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .4rem; }

/* ---------- product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.product-detail__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__price { font-size: 1.6rem; font-family: var(--font-mono); color: var(--petrol); font-weight: 700; }
.product-detail__meta { display: flex; gap: .6rem; flex-wrap: wrap; margin: .6rem 0 1.2rem; }
.product-detail__meta span { background: var(--beige); border-radius: 999px; padding: .3em .9em; font-size: .82rem; font-weight: 600; color: var(--petrol-light); }
.qty-picker { display: inline-flex; align-items: center; border: 1.5px solid var(--sand); border-radius: 999px; overflow: hidden; }
.qty-picker button { min-width: 44px; min-height: 44px; border: none; background: var(--beige); cursor: pointer; font-size: 1.1rem; }
.qty-picker input { width: 48px; text-align: center; border: none; min-height: 44px; font-size: 1rem; background: #fff; }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }

/* ---------- cart / checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.cart-table th, .cart-table td { padding: .9rem .6rem; border-bottom: 1px solid var(--sand); text-align: left; vertical-align: middle; }
.cart-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--stone); }
.cart-summary { background: var(--beige); border-radius: var(--radius); padding: 1.4rem 1.6rem; max-width: 420px; margin-left: auto; }
.cart-summary__row { display: flex; justify-content: space-between; padding: .4rem 0; }
.cart-summary__row--total { font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--sand); margin-top: .5rem; padding-top: .8rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--stone); }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  min-height: 44px; padding: .6em .8em; border: 1.5px solid var(--sand); border-radius: 8px;
  font: inherit; background: #fff; accent-color: var(--apricot); color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--petrol); }
.field-error { color: #a5341f; font-size: .82rem; min-height: 1.1em; }
.form-msg { min-height: 1.4em; font-weight: 600; }
.form-msg--ok { color: var(--petrol); }
.form-msg--error { color: #a5341f; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.field-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.field-row input { flex: 1; min-width: 160px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background: var(--beige); padding: clamp(2.6rem, 6vw, 4.5rem) 0 clamp(1.8rem, 4vw, 3rem); position: relative; overflow: hidden;
}
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); max-width: 20ch; }
.page-hero p { max-width: 54ch; color: var(--petrol-light); }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { font-size: .85rem; color: var(--stone); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--petrol-light); }
.breadcrumbs span[aria-hidden] { margin: 0 .4em; }

/* ---------- notices ---------- */
.notice { border-radius: var(--radius); padding: 1rem 1.3rem; border: 1.5px solid var(--sand); background: var(--beige); margin: 1.2rem 0; }
.notice--info { border-color: var(--petrol-light); }
.notice--warn { border-color: var(--apricot-dark); background: #fbeee4; }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.8em; font-size: 1.4rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }

/* ---------- legal toc ---------- */
.legal-toc { background: var(--beige); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 2rem; }
.legal-toc h2 { font-size: 1rem; margin-bottom: .6em; }
.legal-toc ol { padding-left: 1.3em; columns: 2; }
@media (max-width: 600px) { .legal-toc ol { columns: 1; } }

/* ---------- faq ---------- */
.faq { display: flex; flex-direction: column; gap: .7rem; }
.faq-item { border: 1px solid var(--sand); border-radius: var(--radius); background: var(--paper); padding: .2rem 1.2rem; }
.faq-item summary { cursor: pointer; padding: 1rem 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 44px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--apricot-dark); transition: transform .3s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 1rem; color: var(--petrol-light); }

/* ---------- contact layout ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-info li { display: flex; gap: .7rem; align-items: flex-start; list-style: none; margin-bottom: .8rem; }
.contact-info svg { flex: none; color: var(--apricot-dark); margin-top: .1em; }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; margin-inline: auto;
  background: var(--petrol); color: var(--beige); border-radius: var(--radius); padding: 1.2rem 1.4rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-1); z-index: 300;
}
.cookie-banner p { margin: 0; flex: 1 1 220px; font-size: .9rem; }
.cookie-banner a { color: var(--apricot); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: .6rem; }
.cookie-banner .btn--ghost { border-color: var(--beige); color: var(--beige); }

/* ---------- footer ---------- */
.site-footer { background: var(--petrol); color: var(--beige); position: relative; }
.site-footer a { color: var(--beige); opacity: .9; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.site-footer__inner {
  width: min(1160px, 92%); margin-inline: auto; padding: clamp(2.4rem, 5vw, 4rem) 0 2rem;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem;
}
.footer-col h3 { color: var(--beige); font-size: 1rem; margin-bottom: .8em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5em; }
.footer-contact { display: flex; align-items: center; gap: .5em; font-size: .9rem; }
.footer-contact a { display: flex; align-items: center; gap: .5em; }
.site-footer__bottom { border-top: 1px solid rgba(251,248,241,.15); padding: 1.1rem 0; text-align: center; font-size: .82rem; }
@media (max-width: 860px) { .site-footer__inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.error-page__code { font-family: var(--font-display); font-size: clamp(4rem, 14vw, 8rem); color: var(--sand); margin: 0; }
.page-hero--error { padding: clamp(2rem, 8vw, 4rem) 0; background: linear-gradient(135deg, rgba(31,61,58,.06) 0%, rgba(226,137,90,.06) 100%); }

/* ---------- product card ---------- */
.product-card { display: flex; flex-direction: column; background: var(--beige); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .3s, box-shadow .3s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px -8px rgba(31,61,58,.35); }
.product-card__link { color: inherit; }
.product-card__link img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.product-card__link h3 { margin: 1rem 0 .5rem; color: var(--petrol); }
.product-card__category { color: var(--stone); font-size: .9rem; font-weight: 500; margin: 0 1rem; }
.product-card__desc { color: var(--petrol-light); font-size: .9rem; line-height: 1.5; margin: .5rem 1rem 1rem; flex: 1; }
.product-card__price { font-size: 1.4rem; font-weight: 700; color: var(--apricot); margin: 0 1rem; }
.product-card__unit { font-size: .85rem; color: var(--stone); margin: 0 1rem 1rem; }
.product-card .btn { margin: 0 1rem 1rem; }

/* ---------- product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-bottom: 2rem; }
.product-detail__media { position: sticky; top: 100px; }
.product-detail__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-1); }
.product-detail__info h1 { color: var(--petrol); font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.product-detail__category { color: var(--stone); text-transform: uppercase; font-size: .85rem; letter-spacing: .08em; margin-bottom: 1rem; }
.product-detail__origin, .product-detail__mood { color: var(--petrol-light); margin: .8rem 0; }
.product-detail__origin strong, .product-detail__mood strong { color: var(--petrol); }
.product-detail__desc { color: var(--petrol-light); line-height: 1.8; font-size: 1.05rem; margin: 1.5rem 0; }
.product-detail__price-box { background: var(--beige); padding: 1.5rem; border-radius: var(--radius); margin: 1.5rem 0; }
.product-detail__price { font-size: 2rem; font-weight: 700; color: var(--apricot); margin: 0; }
.product-detail__unit { font-size: .95rem; color: var(--stone); margin: 0.5rem 0 0; }
.product-detail__add-to-cart { margin: 2rem 0; }
.product-detail__tags { color: var(--sand); font-size: .85rem; font-style: italic; margin-top: 1.5rem; }
.product-detail__nav { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--sand); }
.product-detail__nav a { display: inline-flex; align-items: center; gap: .5rem; }
@media (max-width: 860px) { .product-detail { grid-template-columns: 1fr; } .product-detail__media { position: static; } }

/* ---------- quantity picker ---------- */
.qty-picker { display: flex; align-items: center; border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; }
.qty-picker__btn { width: 44px; height: 44px; border: none; background: var(--beige); color: var(--petrol); font-size: 1.2rem; cursor: pointer; transition: background .2s ease; }
.qty-picker__btn:hover { background: var(--sand); }
.qty-picker__input { width: 60px; border: none; background: var(--paper); text-align: center; font-size: 1rem; font-weight: 600; color: var(--petrol); padding: 0; }
.qty-picker__input::-webkit-outer-spin-button, .qty-picker__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-picker__input[type=number] { -moz-appearance: textfield; }
.qty-picker--compact { border-width: 1px; }
.qty-picker--compact .qty-picker__btn { width: 36px; height: 36px; font-size: 1rem; }
.qty-picker--compact .qty-picker__input { width: 48px; font-size: .9rem; }

/* ---------- cart table ---------- */
.cart-table-wrapper { overflow-x: auto; margin-bottom: 2rem; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 1rem; color: var(--petrol); border-bottom: 2px solid var(--sand); font-weight: 700; }
.cart-table__row { border-bottom: 1px solid var(--sand); }
.cart-table td { padding: 1rem; color: var(--petrol-light); }
.cart-table__subtotal { font-weight: 700; color: var(--petrol); }
.cart-table .btn { margin: 0; }

/* ---------- cart summary ---------- */
.cart-summary { background: var(--beige); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem; }
.cart-summary__row { display: flex; justify-content: space-between; align-items: center; padding: .8rem 0; color: var(--petrol-light); border-bottom: 1px solid rgba(31,61,58,.1); }
.cart-summary__row:last-child { border-bottom: none; }
.cart-summary__total { font-size: 1.2rem; font-weight: 700; color: var(--petrol); padding: 1rem 0; }
.cart-empty { text-align: center; padding: 3rem 1rem; }
.cart-empty h2 { color: var(--stone); }
.cart-empty a { display: inline-block; margin-top: 1rem; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field { display: flex; flex-direction: column; }
.field label { font-weight: 600; color: var(--petrol); margin-bottom: .5rem; }
.field input, .field textarea, .field select { padding: .8rem; border: 1px solid var(--sand); border-radius: var(--radius); font-family: inherit; font-size: 1rem; color: var(--petrol); transition: border .2s ease; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--apricot); box-shadow: 0 0 0 3px rgba(226,137,90,.1); }
.field input::placeholder { color: var(--stone); opacity: .7; }
.field-error { border-color: #e63946; }
.field-error:focus { box-shadow: 0 0 0 3px rgba(230,57,70,.1); }
.hp-field { display: none; }
.form-msg { font-size: .95rem; margin: 1rem 0 0; padding: .8rem; border-radius: var(--radius); display: none; }
.form-msg[data-role="msg"] { display: block; }
.form-msg.success { background: rgba(76,175,80,.1); color: #2e7d32; border-left: 3px solid #4caf50; }
.form-msg.error { background: rgba(230,57,70,.1); color: #b71c1c; border-left: 3px solid #e63946; }
.contact-form { margin-top: 2rem; }
.order-form { margin-top: 2rem; }
.order-form > p { color: var(--petrol-light); }

/* ---------- notices ---------- */
.notice { padding: 1.2rem 1.4rem; border-radius: var(--radius); margin-bottom: 1.5rem; border-left: 4px solid var(--stone); }
.notice h2, .notice h3 { margin-top: 0; font-size: 1.1rem; }
.notice p { margin-bottom: 0.5em; }
.notice p:last-child { margin-bottom: 0; }
.notice a { text-decoration: underline; }
.notice--info { background: rgba(31,61,58,.06); border-left-color: var(--petrol); color: var(--petrol); }
.notice--warn { background: rgba(226,137,90,.08); border-left-color: var(--apricot); color: var(--apricot-dark); }

/* ---------- page hero ---------- */
.page-hero { padding: clamp(2rem, 6vw, 3.5rem) 0; background: linear-gradient(135deg, rgba(31,61,58,.04) 0%, rgba(226,137,90,.04) 100%); }

/* COMPONENTS: .u-container - centered max-width page wrapper
COMPONENTS: .u-section - standard vertical section padding
COMPONENTS: .u-grid / .u-grid--2 / .u-grid--3 - responsive grid helpers
COMPONENTS: .reveal - scroll-reveal element (JS adds .in-view)
COMPONENTS: .site-header / .site-nav / .nav-toggle / .cart-link / .cart-count - site chrome
COMPONENTS: .btn / .btn--apricot / .btn--petrol / .btn--ghost / .btn--sm - buttons with fill-sweep hover
COMPONENTS: .hero / .hero__inner / .hero__art / .hero__sand-line - home hero with line-draw SVG
COMPONENTS: .drift - continuous subtle floating motion
COMPONENTS: .grain-overlay - fixed full-viewport SVG grain texture
COMPONENTS: .divider / .seal - decorative SVG dividers and seal/badge
COMPONENTS: .accordion / .accordion-panel - expanding details/summary panels (home composition)
COMPONENTS: .compass / .compass__dial / .compass__sector / .compass__result - signature "Čajový kompas" feature
COMPONENTS: .product-strip / .product-grid / .product-card - catalog product cards (strip scroll-snaps on mobile)
COMPONENTS: .product-detail / .product-detail__media / .qty-picker - single product page
COMPONENTS: .cart-table / .cart-summary / .cart-empty - cart and checkout
COMPONENTS: .form-grid / .field / .field-error / .hp-field / .form-msg - form components
COMPONENTS: .page-hero - inner page hero band
COMPONENTS: .breadcrumbs - breadcrumb trail
COMPONENTS: .notice / .notice--info / .notice--warn - callout boxes
COMPONENTS: .prose - readable long-form legal text measure
COMPONENTS: .legal-toc - table of contents box for legal pages
COMPONENTS: .faq / .faq-item - FAQ accordion
COMPONENTS: .contact-layout / .contact-info - contact page layout
COMPONENTS: .cookie-banner - cookie consent banner
COMPONENTS: .site-footer / .footer-col - site footer
COMPONENTS: .error-page / .error-page__code - 404 page
*/

/* ---------- footer grain overlay ---------- */
.site-footer__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .04; z-index: 1; mix-blend-mode: multiply;
}

/* ---------- footer column variants ---------- */
.footer-col--brand {
  /* inherits base .footer-col styling */
}

.footer-col--newsletter {
  /* inherits base .footer-col styling */
}

/* ---------- newsletter form ---------- */
.newsletter-form {
  display: flex; flex-direction: column; gap: .4rem;
}

/* ---------- contact info blocks ---------- */
.contact-info__block {
  padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--sand);
}

.contact-info__block:last-child {
  border-bottom: none; padding-bottom: 0; margin-bottom: 0;
}

.contact-info__block h3 {
  display: flex; align-items: center; gap: .5rem; margin-bottom: .3em;
}

.contact-info__block svg {
  flex: none; color: var(--apricot-dark);
}

/* ---------- quantity picker button variants ---------- */
.qty-picker__btn--minus,
.qty-picker__btn--plus {
  /* inherit base styling from .qty-picker__btn */
}

/* ---------- large button variant ---------- */
.btn--lg {
  min-height: 52px; padding: .9em 2em; font-size: 1.05rem;
}

@media (max-width: 520px) {
  .btn--lg { min-height: 48px; padding: .8em 1.8em; font-size: 1rem; }
}

/* wg-contrast-autofix */
article.product-card.reveal div.product-card__body div.product-card__foot span.product-card__price { color: #111111 !important; }
