/* HonziServis – vínová paleta, tmavý (výchozí) a světlý režim, jemné animace */
:root,
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #120b0d;
    --surface: #1b1114;
    --surface-2: #251619;
    --line: #3b252a;
    --ink: #f4eaec;
    --muted: #b9a4a9;
    --wine: #8e1b34;
    --wine-hover: #a5233f;
    --wine-deep: #3a0d18;
    --link: #ec8aa0;
    --accent: #ffffff;
    --header: #0c0708;
    --input: #150d10;
    --input-line: #5a3a41;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --ok-bg: #12261a; --ok-line: #3f8f5b;
    --err-bg: #2f1114; --err-line: #d0474f;
    --warn-bg: #241418; --warn-line: #b3304d;
}
:root[data-theme="light"] {
    color-scheme: light;
    --bg: #faf6f6;
    --surface: #ffffff;
    --surface-2: #f4eaec;
    --line: #e7d7db;
    --ink: #24161a;
    --muted: #6d5a5f;
    --wine: #7a1630;
    --wine-hover: #93203d;
    --wine-deep: #4a0f1e;
    --link: #8e1b34;
    --accent: #7a1630;
    --header: #4a0f1e;
    --input: #ffffff;
    --input-line: #b9a1a7;
    --shadow: 0 10px 30px rgba(74, 15, 30, .10);
    --ok-bg: #eef8f1; --ok-line: #2b7d3c;
    --err-bg: #fdf0f0; --err-line: #b32020;
    --warn-bg: #f7ecee; --warn-line: #8e1b34;
}
:root { --radius: 12px; --ease: cubic-bezier(.2, .7, .2, 1) }

* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); transition: background-color .3s, color .3s }
img { max-width: 100%; height: auto; display: block }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px }
a { color: var(--link) }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em }
h1 { font-size: 2.2rem; letter-spacing: -.02em }
h2 { font-size: 1.7rem; margin-top: 1.6em; letter-spacing: -.01em }
h3 { font-size: 1.12rem; margin-top: 1.3em }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px }
.muted { color: var(--muted) }
.pre { white-space: pre-line }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0) }

/* Hlavička */
header.site { background: var(--header); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255, 255, 255, .06) }
header.site .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding-top: 12px; padding-bottom: 12px }
.logo { font-weight: 800; font-size: 1.3rem; color: #fff; text-decoration: none; margin-right: auto; display: inline-flex; align-items: center; gap: 10px }
.logo span { color: var(--accent) }
.logo svg { width: 30px; height: 30px }
header.site nav a { color: #e8d9dc; text-decoration: none; margin-right: 16px; font-weight: 500 }
header.site nav a:last-child { margin-right: 0 }
header.site nav a:hover, header.site nav a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--accent) }
header.site form { margin: 0 }
.head-actions { display: flex; align-items: center; gap: 10px }
.theme-toggle { background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: #fff; width: 40px; height: 40px; border-radius: 50%; padding: 0; display: inline-grid; place-items: center }
.menu-toggle { display: none; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: #fff }
.menu-toggle:hover { background: transparent; border-color: var(--accent); box-shadow: none; transform: none }
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round }
.menu-toggle .cross, header.site.open .menu-toggle .bars { display: none }
header.site.open .menu-toggle .cross { display: inline }
.theme-toggle:hover { border-color: var(--accent); text-decoration: none }
.theme-toggle svg { width: 20px; height: 20px }
:root[data-theme="dark"] .theme-toggle .sun, :root[data-theme="light"] .theme-toggle .moon { display: none }
main { padding: 40px 0 72px }
main.flush { padding-top: 0 }

/* Patička */
footer.site { background: var(--header); color: #cdb9be; padding: 40px 0; font-size: .92rem }
footer.site a { color: #fff }
footer.site ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px }
footer.site p { margin: 0 0 6px }
footer.site .small { font-size: .82rem; opacity: .8 }

/* Tlačítka */
.btn, button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; background: var(--wine); color: #fff; border: 2px solid var(--wine); border-radius: 999px; padding: 9px 22px; text-decoration: none; cursor: pointer; line-height: 1.4; transition: background-color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s }
.btn:hover, button:hover { background: var(--wine-hover); border-color: var(--wine-hover); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(142, 27, 52, .35) }
.btn:active, button:active { transform: translateY(0) }
.btn.light { background: #fff; border-color: #fff; color: var(--wine-deep) }
.btn.light:hover { background: #f1e6e8; border-color: #f1e6e8; color: var(--wine-deep); box-shadow: 0 6px 18px rgba(0, 0, 0, .25) }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: none }
.btn.alt, button.alt { background: transparent; color: var(--ink); border-color: var(--line) }
.btn.alt:hover, button.alt:hover { border-color: var(--wine); background: var(--surface-2); box-shadow: none }
button.danger { background: transparent; color: var(--err-line); border-color: var(--err-line) }
button.danger:hover { background: var(--err-bg); box-shadow: none }
.btn.small, button.small { padding: 5px 14px; font-size: .9rem }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px }
.wheel { width: 18px; height: 18px; display: none }
.busy .wheel { display: inline-block; animation: spin .8s linear infinite }
.busy { pointer-events: none; opacity: .85 }

/* Úvod s fotkou */
.hero { position: relative; color: #fff; background: #0d0608 url("/img/kodiaq-1600.webp") 70% 55% / cover no-repeat; overflow: hidden }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(14, 4, 8, .62) }
.hero .wrap { position: relative; padding-top: 88px; padding-bottom: 96px }
.hero-copy { max-width: 620px }
.hero h1 { font-size: 3rem; margin-bottom: .4em }
.hero h1 span { color: var(--accent) }
.hero p { color: #ecdde0; font-size: 1.15rem; margin: 0 }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 6px; color: #ecdde0 }
.ticks li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 10px }
.hero-gauge { position: absolute; right: 4%; bottom: -40px; width: 300px; opacity: .22; color: #fff }

/* Loga značek */
.brands { background: var(--wine-deep); color: #fff; padding: 22px 20px }
.brand-logos { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 56px; max-width: 900px }
.brand-logos li { display: grid; justify-items: center; gap: 6px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #e9d6da; opacity: .85; transition: opacity .2s, transform .3s var(--ease) }
.brand-logos li:hover { opacity: 1; transform: translateY(-2px) }
.brand-logos svg { height: 42px; width: auto; color: #fff }

/* Sekce */
.section { padding: 64px 0 8px }
.section h2.top, .section > h2:first-child { margin-top: 0 }
.eyebrow { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin: 0 0 8px }
.lead { font-size: 1.12rem; max-width: 46em; color: var(--muted) }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-bottom: 64px; margin-top: 64px }

/* Karty služeb */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 28px }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--wine) }
.card .img { overflow: hidden }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease) }
.card:hover img { transform: scale(1.04) }
.card .body { padding: 18px 20px 20px; flex: 1 }
.card h3 { margin: 0 0 8px; font-size: 1.25rem }
.services { list-style: none; margin: 0; padding: 0 }
.services li { border-bottom: 1px solid var(--line); padding: 10px 0 }
.services li:last-child { border-bottom: 0 }
.services small, .check small { display: block; color: var(--muted); font-size: .9rem }
.price { white-space: nowrap; font-weight: 700; color: var(--accent) }
.card .price { display: block; margin-top: 4px }

/* Výhody, kroky, fotky */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 24px }
.feature { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden }
.feature::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--wine) }
.feature h3 { margin-top: 0 }
.feature p { margin: 0; color: var(--muted) }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: step }
.steps li { counter-increment: step; border-left: 2px solid var(--line); padding-left: 18px }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--wine); color: #fff; font-weight: 800; margin-bottom: 10px }
.steps strong { display: block }
.steps span { color: var(--muted) }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px }
.photos figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative }
.photos img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease) }
.photos figure:hover img { transform: scale(1.03) }
.photos figcaption { position: absolute; left: 14px; bottom: 12px; background: rgba(18, 11, 13, .75); color: #fff; padding: 3px 12px; border-radius: 999px; font-size: .88rem }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center }
.split img { border-radius: var(--radius); box-shadow: var(--shadow) }
details { border-bottom: 1px solid var(--line); padding: 14px 0 }
summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px }
summary::-webkit-details-marker { display: none }
summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; transition: transform .25s var(--ease) }
details[open] summary::after { transform: rotate(45deg) }
details p { margin: 10px 0 0; color: var(--muted) }
.cta { background: var(--wine); color: #fff; border-radius: var(--radius); padding: 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; margin-top: 64px; box-shadow: var(--shadow) }
.cta h2 { margin-top: 0 }
.cta p { color: #f0dfe3 }
.cta a:not(.btn) { color: #fff }

/* Hlášky */
.notice, .error, .ok { border: 1px solid; border-left-width: 5px; padding: 12px 16px; margin: 20px 0; border-radius: 8px }
.notice { border-color: var(--warn-line); background: var(--warn-bg) }
.error { border-color: var(--err-line); background: var(--err-bg) }
.ok { border-color: var(--ok-line); background: var(--ok-bg) }
.notice p, .error p, .ok p { margin: .3em 0 }
.error ul { margin: 0; padding-left: 1.2em }

/* Záhlaví podstránek */
.pagehead { background: var(--wine-deep); color: #fff; padding: 40px 0 34px; margin-bottom: 36px; position: relative; overflow: hidden }
.pagehead h1 { margin: 0 }
.pagehead p { margin: 8px 0 0; color: #ecdde0 }
.pagehead a { color: #fff }
.pagehead .wrap { position: relative }
.pagehead .gauge-deco { position: absolute; right: 20px; top: -10px; width: 170px; opacity: .14; color: #fff }
.steps-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; font-size: .9rem }
.steps-bar span { padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #e0cdd2 }
.steps-bar span.on { background: #fff; color: var(--wine-deep); font-weight: 700 }
.steps-bar span.done { background: rgba(255, 255, 255, .18); color: #fff }
.prose { max-width: 820px }

/* Rezervace – kalendář */
.week { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px }
.daycard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 10px }
.daycard.closed { opacity: .5 }
.daycard .date { display: flex; align-items: baseline; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 8px }
.daycard .date b { font-size: 1.9rem; line-height: 1; color: var(--ink) }
.daycard .date span { color: var(--muted); font-size: .85rem; line-height: 1.2 }
.daycard .slots { display: grid; gap: 8px }
.slot { display: block; text-align: center; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; background: var(--bg); transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease) }
.slot:hover { background: var(--wine); border-color: var(--wine); color: #fff; transform: translateY(-1px) }
.daycard .none { color: var(--muted); font-size: .9rem }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 22px }
.pager strong { font-size: 1.05rem }

/* Rezervace – formulář */
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start }
.summary { position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow) }
.summary h3 { margin-top: 0 }
.summary ul { list-style: none; padding: 0; margin: 10px 0; font-size: .95rem }
.summary li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dashed var(--line) }
.summary .total { font-weight: 800; font-size: 1.1rem; margin-top: 8px }
.svc-group h3 { margin: 18px 0 10px; font-size: 1rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px }
.svc { position: relative; display: flex; justify-content: space-between; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 16px 16px 16px 48px; background: var(--bg); cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s var(--ease) }
.svc:hover { border-color: var(--wine); transform: translateY(-1px) }
.svc input { position: absolute; left: 16px; top: calc(50% - 10px); width: 20px; height: 20px; accent-color: var(--wine) }
.svc:has(input:checked) { border-color: var(--wine); background: color-mix(in srgb, var(--wine) 14%, var(--bg)) }
.svc strong { display: block; font-weight: 600 }
.svc .price { font-size: .9rem; white-space: nowrap }
.svc strong { flex: 1 }
.svc small { display: block; color: var(--muted); font-size: .88rem; margin: 2px 0 6px }
.lookup { display: flex; gap: 10px; align-items: end; flex-wrap: wrap }
.lookup .field { flex: 1 1 240px; margin: 0 }
.vehicle-info { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); font-size: .93rem; display: none }
.vehicle-info.show { display: block; animation: fadeUp .4s var(--ease) }
.vehicle-info dl { grid-template-columns: max-content 1fr; gap: 2px 14px; margin: 6px 0 0 }
.ticket { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); max-width: 760px }
.status { display: inline-block; padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: .9rem; background: var(--surface-2) }
.status.new { color: var(--accent) }
.status.confirmed, .status.done { color: var(--ok-line) }
.status.cancelled { color: var(--err-line) }

/* Formuláře */
fieldset { border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 22px; padding: 18px 22px 22px; background: var(--surface); min-width: 0 }
legend { font-weight: 800; padding: 0 8px; font-size: 1.1rem }
.field { display: block; margin: 12px 0 }
.field > span { display: block; font-weight: 600; margin-bottom: 4px; font-size: .95rem }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=date], input[type=time], input[type=search], input[type=url], select, textarea { font: inherit; width: 100%; max-width: 100%; padding: 10px 12px; border: 1px solid var(--input-line); border-radius: 8px; background: var(--input); color: var(--ink); transition: border-color .2s, box-shadow .2s }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wine) 35%, transparent) }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 20px }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0 }
.check input { width: 20px; height: 20px; margin-top: 4px; flex: none; accent-color: var(--wine) }
.check > span { flex: 1 }
.hp { position: absolute; left: -9999px }
.model-pick[hidden], .model-pick ~ input[hidden] { display: none }
.model-pick:not([hidden]) ~ input:not([hidden]) { margin-top: 8px }
.code-input { font-size: 2rem !important; letter-spacing: .5em; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums }

/* Přihlášení (centrovaná karta) */
.auth { min-height: calc(100vh - 220px); display: grid; place-items: center; padding: 40px 20px }
.auth-card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); animation: fadeUp .5s var(--ease) both }
.auth-card .brandmark { display: grid; justify-items: center; gap: 6px; margin-bottom: 18px; text-align: center }
.auth-card .brandmark svg { width: 64px; height: 64px; color: var(--accent) }
.auth-card h1 { font-size: 1.6rem; text-align: center; margin: 0 }
.auth-card .sub { text-align: center; color: var(--muted); margin: 4px 0 18px }
.auth-card button, .auth-card .btn { width: 100% }
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 16px }
.tabs label, .tabs a { position: relative; display: block; text-align: center; padding: 8px 6px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .95rem; line-height: 1.3; color: var(--muted); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s }
.tabs label:hover, .tabs a:hover { color: var(--ink); background: color-mix(in srgb, var(--wine) 15%, transparent) }
.tabs input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer }
.tabs label:has(input:checked) { background: var(--wine); color: #fff }
.tabs label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px }
.tabs label.is-disabled { opacity: .45; cursor: not-allowed; background: transparent; color: var(--muted) }
.tabs label.is-disabled input { cursor: not-allowed }
.auth-card:has(#mode-pin:checked) .only-password, .auth-card:has(#mode-password:checked) .only-pin { display: none }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 18px 0 }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line) }

/* Účet */
.account-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 24px }
.panel h2 { margin-top: 0; font-size: 1.25rem }
.list { list-style: none; padding: 0; margin: 0 }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line) }
.list li:last-child { border-bottom: 0 }

/* Tabulky (administrace, právní stránky) */
.table { overflow-x: auto }
table { border-collapse: collapse; width: 100%; margin: 12px 0 }
th, td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 9px 10px 9px 0 }
th { font-size: .9rem; color: var(--muted) }
tbody tr { transition: background-color .15s }
tbody tr:hover { background: var(--surface-2) }
dl { display: grid; grid-template-columns: minmax(110px, 210px) 1fr; gap: 6px 16px }
dt { font-weight: 600 }
dd { margin: 0; overflow-wrap: anywhere }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end }
.row > * { margin: 0 }
.admin-nav a[aria-current] { font-weight: 800 }

/* Cookie lišta */
#cookie-info { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; background: var(--surface); color: var(--ink); padding: 14px 18px; font-size: .95rem; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); z-index: 60; display: flex; gap: 16px; align-items: center; justify-content: space-between; animation: fadeUp .5s var(--ease) both }
#cookie-info[hidden] { display: none }

/* Načítání stránky – budík */
#loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s }
html.loading #loader, html.leaving #loader { visibility: visible; opacity: 1; transition: opacity .25s .12s, visibility 0s }
#loader svg { width: 150px; height: 150px; color: var(--ink) }
#loader .needle { transform-origin: 60px 60px; animation: needle 1.4s var(--ease) infinite alternate }
#loader .label { margin-top: 6px; text-align: center; color: var(--muted); font-size: .85rem; letter-spacing: .2em; text-transform: uppercase }
.gauge-arc { stroke: var(--wine) }
.gauge-red { stroke: #c0394f }
.needle line { stroke: var(--accent) }

/* Postupné zobrazení při posunu */
html.reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease) }
html.reveal-ready .reveal.in { opacity: 1; transform: none }
.hero-copy > * { animation: fadeUp .7s var(--ease) both }
.hero-copy > *:nth-child(2) { animation-delay: .08s }
.hero-copy > *:nth-child(3) { animation-delay: .16s }
.hero-copy > *:nth-child(4) { animation-delay: .24s }
.hero-copy > *:nth-child(5) { animation-delay: .32s }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes needle { from { transform: rotate(-120deg) } to { transform: rotate(100deg) } }

@media (max-width: 960px) {
    .booking-layout, .account-grid { grid-template-columns: 1fr }
    .summary { position: static }
}
@media (max-width: 860px) {
    .cta, .split { grid-template-columns: 1fr }
    .hero h1 { font-size: 2.2rem }
    .hero .wrap { padding-top: 56px; padding-bottom: 64px }
    .hero-gauge { display: none }
    header.site nav { display: none; order: 3; width: 100%; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 6px }
    header.site.open nav { display: flex }
    header.site nav a { margin: 0; padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .06) }
    header.site nav a:last-child { border-bottom: 0 }
    .menu-toggle { display: inline-grid }
}
@media (max-width: 600px) {
    header.site .wrap { gap: 10px 12px }
    .head-actions { gap: 8px }
    .head-actions .btn { padding: 7px 14px }
    .logo { font-size: 1.15rem }
    h1 { font-size: 1.75rem }
    .photos { grid-template-columns: 1fr }
    .cta { padding: 26px }
    .cards { grid-template-columns: 1fr }
    fieldset { padding: 12px 14px 16px }
    .brand-logos { gap: 16px 30px }
    .brand-logos svg { height: 32px }
    .week { grid-template-columns: 1fr 1fr }
    .auth-card { padding: 24px 20px }
    #cookie-info { flex-direction: column; align-items: stretch }
    dl { grid-template-columns: 1fr }
    dt { margin-top: 6px }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important }
    html.reveal-ready .reveal { opacity: 1; transform: none }
}
@media print { header.site, footer.site, #cookie-info, #loader, .noprint { display: none } }

/* Na tmavých pruzích je akcent v obou režimech bílý */
header.site, footer.site, .hero, .pagehead, .cta, .brands { --accent: #ffffff }

/* Zjednodušený formulář rezervace */
.booking { max-width: 860px }
.bk-h { font-size: 1.15rem; margin: 28px 0 12px }
.bk-h:first-of-type { margin-top: 0 }
.booking .field { margin: 0 0 12px }
.booking .svc-grid { margin-bottom: 12px }
.row3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 12px }
.more { margin: 0 0 8px; border: 0; padding: 0 }
.more summary { justify-content: flex-start; font-weight: 600; color: var(--muted); padding: 4px 0 12px }
.more summary::after { content: "+"; margin-left: 4px }
.bk-foot { margin-top: 28px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface) }
.bk-sum { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--line) }
.bk-sum ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px }
.bk-sum li { background: var(--surface-2); border-radius: 999px; padding: 3px 12px; font-size: .9rem }
.bk-sum li span + span { display: none }
.bk-sum li.muted { background: none; padding: 3px 0 }
.btn.big { width: 100%; padding: 14px; font-size: 1.1rem; margin-top: 6px }
.muted.small { font-size: .85rem; margin: 10px 0 0; text-align: center }

/* Ikony a zjednodušená úvodní stránka */
.bi { width: 1em; height: 1em; vertical-align: -.125em; flex: none }
.btn .bi { margin-right: 6px }
.big-cta { font-size: 1.1rem; padding: 14px 26px }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px }
.tile { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s var(--ease), background-color .2s }
.tile:hover { border-color: var(--wine); transform: translateY(-2px); text-decoration: none }
.tile .ico, .svc .ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--wine); color: #fff; font-size: 1.35rem; flex: none }
.tile strong { flex: 1; font-weight: 700; line-height: 1.3 }
.tile .price { font-size: .9rem; white-space: nowrap }
.tile .go { color: var(--muted); transition: transform .2s var(--ease), color .2s }
.tile:hover .go { color: var(--ink); transform: translateX(3px) }
.note { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px }
.note .bi { margin-top: 4px }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; padding-top: 0 }
.points div { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; align-items: center }
.points .bi { grid-row: span 2; font-size: 1.8rem; color: var(--accent) }
.points span { color: var(--muted); font-size: .92rem }
.svc .ico { width: 34px; height: 34px; border-radius: 9px; font-size: 1.05rem }
.contact-line { display: flex; gap: 10px; align-items: center; margin: 6px 0 }
.cta-act { display: flex; align-items: center; justify-content: flex-end }
@media (max-width: 760px) { .cta-act { justify-content: flex-start } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px }
.chip { cursor: pointer }
.chip input { position: absolute; opacity: 0; pointer-events: none }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; transition: background-color .2s, border-color .2s, color .2s }
.chip:hover span { border-color: var(--wine) }
.chip input:checked + span { background: var(--wine); border-color: var(--wine); color: #fff }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px }
.booking .bk-foot { margin-top: 20px; padding: 0; border: 0; background: none }

/* Seznam služeb na úvodní stránce */
.svc-section .note { margin-top: 14px }
.svc-list { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden }
.svc-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); transition: background-color .2s }
.svc-row:first-child { border-top: 0 }
.svc-row:hover { background: var(--surface-2); text-decoration: none }
.svc-row .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: var(--accent); font-size: 1.25rem; flex: none; transition: background-color .2s, color .2s, border-color .2s }
.svc-row:hover .ico { background: var(--wine); border-color: var(--wine); color: #fff }
.svc-row .txt { flex: 1; min-width: 0 }
.svc-row strong { display: block; font-weight: 700 }
.svc-row small { display: block; color: var(--muted); font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.svc-row .price { white-space: nowrap; font-size: .92rem }
.svc-row .go { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: .9rem; font-weight: 600; color: var(--muted); transition: color .2s }
.svc-row .go .bi { transition: transform .2s var(--ease) }
.svc-row:hover .go { color: var(--ink) }
.svc-row:hover .go .bi { transform: translateX(3px) }
@media (max-width: 860px) {
    .svc-row { padding: 14px 16px; gap: 12px }
    .svc-row .go { font-size: 0; gap: 0 }
    .svc-row .go .bi { font-size: 1.1rem }
    .svc-row small { white-space: normal }
}

/* Administrace – boční panel */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh }
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; background: var(--header); color: #e8d9dc; border-right: 1px solid rgba(255, 255, 255, .06); padding: 18px 12px }
.sidebar-logo { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem }
.sidebar-logo svg { width: 28px; height: 28px; flex: none }
.sidebar-logo b { color: #fff; opacity: .75 }
.sidebar-nav, .sidebar-foot { display: flex; flex-direction: column; gap: 2px }
.sidebar-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1) }
.sidebar-foot form { margin: 0 }
.sidebar a, .sidebar .sidebar-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px; background: transparent; color: #e8d9dc; font: inherit; font-size: .95rem; font-weight: 500; text-align: left; text-decoration: none; line-height: 1.4; cursor: pointer; transition: none; transform: none; box-shadow: none }
.sidebar a:hover, .sidebar .sidebar-link:hover { background: rgba(255, 255, 255, .08); color: #fff; transform: none; box-shadow: none }
.sidebar a[aria-current] { background: var(--wine); color: #fff; font-weight: 700 }
.sidebar .fa-solid { width: 18px; text-align: center; flex: none; font-size: 1rem }
.sidebar-logo:hover { background: transparent }
.sidebar-user { display: flex; align-items: center; gap: 12px; margin: 8px 0 0; padding: 6px 12px; font-size: .8rem; color: #b9a4a9 }
.sidebar-user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.admin-main { min-width: 0; padding: 32px 40px 64px; max-width: 1280px }
.admin-main > h1 { font-size: 1.8rem }

@media (max-width: 860px) {
    .admin-shell { grid-template-columns: 1fr }
    .sidebar { position: sticky; z-index: 50; height: auto; flex-direction: row; align-items: center; gap: 4px; padding: 8px; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .06) }
    .sidebar-logo { padding: 4px 8px }
    .sidebar-logo span, .sidebar a span, .sidebar .sidebar-link span, .sidebar-user { display: none }
    .sidebar-nav, .sidebar-foot { flex-direction: row; gap: 2px }
    .sidebar-foot { margin: 0 0 0 auto; padding: 0 0 0 6px; border-top: 0; border-left: 1px solid rgba(255, 255, 255, .1) }
    .sidebar a, .sidebar .sidebar-link { width: auto; padding: 10px 12px }
    .admin-main { padding: 24px 18px 56px }
}
@media print { .sidebar { display: none } .admin-shell { display: block } }

/* Administrace – obsah, tabulky, štítky, vyskakovací okna (bez animací) */
.admin-body button:hover, .admin-body .btn:hover { transform: none; box-shadow: none }
.admin-body .small { font-size: .88rem }
.admin-body .strong { font-weight: 700 }
.admin-body .nowrap { white-space: nowrap }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--muted); text-decoration: none; font-size: .92rem }
.back-link:hover { color: var(--ink) }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 18px }
.page-head h1 { margin: 0 }
.head-meta { display: flex; align-items: center; gap: 12px }
.admin-main .panel { padding: 18px 20px }
.admin-main .panel.flush { padding: 0; overflow: hidden }
.admin-main .panel.narrow { max-width: 640px }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px }
.panel-head h2 { margin: 0; font-size: 1.1rem; display: flex; align-items: center; gap: 10px }
.panel-head h2 .fa-solid { color: var(--link); width: 18px; text-align: center }
.panel.flush > .panel-head { padding: 14px 20px 0 }
.panel h3 { font-size: 1rem; margin: 18px 0 6px }
.panel .big { font-size: 1.15rem; font-weight: 700; margin: 0 }
.panel-actions { margin: 14px 0 0 }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 0 20px; align-items: start }
.detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0 20px; align-items: start }
dl.compact { grid-template-columns: minmax(100px, 200px) 1fr; gap: 4px 14px; margin: 0; font-size: .95rem }
dl.compact dt { font-weight: 500; color: var(--muted) }
.contact { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px }
.contact .fa-solid { width: 18px; color: var(--muted); text-align: center }

.admin-table { margin: 0 }
.admin-table th, .admin-table td { padding: 11px 14px; vertical-align: middle }
.admin-table th { background: var(--surface-2); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em }
.admin-table tbody tr { transition: none }
.admin-table tbody tr:last-child td { border-bottom: 0 }
.admin-table tr.off td { color: var(--muted) }
.admin-table tr.today td { background: color-mix(in srgb, var(--wine) 10%, transparent) }
.admin-table .num { text-align: right }
.admin-table .act { width: 1%; text-align: right; white-space: nowrap }
.admin-table .empty { text-align: center; color: var(--muted); padding: 28px }
.admin-table a { text-decoration: none }
.admin-table a:hover { text-decoration: underline }
.plate { display: inline-block; font-family: ui-monospace, monospace; font-size: .82rem; padding: 0 6px; border: 1px solid var(--line); border-radius: 4px; letter-spacing: .05em }

.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); font-size: .9rem; text-decoration: none; cursor: pointer; vertical-align: middle }
.icon-btn:hover { background: var(--surface-2); border-color: var(--wine); color: var(--ink) }
.icon-btn + .icon-btn { margin-left: 4px }

.badge { display: inline-block; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 700; line-height: 1.5; white-space: nowrap; color: var(--ink); background: var(--surface-2) }
.badge.st-new { border-color: #c9952b; background: color-mix(in srgb, #c9952b 20%, transparent) }
.badge.st-confirmed { border-color: var(--ok-line); background: color-mix(in srgb, var(--ok-line) 20%, transparent) }
.badge.st-done { border-color: var(--line); background: var(--surface-2); color: var(--muted) }
.badge.st-cancelled { border-color: var(--err-line); background: color-mix(in srgb, var(--err-line) 18%, transparent) }

.status-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px }
.status-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; background: var(--surface) }
.status-tabs a span { font-size: .78rem; padding: 0 7px; border-radius: 999px; background: var(--surface-2); color: var(--muted) }
.status-tabs a:hover { border-color: var(--wine) }
.status-tabs a[aria-current] { background: var(--wine); border-color: var(--wine); color: #fff }
.status-tabs a[aria-current] span { background: rgba(255, 255, 255, .2); color: #fff }

.searchbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; position: relative }
.searchbar .fa-solid { position: absolute; left: 14px; top: 14px; color: var(--muted); pointer-events: none }
.searchbar input { flex: 1 1 280px; width: auto; padding-left: 40px }

dialog.modal { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: var(--shadow) }
dialog.modal.wide { width: min(780px, calc(100vw - 24px)) }
dialog.modal::backdrop { background: rgba(0, 0, 0, .6) }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 1 }
.modal-head h2 { margin: 0; font-size: 1.12rem; display: flex; align-items: center; gap: 10px }
.modal-head h2 .fa-solid { color: var(--link) }
.modal-body { padding: 6px 18px 18px }
.modal-body .error { margin: 12px 0 }
.modal-body .field { margin: 10px 0 }
.modal-sub { margin: 12px 0 4px }
.modal-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line) }
.modal-delete { margin-top: 14px }
.status-pick { border: 0; padding: 0; margin: 12px 0 4px; background: none; display: flex; flex-wrap: wrap; gap: 8px }
.status-pick legend { font-weight: 600; font-size: .95rem; margin-bottom: 6px; padding: 0 }
fieldset.plain { border: 0; padding: 0; margin: 14px 0 4px; background: none }
fieldset.plain legend { font-weight: 600; font-size: .95rem; margin-bottom: 2px; padding: 0 }
fieldset.plain .services li { padding: 2px 0 }
fieldset.plain .services .check { padding: 6px 0 }
.status-pick label { cursor: pointer }
.status-pick input { position: absolute; opacity: 0; width: 1px; height: 1px }
.status-pick span { display: inline-block; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600 }
.status-pick input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px }
.status-pick .st-new input:checked + span { border-color: #c9952b; background: color-mix(in srgb, #c9952b 25%, transparent) }
.status-pick .st-confirmed input:checked + span { border-color: var(--ok-line); background: color-mix(in srgb, var(--ok-line) 25%, transparent) }
.status-pick .st-done input:checked + span { border-color: var(--muted); background: var(--surface-2) }
.status-pick .st-cancelled input:checked + span { border-color: var(--err-line); background: color-mix(in srgb, var(--err-line) 22%, transparent) }
.hours-table { margin: 6px 0 0 }
.hours-table th, .hours-table td { border: 0; padding: 4px 8px 4px 0; vertical-align: middle }
.hours-table th { color: var(--ink); font-size: .95rem; width: 90px }
.hours-table input { width: 130px }

@media (max-width: 960px) {
    .detail-grid { grid-template-columns: 1fr }
}
@media (max-width: 600px) {
    .cards-grid { grid-template-columns: 1fr }
    .admin-table th, .admin-table td { padding: 9px 10px }
    .modal-foot button { flex: 1 }
}
details.more { margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line) }
details.more summary { cursor: pointer; font-weight: 600; color: var(--muted) }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 0 0 24px }
.stat { display: grid; gap: 2px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius) }
.stat-label { font-size: .85rem; font-weight: 600; color: var(--muted) }
.stat-label .fa-solid { color: var(--link); margin-right: 4px }
.stat strong { font-size: 1.6rem; line-height: 1.25 }
.year-nav { display: flex; align-items: center; gap: 10px; font-size: 1.15rem }
.admin-table tfoot th { background: var(--surface-2); color: var(--ink); font-size: .95rem; text-transform: none; letter-spacing: 0; border-bottom: 0 }
.list li.total { border-top: 2px solid var(--line); font-size: 1.05rem }
.list li.total strong { display: inline-flex; align-items: center; gap: 10px }
.field-hint { margin: -4px 0 8px }

/* Graf tržeb (administrace) */
:root, :root[data-theme="dark"] { --chart-1: #d9607c }
:root[data-theme="light"] { --chart-1: #9e2340 }
.delta { font-weight: 700; white-space: nowrap }
.delta.up { color: var(--link) }
.rev-panel .panel-head { flex-wrap: wrap }
.rev-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .88rem; color: var(--muted) }
.rev-legend li { display: flex; align-items: center; gap: 7px }
.key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; flex: none; vertical-align: -1px }
.key.done, .rev-bar.done { background: var(--chart-1) }
.key.exp, .rev-bar.exp { background: repeating-linear-gradient(135deg, var(--chart-1) 0 2px, transparent 2px 6px); box-shadow: inset 0 0 0 1.5px var(--chart-1) }
.rev-chart { position: relative; height: 260px; margin: 18px 0 4px 64px; padding-bottom: 28px }
.rev-plot { position: relative; height: 100%; display: grid; grid-template-columns: repeat(12, 1fr); border-bottom: 1px solid var(--muted) }
.rev-grid { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed var(--line); pointer-events: none }
.rev-grid span { position: absolute; right: calc(100% + 10px); transform: translateY(-50%); font-size: .78rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums }
.rev-col { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; border-radius: 6px 6px 0 0; outline: none; cursor: default }
.rev-col:hover, .rev-col:focus-visible { background: color-mix(in srgb, var(--surface-2) 70%, transparent) }
.rev-col:focus-visible { box-shadow: 0 0 0 2px var(--link) }
.rev-bar { display: block; width: min(34px, 62%); min-height: 3px }
.rev-bar:first-child { border-radius: 4px 4px 0 0 }
.rev-peak { position: absolute; left: 0; right: 0; margin-bottom: 4px; text-align: center; font-size: .78rem; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums }
.rev-m { position: absolute; top: calc(100% + 6px); font-size: .8rem; color: var(--muted) }
.rev-col.now .rev-m { color: var(--ink); font-weight: 700 }
.rev-tip { display: none; position: absolute; z-index: 5; bottom: calc(100% - 8px); left: 50%; transform: translateX(-50%); min-width: 190px; padding: 9px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); font-size: .85rem; line-height: 1.5; pointer-events: none }
.rev-tip > span { display: flex; align-items: center; gap: 7px; white-space: nowrap; font-variant-numeric: tabular-nums }
.rev-col.edge-l .rev-tip { left: 0; transform: none }
.rev-col.edge-r .rev-tip { left: auto; right: 0; transform: none }
.rev-col:hover .rev-tip, .rev-col:focus-visible .rev-tip { display: grid; gap: 2px }
.rev-empty { position: absolute; inset: 0 0 28px; display: grid; place-items: center; margin: 0 }
@media (max-width: 600px) {
    .rev-chart { height: 200px; margin-left: 52px }
    .rev-m { font-size: .7rem }
    .rev-peak { display: none }
}
@media (forced-colors: active) { .rev-bar.done { background: CanvasText } .rev-bar.exp { border: 1px solid CanvasText } }
pre.raw { max-height: 480px; overflow: auto; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); font-size: .8rem; line-height: 1.45; white-space: pre }

/* Recenze Google */
.g-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px }
.g-head h2 { margin-bottom: 8px }
.g-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; font-size: 1.05rem }
.g-logo { width: 24px; height: 24px; flex: none }
.g-score { font-size: 1.6rem; line-height: 1 }
.g-stars { display: inline-flex; gap: 1px; color: var(--line); line-height: 1; font-size: 1.05rem }
.g-stars .on { color: #f4b400 }
.g-stars .half { background: linear-gradient(90deg, #f4b400 50%, var(--line) 50%); -webkit-background-clip: text; background-clip: text; color: transparent }
.g-summary .g-stars { font-size: 1.35rem }
.g-actions { display: flex; flex-wrap: wrap; gap: 12px }
.g-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px }
.g-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 10px }
.g-card header { display: flex; align-items: center; gap: 12px }
.g-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--wine); color: #fff; font-weight: 800 }
.g-who { display: flex; flex-direction: column; font-weight: 700; line-height: 1.3 }
.g-who a { color: inherit; text-decoration: none }
.g-who a:hover { text-decoration: underline }
.g-who small { font-weight: 400; font-size: .82rem }
.g-card p { margin: 0; white-space: pre-line }
.g-note { font-size: .82rem; margin-top: 16px }
.place-pick { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line) }
.dlg-sub { font-size: 1rem; margin: 22px 0 4px; padding-top: 16px; border-top: 1px solid var(--line) }

/* E-shop */
.shop-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 20px; margin-bottom: 24px }
.shop-cats { display: flex; flex-wrap: wrap; gap: 8px }
.shop-cats a { padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem }
.shop-cats a:hover { border-color: var(--wine) }
.shop-cats a[aria-current] { background: var(--wine); border-color: var(--wine); color: #fff }
.shop-search { display: flex; gap: 8px }
.shop-search input { min-width: 220px }
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px }
.p-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); color: var(--ink); text-decoration: none }
.p-card:hover { border-color: var(--wine) }
.p-img { position: relative; display: block; aspect-ratio: 1; background: var(--surface-2) }
.p-img img { width: 100%; height: 100%; object-fit: cover; display: block }
.p-noimg { display: grid; place-items: center; width: 100%; height: 100%; font-size: 3rem; color: var(--muted) }
.p-sale { position: absolute; top: 10px; left: 10px; background: var(--wine); color: #fff; font-weight: 800; font-size: .85rem; padding: 3px 10px; border-radius: 999px }
.p-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1 }
.p-body small { color: var(--muted); font-size: .88rem }
.p-foot { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 10px; padding-top: 6px }
.p-price { font-weight: 800; font-size: 1.15rem; white-space: nowrap }
.p-price s { color: var(--muted); font-weight: 500; font-size: .85em; margin-left: 6px }
.p-price.big { font-size: 2rem; margin: 10px 0 2px }
.p-stock { color: var(--ok-line); font-size: .85rem; font-weight: 600 }
.p-stock.out { color: var(--err-line) }
.p-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: start }
.p-main { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 1 }
.p-main img { width: 100%; height: 100%; object-fit: contain; display: block }
.p-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px }
.p-thumb { padding: 0; width: 72px; height: 72px; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface-2) }
.p-thumb:hover { transform: none; box-shadow: none; background: var(--surface-2); border-color: var(--wine) }
.p-thumb[aria-current] { border-color: var(--wine) }
.p-thumb img { width: 100%; height: 100%; object-fit: cover }
.p-buy .lead { margin-top: 0 }
.small-left { font-size: .85rem; margin: 0 0 12px }
.p-add { display: flex; gap: 10px; align-items: stretch; margin: 18px 0 }
.qty input { width: 80px; text-align: center }
.p-perks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; color: var(--muted); font-size: .95rem }
.crumbs { margin: 0 0 6px; font-size: .9rem }
.prose { max-width: 46em }
.prose img { max-width: 100% }
.cart { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface) }
.cart-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto auto auto; gap: 16px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line) }
.cart-row:last-child { border-bottom: 0 }
.cart-img img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; display: block; background: var(--surface-2) }
.cart-name { display: flex; flex-direction: column; gap: 2px }
.cart-name a { color: var(--ink); text-decoration: none }
.cart-total { white-space: nowrap; min-width: 90px; text-align: right }
.icon-x { width: 34px; height: 34px; padding: 0; border-radius: 50%; background: transparent; border: 1px solid var(--line); color: var(--ink); font-size: 1.2rem; line-height: 1 }
.icon-x:hover { background: var(--surface-2); border-color: var(--err-line); transform: none; box-shadow: none }
.cart-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 20px; margin-top: 20px }
.cart-sum { text-align: right }
.cart-sum p { margin: 0 0 8px; font-size: 1.1rem }
.opts { display: grid; gap: 8px; margin-bottom: 8px }
.opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer }
.opt:has(input:checked) { border-color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine) }
.opt input { width: 18px; height: 18px; accent-color: var(--wine) }
.opt small { display: block; color: var(--muted); font-size: .88rem }
.opt b { white-space: nowrap }
.point { margin: 4px 0 8px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: var(--radius) }
.point-picked { margin: 0 0 10px; font-weight: 600 }
.balikovna-frame { margin-top: 12px }
.balikovna-frame iframe { width: 100%; height: 520px; border: 1px solid var(--line); border-radius: 8px }
.checkout .summary .check { font-size: .9rem }
.checkout .summary .btn { width: 100% }
.cart-link { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; color: #fff }
.cart-link svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.cart-link b { position: absolute; top: 0; right: -2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #fff; color: var(--wine-deep); font-size: .72rem; line-height: 19px; text-align: center }
.pay-box { display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: center; padding: 18px; margin: 0 0 18px; border: 1px solid var(--wine); border-radius: var(--radius); background: var(--surface-2) }
.pay-box p { margin: 0 }
.pay-box img { background: #fff; padding: 6px; border-radius: 8px }
.pay-box dl { margin: 0; flex: 1 }
.order-items { width: 100%; border-collapse: collapse; margin: 18px 0 }
.order-items td, .order-items th { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left }
.order-items .num { text-align: right; white-space: nowrap }
.order-items tfoot th { font-size: 1.1rem; border-bottom: 0 }
@media (max-width: 860px) {
    .p-detail { grid-template-columns: 1fr }
    .cart-row { grid-template-columns: 64px minmax(0, 1fr) auto; }
    .cart-img img { width: 64px; height: 64px }
    .cart-row .qty { grid-column: 2 }
    .shop-search, .shop-search input { width: 100%; min-width: 0 }
}

/* Administrace e-shopu */
.sidebar-group { margin: 22px 0 4px; padding: 0 12px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9c868b }
.nav-count { margin-left: auto; min-width: 22px; padding: 0 7px; border-radius: 999px; background: #e0a526; color: #24161a; font-size: .75rem; font-weight: 800; line-height: 20px; text-align: center }
@media (max-width: 860px) { .sidebar-group { display: none } .sidebar-nav .nav-count { margin-left: 4px } }
.thumb-sm { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; display: block; background: var(--surface-2) }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 12px 0 }
.img-grid figure { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface-2) }
.img-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block }
.img-grid figcaption { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 6px }
.img-grid form { margin: 0 }
.img-main { font-size: .75rem; font-weight: 800; color: var(--ok-line) }
.settings-stack { display: grid; gap: 24px }
.settings-stack > .panel { margin: 0 }
.pill-on, .pill-off { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700 }
.pill-on { background: color-mix(in srgb, var(--ok-line) 22%, transparent); color: var(--ok-line) }
.pill-off { background: var(--surface-2); color: var(--muted) }
.steps-sm { margin: 6px 0 0; padding-left: 20px; font-size: .92rem }
.steps-sm li { margin: 4px 0 }
code.copy { user-select: all; padding: 2px 6px; border-radius: 4px; background: var(--surface-2); font-size: .85rem; word-break: break-all }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.row-actions form { margin: 0 }
