@charset "UTF-8";
/* ==========================================================================
   Vizovické pečivo – Eva Oškerová
   Jeden stylopis pro celý web. Bez frameworků, bez závislostí.
   Barvy vycházejí z pečiva samotného (medová) a z lidové výšivky (červená, modrá).
   ========================================================================== */

/* --- Font Lora, hostovaný lokálně (žádné volání na Google = žádné cookies) --- */
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/lora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/lora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/lora-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/lora-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Barvy a míry ------------------------------------------------------- */
:root {
  color-scheme: light dark;

  --paper:        #fdfaf4;
  --paper-2:      #f6efe2;
  --surface:      #ffffff;
  --ink:          #241a12;
  --ink-soft:     #574434;
  --ink-faint:    #7a6450;
  --line:         #e5d9c4;
  --line-strong:  #cdbb9d;

  --red:          #97301c;   /* červená z kohoutka v logu */
  --red-dark:     #7a2415;
  --red-wash:     #fbeee9;
  --honey:        #b3721f;   /* barva upečeného těsta */
  --honey-ink:    #8f5a10;   /* tmavší odstín pro drobný text – kontrast AA */
  --honey-wash:   #fbf1de;
  --indigo:       #24406f;   /* modrá z lidové látky pod výrobky */
  --indigo-wash:  #eef1f7;

  --radius:       14px;
  --radius-sm:    9px;
  --shadow:       0 1px 2px rgba(60, 40, 20, .05), 0 10px 28px -14px rgba(60, 40, 20, .28);
  --shadow-lift:  0 2px 6px rgba(60, 40, 20, .07), 0 20px 42px -18px rgba(60, 40, 20, .4);

  --wrap:         1160px;
  --wrap-text:    68ch;
  --gutter:       clamp(1rem, 4vw, 2.5rem);
  --section:      clamp(3.5rem, 8vw, 6rem);

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Lora", Georgia, "Iowan Old Style", "Palatino Linotype", serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:       #19140f;
    --paper-2:     #221a13;
    --surface:     #221a13;
    --ink:         #f3ebdf;
    --ink-soft:    #d5c6b2;
    --ink-faint:   #b09b83;
    --line:        #3a2e23;
    --line-strong: #52412f;

    --red:         #e8907a;
    --red-dark:    #f0a692;
    --red-wash:    #2c1b15;
    --honey:       #e0ab5c;
    --honey-ink:   #e0ab5c;
    --honey-wash:  #2a2015;
    --indigo:      #a8bcdf;
    --indigo-wash: #1b2231;

    --shadow:      0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px -14px rgba(0, 0, 0, .8);
    --shadow-lift: 0 2px 6px rgba(0, 0, 0, .5), 0 20px 42px -18px rgba(0, 0, 0, .9);
  }
}

/* --- Základ ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.1875rem;          /* 19 px – čitelné i pro starší oči */
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.1vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.5rem); }
p, li { text-wrap: pretty; }
p { margin: 0 0 1.1em; }

a {
  color: var(--red);
  text-underline-offset: .18em; text-decoration-thickness: .08em;
  overflow-wrap: break-word;   /* dlouhé e-maily a adresy nerozbijí layout */
}
a:hover { color: var(--red-dark); }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--honey);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--honey); color: #fff; }

/* --- Pomocné ------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(var(--wrap-text) + 2 * var(--gutter)); }
.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: .5rem; top: -4rem; z-index: 100;
  background: var(--red); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); text-decoration: none;
  transition: top .15s ease;
}
.skip:focus { top: 0; color: #fff; }

.eyebrow {
  font: 600 .8125rem/1.3 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--honey-ink);
  margin: 0 0 .9rem;
}
.lead { font-size: 1.3125rem; color: var(--ink-soft); }

/* --- Hlavička ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem;
  padding-block: .7rem;
}
.brand {
  display: flex; align-items: center; gap: .8rem;
  text-decoration: none; color: inherit; margin-right: auto;
}
.brand img { width: 44px; height: 48px; flex: none; }
.brand__name {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.3rem; line-height: 1.1; display: block;
}
.brand__sub {
  font-size: .8125rem; line-height: 1.2; color: var(--ink-faint);
  letter-spacing: .06em; text-transform: uppercase;
}

.nav ul {
  display: flex; flex-wrap: wrap; gap: .15rem .3rem;
  list-style: none; margin: 0; padding: 0;
}
.nav a {
  display: block; padding: .55rem .75rem;
  border-radius: 999px;
  color: var(--ink-soft); text-decoration: none;
  font-size: 1rem; font-weight: 500;
}
.nav a:hover { background: var(--honey-wash); color: var(--ink); }
.nav a[aria-current="page"] {
  background: var(--red); color: #fff;
}
@media (prefers-color-scheme: dark) {
  .nav a[aria-current="page"] { color: #1b120c; }
}

@media (prefers-color-scheme: dark) {
  /* kohoutek je tmavě červená kresba – v tmavém režimu ji rozsvítíme */
  .brand img { filter: brightness(1.75) saturate(1.15); }
}

@media (max-width: 47.99rem) {
  .site-header { position: static; }
  .site-header__inner { padding-block: .55rem; }
  .nav a { padding: .5rem .6rem; font-size: .9375rem; }
  html { scroll-padding-top: 1rem; }
  .hero__badge {
    position: static; max-width: none; margin-top: 1rem;
  }
}

/* --- Tlačítka ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.4rem;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 1.0625rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--red-dark); color: #fff; box-shadow: var(--shadow-lift); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--honey-wash); color: var(--ink); }
@media (prefers-color-scheme: dark) {
  .btn--primary { color: #1b120c; }
  .btn--primary:hover { color: #1b120c; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* --- Sekce -------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section--tint { background: var(--paper-2); }
.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head p { color: var(--ink-soft); margin-bottom: 0; }

/* --- Hero --------------------------------------------------------------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
.hero__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 62rem) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}
.hero h1 { margin-bottom: .35em; }
.hero__claim { color: var(--red); font-style: italic; }
.hero .lead { max-width: 46ch; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}
.hero__badge {
  position: absolute; left: -.75rem; bottom: -1.25rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: .8rem 1.1rem; max-width: 17rem;
  font-size: .9375rem; line-height: 1.45; color: var(--ink-soft);
}
.hero__badge strong { color: var(--ink); font-family: var(--serif); }

/* --- Karty -------------------------------------------------------------- */
.cards {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card__num {
  font-family: var(--serif); font-size: 2rem; line-height: 1;
  color: var(--honey); display: block; margin-bottom: .5rem;
}

/* --- Sortiment ----------------------------------------------------------- */
.katalog-rejstrik { margin-top: 2rem; }
.katalog-rejstrik ul {
  display: flex; flex-wrap: wrap; gap: .5rem;
  list-style: none; margin: 0; padding: 0;
}
.katalog-rejstrik a {
  display: block; padding: .5rem 1rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface); color: var(--ink-soft);
  text-decoration: none; font-size: .9375rem; font-weight: 500;
}
.katalog-rejstrik a:hover { background: var(--honey-wash); color: var(--ink); border-color: var(--honey); }

.katalog { padding-block: clamp(2.5rem, 5vw, 4rem); }
.katalog + .katalog { border-top: 1px solid var(--line); }
.katalog .section__head { margin-bottom: 2rem; }

.products {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  list-style: none; margin: 0; padding: 0;
}
/* Ochutnávka na úvodní stránce: pevný počet sloupců, aby osm karet
   vždy tvořilo plné řady (2 × 4 na desktopu, 2 × 2 na tabletu). */
.products--vyber { grid-template-columns: 1fr; }
@media (min-width: 34rem) { .products--vyber { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .products--vyber { grid-template-columns: repeat(4, 1fr); } }

.product {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .2s ease;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.product__media {
  display: block; position: relative; width: 100%;
  padding: 0; border: 0; border-bottom: 1px solid var(--line);
  background: var(--paper-2); cursor: zoom-in;
}
.product__media img {
  /* contain, ne cover: fotky na výšku by se jinak ořízly o to podstatné */
  width: 100%; aspect-ratio: 4 / 3; object-fit: contain;
  background: var(--paper-2);
}
.product__count {
  position: absolute; right: .6rem; bottom: .6rem;
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  color: #fff; border-radius: 999px;
  padding: .2rem .7rem; font: 600 .8125rem/1.5 var(--sans);
  backdrop-filter: blur(3px);
}

.product__body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex; flex-direction: column; gap: .35rem; flex: 1;
}
.product__name {
  font-family: var(--serif); font-size: 1.1875rem; font-weight: 600;
  margin: 0; line-height: 1.25;
}
.product__meta { font-size: .9375rem; color: var(--ink-faint); margin: 0; }
.product__desc { font-size: .9375rem; color: var(--ink-soft); margin: .2rem 0 0; line-height: 1.55; }
.product__price {
  margin: .6rem 0 0; font-weight: 700; font-size: 1.0625rem; color: var(--red);
}
.product__price--ask { color: var(--ink-faint); font-weight: 600; font-size: 1rem; }
.product__link {
  margin-top: .6rem; align-self: flex-start;
  font-size: .9375rem; font-weight: 600;
}

/* --- Akce (jarmarky a trhy) --------------------------------------------- */
.akce-seznam { display: grid; gap: 1.5rem; }

.akce {
  display: grid; gap: clamp(1.2rem, 3vw, 2rem);
  grid-template-columns: 1fr;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
@media (min-width: 46rem) {
  .akce { grid-template-columns: 13rem 1fr; align-items: start; }
}
.akce--minula { opacity: .6; }

.akce__plakat {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in;
  background: var(--paper-2);
  transition: transform .16s ease, box-shadow .2s ease;
}
.akce__plakat:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.akce__plakat img { width: 100%; }

.akce__telo h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); margin-bottom: .35em; }
.akce__telo p:last-child { margin-bottom: 0; }

.akce__kdy {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem;
  margin: 0 0 .5rem; color: var(--ink-soft); font-size: 1rem;
}
.akce__den {
  font-family: var(--serif); font-weight: 600; font-size: 1.25rem;
  color: var(--red); letter-spacing: -0.01em;
}
.akce__meta { color: var(--ink-soft); margin-bottom: .6em; }
.akce__odkazy {
  margin-top: 1rem; font-size: .9375rem;
  display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: baseline;
}
.akce__tip { color: var(--ink-faint); }

/* --- Galerie ---/* --- Akce (jarmarky a trhy) --------------------------------------------- */
.akce-seznam { display: grid; gap: 1.5rem; }

.akce {
  display: grid; gap: clamp(1.2rem, 3vw, 2rem);
  grid-template-columns: 1fr;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
@media (min-width: 46rem) {
  .akce { grid-template-columns: 13rem 1fr; align-items: start; }
}
.akce--minula { opacity: .6; }

.akce__plakat {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in;
  background: var(--paper-2);
  transition: transform .16s ease, box-shadow .2s ease;
}
.akce__plakat:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.akce__plakat img { width: 100%; }

.akce__telo h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); margin-bottom: .35em; }
.akce__telo p:last-child { margin-bottom: 0; }

.akce__kdy {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem;
  margin: 0 0 .5rem; color: var(--ink-soft); font-size: 1rem;
}
.akce__den {
  font-family: var(--serif); font-weight: 600; font-size: 1.25rem;
  color: var(--red); letter-spacing: -0.01em;
}
.akce__meta { color: var(--ink-soft); margin-bottom: .6em; }
.akce__odkazy {
  margin-top: 1rem; font-size: .9375rem;
  display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: baseline;
}
.akce__tip { color: var(--ink-faint); }

/* --- Galerie ------------------------------------------------------------ */
.gallery {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  list-style: none; margin: 0; padding: 0;
}
.gallery figure { margin: 0; }
.gallery button {
  display: block; padding: 0; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in; width: 100%;
  box-shadow: var(--shadow); transition: transform .16s ease, box-shadow .2s ease;
}
.gallery button:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption {
  font-size: .9375rem; color: var(--ink-faint); padding-top: .6rem; line-height: 1.45;
}

dialog.lightbox {
  border: 0; padding: 0; max-width: min(94vw, 68rem); max-height: 94vh;
  background: transparent; color: var(--ink);
}
dialog.lightbox::backdrop { background: rgba(20, 13, 8, .82); backdrop-filter: blur(3px); }
.lightbox__inner {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.lightbox__inner img { width: 100%; max-height: 78vh; object-fit: contain; background: var(--paper-2); }
.lightbox__bar {
  display: flex; align-items: center; gap: 1rem; justify-content: space-between;
  padding: .9rem 1.1rem; font-size: .9375rem; color: var(--ink-soft);
}
.lightbox__close {
  border: 1px solid var(--line-strong); background: transparent; color: inherit;
  border-radius: 999px; min-height: 2.75rem; padding: .4rem 1.1rem; cursor: pointer;
  font: 600 1rem var(--sans); flex: none;
}
.lightbox__close:hover { background: var(--honey-wash); }

.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--ink); cursor: pointer;
  font: 400 2rem/1 var(--sans); display: grid; place-items: center;
  backdrop-filter: blur(4px); box-shadow: var(--shadow);
}
.lightbox__nav:hover { background: var(--surface); }
.lightbox__nav[hidden] { display: none; }
.lightbox__nav { left: .75rem; }
.lightbox__nav--next { left: auto; right: .75rem; }
.lightbox__inner { position: relative; }

/* --- Text / obsahové stránky -------------------------------------------- */
.prose { max-width: var(--wrap-text); }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li + li { margin-top: .4em; }
.prose blockquote {
  margin: 1.8em 0; padding: .2em 0 .2em 1.4em;
  border-left: 3px solid var(--honey);
  font-family: var(--serif); font-style: italic; font-size: 1.1875rem;
  color: var(--ink-soft);
}
.prose blockquote cite {
  display: block; font: 500 .9375rem/1.4 var(--sans); font-style: normal;
  color: var(--ink-faint); margin-top: .7em;
}

figure.figure { margin: 2rem 0; }
figure.figure img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  width: 100%; max-width: 30rem; margin-inline: auto;
}
figure.figure--wide img { max-width: 100%; }
.figure__zoom {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  cursor: zoom-in; border-radius: var(--radius);
}
.figure__zoom img { transition: transform .16s ease; }
.figure__zoom:hover img { transform: scale(1.01); }
figure.figure figcaption {
  font-size: .9375rem; color: var(--ink-faint); padding-top: .6rem; line-height: 1.45;
}

/* --- Časová osa --------------------------------------------------------- */
.timeline { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.timeline > li {
  position: relative; padding: 0 0 2.5rem 2.2rem;
  border-left: 2px solid var(--line);
}
.timeline > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline > li::before {
  content: ""; position: absolute; left: -.5rem; top: .45rem;
  width: .875rem; height: .875rem; border-radius: 50%;
  background: var(--honey); border: 3px solid var(--paper);
}
.timeline__year {
  display: block; font: 600 .875rem/1.2 var(--sans);
  letter-spacing: .12em; text-transform: uppercase; color: var(--honey-ink);
  margin-bottom: .35rem;
}
.timeline h3 { margin-bottom: .35em; }
.timeline p:last-child { margin-bottom: 0; }

/* --- Recept ------------------------------------------------------------- */
.recipe {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr;
}
@media (min-width: 52rem) { .recipe { grid-template-columns: 19rem 1fr; align-items: start; } }
.recipe__aside {
  background: var(--honey-wash); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.5rem;
  position: sticky; top: 6.5rem;
}
.recipe__aside h2 { font-size: 1.3rem; margin-bottom: .6em; }
.recipe__aside ul { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.recipe__aside li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem 0; border-bottom: 1px dashed var(--line-strong);
}
.recipe__aside li:last-child { border-bottom: 0; }
.recipe__aside b { font-weight: 700; white-space: nowrap; }
.recipe__aside p:last-child { margin-bottom: 0; font-size: .9375rem; color: var(--ink-soft); }

.steps { list-style: none; counter-reset: krok; margin: 0; padding: 0; }
.steps > li {
  counter-increment: krok;
  position: relative; padding-left: 3.6rem; margin-bottom: 2rem;
}
.steps > li::before {
  content: counter(krok);
  position: absolute; left: 0; top: -.15rem;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
  font: 600 1.1875rem var(--serif);
}
@media (prefers-color-scheme: dark) { .steps > li::before { color: #1b120c; } }
.steps h3 { margin-bottom: .3em; }
.steps p:last-child { margin-bottom: 0; }

/* --- Otázky a odpovědi -------------------------------------------------- */
.faq { max-width: var(--wrap-text); }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: .75rem; box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 3rem 1.15rem 1.35rem;
  font-family: var(--serif); font-size: 1.1875rem; font-weight: 600;
  position: relative; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.35rem; top: 1.6rem;
  width: .7rem; height: .7rem;
  border-right: 2.5px solid var(--honey); border-bottom: 2.5px solid var(--honey);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.9rem; }
.faq details > div { padding: 0 1.35rem 1.35rem; color: var(--ink-soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* --- Kontakt ------------------------------------------------------------ */
.contact-grid {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr;
}
@media (min-width: 52rem) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-grid > * { min-width: 0; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.2rem, 4vw, 1.8rem); box-shadow: var(--shadow);
  min-width: 0;
}
.contact-list {
  list-style: none; margin: 0; padding: 0; font-size: 1.1875rem;
  overflow-wrap: break-word;
}
.contact-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span {
  display: block; font-size: .8125rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: .15rem;
}
.contact-list a { font-weight: 600; }

/* --- Upozornění / prázdný stav ------------------------------------------ */
.note {
  background: var(--indigo-wash); border: 1px solid var(--line);
  border-left: 4px solid var(--indigo);
  border-radius: var(--radius-sm); padding: 1.25rem 1.4rem;
}
.note :last-child { margin-bottom: 0; }

/* --- Pruh s výzvou ------------------------------------------------------ */
.cta {
  background: var(--red); color: #fff;
  border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.2rem);
  text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .9); max-width: 48ch; margin-inline: auto; }
.cta .btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.cta .btn--primary { background: #fff; color: var(--red-dark); }
.cta .btn--primary:hover { background: var(--paper-2); color: var(--red-dark); }
@media (prefers-color-scheme: dark) {
  .cta { background: var(--red-wash); border: 1px solid var(--line-strong); color: var(--ink); }
  .cta h2 { color: var(--ink); }
  .cta p { color: var(--ink-soft); }
  .cta .btn--ghost { border-color: var(--line-strong); color: var(--ink); }
  .cta .btn--primary { background: var(--red); color: #1b120c; }
}

/* --- Drobečky ----------------------------------------------------------- */
.crumbs { font-size: .9375rem; color: var(--ink-faint); padding-block: 1.2rem 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: .4rem; color: var(--line-strong); }

/* --- Patička ------------------------------------------------------------ */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
}
.site-footer__grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.site-footer h2 {
  font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 700; color: var(--ink-faint);
  margin-bottom: .9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--red); text-decoration: underline; }
.site-footer__note {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: .9375rem; color: var(--ink-faint);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
}
.site-footer__note p { margin: 0; }

/* --- Ohleduplnost k pohybu ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* --- Tisk (hlavně kvůli receptu) ---------------------------------------- */
@media print {
  .site-header, .site-footer, .no-print, .cta, .crumbs { display: none !important; }
  body { font-size: 11.5pt; background: #fff; color: #000; }
  .section { padding-block: 0; }
  .recipe { display: block; }
  .recipe__aside { position: static; border: 1px solid #999; background: #fff; }
  a { color: #000; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
