:root {

  --kurka-900: #331e0f;
  --kurka-800: #4a2c15;
  --kurka-700: #633b1d;
  --zito: #8a5a2e;
  --med: #d99a3c;
  --med-dark: #b26f24;
  --med-deep: #8a5512;
  --mouka: #faf6ee;
  --mouka-2: #f1e7d4;
  --paperEl: #fffdf8;
  --kraft: #f6edda;
  --ink: #2b2114;
  --muted: #6d5c44;
  --line: #e5d8bf;
  --line-dark: #cbb894;
  --zelen: #5a6b38;
  --cihla: #a83c26;
  --shadow-sm: 0 2px 10px rgba(74, 44, 21, .08);
  --shadow-md: 0 14px 30px rgba(74, 44, 21, .14);
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1140px;
  --font-head: Rockwell, "Rockwell Nova", "Roboto Slab", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--mouka);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; color: var(--kurka-900); }

a { color: inherit; text-decoration: none; }
p a, li a { color: var(--kurka-800); font-weight: 600; border-bottom: 1px solid var(--med); }
p a:hover, li a:hover { color: var(--med-dark); }

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

:focus-visible { outline: 3px solid var(--med-dark); outline-offset: 2px; }

section[id], h2[id] { scroll-margin-top: 92px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 500;
  background: var(--kurka-900); color: #fff; font-weight: 700;
  padding: 12px 20px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 800; color: var(--med-deep); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--med); }

.section { padding: 64px 0; }
.section.alt { background: var(--mouka-2); border-top: 1px dashed var(--line-dark); border-bottom: 1px dashed var(--line-dark); }
.section-head { max-width: 640px; margin-bottom: 38px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--med); }
.section h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.04rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 10px;
  font-family: inherit; font-weight: 700; font-size: 1rem;
  cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-primary { background: var(--med); color: var(--kurka-900); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--med-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--kurka-800); color: #fff; }
.btn-dark:hover { background: var(--kurka-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--kurka-800); border-color: var(--kurka-800); }
.btn-outline:hover { background: var(--kurka-800); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }

.topline {
  background: var(--kurka-900); color: #f3ead9;
  font-size: .82rem; font-weight: 600; text-align: center;
  padding: 7px 10px;
}
.topline strong { color: var(--med); }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 238, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }

.brand { display: flex; align-items: center; gap: 11px; color: var(--kurka-900); }
.brand-mark { width: 46px; height: 46px; flex: 0 0 46px; }
.brand-name { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; line-height: 1; }
.brand-sub { display: block; font-family: var(--font-body); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--med-deep); font-weight: 700; margin-top: 3px; }

.nav-links { display: none; align-items: center; gap: 24px; }
.nav-links a { font-size: .96rem; font-weight: 600; color: var(--ink); padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--med-dark); }
.nav-links a[aria-current="page"] { color: var(--kurka-800); border-bottom-color: var(--med); }
.nav-links .nav-cta { border-bottom: 0; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: var(--kraft); border: 1px solid var(--line-dark); cursor: pointer;
  padding: 12px 11px; border-radius: 10px; min-height: 44px; min-width: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--kurka-900); display: block; }

.mobile-menu {
  position: fixed; inset: 0 0 0 auto; z-index: 200;
  width: min(84vw, 330px);
  background: var(--kurka-900); color: #f3ead9;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  padding: 82px 28px 28px;
  display: flex; flex-direction: column; gap: 2px;
  box-shadow: -20px 0 40px rgba(0, 0, 0, .3);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { color: #f3ead9; font-size: 1.12rem; padding: 13px 0; border-bottom: 1px dashed rgba(243, 234, 217, .25); }
.mobile-menu a[aria-current="page"] { color: var(--med); }
.mobile-menu .btn { margin-top: 20px; border-bottom: 0; }
.menu-close { position: absolute; top: 20px; right: 20px; background: rgba(255, 255, 255, .12); border: 0; color: #fff; min-width: 44px; min-height: 44px; border-radius: 10px; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.backdrop { position: fixed; inset: 0; background: rgba(30, 18, 8, .55); z-index: 150; opacity: 0; visibility: hidden; transition: .3s; }
.backdrop.open { opacity: 1; visibility: visible; }

.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(150deg, #f2e6cf 0%, #e7d4b0 55%, #dcc49a 100%);
}
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ph figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 16px 12px;
  background: linear-gradient(transparent, rgba(43, 25, 10, .82));
  color: #fff; font-size: .86rem; font-weight: 600;
}

.hero { background: linear-gradient(180deg, #f4ecdb 0%, var(--mouka) 100%); padding: 46px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--kraft); border: 1px dashed var(--line-dark);
  color: var(--kurka-800); padding: 7px 14px; border-radius: 999px;
  font-size: .82rem; font-weight: 700; margin-bottom: 18px;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--med); }
.hero h1 { font-size: clamp(2.1rem, 7vw, 3.4rem); max-width: 17ch; }
.hero-lead { font-size: clamp(1.02rem, 3vw, 1.2rem); color: var(--muted); max-width: 50ch; margin-top: 16px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 18px 36px; margin-top: 38px; }
.hero-fact strong { display: block; font-family: var(--font-head); font-size: 1.75rem; line-height: 1.1; color: var(--kurka-800); }
.hero-fact span { font-size: .85rem; color: var(--muted); }

.hero-photo { position: relative; }
.hero-photo .ph { aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); }

.hero-photo::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 2px dashed var(--line-dark); border-radius: var(--radius); z-index: 0;
}
.hero-photo .ph { position: relative; z-index: 1; }
.hero-note {
  position: absolute; z-index: 2; left: 14px; bottom: -16px;
  background: var(--kurka-800); color: #fff; border-radius: var(--radius-sm);
  padding: 12px 16px; box-shadow: var(--shadow-md); font-size: .84rem; max-width: 260px;
}
.hero-note strong { color: var(--med); }

.features { background: var(--kurka-900); color: #f3ead9; padding: 32px 0; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
.feature { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.feature svg { flex: 0 0 28px; color: var(--med); margin-top: 2px; }
.feature h3 { font-family: var(--font-body); font-size: .96rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.feature p { font-size: .84rem; color: rgba(243, 234, 217, .72); line-height: 1.45; }

.cats-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.cat-card {
  background: var(--paperEl); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; min-width: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-card .ph { aspect-ratio: 4 / 3; border-radius: 0; }
.cat-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { font-size: 1.3rem; }
.cat-body p { color: var(--muted); font-size: .92rem; margin-top: 6px; flex: 1; }
.cat-link { margin-top: 14px; font-weight: 700; color: var(--kurka-800); display: inline-flex; align-items: center; gap: 6px; }
.cat-link:hover { color: var(--med-dark); }

.gf-strip {
  margin-top: 24px; display: flex; gap: 12px; align-items: flex-start;
  background: #eef0e3; border: 1px dashed #b7bd97; border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: .93rem; color: #3d4526;
}
.gf-strip svg { flex: 0 0 22px; color: var(--zelen); margin-top: 2px; }

.guide-box {
  background: var(--paperEl); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 26px 22px;
}
.guide-q { margin-bottom: 22px; }
.guide-q h3 { font-size: 1.06rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 10px; }
.guide-q h3 .qn { color: var(--med-deep); }
.seg { display: flex; flex-wrap: wrap; gap: 10px; }
.seg-btn {
  flex: 1 1 200px; min-width: 0;
  padding: 13px 16px; border: 1.5px solid var(--line-dark); border-radius: 12px;
  background: var(--mouka); color: var(--ink);
  font-family: inherit; font-size: .95rem; font-weight: 600; text-align: left;
  cursor: pointer; transition: all .18s ease;
}
.seg-btn:hover { border-color: var(--med-dark); }
.seg-btn[aria-pressed="true"] { background: var(--kurka-800); border-color: var(--kurka-800); color: #fff; }

.guide-result {
  display: none; margin-top: 6px;
  background: var(--kraft); border: 1px dashed var(--line-dark); border-radius: var(--radius);
  padding: 22px 20px;
}
.guide-result.show { display: block; }
.guide-result .gr-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--med-deep); }
.guide-result h3 { font-size: 1.5rem; margin-top: 4px; }
.guide-result .gr-meta { color: var(--muted); font-weight: 600; font-size: .92rem; margin-top: 2px; }
.guide-result ul { list-style: none; margin: 14px 0 4px; display: grid; gap: 8px; }
.guide-result li { display: flex; gap: 9px; align-items: flex-start; font-size: .94rem; }
.guide-result li svg { flex: 0 0 17px; margin-top: 4px; color: var(--zelen); }
.guide-result li.gr-kompromis svg { color: var(--med-dark); }
.guide-result .gr-note { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.guide-result .btn { margin-top: 16px; }
.guide-hint { margin-top: 14px; font-size: .88rem; color: var(--muted); }

.order-layout { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
.order-items { display: grid; gap: 12px; }
.ogroup { font-family: var(--font-head); font-size: 1.1rem; color: var(--med-deep); margin: 14px 0 2px; display: flex; align-items: center; gap: 12px; }
.ogroup::after { content: ""; flex: 1; border-top: 1px dashed var(--line-dark); }
.ogroup:first-child { margin-top: 0; }
.oitem {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
  background: var(--paperEl); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; min-width: 0;
}
.oitem-info { flex: 1 1 220px; min-width: 0; }
.oitem-info h3 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 700; }
.oitem-meta { font-size: .84rem; color: var(--muted); margin-top: 1px; }
.oitem-meta .gf { color: var(--zelen); font-weight: 700; }
.oitem-buy { display: flex; align-items: center; gap: 14px; }
.cenovka {
  background: var(--kraft); border: 1px dashed var(--line-dark); border-radius: 7px;
  padding: 4px 10px; font-weight: 800; font-size: .95rem; color: var(--kurka-800);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.qty { display: flex; align-items: center; gap: 6px; }
.qty button {
  width: 38px; height: 38px; border-radius: 9px; border: 1.5px solid var(--line-dark);
  background: var(--mouka); color: var(--kurka-900); font-size: 1.25rem; font-weight: 700;
  cursor: pointer; line-height: 1; transition: background .15s, border-color .15s;
}
.qty button:hover { background: var(--med); border-color: var(--med-dark); }
.qty .qval {
  width: 52px; text-align: center; font-family: inherit; font-size: 1rem; font-weight: 700;
  padding: 8px 4px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff;
  color: var(--ink); -moz-appearance: textfield; appearance: textfield;
}
.qty .qval::-webkit-outer-spin-button, .qty .qval::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.sum-paper {
  position: relative; background: var(--paperEl);
  border: 1px solid var(--line); border-radius: 4px;
  box-shadow: var(--shadow-md); padding: 26px 22px 24px; margin-top: 10px;
}
.sum-paper::before {
  content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px;
  background-image: linear-gradient(-45deg, var(--paperEl) 7px, transparent 0), linear-gradient(45deg, var(--paperEl) 7px, transparent 0);
  background-position: left bottom; background-repeat: repeat-x; background-size: 14px 14px;
}
.sum-paper h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.sum-paper h3 svg { color: var(--med-dark); flex: 0 0 22px; }
.sum-empty { color: var(--muted); font-size: .93rem; margin-top: 10px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-dark); }
.sum-list { list-style: none; margin: 12px 0 0; border-bottom: 1px dashed var(--line-dark); padding-bottom: 12px; }
.sum-list li { display: flex; justify-content: space-between; gap: 14px; font-size: .93rem; padding: 4px 0; }
.sum-list li .n { min-width: 0; }
.sum-list li .c { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; margin: 12px 0 18px; font-size: 1.02rem; }
.sum-total strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--kurka-800); font-variant-numeric: tabular-nums; }

.order-warn { display: none; background: #fbeae2; border: 1px solid #e5b8a5; color: #7c2d16; border-radius: var(--radius-sm); padding: 12px 14px; font-size: .9rem; margin-bottom: 16px; }
.order-warn.show { display: block; }
.order-warn ul { margin: 0; padding-left: 18px; }

.form-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; min-width: 0; }
.field label { font-size: .86rem; font-weight: 700; color: var(--kurka-900); }
.field label .req { color: var(--cihla); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 11px 13px; border: 1.5px solid var(--line-dark); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .2s, box-shadow .2s;
  max-width: 100%; min-width: 0;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--kurka-700); box-shadow: 0 0 0 3px rgba(217, 154, 60, .25);
}
.field textarea { resize: vertical; min-height: 88px; }
.field-check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field-check input { width: auto; min-width: 18px; margin-top: 5px; }
.field-check label { font-weight: 500; font-size: .85rem; color: var(--muted); }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.form-msg {
  display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--kraft); border: 1px dashed var(--line-dark); color: var(--kurka-900); font-size: .94rem;
}
.form-msg.show { display: block; }
.form-msg strong { color: var(--med-deep); }

.steps-grid { display: grid; grid-template-columns: 1fr; gap: 18px; counter-reset: stepBox; }
.step {
  background: var(--paperEl); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px 20px; position: relative; min-width: 0; counter-increment: stepBox;
}
.step::before {
  content: counter(stepBox);
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--med); color: var(--kurka-900);
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.08rem; font-family: var(--font-body); font-weight: 700; }
.step p { color: var(--muted); font-size: .92rem; margin-top: 6px; }

.story-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.story-media .ph { aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); }
.story-media.tall .ph { aspect-ratio: 4 / 5; }
.story-text p { color: var(--muted); margin-top: 14px; font-size: 1.02rem; }
.story-text .btn { margin-top: 22px; }
.story-stats { display: flex; flex-wrap: wrap; gap: 18px 34px; margin-top: 24px; }
.story-stat strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--kurka-800); display: block; line-height: 1.1; }
.story-stat span { font-size: .85rem; color: var(--muted); }
.signature { margin-top: 22px; font-family: var(--font-head); font-style: italic; font-size: 1.2rem; color: var(--kurka-700); }
.signature small { display: block; font-family: var(--font-body); font-style: normal; font-size: .82rem; color: var(--muted); margin-top: 4px; }

.timeline { position: relative; margin: 8px 0 8px 8px; padding-left: 30px; border-left: 3px dotted var(--line-dark); }
.t-item { position: relative; padding-bottom: 26px; }
.t-item:last-child { padding-bottom: 4px; }
.t-item::before {
  content: ""; position: absolute; left: -38.5px; top: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--med); box-shadow: 0 0 0 4px var(--mouka);
}
.section.alt .t-item::before { box-shadow: 0 0 0 4px var(--mouka-2); }
.t-time { font-family: var(--font-head); font-weight: 700; color: var(--kurka-800); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.t-item h3 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 700; margin-top: 2px; }
.t-item p { color: var(--muted); font-size: .93rem; margin-top: 4px; max-width: 56ch; }

.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.review-card {
  background: var(--paperEl); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); position: relative; min-width: 0;
}
.review-card::before {
  content: "„"; position: absolute; top: 4px; right: 18px;
  font-family: var(--font-head); font-size: 4rem; line-height: 1; color: var(--line-dark);
}
.stars { color: var(--med-dark); letter-spacing: 3px; font-size: 1rem; margin-bottom: 12px; }
.review-card blockquote { font-size: 1rem; line-height: 1.6; color: var(--ink); }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--kurka-700); color: var(--kraft); font-weight: 700; font-family: var(--font-head);
}
.review-author strong { display: block; font-size: .95rem; }
.review-author span { font-size: .83rem; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
.shop-card {
  background: var(--paperEl); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow-sm); min-width: 0;
}
.shop-card h3 { font-size: 1.15rem; display: flex; gap: 9px; align-items: center; }
.shop-card h3 svg { color: var(--med-dark); flex: 0 0 20px; }
.shop-card address { font-style: normal; color: var(--muted); font-size: .94rem; margin-top: 8px; }
.shop-hours { list-style: none; margin-top: 12px; font-size: .9rem; border-top: 1px dashed var(--line-dark); padding-top: 10px; }
.shop-hours li { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.shop-hours li span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shop-hours li.closed span:last-child { color: var(--cihla); }
.contact-lines { list-style: none; margin-top: 4px; display: grid; gap: 14px; }
.contact-lines li { display: flex; gap: 12px; align-items: flex-start; }
.contact-lines svg { flex: 0 0 22px; color: var(--med-dark); margin-top: 3px; }
.contact-lines strong { display: block; font-size: .93rem; }
.contact-lines a, .contact-lines span { font-size: .92rem; color: var(--muted); }
.contact-lines a { font-weight: 700; color: var(--kurka-800); }
.contact-photo .ph { aspect-ratio: 4 / 3; }

footer { background: var(--kurka-900); color: rgba(243, 234, 217, .82); padding: 50px 0 120px; }
.foot-disclaimer {
  background: rgba(255, 255, 255, .06); border: 1px dashed rgba(243, 234, 217, .3);
  border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 28px;
  font-size: .86rem; display: flex; gap: 10px; align-items: flex-start;
}
.foot-disclaimer svg { flex: 0 0 20px; color: var(--med); margin-top: 2px; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 30px; }
.foot-brand .brand-name { color: #fff; }
.foot-brand .brand-sub { color: var(--med); }
.foot-brand p { margin-top: 12px; font-size: .92rem; max-width: 44ch; }
.foot-col h3 { color: #fff; font-family: var(--font-body); font-size: .95rem; margin-bottom: 12px; letter-spacing: .04em; }
.foot-col a, .foot-col p { display: block; font-size: .92rem; padding: 3px 0; color: rgba(243, 234, 217, .78); }
.foot-col a:hover { color: var(--med); }
.foot-bottom { border-top: 1px solid rgba(243, 234, 217, .2); padding-top: 20px; font-size: .84rem; color: rgba(243, 234, 217, .6); }

.callbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--kurka-800); color: #fff;
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .18);
}
.callbar a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 8px; font-weight: 700; font-size: .96rem; color: #fff; }
.callbar a.call { background: var(--med); color: var(--kurka-900); }
.callbar a svg { width: 19px; height: 19px; flex: 0 0 19px; }

.toast {
  position: fixed; left: 50%; bottom: 88px; transform: translate(-50%, 200%);
  background: var(--kurka-900); color: #fff; padding: 12px 20px; border-radius: 999px;
  box-shadow: var(--shadow-md); font-size: .92rem; font-weight: 600; z-index: 250;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1); max-width: 90vw; text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

.pagehead { background: linear-gradient(180deg, #f4ecdb 0%, var(--mouka) 100%); padding: 44px 0 34px; }
.pagehead h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); max-width: 20ch; }
.pagehead p { color: var(--muted); margin-top: 12px; max-width: 62ch; font-size: 1.04rem; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.filter-btn {
  background: var(--paperEl); border: 1.5px solid var(--line-dark); color: var(--kurka-800);
  border-radius: 999px; padding: 9px 18px;
  font-family: inherit; font-size: .92rem; font-weight: 700; cursor: pointer; transition: all .2s;
}
.filter-btn:hover { border-color: var(--med-dark); }
.filter-btn.active { background: var(--kurka-800); border-color: var(--kurka-800); color: #fff; }
.sort-count { font-size: .88rem; color: var(--muted); margin-bottom: 22px; }

.sort-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.sort-item {
  background: var(--paperEl); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; min-width: 0; box-shadow: var(--shadow-sm);
}
.sort-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sort-head h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; min-width: 0; }
.sort-meta { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.sort-meta .tag {
  display: inline-block; background: var(--kraft); border: 1px dashed var(--line-dark);
  border-radius: 6px; padding: 0 7px; font-size: .76rem; font-weight: 700; color: var(--kurka-800); margin-left: 6px;
}
.sort-meta .tag.gf { color: #3d4526; background: #eef0e3; border-color: #b7bd97; }
.sort-slozeni { font-size: .87rem; color: var(--muted); margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 8px; }
.sort-slozeni strong { color: var(--ink); }
.sort-slozeni em { font-style: normal; color: var(--med-deep); font-weight: 600; }

.alergen-note {
  margin-top: 26px; display: flex; gap: 12px; align-items: flex-start;
  background: var(--kraft); border: 1px dashed var(--line-dark); border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: .9rem; color: var(--muted);
}
.alergen-note svg { flex: 0 0 20px; color: var(--med-dark); margin-top: 2px; }

.tips-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.tip { background: var(--paperEl); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.tip h3 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 700; display: flex; gap: 9px; align-items: center; }
.tip h3 svg { color: var(--med-dark); flex: 0 0 20px; }
.tip p { color: var(--muted); font-size: .92rem; margin-top: 8px; }

.cta-band { background: var(--kurka-800); color: #fff; padding: 44px 0; }
.cta-band-inner { display: flex; flex-wrap: wrap; gap: 20px 30px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 4.5vw, 2.1rem); max-width: 24ch; }
.cta-band p { color: rgba(243, 234, 217, .8); margin-top: 6px; max-width: 50ch; }

@media (min-width: 640px) {
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .sort-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 920px) {
  .section { padding: 88px 0; }
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .hero { padding: 70px 0 84px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .order-layout { grid-template-columns: 1.35fr 1fr; gap: 34px; }
  .sum-paper { position: sticky; top: 96px; }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .story-grid { grid-template-columns: .95fr 1.05fr; }
  .story-grid.rev { grid-template-columns: 1.05fr .95fr; }
  .foot-grid { grid-template-columns: 1.5fr 1fr 1.1fr; }
  .callbar { display: none; }
  footer { padding-bottom: 50px; }
  .toast { bottom: 70px; }
}

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

@media print {
  .callbar, .nav-toggle, .topline { display: none; }
}

.ph figcaption { color: #1F1F1F; }
.review-card .stars { color: #A66722; }
