:root {
  --bg: #faf6ef;
  --paper: #ffffff;
  --tint: #f3ece0;
  --ink: #1f1a16;
  --ink-2: #4a413a;
  --muted: #857a70;
  --line: #e9e0d2;
  --line-2: #ddd2c1;
  --primary: #b8321d;
  --primary-600: #9f2a17;
  --primary-50: #fbeae6;
  --green: #3f7a3a;
  --green-50: #e8f2e4;
  --gold: #e3a43a;
  --dark: #1c1712;
  --dark-2: #2a231c;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(31, 26, 22, .06), 0 2px 8px rgba(31, 26, 22, .04);
  --shadow: 0 2px 6px rgba(31, 26, 22, .05), 0 12px 32px rgba(31, 26, 22, .08);
  --shadow-lg: 0 24px 64px rgba(20, 14, 8, .22);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* aliasy pro administraci */
  --paper: #faf6ef;
  --paper-2: #f3ece0;
  --card: #ffffff;
  --r: 12px;
  --r-lg: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 clamp(20px, 3.5vw, 48px); }
:focus-visible { outline: 3px solid rgba(184, 50, 29, .45); outline-offset: 2px; border-radius: 8px; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: 0 1.25rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .98rem; text-decoration: none; white-space: nowrap;
  transition: transform .15s var(--ease), background-color .2s, border-color .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 54px; padding: 0 1.6rem; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(184, 50, 29, .28); }
.btn--primary:hover { background: var(--primary-600); box-shadow: 0 8px 24px rgba(184, 50, 29, .34); }
.btn--primary:disabled { background: #cdbfb3; box-shadow: none; cursor: not-allowed; }
.btn--ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); }
.btn--outline { border-color: var(--line-2); background: var(--paper); }
.btn--outline:hover { border-color: var(--ink); }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: transparent; transition: background-color .2s;
}
.icon-btn:hover { background: var(--tint); }

/* ---------- Oznámení a hlavička ---------- */
.announce { background: var(--gold); color: var(--dark); text-align: center; font-weight: 600; font-size: .92rem; padding: .55rem 1rem; }
.header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgba(28, 23, 18, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background-color .3s;
}
.header.scrolled { background: rgba(28, 23, 18, .95); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand__name { white-space: nowrap; font-family: var(--serif); font-size: 1.32rem; font-weight: 600; letter-spacing: -.01em; }
.nav { display: flex; gap: .4rem; margin-left: auto; }
.nav a { text-decoration: none; padding: .5rem .85rem; border-radius: 999px; font-weight: 500; font-size: .95rem; color: rgba(255, 255, 255, .78); transition: color .2s, background-color .2s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: .55rem; height: 44px; padding: 0 1.1rem;
  border-radius: 999px; border: 0; background: var(--primary); color: #fff; font-weight: 600;
  transition: background-color .2s, transform .15s;
}
.cart-btn:hover { background: var(--primary-600); }
.cart-btn__count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--primary);
  font-size: .78rem; font-weight: 700; display: inline-grid; place-items: center;
}
.cart-btn.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 78% 40%, rgba(184, 50, 29, .32), transparent 60%),
    radial-gradient(600px 400px at 10% 100%, rgba(227, 164, 58, .14), transparent 60%),
    linear-gradient(180deg, #1c1712, #231b14);
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; min-height: min(760px, 92vh); padding-top: 3rem; padding-bottom: 4rem; }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; margin: 1.3rem 0 1.2rem; letter-spacing: -.025em; }
.hero__title em { font-style: italic; color: #f2b56b; font-weight: 500; }
.hero__lead { font-size: 1.12rem; color: rgba(255, 255, 255, .74); max-width: 34rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__facts { list-style: none; padding: 0; margin: 2.8rem 0 0; display: flex; flex-wrap: wrap; gap: 2.2rem; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.hero__facts span { color: rgba(255, 255, 255, .55); font-size: .88rem; }

.status-pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .95rem .45rem .8rem; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; font-weight: 500;
}
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #9a9088; }
.status-pill.is-open .dot { background: #5ccf6a; box-shadow: 0 0 0 0 rgba(92, 207, 106, .6); animation: pulse 2s infinite; }
.status-pill.is-pre .dot { background: var(--gold); }
.status-pill.is-closed .dot { background: #e0604a; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(92, 207, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(92, 207, 106, 0); } }

.hero__art { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.hero__plate {
  width: 88%; aspect-ratio: 1; border-radius: 50%; padding: 4.5%;
  background: radial-gradient(circle at 40% 35%, #3a2f25, #1e1813 70%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .06), 0 40px 80px rgba(0, 0, 0, .5);
}
.hero__pizza { width: 100%; height: 100%; animation: spin 90s linear infinite; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.hero__pizza svg { width: 100%; height: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__leaf { position: absolute; width: 30%; opacity: .95; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
.hero__leaf--1 { top: -2%; right: 2%; transform: rotate(32deg); }
.hero__leaf--2 { bottom: 0; left: -2%; width: 24%; transform: rotate(-140deg); }

/* ---------- Sekce ---------- */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: #fff; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.6rem; display: grid; gap: .8rem; }
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--primary); }
.eyebrow--light { color: #f2b56b; }

/* ---------- Menu ---------- */
.tabs { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.tab { border: 1.5px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: .55rem 1.15rem; font-weight: 600; font-size: .95rem; transition: all .2s; }
.tab:hover { border-color: var(--ink); }
.tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.menu__cat + .menu__cat { margin-top: 3.5rem; }
.menu__cat-title { font-size: 1.6rem; margin-bottom: 1.4rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }

.card {
  position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card.is-soldout { cursor: default; }
.card.is-soldout .card__media { filter: grayscale(.85); opacity: .7; }
.card__media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #f6efe4, #ede2d1); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card__media .art { position: absolute; inset: 9%; display: grid; place-items: center; transition: transform .8s var(--ease); }
.card__media .art svg { width: auto; height: 100%; filter: drop-shadow(0 12px 18px rgba(80, 40, 10, .25)); }
.card:hover .card__media img { transform: scale(1.05); }
.card:hover .card__media .art { transform: rotate(18deg) scale(1.03); }
.card__tags { position: absolute; top: 12px; left: 12px; display: flex; gap: .4rem; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: var(--shadow-sm); }
.tag--spicy { color: #b8321d; }
.tag--vege { color: var(--green); }
.tag--new { background: var(--gold); color: var(--dark); }
.tag--soldout { background: var(--ink); color: #fff; }
.card__body { display: flex; flex-direction: column; gap: .45rem; padding: 1.2rem 1.25rem 1.25rem; flex: 1; }
.card__title { font-size: 1.35rem; }
.card__desc { color: var(--ink-2); font-size: .95rem; }
.card__ingr { color: var(--muted); font-size: .86rem; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .9rem; }
.price { font-weight: 700; font-size: 1.15rem; }
.price small { font-weight: 500; color: var(--muted); font-size: .82rem; margin-right: .2rem; }
.add-btn {
  display: inline-flex; align-items: center; gap: .4rem; height: 40px; padding: 0 1rem; border-radius: 999px; border: 0;
  background: var(--ink); color: #fff; font-weight: 600; font-size: .92rem; transition: background-color .2s;
}
.card:hover .add-btn { background: var(--primary); }
.add-btn:disabled { background: #cdbfb3; }

.skeleton-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.skeleton { height: 400px; border-radius: var(--radius); background: linear-gradient(90deg, #efe7da 25%, #f7f1e8 50%, #efe7da 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { text-align: center; color: var(--muted); padding: 3rem 1rem; }

/* ---------- Jak objednat ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: s; }
.step { background: var(--paper); border-radius: var(--radius); padding: 2rem 1.7rem; border: 1px solid var(--line); }
.step__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--primary-50); color: var(--primary); font-family: var(--serif); font-weight: 700; font-size: 1.3rem; margin-bottom: 1.2rem; }
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--ink-2); }

/* ---------- O nás ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.about__art {
  position: relative; aspect-ratio: 5 / 4; border-radius: 28px; overflow: hidden;
  background: radial-gradient(circle at 30% 30%, #e9d7bb, #d8c09b 60%, #c8a77b);
  display: grid; place-items: center;
}
.about__leaf { width: 58%; transform: rotate(-18deg); filter: drop-shadow(0 22px 30px rgba(60, 40, 10, .25)); }
.about__badge {
  position: absolute; right: 7%; bottom: 9%; width: 132px; height: 132px; border-radius: 50%; background: var(--primary); color: #fff;
  display: grid; place-content: center; text-align: center; line-height: 1.15; box-shadow: var(--shadow); transform: rotate(-8deg);
}
.about__badge span { font-size: .78rem; opacity: .85; text-transform: uppercase; letter-spacing: .1em; }
.about__badge strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin: .15rem 0; }
.about__copy { display: grid; gap: 1.1rem; }
.about__copy p { color: var(--ink-2); font-size: 1.08rem; }
.checks { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 2rem; font-weight: 500; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: .2rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--green-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f7a3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E");
  background-size: 70%; background-position: center; background-repeat: no-repeat;
}

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact__info h2 { margin: .7rem 0 1.6rem; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.contact__list li { display: flex; align-items: center; gap: .8rem; color: rgba(255, 255, 255, .85); }
.contact__list svg { color: #f2b56b; flex: none; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact__sub { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .5); margin: 2.2rem 0 .9rem; font-weight: 700; }
.hours { width: 100%; max-width: 380px; border-collapse: collapse; }
.hours td { padding: .42rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .78); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { color: #fff; font-weight: 600; }
.hours tr.today td:first-child::after { content: 'dnes'; margin-left: .5rem; font-size: .7rem; padding: .1rem .45rem; border-radius: 999px; background: var(--primary); vertical-align: middle; }
.zones { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.zones li { padding: .35rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; color: rgba(255, 255, 255, .85); }
.zones li span { color: #f2b56b; margin-left: .35rem; }
.social { display: flex; gap: .6rem; margin-top: 2rem; }
.social a { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .08); text-decoration: none; font-weight: 500; font-size: .92rem; transition: background-color .2s; }
.social a:hover { background: rgba(255, 255, 255, .15); }
.contact__map { border-radius: 24px; overflow: hidden; min-height: 460px; height: 100%; background: var(--dark-2); }
.contact__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; filter: grayscale(.25) contrast(1.05); }

/* ---------- Patička ---------- */
.footer { background: #15110d; color: rgba(255, 255, 255, .6); padding: 2rem 0; font-size: .9rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.brand--footer { color: #fff; font-family: var(--serif); font-size: 1.1rem; }
.footer__links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: #fff; }

/* ---------- Mobilní lišta košíku ---------- */
.cartbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
  display: none; align-items: center; gap: .8rem; height: 58px; padding: 0 1.1rem 0 .6rem; border: 0; border-radius: 18px;
  background: var(--primary); color: #fff; font-weight: 600; box-shadow: 0 14px 34px rgba(184, 50, 29, .4);
  animation: rise .35s var(--ease);
}
.cartbar strong { margin-left: auto; }
.cartbar__count { display: grid; place-items: center; min-width: 38px; height: 38px; border-radius: 12px; background: rgba(0, 0, 0, .18); }
@keyframes rise { from { transform: translateY(120%); } }

/* ---------- Modal (detail pizzy) ---------- */
.modal, .drawer { position: fixed; inset: 0; z-index: 60; }
.modal__backdrop, .drawer__backdrop { position: absolute; inset: 0; background: rgba(20, 14, 8, .55); backdrop-filter: blur(3px); animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.modal__panel {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(620px, calc(100% - 32px)); max-height: min(880px, calc(100% - 48px));
  background: var(--paper); border-radius: 26px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden;
  animation: pop .32s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm); }
.modal__close:hover { background: #fff; }
.modal__scroll { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.modal__footer { display: flex; gap: .8rem; padding: 1rem 1.4rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }

.pm__media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #f6efe4, #e9dcc8); }
.pm__media img { width: 100%; height: 100%; object-fit: cover; }
.pm__media .art { position: absolute; inset: 8%; display: grid; place-items: center; }
.pm__media .art svg { height: 100%; width: auto; filter: drop-shadow(0 16px 24px rgba(80, 40, 10, .25)); }
.pm__content { padding: 1.4rem 1.4rem .6rem; display: grid; gap: 1.6rem; }
.pm__head h2 { font-size: 1.9rem; }
.pm__head p { color: var(--ink-2); margin-top: .4rem; }
.pm__allergens { font-size: .82rem; color: var(--muted); margin-top: .5rem; }
.pm__group h3 { font-family: var(--sans); font-size: .95rem; font-weight: 700; display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .7rem; }
.pm__group h3 small { font-weight: 500; color: var(--muted); font-size: .8rem; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .5rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-height: 64px; padding: .5rem;
  border: 1.5px solid var(--line-2); border-radius: 14px; cursor: pointer; transition: all .18s; text-align: center;
}
.seg span b { font-weight: 700; }
.seg span em { font-style: normal; color: var(--muted); font-size: .88rem; }
.seg input:checked + span { border-color: var(--primary); background: var(--primary-50); box-shadow: inset 0 0 0 1px var(--primary); }
.seg input:checked + span em { color: var(--primary); }
.seg input:focus-visible + span { outline: 3px solid rgba(184, 50, 29, .35); }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .8rem; border-radius: 999px; border: 1.5px solid var(--line-2);
  font-size: .9rem; cursor: pointer; transition: all .18s; user-select: none;
}
.chip input:checked + span { background: var(--green-50); border-color: #b9d6b0; color: var(--green); }
.chip input:not(:checked) + span { color: var(--muted); text-decoration: line-through; background: #f6f2ec; }
.chip input:focus-visible + span { outline: 3px solid rgba(184, 50, 29, .35); }

.extras { display: grid; gap: 1.1rem; }
.extras__group-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin-bottom: .5rem; }
.extras__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .45rem; }
.extra { position: relative; }
.extra input { position: absolute; opacity: 0; pointer-events: none; }
.extra span {
  display: flex; align-items: center; gap: .6rem; padding: .62rem .75rem; border-radius: 12px; border: 1.5px solid var(--line);
  cursor: pointer; transition: all .18s; font-size: .93rem;
}
.extra span::before {
  content: ''; flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); background: #fff; transition: all .18s;
  background-size: 76%; background-position: center; background-repeat: no-repeat;
}
.extra span em { margin-left: auto; font-style: normal; color: var(--muted); font-size: .86rem; white-space: nowrap; }
.extra:hover span { border-color: var(--line-2); }
.extra input:checked + span { border-color: var(--primary); background: var(--primary-50); }
.extra input:checked + span::before {
  border-color: var(--primary); background-color: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E");
}
.extra input:checked + span em { color: var(--primary); font-weight: 600; }
.extra input:focus-visible + span { outline: 3px solid rgba(184, 50, 29, .35); }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; height: 46px; flex: none; }
.stepper button { width: 42px; height: 100%; border: 0; background: transparent; font-size: 1.25rem; font-weight: 500; border-radius: 999px; }
.stepper button:hover { background: var(--tint); }
.stepper span { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper--sm { height: 34px; }
.stepper--sm button { width: 32px; font-size: 1.05rem; }

/* ---------- Formuláře ---------- */
.field { display: grid; gap: .35rem; }
.field label, .field .label { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff;
  transition: border-color .18s, box-shadow .18s; font-size: 1rem;
}
.textarea { min-height: 84px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(184, 50, 29, .12); }
.input.invalid { border-color: #d0442c; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--primary); flex: none; }

.options { display: grid; gap: .55rem; }
.options--2 { grid-template-columns: 1fr 1fr; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option > span {
  display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border-radius: 14px; border: 1.5px solid var(--line-2);
  cursor: pointer; transition: all .18s; height: 100%;
}
.option > span svg { flex: none; color: var(--muted); }
.option b { display: block; font-weight: 600; }
.option small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.option input:checked + span { border-color: var(--primary); background: var(--primary-50); box-shadow: inset 0 0 0 1px var(--primary); }
.option input:checked + span svg { color: var(--primary); }
.option input:disabled + span { opacity: .45; cursor: not-allowed; }
.option input:focus-visible + span { outline: 3px solid rgba(184, 50, 29, .35); }

/* ---------- Košík (drawer) ---------- */
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(500px, 100%); background: var(--bg); display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); animation: slide .35s var(--ease);
}
@keyframes slide { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; gap: .5rem; padding: 1rem 1rem 1rem 1.4rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.drawer__head h2 { font-size: 1.45rem; margin-right: auto; }
.drawer__head .icon-btn[hidden] + h2 { margin-left: 0; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1.2rem 1.4rem; display: grid; align-content: start; gap: 1rem; }
.drawer__foot { padding: 1rem 1.4rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); display: grid; gap: .8rem; }
.drawer__foot:empty { display: none; }

.cart-item { display: grid; grid-template-columns: 64px 1fr; gap: .9rem; background: var(--paper); border-radius: 16px; padding: .85rem; border: 1px solid var(--line); }
.cart-item__img { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #f6efe4, #e9dcc8); display: grid; place-items: center; }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__img svg { width: 84%; height: 84%; }
.cart-item__top { display: flex; justify-content: space-between; gap: .5rem; }
.cart-item__name { font-weight: 700; }
.cart-item__name small { font-weight: 500; color: var(--muted); }
.cart-item__meta { font-size: .84rem; color: var(--muted); line-height: 1.45; margin-top: .2rem; }
.cart-item__meta .plus { color: var(--green); }
.cart-item__meta .minus { color: #b0482f; }
.cart-item__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: .6rem; }
.cart-item__actions { display: flex; gap: .2rem; }
.link-btn { border: 0; background: none; padding: .3rem .4rem; font-size: .84rem; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; border-radius: 6px; }
.link-btn:hover { color: var(--ink); }

.free-ship { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; font-size: .9rem; }
.free-ship__bar { height: 6px; border-radius: 99px; background: var(--tint); margin-top: .55rem; overflow: hidden; }
.free-ship__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--primary)); border-radius: inherit; transition: width .4s var(--ease); }
.free-ship.done { color: var(--green); font-weight: 600; }

.summary { display: grid; gap: .35rem; font-size: .95rem; }
.summary div { display: flex; justify-content: space-between; color: var(--ink-2); }
.summary .total { color: var(--ink); font-weight: 700; font-size: 1.15rem; margin-top: .3rem; padding-top: .6rem; border-top: 1px dashed var(--line-2); }

.cart-empty { text-align: center; padding: 3rem 1rem; display: grid; gap: .8rem; justify-items: center; color: var(--muted); }
.cart-empty svg { width: 120px; opacity: .9; }
.cart-empty h3 { color: var(--ink); }

.form-section { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem; display: grid; gap: .85rem; }
.form-section h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: .55rem; }
.form-section h3 .n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .78rem; }
.notice { padding: .8rem 1rem; border-radius: 12px; font-size: .9rem; background: #fff6e5; color: #7a5310; border: 1px solid #f3dfb4; }
.notice--error { background: #fdecea; color: #9c2a17; border-color: #f5c6bd; }
.notice--info { background: var(--green-50); color: #2c5b28; border-color: #cfe3c8; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%); z-index: 80; background: var(--ink); color: #fff;
  padding: .85rem 1.25rem; border-radius: 14px; font-weight: 500; box-shadow: var(--shadow-lg); transition: transform .35s var(--ease), opacity .35s;
  display: flex; align-items: center; gap: .6rem; max-width: calc(100% - 32px);
}
.toast { opacity: 0; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Animace při scrollu ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Statické stránky ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 3.5rem 20px 5rem; }
.page h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 1.5rem; }
.page p, .page li { color: var(--ink-2); }
.page .prose { white-space: pre-line; }
.allergen-list { list-style: none; padding: 0; display: grid; gap: .5rem; }
.allergen-list li { display: flex; gap: .9rem; align-items: center; background: var(--paper); border: 1px solid var(--line); padding: .7rem 1rem; border-radius: 12px; }
.allergen-list b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--ink); flex: none; }
.header--solid { position: sticky; background: var(--dark); }

/* ---------- Responzivita ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .cart-btn { margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 1rem; min-height: 0; padding-top: 2.2rem; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__lead { margin: 0 auto; }
  .hero__cta, .hero__facts { justify-content: center; }
  .hero__art { width: min(420px, 86vw); margin: 0 auto; order: -1; }
  .steps { grid-template-columns: 1fr; }
  .about, .contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact__map, .contact__map iframe { min-height: 340px; }
}
@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .container { padding: 0 16px; }
  .cart-btn__label { display: none; }
  .header--solid .btn { min-height: 40px; padding: 0 1rem; font-size: .9rem; }
  .cart-btn { padding: 0 .9rem; }
  .cartbar:not([hidden]) { display: flex; }
  .hero__facts { gap: 1.4rem; }
  .hero__facts li { flex: 1 1 40%; }
  .grid, .skeleton-grid { grid-template-columns: 1fr; }
  .modal__panel {
    left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; max-height: 94%;
    border-radius: 24px 24px 0 0; animation: sheet .35s var(--ease);
  }
  @keyframes sheet { from { transform: translateY(100%); } }
  .extras__list { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Logo, fotky a košík ---------- */
.brand.has-custom-logo img, .custom-logo .brand img { width: auto; height: 58px; max-width: 120px; object-fit: contain; }
.brand--footer.has-custom-logo img, .custom-logo .brand--footer img { height: 72px; }
.brand.has-logo-only .brand__name { display: none; }
.brand.has-logo-only img { max-width: 200px; height: 48px; }
@media (max-width: 640px) { .brand.has-custom-logo img, .custom-logo .brand img { height: 46px; } }
.brand__logo { object-fit: contain; }
.cart-btn__total:empty { display: none; }
.cart-btn__total { opacity: .85; font-weight: 500; }
.hero__art.has-photo { aspect-ratio: 4 / 5; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.hero__art.has-photo .hero__plate { display: none; }
.hero__art.has-photo .hero__leaf--1 { width: 24%; top: -4%; right: -4%; }
.about__art.has-photo { background: none; }
.about__art.has-photo .about__photo { width: 100%; height: 100%; object-fit: cover; }
.about__art.has-photo .about__leaf { display: none; }

/* ---------- Hodnocení ---------- */
.reviews__score { display: inline-flex; align-items: center; gap: .7rem; justify-self: center; margin-top: .4rem; padding: .55rem 1.1rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.reviews__score b { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1; }
.reviews__score > span:not(.stars) { color: var(--muted); font-size: .92rem; }
.stars { color: var(--gold); letter-spacing: .06em; white-space: nowrap; }
.stars .off { color: var(--line-2); }
.reviews__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.4rem; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .8rem; align-content: start; box-shadow: var(--shadow-sm); }
.review__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.review__name { font-weight: 700; }
.review__date { color: var(--muted); font-size: .85rem; }
.review__text { font-family: var(--serif); font-size: 1.1rem; line-height: 1.5; color: var(--ink); }
.review__text::before { content: '„'; }
.review__text::after { content: '“'; }
.review__reply { font-size: .92rem; color: var(--ink-2); padding: .7rem .9rem; border-radius: 12px; background: var(--tint); }
.review__reply b { display: block; font-size: .78rem; color: var(--primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .15rem; }
.reviews__note { text-align: center; margin-top: 1.6rem; font-size: .88rem; color: var(--muted); }
@media (max-width: 640px) { .reviews__list { grid-template-columns: 1fr; } }

/* ---------- Rozpracovaná objednávka ---------- */
.active-order { display: flex; align-items: center; justify-content: center; gap: .7rem; flex-wrap: wrap; padding: .65rem 1rem; background: var(--green); color: #fff; text-decoration: none; font-size: .95rem; }
.active-order:hover .active-order__link { text-decoration: underline; }
.active-order__dot { width: 9px; height: 9px; border-radius: 50%; background: #c9f7b1; animation: pulse 2s infinite; }
.active-order__link { font-weight: 700; }

/* ---------- Nabídka nápojů v košíku ---------- */
.drawer__body { grid-template-columns: minmax(0, 1fr); }
.upsell { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: .9rem; }
.upsell__title { font-weight: 700; margin-bottom: .7rem; }
.upsell__list { display: flex; gap: .55rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .3rem; margin: 0 -.2rem; padding-left: .2rem; }
.upsell__item { position: relative; flex: 0 0 104px; scroll-snap-align: start; display: grid; justify-items: center; gap: .15rem; padding: .6rem .4rem .55rem; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg); text-align: center; transition: border-color .15s, transform .15s; }
.upsell__item:hover { border-color: var(--primary); transform: translateY(-2px); }
.upsell__img { width: 56px; height: 56px; display: grid; place-items: center; }
.upsell__img svg, .upsell__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.upsell__name { font-size: .8rem; font-weight: 600; line-height: 1.2; }
.upsell__price { font-size: .8rem; color: var(--muted); }
.upsell__plus { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .95rem; line-height: 1; }

/* ---------- Kompaktní karty (nápoje) ---------- */
.grid--mini { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: .8rem; }
.card--mini { flex-direction: row; align-items: center; gap: .9rem; padding: .6rem .8rem .6rem .6rem; }
.card--mini:hover { transform: translateY(-2px); }
.card--mini .card__media { flex: none; width: 72px; height: 72px; aspect-ratio: auto; border-radius: 14px; }
.card--mini .card__media .art { inset: 6%; }
.card--mini:hover .card__media .art { transform: none; }
.card--mini .card__media img { border-radius: 14px; }
.card--mini .card__body { padding: 0; gap: .15rem; flex: 1; min-width: 0; }
.card--mini .card__title { font-size: 1.12rem; }
.card__meta { color: var(--muted); font-size: .92rem; }
.mini-add { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 1.4rem; line-height: 1; display: grid; place-items: center; transition: background-color .2s, transform .15s; }
.card--mini:hover .mini-add { background: var(--primary); }
.mini-add:active { transform: scale(.9); }
.mini-add:disabled { background: #cdbfb3; }
