/* linenguideolive – středomořský průvodce: oliva, len, terakota, uhel */
:root {
  --olive: #5a6332;
  --olive-d: #434a24;
  --linen: #f3eee3;
  --linen-2: #e9e1d0;
  --paper: #fbf8f2;
  --terra: #b5603b;
  --terra-d: #95492a;
  --ink: #2a2a26;
  --muted: #6a675c;
  --rule: #d8cfbc;
  --danger: #a3361f;
  --book: "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", "Palladio", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--linen); color: var(--ink); font: 17px/1.65 var(--book); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--olive); }
h1, h2, h3 { font-family: var(--book); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5.4vw, 4.3rem); font-style: italic; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1140px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--olive); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sc, .eyebrow { font-variant: small-caps; text-transform: lowercase; letter-spacing: .12em; font-size: 1rem; color: var(--terra); margin: 0 0 .6em; }
.eyebrow { display: block; }
.lead { font-size: 1.15rem; font-style: italic; color: var(--muted); max-width: 44em; }
.small { font-size: .85rem; color: var(--muted); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
.orn { text-align: center; color: var(--terra); font-size: 1.4rem; margin: 0 0 .6em; letter-spacing: .3em; }

/* tlačítka */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .75em 1.5em; border: 1px solid var(--olive); border-radius: 2px; font: italic 1rem/1 var(--book); text-decoration: none; cursor: pointer; background: transparent; color: var(--olive); min-height: 44px; transition: background .2s, color .2s; }
.btn--primary { background: var(--olive); color: var(--linen); }
.btn--primary:hover { background: var(--terra); border-color: var(--terra); color: #fff; }
.btn--ghost:hover { background: var(--olive); color: var(--linen); }
.btn--ghost-light { border-color: var(--linen); color: var(--linen); }
.btn--ghost-light:hover { background: var(--linen); color: var(--olive); }
.btn--small { padding: .55em 1.1em; font-size: .92rem; min-height: 40px; }
.btn--block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--terra-d); font: italic 1rem var(--book); text-decoration: underline; cursor: pointer; padding: 0; }
.more { font-style: italic; }

/* hlavička – vystředěné logo, navigace pod ním */
.site-header { background: var(--paper); border-bottom: 3px double var(--rule); position: relative; z-index: 50; }
.site-header__in { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: ". logo cart" "nav nav nav"; align-items: center; padding-top: 18px; }
.logo { grid-area: logo; text-align: center; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; align-items: center; }
.logo__name { font: italic 2rem/1 var(--book); color: var(--olive); }
.logo__sub { font-variant: small-caps; text-transform: lowercase; letter-spacing: .2em; font-size: .85rem; color: var(--terra); margin-top: 4px; }
.cart-link { grid-area: cart; justify-self: end; text-decoration: none; color: var(--ink); font-style: italic; display: inline-flex; align-items: center; gap: 8px; }
.cart-count { min-width: 28px; height: 28px; border: 1px solid var(--terra); border-radius: 50%; display: inline-grid; place-items: center; font: normal .85rem var(--book); color: var(--paper); background: var(--terra); padding: 0 4px; }
.cart-count[data-empty="true"] { background: transparent; color: var(--terra); }
.main-nav { grid-area: nav; border-top: 1px solid var(--rule); margin-top: 16px; }
.main-nav ul { list-style: none; display: flex; justify-content: center; gap: 0; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav li + li::before { content: "·"; color: var(--terra); padding: 0 6px; }
.main-nav a { display: inline-block; padding: 11px 12px; text-decoration: none; color: var(--ink); font-variant: small-caps; text-transform: lowercase; letter-spacing: .12em; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--terra); }
.menu-toggle { display: none; grid-area: cart; justify-self: start; }

/* titulní strana */
.titlepage { text-align: center; padding: clamp(40px, 6vw, 80px) 0 40px; }
.titlepage__orn { font-size: 2rem; color: var(--terra); margin: 0 0 10px; }
.titlepage__vol { font-size: 1rem; }
.titlepage h1 { max-width: 15em; margin: 0 auto .4em; color: var(--olive-d); }
.titlepage__sub { max-width: 38em; margin: 0 auto 1.5em; font-size: 1.15rem; color: var(--muted); }
.titlepage__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.titlepage__fig { margin: 0; padding: 14px; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 1px 0 var(--rule), 0 12px 30px -18px rgba(42, 42, 38, .35); }
.titlepage__fig img { width: 100%; aspect-ratio: 16/8; object-fit: cover; object-position: 50% 70%; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; text-align: left; }
figcaption em { color: var(--terra); }

/* obsah */
.toc { max-width: 760px; padding: 40px 0 20px; }
.toc h2 { text-align: center; font-size: 1.3rem; }
.toc ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.toc a { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; text-decoration: none; color: var(--ink); border-bottom: 1px dotted var(--rule); }
.toc a span { font-variant: small-caps; text-transform: lowercase; letter-spacing: .1em; color: var(--terra); min-width: 110px; }
.toc a em { flex: 1; }
.toc a::after { content: "→"; color: var(--terra); }
.toc a:hover em { color: var(--olive); }

/* kapitoly */
.chapter { padding: clamp(56px, 8vw, 100px) 0; }
.chapter__head { margin-bottom: 30px; }
.chapter__no { font-variant: small-caps; text-transform: lowercase; letter-spacing: .2em; color: var(--terra); margin: 0 0 .3em; display: flex; align-items: center; gap: 14px; }
.chapter__no::after { content: ""; flex: 0 0 60px; height: 1px; background: var(--terra); }
.chapter__intro { color: var(--muted); font-style: italic; max-width: 40em; }
.chapter__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.chapter__fig { margin: 0; }
.chapter__fig img { border: 1px solid var(--rule); padding: 8px; background: var(--paper); }
.lede-italic { font-size: 1.25rem; font-style: italic; line-height: 1.5; color: var(--olive-d); }
.ornlist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ornlist li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px dotted var(--rule); }
.ornlist li::before { content: "❧"; position: absolute; left: 0; color: var(--terra); }

/* průvodce */
.guide-sec { background: var(--paper); border-top: 3px double var(--rule); border-bottom: 3px double var(--rule); }
.guide__btns { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.guide-js .guide__btns { display: flex; }
.guide__btn { font: italic .98rem var(--book); padding: 9px 16px; border: 1px solid var(--olive); background: transparent; color: var(--olive); border-radius: 999px; cursor: pointer; min-height: 42px; }
.guide__btn:hover { background: var(--linen); }
.guide__btn[aria-pressed="true"] { background: var(--olive); color: var(--linen); }
.guide__note { min-height: 1.6em; color: var(--muted); font-style: italic; margin-bottom: 18px; }
.no-js .guide__note { display: none; }
.rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: 44px 110px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); transition: opacity .25s, background .25s; }
.row.is-dim { opacity: .38; }
.row.is-match { background: linear-gradient(90deg, rgba(181, 96, 59, .08), transparent 70%); }
.row__no { font: italic 1.4rem var(--book); color: var(--terra); text-align: right; }
.row__img img { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; background: var(--linen); }
.row__txt h3 { font-size: 1.45rem; margin: 0 0 .2em; }
.row__txt h3 a { color: var(--ink); text-decoration: none; }
.row__txt h3 a:hover { color: var(--terra); }
.row__comp { font-size: .92rem; color: var(--muted); margin: 0 0 .3em; }
.row__fit { margin: 0; font-style: italic; font-size: .95rem; }
.row__fit .sc { font-style: normal; font-size: .9rem; margin: 0 4px 0 0; }
.row__buy { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.row__dose { font-size: .82rem; color: var(--muted); }
.guide__all { text-align: center; margin: 32px 0 0; }
.price { font: 1.45rem/1 var(--book); color: var(--olive-d); white-space: nowrap; }
.price--lg { font-size: 2.2rem; }

/* dlouhý text */
.longform { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.longform__fig { margin: 0; position: sticky; top: 24px; }
.longform__fig img { border: 1px solid var(--rule); padding: 8px; background: var(--paper); }
.longform__text { max-width: 36em; }
.dropcap::first-letter { float: left; font: 4.6rem/.8 var(--book); color: var(--terra); padding: 8px 10px 0 0; }

.brand-sec { background: var(--olive); color: var(--linen); text-align: center; }
.brand-sec__in { max-width: 760px; }
.brand-sec h2 { color: var(--linen); font-style: italic; }
.brand-sec .chapter__no { justify-content: center; color: #e7b495; }
.brand-sec .chapter__no::after { display: none; }
.brand-sec__text { font-size: 1.2rem; line-height: 1.7; }
.brand-sec .orn { color: #e7b495; }

.delivery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.delivery__item { padding: 24px 22px; text-align: center; }
.delivery__item + .delivery__item { border-left: 1px solid var(--rule); }
.delivery__item strong { display: block; font: italic 2rem var(--book); color: var(--olive-d); margin-bottom: 6px; }
.delivery__item p { margin: 0; color: var(--muted); font-size: .95rem; }
.delivery__note { text-align: center; margin-top: 20px; color: var(--muted); }

.faq__list { max-width: 820px; border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px dotted var(--rule); }
.faq__item summary { cursor: pointer; padding: 18px 36px 18px 0; font-size: 1.15rem; font-style: italic; list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "❧"; position: absolute; right: 4px; top: 18px; color: var(--terra); transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(90deg); }
.faq__item p { color: var(--muted); max-width: 44em; }

.reading { padding: 0 0 80px; max-width: 820px; }
.reading h2 { font-size: 1.2rem; }
.reading__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.reading__list a { display: grid; grid-template-columns: 180px 1fr auto; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px dotted var(--rule); text-decoration: none; color: var(--ink); }
.reading__list .sc { margin: 0; font-size: .9rem; }
.reading__list strong { font-weight: 400; font-size: 1.1rem; }
.reading__list em { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.reading__list a:hover strong { color: var(--terra); }

/* stránky */
.page-head { padding: 52px 0 24px; text-align: center; }
.page-head .lead { margin-inline: auto; }
.page-head h1 { color: var(--olive-d); }
.crumbs { padding: 22px 0 0; font-size: .9rem; color: var(--muted); font-style: italic; }
.crumbs a { color: var(--muted); }

/* rejstřík */
.filters { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 20px 0; margin-bottom: 36px; }
.filters__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field__label, .field label { font-variant: small-caps; text-transform: lowercase; letter-spacing: .1em; color: var(--terra-d); font-size: .98rem; }
input[type="search"], input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input:not([type]), select, textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--rule); border-radius: 2px; background: var(--paper); font: 1rem var(--book); color: var(--ink); min-height: 46px;
}
input:focus, select:focus, textarea:focus { border-color: var(--olive); outline: 2px solid rgba(90, 99, 50, .18); }
input[type="range"] { width: 100%; accent-color: var(--olive); margin-top: 12px; }
.filters__cats { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.filters__cats legend { margin-bottom: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); cursor: pointer; font-style: italic; }
.chip input { accent-color: var(--olive); margin: 0; }
.chip:has(input:checked) { background: var(--olive); color: var(--linen); border-color: var(--olive); }
.filters__meta { display: flex; justify-content: space-between; margin-top: 14px; font-style: italic; color: var(--muted); }
.no-js .filters { display: none; }
.catalog__grid, .related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 34px 26px; }
.catalog__item[hidden] { display: none; }
.catalog__empty { padding: 40px; text-align: center; font-style: italic; border: 1px dashed var(--rule); }
.pcard { text-align: center; display: flex; flex-direction: column; height: 100%; }
.pcard__img { display: block; padding: 10px; background: var(--paper); border: 1px solid var(--rule); }
.pcard__img img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.pcard__body { padding: 14px 6px 0; display: flex; flex-direction: column; flex: 1; }
.pcard__cat { font-variant: small-caps; text-transform: lowercase; letter-spacing: .12em; color: var(--terra); margin: 0 0 .2em; font-size: .92rem; }
.pcard__name { font-size: 1.35rem; font-style: italic; margin: 0 0 .2em; }
.pcard__name a { color: var(--ink); text-decoration: none; }
.pcard__sub { font-size: .92rem; color: var(--muted); }
.pcard__dose { font-size: .85rem; color: var(--muted); margin-top: auto; border-top: 1px dotted var(--rule); padding-top: 8px; }
.pcard__foot { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }

/* produkt */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); padding: 24px 0 56px; }
.gallery { padding: 12px; background: var(--paper); border: 1px solid var(--rule); align-self: start; }
.gallery__main { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery__thumbs { display: none; gap: 10px; margin-top: 10px; }
.gallery__thumbs button { width: 80px; padding: 0; border: 2px solid transparent; cursor: pointer; background: none; }
.gallery__thumbs button[aria-pressed="true"] { border-color: var(--terra); }
.gallery__static { margin-top: 10px; }
.gallery-js .gallery__thumbs { display: flex; }
.gallery-js .gallery__static { display: none; }
.product__title { font-size: clamp(2.2rem, 4vw, 3.2rem); font-style: italic; color: var(--olive-d); }
.product__sub { font-size: 1.15rem; color: var(--muted); font-style: italic; }
.product__facts { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.product__facts li { padding: 10px 0; border-bottom: 1px dotted var(--rule); display: flex; justify-content: space-between; gap: 10px; padding-right: 16px; }
.product__facts span { font-variant: small-caps; text-transform: lowercase; letter-spacing: .08em; color: var(--terra-d); }
.product__facts strong { font-weight: 400; text-align: right; }
.product__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.buy { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 12px; }
.btn--buy { flex: 1; min-width: 200px; }
.stepper { display: inline-flex; border: 1px solid var(--rule); background: var(--paper); height: 46px; }
.stepper button { width: 42px; border: 0; background: transparent; font: 1.2rem var(--book); cursor: pointer; color: var(--olive); }
.stepper button:hover { background: var(--linen-2); }
.stepper input { width: 52px; border: 0; text-align: center; padding: 0; min-height: 0; height: 100%; -moz-appearance: textfield; background: transparent; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding: 48px 0; border-top: 3px double var(--rule); }
.product-detail h2 { font-size: 1.7rem; font-style: italic; margin-top: 1.3em; }
.product-detail h2:first-child { margin-top: 0; }
.product-detail__main > p:first-of-type::first-letter { float: left; font: 3.6rem/.8 var(--book); color: var(--terra); padding: 6px 8px 0 0; }
.claims { padding-left: 0; list-style: none; }
.claims li { padding: 6px 0 6px 24px; position: relative; }
.claims li::before { content: "❧"; position: absolute; left: 0; color: var(--terra); }
.infobox { padding: 20px 22px; margin-bottom: 18px; background: var(--paper); border: 1px solid var(--rule); }
.infobox h2 { font-size: 1.1rem; font-variant: small-caps; text-transform: lowercase; letter-spacing: .12em; color: var(--terra-d); margin: 0 0 .6em; }
.infobox ul { padding-left: 1.1em; margin: 0; }
.infobox li { margin-bottom: .45em; font-size: .95rem; }
.infobox--warn { border-left: 4px solid var(--terra); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comp-table { width: 100%; border-collapse: collapse; font-size: .97rem; margin-bottom: 12px; }
.comp-table caption { text-align: left; font-style: italic; color: var(--muted); padding-bottom: 8px; }
.comp-table th, .comp-table td { text-align: left; padding: 10px 8px; border-bottom: 1px dotted var(--rule); vertical-align: top; }
.comp-table thead th { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-variant: small-caps; text-transform: lowercase; letter-spacing: .1em; font-weight: 400; color: var(--terra-d); }
.comp-table tbody th { font-weight: 400; }
.comp-table td:nth-child(2), .comp-table td:nth-child(3) { white-space: nowrap; }
.related { padding: 40px 0 80px; }
.related h2 { text-align: center; font-style: italic; }

/* košík */
.cart { padding-bottom: 80px; }
[data-cart] { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.cart-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.cart-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px dotted var(--rule); }
.cart-row__img img { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; }
.cart-row__name { font: italic 1.2rem var(--book); color: var(--ink); text-decoration: none; display: block; }
.cart-row__meta { font-size: .85rem; color: var(--muted); }
.cart-row__sum { font-size: 1.1rem; white-space: nowrap; min-width: 80px; text-align: right; }
.cart-row__remove { background: none; border: 0; color: var(--danger); font: italic .9rem var(--book); text-decoration: underline; cursor: pointer; padding: 8px 0; }
.cart-side { background: var(--paper); border: 1px solid var(--rule); padding: 24px; }
.ship-box { border: 0; padding: 0; margin: 0 0 18px; }
.ship-box legend { font-variant: small-caps; text-transform: lowercase; letter-spacing: .12em; color: var(--terra-d); margin-bottom: 10px; font-size: 1.05rem; }
.ship-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 10px; padding: 12px; border: 1px solid var(--rule); margin-bottom: 8px; cursor: pointer; align-items: center; background: var(--linen); }
.ship-opt input { grid-row: 1 / span 2; accent-color: var(--olive); }
.ship-opt__eta { grid-column: 2; font-size: .85rem; color: var(--muted); font-style: italic; }
.ship-opt__price { grid-column: 3; grid-row: 1 / span 2; white-space: nowrap; }
.ship-opt:has(input:checked) { border-color: var(--olive); box-shadow: inset 0 0 0 1px var(--olive); }
.totals { margin: 0 0 14px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dotted var(--rule); }
.totals dt { color: var(--muted); font-style: italic; }
.totals dd { margin: 0; white-space: nowrap; }
.totals__sum { border-top: 1px solid var(--ink); border-bottom: 3px double var(--rule) !important; }
.totals__sum dt, .totals__sum dd { font-size: 1.35rem; color: var(--olive-d); font-style: normal; }
.cart-note { font-size: .88rem; color: var(--muted); font-style: italic; }
.cart-continue { display: block; text-align: center; margin-top: 14px; font-style: italic; }
.cart-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; border: 1px dashed var(--rule); background: var(--paper); }
.cart-empty__title { font: italic 1.7rem var(--book); color: var(--olive-d); }

/* pokladna */
.checkout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 80px; }
.co-form fieldset { border: 0; border-top: 1px solid var(--ink); padding: 18px 0 6px; margin: 0 0 12px; }
.co-form legend { font: italic 1.4rem var(--book); color: var(--olive-d); padding-right: 12px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field--zip { max-width: 200px; }
.field__error { color: var(--danger); font-size: .88rem; margin: 0; font-style: italic; }
.field__hint { font-size: .85rem; color: var(--muted); margin: 0; font-style: italic; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.radio, .check { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; cursor: pointer; font-variant: normal !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--ink) !important; font-size: 1rem !important; }
.radio input, .check input { margin-top: 5px; accent-color: var(--olive); width: 18px; height: 18px; flex: none; }
.co-errors { border-left: 4px solid var(--danger); background: #f4e1d8; color: var(--danger); padding: 12px 16px; font-style: italic; }
.co-summary { background: var(--paper); border: 1px solid var(--rule); padding: 24px; position: sticky; top: 20px; }
.co-h { font-style: italic; font-size: 1.5rem; color: var(--olive-d); }
.co-h small { display: block; font-size: .9rem; color: var(--muted); margin-top: 6px; }
.co-items { list-style: none; padding: 0; margin: 0 0 14px; }
.co-items li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px dotted var(--rule); font-size: .95rem; }
.co-items img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.co-items small { color: var(--muted); }
.co-review { grid-column: 1 / -1; max-width: 860px; outline: none; }
.co-notice { background: var(--paper); border: 1px solid var(--terra); border-left-width: 6px; padding: 16px 20px; margin-bottom: 26px; }
.co-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 20px; }
.co-review-grid section { border-top: 1px solid var(--ink); padding-top: 12px; }
.co-review-grid h3 { font-size: 1.05rem; font-variant: small-caps; text-transform: lowercase; letter-spacing: .12em; color: var(--terra-d); }
.co-review-grid p { margin: 0; overflow-wrap: anywhere; }
.co-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.co-empty { grid-column: 1 / -1; text-align: center; padding: 50px; border: 1px dashed var(--rule); }

/* text */
.prose { max-width: 720px; padding-bottom: 80px; }
.page-info .prose { margin-inline: auto; }
.prose h2 { font-size: 1.7rem; font-style: italic; margin-top: 1.6em; color: var(--olive-d); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.about-fig { margin: 40px auto 0; max-width: 460px; }
.about-fig img { border: 1px solid var(--rule); padding: 8px; background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.contact-grid section { border-top: 1px solid var(--ink); padding-top: 14px; }
address { font-style: normal; }
.disclaimer { margin-top: 40px; padding: 16px 20px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: .95rem; font-style: italic; color: var(--muted); }

/* poradna */
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 32px; padding-bottom: 80px; }
.acard { display: flex; flex-direction: column; }
.acard__img { padding: 10px; background: var(--paper); border: 1px solid var(--rule); }
.acard__img img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.acard__body { padding: 16px 4px 0; display: flex; flex-direction: column; flex: 1; }
.acard__body h2 { font-size: 1.45rem; font-style: italic; }
.acard__body h2 a { color: var(--ink); text-decoration: none; }
.acard .more { margin-top: auto; }
.article { max-width: 820px; padding: 24px 0 20px; }
.article__head { text-align: center; margin-bottom: 28px; }
.article__head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); color: var(--olive-d); }
.article__head .lead { margin-inline: auto; }
.article__fig { margin: 0 0 36px; padding: 10px; background: var(--paper); border: 1px solid var(--rule); }
.article__fig img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.article .prose { margin-inline: auto; padding-bottom: 20px; }

/* tiráž */
.site-footer { background: var(--ink); color: #d9d3c4; padding: 64px 0 40px; text-align: center; }
.site-footer a { color: #efe7d6; text-decoration: none; }
.site-footer a:hover { color: #e7b495; text-decoration: underline; }
.colophon .orn { color: #e7b495; }
.colophon__brand { font: italic clamp(2rem, 6vw, 3.6rem)/1 var(--book); color: var(--linen); margin: 0 0 .2em; overflow-wrap: anywhere; }
.colophon__sub { font-variant: small-caps; text-transform: lowercase; letter-spacing: .18em; color: #e7b495; margin-bottom: 30px; }
.colophon__nav ul { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; justify-content: center; }
.colophon__nav li + li::before { content: "·"; padding: 0 10px; color: #8a8576; }
.colophon__nav a { font-variant: small-caps; text-transform: lowercase; letter-spacing: .1em; }
.colophon__tiraz { max-width: 720px; margin: 34px auto 0; padding-top: 22px; border-top: 1px solid #4a4a43; font-size: .88rem; }
.colophon__tiraz .sc { color: #e7b495; }
.colophon__tiraz address { margin-bottom: 10px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 160%); background: var(--ink); color: var(--linen); padding: 14px 20px; border-left: 4px solid var(--terra); box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 200; transition: transform .3s; width: max-content; max-width: calc(100% - 32px); font-size: .97rem; }
.toast.is-on { transform: translate(-50%, 0); }
.toast a { color: #e7b495; }
.storage-notice { background: #f4e1d8; color: var(--ink); padding: 10px 20px; text-align: center; font-size: .92rem; font-style: italic; border-bottom: 1px solid var(--terra); }

/* tablet */
@media (max-width: 960px) {
  .site-header__in { grid-template-areas: "menu logo cart" "nav nav nav"; padding-bottom: 14px; }
  .menu-toggle { display: inline-flex; grid-area: menu; justify-self: start; background: none; border: 1px solid var(--rule); padding: 8px 14px; font: italic .95rem var(--book); color: var(--olive); cursor: pointer; min-height: 40px; }
  .main-nav { display: none; margin-top: 14px; }
  .main-nav.is-open, .no-js .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: center; }
  .main-nav li + li::before { display: none; }
  .main-nav a { padding: 10px; }
  .chapter__cols, .longform, .product, .product-detail, .checkout, [data-cart] { grid-template-columns: 1fr; }
  .longform__fig { position: static; max-width: 460px; }
  .co-summary { position: static; }
  .filters__row { grid-template-columns: 1fr 1fr; }
  .field--search { grid-column: 1 / -1; }
  .row { grid-template-columns: 36px 84px minmax(0, 1fr); }
  .row__img img { width: 84px; height: 84px; }
  .row__buy { grid-column: 3; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 12px; text-align: left; }
}
/* telefon */
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  body { font-size: 16.5px; }
  .logo__name { font-size: 1.45rem; }
  .logo__sub { font-size: .72rem; letter-spacing: .12em; }
  .cart-link__t { display: none; }
  .titlepage__fig { padding: 6px; }
  .titlepage__fig img { aspect-ratio: 4/3; object-position: 52% 80%; }
  .toc a span { min-width: 90px; }
  .row { grid-template-columns: 64px minmax(0, 1fr); gap: 8px 14px; }
  .row__no { display: none; }
  .row__img img { width: 64px; height: 64px; }
  .row__buy { grid-column: 1 / -1; justify-content: space-between; }
  .delivery__grid { grid-template-columns: 1fr; }
  .delivery__item + .delivery__item { border-left: 0; border-top: 1px solid var(--rule); }
  .reading__list a { grid-template-columns: 1fr; gap: 2px; }
  .filters__row { grid-template-columns: 1fr; }
  .catalog__grid, .related__grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .pcard__name { font-size: 1.1rem; }
  .pcard__sub { display: none; }
  .pcard__foot .btn { width: 100%; }
  .price { font-size: 1.25rem; }
  .product__facts { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 60px minmax(0, 1fr) auto; grid-template-areas: "img info info" "img step sum" "img rm rm"; gap: 8px 12px; }
  .cart-row__img { grid-area: img; } .cart-row__img img { width: 60px; height: 60px; }
  .cart-row__info { grid-area: info; } .stepper { grid-area: step; } .cart-row__sum { grid-area: sum; } .cart-row__remove { grid-area: rm; justify-self: start; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .comp-table { font-size: .9rem; }
  .comp-table td:nth-child(2), .comp-table td:nth-child(3) { white-space: normal; }
  .colophon__nav li + li::before { padding: 0 6px; }
}
@media (max-width: 380px) {
  .catalog__grid, .related__grid { grid-template-columns: 1fr; }
}
