/* =============================================================================
   Sémě & Voda — stylopis
   Earnest „craft" estetika: pergamen, voda, špetka zlata. Bez externích fontů.
   ============================================================================= */

:root {
  --bg: #f6f1e7;
  --bg-alt: #efe6d4;
  --surface: #fffdf8;
  --surface-2: #fbf6ea;
  --ink: #20302d;
  --ink-soft: #5d6a64;
  --line: #e4dac4;
  --line-strong: #d6c9ab;
  --primary: #1f7a8c;
  --primary-d: #155f6e;
  --primary-soft: #d8ecef;
  --accent: #d99b3f;
  --green: #3f8f6f;
  --danger: #c0563f;
  --danger-soft: #f7e3dd;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(40, 48, 45, .05), 0 8px 24px rgba(40, 48, 45, .07);
  --shadow-lg: 0 18px 50px rgba(30, 40, 38, .18);
  --wrap: 1140px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; margin: 0; font-weight: 600; }

a { color: var(--primary-d); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; }

.pool-svg, .hero-svg, .about-svg, .seed-svg { width: 100%; height: auto; display: block; }

/* ---- utilitky ------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--ink-soft); }
.small { font-size: .86rem; }
.cap { text-transform: capitalize; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .76rem;
  font-weight: 700; color: var(--primary-d); margin: 0 0 .6rem;
}
.note {
  margin: 28px auto 0; max-width: 760px; text-align: center;
  color: var(--ink-soft); font-size: .94rem; font-style: italic;
}

/* ---- boot loader --------------------------------------------------------- */
.boot { min-height: 70vh; display: grid; place-content: center; gap: 14px; justify-items: center; color: var(--ink-soft); }
.boot__spin {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--line-strong); border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- tlačítka ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 600; cursor: pointer; border: 1.5px solid transparent;
  border-radius: 999px; padding: .62rem 1.25rem; line-height: 1.1;
  transition: transform .08s ease, background .15s ease, border-color .15s ease, color .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn--primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-d); border-color: var(--primary-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--primary-d); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--primary); background: var(--primary-soft); }
.btn--lg { padding: .82rem 1.6rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---- hlavička ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 248, .9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__mark { display: inline-flex; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.22rem; }
.brand__claim { font-size: .68rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }

.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav__link {
  color: var(--ink); padding: .5rem .8rem; border-radius: 999px; font-weight: 500; font-size: .96rem;
}
.site-nav__link:hover { background: var(--bg-alt); text-decoration: none; }
.site-nav__link.is-active { color: var(--primary-d); background: var(--primary-soft); }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  background: var(--surface); color: var(--ink); cursor: pointer; flex: none;
}
.cart-btn:hover { border-color: var(--primary); color: var(--primary-d); }
.cart-btn__badge {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: #3a2606; font-size: .72rem; font-weight: 700;
  display: grid; place-content: center;
}

.burger {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--surface);
  cursor: pointer; align-items: center; justify-content: center; order: 3;
}
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---- hero ---------------------------------------------------------------- */
.hero { background: linear-gradient(180deg, var(--surface-2), var(--bg)); border-bottom: 1px solid var(--line); }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: 64px 22px 72px;
}
.hero__title { font-size: clamp(2.1rem, 4.6vw, 3.3rem); margin-bottom: .6rem; }
.hero__lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero__promise { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hero__promise li { position: relative; padding-left: 26px; color: var(--ink); font-size: .96rem; }
.hero__promise li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px;
  border-radius: 50%; background: var(--primary-soft); border: 2px solid var(--primary);
}
.hero__art { filter: drop-shadow(0 20px 40px rgba(31, 122, 140, .18)); }

/* ---- sekce --------------------------------------------------------------- */
.section { padding: 70px 0; }
.section--alt { background: var(--bg-alt); }
.section--about { background: var(--surface-2); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section__title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section__sub { color: var(--ink-soft); margin-top: .5rem; font-size: 1.04rem; }
.section__more { text-align: center; margin-top: 38px; }

/* ---- kroky --------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; box-shadow: var(--shadow);
}
.step__icon {
  display: inline-flex; padding: 14px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary-d); margin-bottom: 14px;
}
.step__title { font-size: 1.18rem; margin-bottom: .5rem; }
.step__text { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* ---- mřížky -------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---- karta produktu ------------------------------------------------------ */
.card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .14s ease, box-shadow .14s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__media {
  position: relative; display: block; width: 100%; border: 0; cursor: pointer;
  padding: 14px 14px 0; background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.card__svg { display: block; }
.card__size {
  position: absolute; top: 20px; left: 20px; background: rgba(255, 253, 248, .92);
  border: 1px solid var(--line); border-radius: 999px; padding: .15rem .6rem;
  font-size: .8rem; font-weight: 700; color: var(--ink);
}
.card__badges { position: absolute; top: 18px; right: 18px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.badge {
  background: var(--accent); color: #3a2606; font-size: .7rem; font-weight: 700;
  padding: .2rem .55rem; border-radius: 999px; letter-spacing: .02em;
}
.badge--novinka { background: var(--green); color: #fff; }
.badge--premiova, .badge--limitovanaedice { background: #6a4ea0; color: #fff; }
.badge--prozacatecniky, .badge--propokrocile { background: var(--primary); color: #fff; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card__title { font-size: 1.2rem; }
.link-reset { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.link-reset:hover { color: var(--primary-d); }
.card__short { color: var(--ink-soft); font-size: .94rem; margin: 0; flex: 1; }
.card__meta { display: flex; align-items: center; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.card__actions { display: flex; gap: 8px; }
.card__actions .btn { padding: .5rem .85rem; font-size: .9rem; }
.price { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.price--lg { font-size: 1.7rem; }

.card--octarine { border-color: #9b7bd6; box-shadow: 0 0 0 1px #9b7bd6, 0 14px 36px rgba(122, 44, 240, .18); }
.card--octarine .card__media { background: linear-gradient(180deg, #f3ecff, var(--surface)); }

/* ---- barevná tečka ------------------------------------------------------- */
.color-dot { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--ink-soft); white-space: nowrap; }
.color-dot__swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }

/* ---- hvězdičky ----------------------------------------------------------- */
.stars { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; }
.stars__row { color: #d9c7a3; letter-spacing: 1px; }
.star--on { color: var(--accent); }
.stars__num { font-weight: 700; color: var(--ink); }
.stars__count { color: var(--ink-soft); font-size: .82rem; }

/* ---- reference ----------------------------------------------------------- */
.testi {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
}
.testi__head { display: flex; align-items: center; gap: 12px; }
.testi__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-content: center;
  background: var(--primary-soft); color: var(--primary-d); font-weight: 700; font-size: .9rem;
}
.testi__who { display: flex; flex-direction: column; line-height: 1.25; }
.testi__who strong { font-size: 1.02rem; }
.testi__who .muted { font-size: .82rem; }
.testi__text { margin: 0; font-style: italic; color: var(--ink); }
.testi__product { margin: 0; font-size: .82rem; color: var(--primary-d); font-weight: 600; }

/* ---- about teaser / stats / prose / values ------------------------------- */
.about-teaser { display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: center; }
.about-teaser--rev { grid-template-columns: 1.05fr .95fr; }
.about-teaser__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-teaser__copy p { color: var(--ink-soft); }
.about-teaser__copy .btn { margin-top: 10px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stats__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 16px; box-shadow: var(--shadow); }
.stats__n { display: block; font-family: var(--serif); font-size: 2.1rem; font-weight: 700; color: var(--primary-d); }
.stats__l { color: var(--ink-soft); font-size: .9rem; }

.prose { max-width: 760px; margin: 0 auto; display: grid; gap: 30px; }
.prose__block h2 { font-size: 1.5rem; margin-bottom: .5rem; color: var(--ink); }
.prose__block p { color: var(--ink-soft); margin: 0; }

.values { }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); text-align: center; }
.value__icon { display: inline-flex; padding: 12px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-d); margin-bottom: 12px; }
.value__h { font-size: 1.1rem; margin-bottom: .4rem; }
.value__p { color: var(--ink-soft); font-size: .92rem; margin: 0; }

/* ---- CTA band ------------------------------------------------------------ */
.section--cta { padding: 56px 0; }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--primary), var(--primary-d)); color: #fff;
  border-radius: var(--radius-lg); padding: 38px 40px; box-shadow: var(--shadow-lg);
}
.cta-band .section__title { color: #fff; }
.cta-band .section__sub { color: rgba(255, 255, 255, .85); margin-top: .3rem; }
.cta-band .btn--primary { background: #fff; color: var(--primary-d); border-color: #fff; }
.cta-band .btn--primary:hover { background: var(--bg); color: var(--primary-d); }

/* ---- page head ----------------------------------------------------------- */
.page-head { background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 52px 0 46px; }
.page-head__title { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.page-head__sub { color: var(--ink-soft); margin-top: .6rem; max-width: 60ch; font-size: 1.05rem; }

/* ---- shop / filtry ------------------------------------------------------- */
.shop { padding: 44px 0 70px; }
.shop__layout { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: start; }
.filters__bar { display: none; margin-bottom: 14px; }
.filters__panel {
  position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 22px;
}
.filters__group { display: grid; gap: 10px; }
.filters__label { font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .86rem;
  padding: .34rem .7rem; border-radius: 999px; border: 1.5px solid var(--line-strong);
  background: var(--surface); color: var(--ink); cursor: pointer; transition: all .12s ease;
}
.chip:hover { border-color: var(--primary); }
.chip--on { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip__dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }

.input {
  width: 100%; font: inherit; padding: .6rem .8rem; border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--ink);
}
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }

.shop__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.shop__count { font-weight: 600; color: var(--ink-soft); margin: 0; }
.shop__sort { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-soft); }
.shop__sort .input { width: auto; padding: .45rem .7rem; }

.empty { text-align: center; padding: 60px 20px; display: grid; gap: 10px; justify-items: center; }
.empty--page { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.empty__title { font-family: var(--serif); font-size: 1.5rem; }

/* ---- modal detailu ------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(25, 33, 31, .55);
  display: grid; place-items: start center; padding: 20px; overflow-y: auto;
}
.modal__panel {
  position: relative; width: 100%; max-width: 920px; background: var(--surface);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; margin: auto;
}
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,253,248,.9); font-size: 1.5rem; line-height: 1;
  cursor: pointer; color: var(--ink);
}
.modal__close:hover { background: var(--bg-alt); }
.modal__grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal__visual { background: linear-gradient(180deg, var(--surface-2), var(--bg-alt)); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.modal__hero { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.modal__variants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.modal__variants figure { margin: 0; text-align: center; }
.variant { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; padding: 6px; }
.variant--seed { padding: 12px; }
.modal__variants figcaption { font-size: .72rem; color: var(--ink-soft); margin-top: 6px; line-height: 1.3; }
.modal__info { padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.modal__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.modal__title { font-size: 1.8rem; }
.modal__short { font-weight: 600; color: var(--ink); margin: 0; }
.modal__desc { color: var(--ink-soft); margin: 0; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 6px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.specs > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.specs > div:nth-child(odd) { border-right: 1px solid var(--line); }
.specs > div:nth-last-child(-n+2) { border-bottom: 0; }
.specs dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.specs dd { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.spec-swatch { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.modal__care { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.modal__buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.qty button { width: 36px; height: 36px; border: 0; background: var(--surface); font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--bg-alt); }
.qty span { min-width: 34px; text-align: center; font-weight: 700; }
.qty--sm button { width: 28px; height: 28px; font-size: 1rem; }
.qty--sm span { min-width: 26px; font-size: .9rem; }

/* ---- drawer (košík) ------------------------------------------------------ */
.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(25, 33, 31, .5); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95; width: min(420px, 92vw);
  background: var(--surface); box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.3rem; }
.drawer__close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 1.4rem; cursor: pointer; color: var(--ink); }
.drawer__close:hover { background: var(--bg-alt); }
.drawer__empty { padding: 50px 24px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.drawer__items { list-style: none; margin: 0; padding: 8px 0; overflow-y: auto; flex: 1; }
.drawer-item { display: flex; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.drawer-item__swatch { width: 36px; height: 36px; border-radius: 9px; flex: none; border: 1px solid rgba(0,0,0,.12); margin-top: 3px; }
.drawer-item__body { flex: 1; display: grid; gap: 6px; }
.drawer-item__name { font-weight: 600; margin: 0; }
.drawer-item__meta { margin: 0; font-size: .82rem; color: var(--ink-soft); }
.drawer-item__right { text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.drawer-item__price { font-weight: 700; }
.drawer-item__remove { background: none; border: 0; color: var(--danger); font-size: .8rem; cursor: pointer; padding: 0; }
.drawer-item__remove:hover { text-decoration: underline; }
.drawer__foot { padding: 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__total { display: flex; align-items: center; justify-content: space-between; font-size: 1.1rem; }
.drawer__total strong { font-family: var(--serif); font-size: 1.4rem; }

/* ---- toast --------------------------------------------------------------- */
.toast-host { position: fixed; left: 0; right: 0; bottom: 22px; z-index: 120; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 999px; box-shadow: var(--shadow-lg); font-size: .92rem; font-weight: 500; }

/* ---- patička ------------------------------------------------------------- */
.site-footer { background: #1c2a28; color: #cbd6d2; margin-top: 10px; }
.site-footer a { color: #cbd6d2; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 36px; padding: 54px 22px 36px; }
.site-footer__name { font-family: var(--serif); font-size: 1.25rem; color: #fff; margin: 10px 0 6px; }
.site-footer__brand .brand__mark { filter: drop-shadow(0 0 0 #fff); }
.site-footer__col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer__col a { display: block; padding: 3px 0; }
.site-footer__col .muted { color: #9fb0ab; }
.news { display: flex; gap: 8px; margin-top: 10px; }
.news .input { background: #25332f; border-color: #36443f; color: #fff; }
.news .input::placeholder { color: #8a9994; }
.news .btn { flex: none; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border-top: 1px solid #2a3a36; font-size: .82rem; color: #8ea29d; }
.site-footer__bottom .muted { color: #9fb0ab; }

/* ---- kontakt ------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 1.5rem; }
.contact-card h3 { font-size: 1.05rem; margin: 24px 0 10px; }
.contact-address { font-style: normal; display: grid; gap: 2px; color: var(--ink); font-weight: 500; margin-bottom: 8px; }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hours li { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contact-list li { display: flex; justify-content: space-between; gap: 14px; }
.contact-list__k { color: var(--ink-soft); }
.contact-side { display: grid; gap: 22px; }
.contact-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.person-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; align-items: center; }
.person-card__avatar { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #3a2606; display: grid; place-content: center; font-weight: 700; font-size: 1.1rem; }
.person-card__name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; margin: 0; }
.person-card__note { grid-column: 1 / -1; margin: 6px 0 0; color: var(--ink-soft); font-size: .92rem; font-style: italic; }

/* ---- checkout ------------------------------------------------------------ */
.checkout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: start; }
.checkout__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.checkout__form h2 { font-size: 1.4rem; }
.field { display: grid; gap: 6px; }
.field label, .field__label { font-weight: 600; font-size: .9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
textarea.input { resize: vertical; min-height: 80px; font-family: inherit; }
.radios { display: grid; gap: 8px; }
.radio { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; }
.radio:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.radio input { accent-color: var(--primary); }
.checkout__disclaimer { margin: 2px 0 0; text-align: center; }

.checkout__summary { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.checkout__summary h2 { font-size: 1.25rem; margin-bottom: 14px; }
.summary-items { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; }
.summary-items li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.summary-items__swatch { width: 26px; height: 26px; border-radius: 7px; border: 1px solid rgba(0,0,0,.12); }
.summary-items__name { font-size: .92rem; }
.summary-items__name em { color: var(--ink-soft); font-style: normal; }
.summary-items__price { font-weight: 700; font-size: .92rem; }
.summary-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); margin-bottom: 14px; }
.summary-total strong { font-family: var(--serif); font-size: 1.4rem; }

/* ---- chybový stav pokladny ----------------------------------------------- */
.checkout-error {
  max-width: 620px; margin: 0 auto; text-align: center; background: var(--surface);
  border: 1px solid var(--danger-soft); border-top: 4px solid var(--danger);
  border-radius: var(--radius-lg); padding: 48px 40px; box-shadow: var(--shadow-lg);
}
.checkout-error__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--danger-soft); color: var(--danger); font-size: 2.2rem; font-weight: 800; display: grid; place-content: center; margin: 0 auto 18px; }
.checkout-error__title { font-size: 1.9rem; color: var(--danger); margin-bottom: 12px; }
.checkout-error__lead { font-size: 1.08rem; color: var(--ink); margin: 0 0 8px; }
.checkout-error__code { margin: 20px 0 24px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .82rem; color: var(--ink-soft); background: var(--bg-alt); border-radius: var(--radius-sm); padding: 8px 12px; display: inline-block; }
.checkout-error__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---- transitions --------------------------------------------------------- */
.fade-enter-active, .fade-leave-active { transition: opacity .22s ease; }
.fade-enter-from, .fade-leave-to { opacity: 0; }
.slide-enter-active, .slide-leave-active { transition: transform .28s cubic-bezier(.4, 0, .2, 1); }
.slide-enter-from, .slide-leave-to { transform: translateX(100%); }
.toast-enter-active, .toast-leave-active { transition: all .3s ease; }
.toast-enter-from, .toast-leave-to { opacity: 0; transform: translateY(12px); }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; padding: 44px 22px 52px; }
  .hero__art { order: -1; max-width: 480px; }
  .about-teaser, .about-teaser--rev, .contact-grid, .checkout { grid-template-columns: 1fr; }
  .about-teaser__photo { order: -1; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .modal__grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .burger { display: inline-flex; margin-left: auto; }
  .cart-btn { margin-left: 0; }
  .site-nav {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 16px;
    box-shadow: var(--shadow); display: none;
  }
  .site-nav--open { display: flex; }
  .site-nav__link { padding: .7rem .9rem; }

  .shop__layout { grid-template-columns: 1fr; }
  .filters__bar { display: block; }
  .filters__panel { position: static; display: none; }
  .filters--open .filters__panel { display: grid; }
}

@media (max-width: 620px) {
  .steps, .grid--3, .grid--4, .stats { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 28px 24px; }
  .section { padding: 50px 0; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .modal__info { padding: 22px; }
  .specs { grid-template-columns: 1fr; }
  .specs > div:nth-child(odd) { border-right: 0; }
}

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