/* ==========================================================================
   Masáže - Anna Beránková | Základní design systém
   Přírodní, klidná paleta: krémová, béžová, olivově zelená, teplá zlatá.
   ========================================================================== */

:root {
    /* Barvy */
    --color-bg: #faf7f2;
    --color-surface: #ffffff;
    --color-text: #3a352f;
    --color-muted: #8c8377;
    --color-border: #e8e0d4;
    --color-primary: #7c8a5a;
    --color-primary-dark: #63704a;
    --color-accent: #c9a86a;
    --color-accent-dark: #b0925a;

    /* Typografie */
    --font-heading: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Times New Roman', serif;
    --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Rozměry */
    --container: 1140px;
    --radius: 10px;
    --radius-lg: 18px;
    --shadow: 0 8px 30px rgba(58, 53, 47, 0.08);
    --transition: 0.2s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Atribut hidden má vždy přednost (i nad display: flex/grid) */
[hidden] { display: none !important; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

p { margin: 0 0 1rem; }

a {
    color: var(--color-primary-dark);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--color-accent-dark); }

img { max-width: 100%; height: auto; display: block; }

/* Sekce */
.section { padding: 4rem 1.25rem; }
.section--narrow {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

/* Hlavička stránky */
.page-header {
    text-align: center;
    padding: 3.5rem 1.25rem 0.5rem;
}
.page-header__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    color: var(--color-accent-dark);
    font-weight: 600;
    margin: 0 0 0.75rem;
}
.page-header__lead {
    max-width: 640px;
    margin: 0.5rem auto 0;
    color: var(--color-muted);
    font-size: 1.1rem;
}

/* Mřížka služeb + karty */
.services-grid {
    max-width: var(--container);
    margin: 2.5rem auto 0;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 1.5rem;
}
.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(58, 53, 47, 0.12);
}
.service-card__name {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
}
.service-card__desc {
    color: var(--color-muted);
    margin: 0 0 0.85rem;
}
.service-card__note {
    font-size: 0.9rem;
    color: var(--color-muted);
    font-style: italic;
    margin: 0 0 0.85rem;
}
.service-card__for {
    font-size: 0.92rem;
    color: var(--color-text);
    margin: 0 0 1rem;
}
.service-card__prices {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    border-top: 1px solid var(--color-border);
}
.service-card__prices li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--color-border);
}
.service-card__minutes {
    color: var(--color-text);
    font-weight: 500;
}
.service-card__price {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-primary-dark);
    font-weight: 600;
}
.service-card__cta {
    margin-top: auto;
    display: block;
    text-align: center;
}
/* Úzké telefony: zrušit redundantní odsazení úvodní mřížky (je uvnitř sekce)
   a zúžit padding karet, ať má text víc místa a neláme se po jednom slově. */
@media (max-width: 560px) {
    .services-grid--home { padding: 0; }
    .service-card { padding: 1.3rem 1.2rem; }
}

/* Nadpis sekce */
.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}
.section-head__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    color: var(--color-accent-dark);
    font-weight: 600;
    margin: 0 0 0.6rem;
}
.section-head h2 { margin: 0; }

/* Úvod - oblíbené masáže */
.home-services { padding-bottom: 2.5rem; }
.home-services .services-grid { margin-top: 0; }
.home-services__all { text-align: center; margin-top: 2.5rem; }

/* Úvod - oblíbené masáže vždy 3 v řadě (bez osamocené karty) */
.services-grid--home { grid-template-columns: repeat(3, 1fr); }

/* Úvod - představení salónu */
.home-intro { padding: 4rem 1.25rem; }
.home-intro__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.home-intro__media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* Prolínačka fotek ze salónu - fotky leží přes sebe a plynule se prostřídávají.
   Bez JavaScriptu zůstane vidět první fotka (má třídu is-active rovnou v HTML). */
.salon-slider {
    position: relative;
    /* Fotky jsou na výšku 3:4, rám kopíruje jejich poměr a nic neořezává */
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.salon-slider__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    aspect-ratio: auto;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.salon-slider__img.is-active { opacity: 1; }

.salon-slider__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.5rem;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}
.salon-slider__dot {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.salon-slider__dot::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.45);
    transition: background-color 0.3s ease;
}
.salon-slider__dot.is-active::before { background-color: #fff; }

/* Kdo má v systému vypnuté animace, nemá vidět ani prolínání */
@media (prefers-reduced-motion: reduce) {
    .salon-slider__img { transition: none; }
}
.home-intro__text h2 { margin-bottom: 1rem; }
.home-intro__text p { color: var(--color-text); }
.home-intro__text .btn { margin-top: 0.75rem; }

/* Úvod - výhody */
.home-benefits { background-color: #f4efe6; }
.benefits-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.benefit { text-align: center; padding: 1rem; }
.benefit__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-surface);
    color: var(--color-primary);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}
.benefit__icon svg { width: 30px; height: 30px; }
.benefit h3 { font-size: 1.1rem; margin: 0 0 0.4rem; }
.benefit p { color: var(--color-muted); font-size: 0.95rem; margin: 0; }

/* Úvod - průvodce výběrem */
.home-guide {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
}
.home-guide__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 3rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.home-guide__text h2 { color: #fff; margin: 0 0 0.5rem; }
.home-guide__text p { color: rgba(255, 255, 255, 0.9); margin: 0; }
.home-guide .btn--primary {
    background: #fff;
    color: var(--color-primary-dark);
    border-color: #fff;
}
.home-guide .btn--primary:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.home-guide__text a { color: #fff; text-decoration: underline; }
.home-guide__text a:hover { color: var(--color-accent); }

/* Stránka O salónu */
.about { padding: 1rem 1.25rem 3rem; }
.about__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about__media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    object-fit: cover;
    /* Portrét Anny je na výšku (3:4), rám tedy kopíruje poměr fotky a nic neořezává */
    aspect-ratio: 3 / 4;
}
.about__text h2 { margin-bottom: 1rem; }
.about__facts { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.about__facts li {
    position: relative;
    padding: 0.55rem 0 0.55rem 1.75rem;
    border-bottom: 1px solid var(--color-border);
}
.about__facts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
}
.about-approach { padding-top: 2rem; }
.text-block { max-width: 760px; margin: 0 auto; }
.text-block h2 { margin-bottom: 1rem; }

/* Před první návštěvou */
.section--flush-top { padding-top: 0; }
.tips { list-style: none; margin: 0; padding: 0; }
.tips li {
    position: relative;
    padding: 0.6rem 0 0.6rem 2rem;
    border-bottom: 1px solid var(--color-border);
}
.tips li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent);
}
.info-cols {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.info-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.75rem;
}
.info-card--good { border-top: 4px solid var(--color-primary); }
.info-card--warn { border-top: 4px solid var(--color-accent-dark); }
.info-card h3 { margin: 0 0 1rem; font-size: 1.25rem; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
    position: relative;
    padding: 0.45rem 0 0.45rem 1.6rem;
    border-bottom: 1px solid var(--color-border);
}
.info-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}
.info-card--good .info-list li::before { background: var(--color-primary); }
.info-card--warn .info-list li::before { background: var(--color-accent-dark); }
/* Úzké telefony: zrušit dvojité odsazení (sekce + info-cols) a zúžit padding
   karty, ať má text v seznamu víc místa a neláme se po jednom slově. */
@media (max-width: 560px) {
    .info-cols { padding: 0; gap: 1.25rem; }
    .info-card { padding: 1.15rem 1.2rem; }
    .info-list li { padding-left: 1.4rem; }
}
.disclaimer {
    max-width: 760px;
    margin: 2.5rem auto 0;
    text-align: center;
    color: var(--color-muted);
    font-size: 0.95rem;
}

/* Úvod - kontakt a mapa */
.home-contact__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.home-contact__address { font-size: 1.1rem; margin-bottom: 0.5rem; }
.home-contact__phone {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-primary-dark);
    font-weight: 600;
}
.home-contact__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.home-contact__map {
    height: 360px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.home-contact__map iframe { display: block; width: 100%; height: 100%; }

/* Stránka Kontakt */
.contact { padding: 1rem 1.25rem 3rem; }
.contact__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contact__info h2 { margin-bottom: 1rem; }
.contact__info h3 { margin: 1.75rem 0 0.5rem; font-size: 1.2rem; }
.contact__address { font-size: 1.1rem; }
.contact__phone {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-primary-dark);
    font-weight: 600;
}
.contact__note { color: var(--color-muted); font-size: 0.95rem; }
.contact__legal { color: var(--color-muted); }
.contact__map {
    height: 100%;
    min-height: 360px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.contact__map iframe { display: block; width: 100%; height: 100%; }

/* Otevírací doba */
.hours { list-style: none; margin: 0; padding: 0; max-width: 340px; }
.hours li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}
.hours__day { color: var(--color-text); }
.hours__time { font-weight: 600; color: var(--color-primary-dark); }

/* Formulář */
.contact-form-section { background-color: #f4efe6; }
.contact-form {
    max-width: 720px;
    margin: 0 auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2.25rem;
}
.contact-form h2 { margin-bottom: 1.5rem; }
/* Úzké telefony: méně paddingu ve formuláři + odesílací tlačítko přes celou
   šířku na jednom řádku (velké btn--lg se jinak zalomí a působí mohutně). */
@media (max-width: 560px) {
    .contact-form { padding: 1.3rem 1.2rem; }
    .contact-form button[type="submit"] {
        display: block;
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
}
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-row { margin-bottom: 1.25rem; display: flex; flex-direction: column; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-row label { font-weight: 600; margin-bottom: 0.4rem; }
.form-row input,
.form-row textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 0.7rem 0.9rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(124, 138, 90, 0.18);
}
.form-row textarea { resize: vertical; }
.form-row--check label {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.6rem;
    font-weight: 400;
}
.form-row--check input { margin-top: 0.25rem; }
.form-error { color: #b03a2e; font-size: 0.9rem; margin-top: 0.35rem; }
.form-alert {
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}
.form-alert--success { background: #e6efe0; color: #3f5a2e; border: 1px solid #c6dab4; }
.form-alert--error { background: #f7e4e1; color: #8f2e22; border: 1px solid #e6bfb8; }

/* Průvodce výběrem masáže */
.guide { max-width: 900px; margin: 0 auto; }
.guide__hint {
    text-align: center;
    font-size: 1.15rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}
.guide-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr));
    gap: 1rem;
}
.guide-option {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    text-align: left;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform var(--transition), border-color var(--transition), background-color var(--transition), color var(--transition);
}
.guide-option:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary);
}
.guide-option.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.guide-results { margin-top: 2rem; }
.guide-result { display: none; }
.guide-result.is-visible { display: block; }
.guide-result__card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
}
.guide-result__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    color: var(--color-accent-dark);
    font-weight: 600;
    margin: 0 0 0.5rem;
}
.guide-result__title { margin: 0 0 0.75rem; }
.guide-result__reason { color: var(--color-muted); margin: 0 0 1.25rem; }
.guide-result__meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 0 0 1.5rem;
    color: var(--color-text);
}
.guide-result__all {
    display: block;
    margin-top: 1rem;
    font-size: 0.95rem;
}
/* Úzké telefony: menší padding boxu doporučení + tlačítko přes celou šířku,
   ať se dlouhý popisek (např. "Objednat doporučenou masáž") neláme po slovech. */
@media (max-width: 560px) {
    .guide-result__card { padding: 1.3rem 1.2rem; }
    .guide-result__card .btn { display: block; width: 100%; }
}

/* Placeholder mapy (načte se až po souhlasu s cookies) */
.map-embed { width: 100%; height: 100%; }
.map-embed__placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem;
    background: #ece4d6;
}
.map-embed__text {
    color: var(--color-muted);
    font-size: 0.95rem;
    max-width: 360px;
    margin: 0;
}
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Cookie lišta */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: none;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -6px 24px rgba(58, 53, 47, 0.12);
}
.cookie-banner.is-visible { display: block; }
.cookie-banner__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1.6rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
    flex-wrap: wrap;
}
.cookie-banner__content { max-width: 820px; }
.cookie-banner__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: 0 0 0.4rem;
}
.cookie-banner__text {
    margin: 0;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.55;
}
.cookie-banner__actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* Překryv "systém pracuje" - ukáže se při odeslání formuláře (rezervace,
   kontakt, recenze, admin akce), aby uživatel neklikal znovu. */
.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(250, 247, 242, 0.88);
    backdrop-filter: blur(2px);
}
.loading-overlay.is-active { display: flex; }
.loading-overlay__box { text-align: center; padding: 1.5rem; }
.loading-overlay__spinner {
    display: block;
    width: 54px;
    height: 54px;
    margin: 0 auto 1rem;
    border: 5px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: loading-spin 0.8s linear infinite;
}
@keyframes loading-spin { to { transform: rotate(360deg); } }
.loading-overlay__text { color: var(--color-text); font-weight: 600; margin: 0; }
@media (prefers-reduced-motion: reduce) {
    .loading-overlay__spinner { animation-duration: 1.6s; }
}

/* Patička - právní odkazy */
.footer__legal-links {
    margin: 0.5rem 0 0;
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}
.footer__legal-links a { color: var(--color-muted); font-size: 0.9rem; }
.footer__legal-links a:hover { color: var(--color-accent); }

/* Poznámka o obrázcích vytvořených umělou inteligencí (AI Act, transparentnost) */
.footer__ai-note {
    margin: 0.75rem auto 0;
    max-width: 46rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--color-muted);
    opacity: 0.85;
}

/* Právní / obsahová stránka */
.legal h2 { margin-top: 2rem; font-size: 1.3rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: 0.4rem; }

/* Rezervace */
.booking { max-width: 900px; margin: 0 auto; padding: 1rem 1.25rem 3rem; }
.booking-step { margin-bottom: 2.25rem; }
.booking-step__title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.35rem;
    margin: 0 0 1.1rem;
}
.booking-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* Výběr služby */
.booking-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
    gap: 1rem;
}
.booking-service {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: left;
    cursor: pointer;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow);
    font-family: var(--font-body);
    transition: border-color var(--transition), transform var(--transition);
}
.booking-service:hover { transform: translateY(-2px); border-color: var(--color-primary); }
.booking-service.is-active { border-color: var(--color-primary); background: #f2f5ea; }
.booking-service__name { font-weight: 600; font-size: 1.05rem; color: var(--color-text); }
.booking-service__desc { color: var(--color-muted); font-size: 0.9rem; }
.booking-service__price { color: var(--color-primary-dark); font-weight: 600; margin-top: 0.2rem; }

/* Délky a časy */
.booking-durations, .booking-times { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.booking-duration, .booking-time {
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: border-color var(--transition), background-color var(--transition), color var(--transition);
}
.booking-duration {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    border-radius: var(--radius);
    padding: 0.55rem 1rem;
    min-width: 92px;
}
.booking-duration__min { font-weight: 600; }
.booking-duration__price { font-size: 0.82rem; color: var(--color-muted); }
.booking-time { border-radius: 999px; padding: 0.6rem 1.1rem; min-width: 4.2rem; text-align: center; }
.booking-duration:hover, .booking-time:hover { border-color: var(--color-primary); }
.booking-duration.is-active, .booking-time.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.booking-duration.is-active .booking-duration__price { color: rgba(255, 255, 255, 0.85); }

/* Výběr dne - navigace týden/měsíc */
.booking-daynav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.booking-navbtn {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    width: 2.4rem;
    height: 2.4rem;
    cursor: pointer;
    color: var(--color-text);
    font-size: 0.85rem;
}
.booking-navbtn:hover { border-color: var(--color-primary); }
.booking-navbtn:disabled { opacity: 0.4; cursor: default; }
.booking-navlabel { font-weight: 600; min-width: 12rem; text-align: center; }
.booking-modebtn {
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary-dark);
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
}
.booking-modebtn:hover { background: var(--color-primary); color: #fff; }
/* Úzké telefony: šipky lemují pružný štítek na jednom řádku, "Celý měsíc" jde
   na vlastní řádek (jinak pravá šipka ► ošklivě spadne dolů). */
@media (max-width: 480px) {
    .booking-navlabel { min-width: 0; flex: 1; font-size: 0.92rem; }
    .booking-modebtn { flex-basis: 100%; margin-left: 0; }
}

/* Dny jako barevné odznaky */
.booking-days { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.booking-day {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    gap: 0.12rem;
    padding: 0.5rem 0.6rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform var(--transition), background-color var(--transition);
}
.booking-day__wd { font-size: 0.76rem; color: var(--color-muted); }
.booking-day__num { font-weight: 600; }
.booking-day--free { background: #e7f0d6; border-color: var(--color-primary); color: var(--color-primary-dark); }
.booking-day--free:hover { transform: translateY(-2px); background: #dbe8c4; }
.booking-day--free.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.booking-day--free.is-active .booking-day__wd { color: rgba(255, 255, 255, 0.85); }
.booking-day--full { background: #f6e1de; border-color: #dca9a1; color: #9e463b; }
.booking-day--closed, .booking-day--past { background: #ececec; border-color: #dcdcdc; color: #a7a49e; }
.booking-day:disabled { pointer-events: none; }

/* Měsíční mřížka */
.booking-month__head, .booking-month__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.4rem; }
.booking-month__head { margin-bottom: 0.4rem; }
.booking-month__head span { text-align: center; font-size: 0.78rem; color: var(--color-muted); font-weight: 600; }
.booking-day--sm { min-width: 0; width: 100%; padding: 0.55rem 0; }

/* Legenda stavů */
.booking-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem; color: var(--color-muted); font-size: 0.9rem; margin-top: 1rem; }
.booking-legend__dot { display: inline-block; width: 0.85rem; height: 0.85rem; border-radius: 3px; border: 1px solid; margin-left: 0.7rem; }
.booking-legend__dot--free { background: #e7f0d6; border-color: var(--color-primary); }
.booking-legend__dot--full { background: #f6e1de; border-color: #dca9a1; }
.booking-legend__dot--closed { background: #ececec; border-color: #dcdcdc; }

.booking-empty, .booking-loading { color: var(--color-muted); margin: 0; }

/* Dnešek - objednání jen telefonicky (varianta C): časy ke čtení + výzva k volání */
.booking-today {
    background: #f4efe6;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
}
.booking-today__lead { margin: 0 0 0.6rem; font-weight: 600; }
.booking-today__times { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.9rem; }
.booking-today__time {
    display: inline-block; padding: 0.35rem 0.7rem;
    background: var(--color-surface); border: 1px solid var(--color-border);
    border-radius: 999px; font-weight: 600; color: var(--color-primary-dark);
}
.booking-today__cta { margin: 0; }
.booking-today__cta a { font-weight: 700; white-space: nowrap; }
/* Dnešní den v kalendáři - odlišit (objednání telefonicky) */
.booking-day--today { box-shadow: inset 0 0 0 2px var(--color-accent); }

/* Souhrn výběru */
.booking-summary {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow);
    max-width: 460px;
}
.booking-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--color-border);
}
.booking-summary__row:last-child { border-bottom: 0; }
.booking-summary__row span { color: var(--color-muted); }
/* Rezervace - formulář, banner, poděkování */
.booking-alert {
    max-width: 720px;
    margin: 0 auto 1.5rem;
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius);
}
.booking-alert--error { background: #f7e4e1; color: #8f2e22; border: 1px solid #e6bfb8; }
.booking-form { margin-top: 1.75rem; max-width: 640px; }
.booking-summary--center { margin-left: auto; margin-right: auto; }
.booking-thanks-note { text-align: center; color: var(--color-muted); margin-top: 1.5rem; }
.booking-thanks-actions { text-align: center; margin-top: 2rem; }
.booking-cancel-form { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; margin-top: 1.5rem; }

/* Tlačítka */
.btn {
    display: inline-block;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    border: 2px solid transparent;
    transition: background-color var(--transition), color var(--transition),
                border-color var(--transition), transform var(--transition);
}
.btn--lg { padding: 0.95rem 2.1rem; font-size: 1.05rem; }
.btn--primary {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.btn--primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}
.btn--outline {
    background-color: transparent;
    color: var(--color-primary-dark);
    border-color: var(--color-primary);
}
.btn--outline:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* Horní lišta */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 18px rgba(58, 53, 47, 0.08);
}
.topbar__inner {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.topbar__brand { display: flex; flex-direction: column; line-height: 1.05; text-decoration: none; }
.topbar__brand-name {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--color-text);
}
.topbar__brand-sub {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
    margin-top: 0.15rem;
}
.topbar__nav {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}
.topbar__nav a {
    color: var(--color-text);
    font-weight: 500;
}
.topbar__nav a:hover { color: var(--color-primary-dark); }
.topbar__cta { color: #fff !important; }

.topbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
}
.topbar__toggle span {
    width: 26px;
    height: 2px;
    background-color: var(--color-text);
    display: block;
}

/* Hero */
.hero {
    position: relative;
    overflow: visible;
    background:
        linear-gradient(180deg, rgba(250, 247, 242, 0) 0%, var(--color-bg) 100%),
        radial-gradient(1200px 500px at 70% -10%, rgba(201, 168, 106, 0.18), transparent 60%);
    padding: 5.5rem 1.25rem 5rem;
}

/* Velké logo jako jemný podkres, posunuté doleva za text */
.hero__logo {
    position: absolute;
    top: 5rem;
    left: 5%;
    width: min(440px, 44vw);
    opacity: 0.85;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* Čím užší okno, tím víc logo ztlumit - text se posouvá na logo a musí zůstat čitelný */
@media (max-width: 1500px) {
    .hero__logo { opacity: 0.45; }
}
@media (max-width: 1150px) {
    .hero__logo { opacity: 0.22; }
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
.hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    color: var(--color-accent-dark);
    margin: 0 0 1rem;
    font-weight: 600;
}
.hero__title { margin-bottom: 1rem; }
.hero__subtitle {
    font-size: 1.15rem;
    color: var(--color-muted);
    max-width: 620px;
    margin: 0 auto 2rem;
}
.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Patička */
.footer {
    background-color: #2f2b26;
    color: #d8cfc0;
    margin-top: 4rem;
}
.footer__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 3rem 1.25rem 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.footer__title { color: #fff; font-size: 1.3rem; margin-bottom: 0.75rem; }
.footer__subtitle { color: #fff; font-size: 1rem; margin-bottom: 0.75rem; }
.footer__text { color: #cfc6b7; }
.footer__note { font-size: 0.9rem; color: var(--color-muted); }
.footer a { color: var(--color-accent); }
.footer a:hover { color: #fff; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 0.4rem; }
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 1.25rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* Responzivní */
/* Ve střední šířce zmenšíme písmo/mezery v menu, ať se vejde na jeden řádek bez zalomení i bez brzkého hamburgeru */
@media (max-width: 1180px) {
    .topbar__nav { gap: 0.8rem; }
    .topbar__nav a { font-size: 0.95rem; }
    .topbar__cta { padding: 0.6rem 1.15rem; }
}
@media (max-width: 960px) {
    .topbar__nav { gap: 0.5rem; }
    .topbar__nav a { font-size: 0.85rem; }
    .topbar__cta { padding: 0.5rem 0.95rem; font-size: 0.9rem; }
}

/* Hamburger menu (přibližně jako původně) */
@media (max-width: 820px) {
    .topbar__toggle { display: flex; }
    .topbar__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background-color: var(--color-surface);
        border-bottom: 1px solid var(--color-border);
        padding: 0.5rem 1.25rem 1rem;
        box-shadow: var(--shadow);
    }
    .topbar__nav.is-open { display: flex; }
    .topbar__nav a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--color-border);
    }
    .topbar__cta {
        text-align: center;
        margin-top: 0.75rem;
        border-bottom: 0 !important;
    }
}

@media (max-width: 820px) {
    /* Hero na mobilu: logo viditelně nahoře v toku (ne skrytý podklad),
       menší svislé mezery, ať stránka nezeje prázdnotou. */
    .hero { padding: 1.75rem 1.25rem 2.75rem; }
    .hero__logo {
        position: static;
        transform: none;
        display: block;
        width: min(190px, 52vw);
        margin: 0 auto 1.25rem;
        opacity: 1;
    }
    .services-grid--home { grid-template-columns: 1fr; }
    .home-intro__inner,
    .home-contact__inner,
    .about__inner,
    .contact__inner,
    .info-cols,
    .form-grid { grid-template-columns: 1fr; }
    .home-intro__media,
    .about__media { order: -1; }
    .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-guide__inner { flex-direction: column; align-items: flex-start; }
    .footer__inner { grid-template-columns: 1fr; }
}

/* Úzké telefony (i se zvětšeným systémovým písmem): výhody do jednoho sloupce,
   aby se dvě dlaždice nikdy nevešly natěsno a nepřetékaly. */
@media (max-width: 560px) {
    .benefits-grid { grid-template-columns: 1fr; }
    /* Na úzkých telefonech menší tlačítko poukazů, ať se vejde na jeden řádek */
    .gift-card__btn { padding: 0.5rem 1.25rem; font-size: 0.95rem; }
}
.benefit { min-width: 0; }

/* ============================ Administrace ============================ */
.btn--sm { padding: 0.4rem 0.9rem; font-size: 0.9rem; }

.admin-topbar { background: #2f2b26; color: #e9e2d5; }
.admin-topbar__inner {
    max-width: 1080px; margin: 0 auto; padding: 0.7rem 1.25rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.admin-topbar__brand { color: #fff; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; }
.admin-topbar__brand:hover { color: var(--color-accent); }
.admin-topbar__nav { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; font-size: 0.95rem; }
.admin-topbar__nav a { color: #e9e2d5; font-weight: 500; white-space: nowrap; }
.admin-topbar__nav a:hover { color: var(--color-accent); }
.admin-topbar__user { color: #b7ad9c; font-size: 0.9rem; }

.admin-main { padding: 2rem 1.25rem 3rem; }
.admin-container { max-width: 1080px; margin: 0 auto; }
.admin-h1 { font-size: 1.8rem; margin: 0 0 0.5rem; }
.admin-lead { color: var(--color-muted); margin: 0 0 2rem; }

.admin--bare { display: flex; min-height: 100vh; }
.admin-bare { margin: auto; width: 100%; padding: 2rem 1.25rem; }
.admin-card {
    max-width: 420px; margin: 0 auto; background: var(--color-surface);
    border: 1px solid var(--color-border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); padding: 2.25rem;
}
.admin-card__brand { text-align: center; color: var(--color-accent-dark); font-weight: 600; margin: 0 0 1.25rem; }
.admin-card__title { font-size: 1.5rem; margin: 0 0 0.5rem; }
.admin-card__sub { color: var(--color-muted); margin: 0 0 1.25rem; }
.admin-card form .btn { margin-top: 0.5rem; width: 100%; text-align: center; }

.admin-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 1.25rem; }
.admin-tile {
    display: block; background: var(--color-surface); border: 1px solid var(--color-border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.4rem 1.5rem;
    color: var(--color-text); transition: transform var(--transition), border-color var(--transition);
}
a.admin-tile:hover { transform: translateY(-2px); border-color: var(--color-primary); }
.admin-tile h2 { font-size: 1.2rem; margin: 0 0 0.35rem; }
.admin-tile p { color: var(--color-muted); margin: 0; font-size: 0.95rem; }
.admin-tile--soon { opacity: 0.75; }
.admin-badge {
    display: inline-block; margin-top: 0.75rem; font-size: 0.78rem; font-weight: 600;
    padding: 0.2rem 0.6rem; border-radius: 999px; background: #ece4d6; color: var(--color-muted);
}
.admin-badge--on { background: #e6efe0; color: #3f5a2e; }
.admin-badge--off { background: #f6e3e0; color: #9e463b; }

.admin-panel {
    background: var(--color-surface); border: 1px solid var(--color-border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.75rem; max-width: 640px;
}
.admin-panel h2 { margin-top: 0; }
.admin-steps { color: var(--color-text); padding-left: 1.2rem; }
.admin-steps li { margin-bottom: 0.4rem; }
.admin-muted { color: var(--color-muted); font-size: 0.9rem; }
.admin-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }
.twofa-secret {
    font-family: monospace; font-size: 1.35rem; letter-spacing: 0.12em;
    background: var(--color-bg); border: 1px dashed var(--color-border); border-radius: var(--radius);
    padding: 0.75rem 1rem; text-align: center;
}
.twofa-uri { margin: 0.75rem 0 1rem; }
.twofa-uri code { word-break: break-all; font-size: 0.82rem; color: var(--color-muted); }
.backup-codes {
    list-style: none; padding: 0; margin: 1rem 0 1.5rem;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.5rem;
}
.backup-codes li {
    font-family: monospace; font-size: 1.05rem; background: var(--color-bg);
    border: 1px solid var(--color-border); border-radius: var(--radius); padding: 0.5rem; text-align: center;
}

/* QR pro 2FA */
.twofa-qr-wrap { text-align: center; margin: 0.5rem 0 1rem; }
.twofa-qr { display: inline-block; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 8px; background: #fff; }

/* Admin - přehled rezervací (fáze 4b) */
.res-filter {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}
.res-filter__row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-end; }
.res-filter label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.9rem; color: var(--color-muted); }
.res-filter select,
.res-filter input {
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    font: inherit;
    color: var(--color-text);
}
.res-filter input[type="search"] { min-width: 15.5rem; }
.res-filter__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.res-count { margin: 0 0 0.75rem; }

.res-table-wrap { overflow-x: auto; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); }
.res-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.res-table th, .res-table td { padding: 0.7rem 0.9rem; text-align: left; vertical-align: top; }
.res-table thead th { background: #f4efe6; color: var(--color-muted); font-weight: 600; font-size: 0.85rem; white-space: nowrap; }
.res-table tbody tr { border-top: 1px solid var(--color-border); }
.res-row { cursor: pointer; }
.res-row:hover { background: #faf7f0; }
.res-row--muted td { opacity: 0.6; }
.res-table__num { text-align: right; white-space: nowrap; }
.res-table__contact { word-break: break-word; }
.res-note-flag { margin-left: 0.3rem; }

.status-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}
.status-badge--pending   { background: #fdf0dc; color: #9a6b1f; }
.status-badge--confirmed { background: #e6efe0; color: #3f5a2e; }
.status-badge--done      { background: #e3eaf4; color: #3d5a8a; }
.status-badge--no_show   { background: #f6e3e0; color: #9e463b; }
.status-badge--cancelled { background: #ecebe8; color: #7a746b; }
.status-badge--voucher   { background: #eccf7f; color: #6b4e10; }
.week-panel__summary {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}
.week-summary__count { font-weight: 600; }

.res-pager { display: flex; gap: 1rem; align-items: center; justify-content: center; margin-top: 1.25rem; }

.res-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1.25rem; }
.res-detail .admin-panel { margin: 0; }
.res-dl { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; margin: 0; }
.res-dl dt { color: var(--color-muted); font-size: 0.9rem; }
.res-dl dd { margin: 0; }
.res-detail textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font: inherit;
    color: var(--color-text);
    resize: vertical;
}

/* Admin - správa rezervací (fáze 4c) */
.res-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.res-actions__row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.res-email-custom { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--color-border); }
.res-actions label { display: block; font-size: 0.9rem; color: var(--color-muted); margin-bottom: 0.35rem; }
.res-cancel { margin-bottom: 1.1rem; }
.res-cancel__row, .res-move__row { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.res-cancel__row input[type="text"] { flex: 1; min-width: 14rem; }
.res-cancel__row input, .res-move__row input {
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    font: inherit;
    color: var(--color-text);
}
.res-cancel__btn { color: #9e463b; border-color: #d9b3ad; }
.res-cancel__btn:hover { background: #f6e3e0; color: #9e463b; }
.res-create { max-width: 640px; }
.res-create select,
.res-create input,
.res-create textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    font: inherit;
    color: var(--color-text);
}
.res-create textarea { resize: vertical; }
.res-manual { display: flex; align-items: center; gap: 0.45rem; font-size: 0.9rem; color: var(--color-muted); margin-top: 0.5rem; }
.res-manual input { width: auto; }
.res-move__row select {
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    font: inherit;
    color: var(--color-text);
}
.res-cancel__row select {
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    font: inherit;
    color: var(--color-text);
}

/* Admin - Nejbližší volná místa (pomocník pro telefonickou objednávku) */
.slots-days { list-style: none; margin: 0; padding: 0; }
.slots-day {
    display: flex; gap: 0.5rem 1rem; flex-wrap: wrap; align-items: baseline;
    padding: 0.7rem 0; border-bottom: 1px solid var(--color-border);
}
.slots-day:last-child { border-bottom: none; }
.slots-day__label { font-weight: 600; min-width: 8rem; }
.slots-day__times { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.slots-time {
    display: inline-block; padding: 0.35rem 0.8rem;
    background: #f4efe6; border: 1px solid var(--color-border); border-radius: 999px;
    color: var(--color-primary-dark); font-weight: 600; font-size: 0.95rem;
}
.slots-time:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.slots-note { margin: 0.9rem 0 0; }

/* Admin - správa uživatelů (super_admin) */
.user-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.user-actions form { display: inline; margin: 0; }
.user-temp-pw { max-width: 640px; border-color: var(--color-accent); }
.user-temp-pw code {
    font-size: 1.15rem; font-weight: 700; letter-spacing: 0.04em;
    background: var(--color-bg); padding: 0.2rem 0.55rem; border-radius: 6px;
}

/* Admin - blokace a dovolená (fáze 4d) */
.block-form__row { display: flex; gap: 1rem; flex-wrap: wrap; }
.block-form__row label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.9rem; color: var(--color-muted); }
.block-form__row input {
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    font: inherit;
    color: var(--color-text);
}
.block-form__hint { margin: 0.35rem 0 0; font-size: 0.85rem; }
.block-form__reason { margin-top: 0.9rem; max-width: 480px; }
.block-form__reason input { width: 100%; }
.block-form .admin-actions { margin-top: 1rem; }
.block-warning ul, .block-call-list ul { margin: 0.5rem 0; padding-left: 1.2rem; }
.block-table td { vertical-align: middle; }
.block-table tbody tr { cursor: default; }
.block-form__reason-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.block-form__reason-row select,
.block-form__reason-row input {
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    font: inherit;
    color: var(--color-text);
}
.block-form__reason-row input { flex: 1; min-width: 14rem; }

/* Admin - zabezpečení: oddělovač 2FA / změna hesla */
.security-divider { border-top: 1px solid var(--color-border); margin: 1.5rem 0; }
.security-password-form { max-width: 420px; }
.security-password-form input {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font: inherit;
    color: var(--color-text);
}

/* Admin - pracovní doba (fáze 4d-2) */
.wh-panel { max-width: none; }
.wh-default { display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap; }
.wh-default label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.9rem; color: var(--color-muted); }
.wh-default input,
.wh-table input[type="time"] {
    padding: 0.4rem 0.55rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    font: inherit;
    color: var(--color-text);
}
.wh-table input[type="time"]:disabled { opacity: 0.45; background: var(--color-bg); }
.wh-table-wrap { overflow-x: auto; }
.wh-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.wh-table th, .wh-table td { padding: 0.5rem 0.4rem; text-align: left; vertical-align: middle; }
.wh-table thead th { color: var(--color-muted); font-weight: 600; font-size: 0.85rem; }
.wh-table input[type="time"] { width: 6.8rem; padding: 0.4rem 0.4rem; }
.wh-table tbody tr { border-top: 1px solid var(--color-border); }
.wh-table input[type="checkbox"] { width: 1.1rem; height: 1.1rem; }

/* Admin - služby a ceník (fáze 4d-3) */
.svc-price { display: inline-block; margin-right: 0.6rem; white-space: nowrap; }
.svc-price--off { color: var(--color-muted); text-decoration: line-through; }
.svc-form input[type="text"],
.svc-form textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font: inherit;
    color: var(--color-text);
}
.svc-form textarea { resize: vertical; }
.svc-form__flags { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1rem; }
.svc-form__order { width: 6rem; padding: 0.4rem 0.55rem; border: 1px solid var(--color-border); border-radius: var(--radius); font: inherit; }
.svc-dur-table input[type="number"] {
    width: 7rem;
    padding: 0.4rem 0.55rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font: inherit;
    color: var(--color-text);
}
.svc-dur-table input[type="checkbox"] { width: 1.1rem; height: 1.1rem; }
.svc-dur-table__new td { background: #faf7f0; }
.svc-dur-table tbody tr { cursor: default; }

/* Admin - nastavení rezervací (fáze 4d-4) */
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
@media (max-width: 720px) { .settings-grid { grid-template-columns: 1fr; } }
.settings-form input[type="number"] {
    width: 8rem;
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font: inherit;
    color: var(--color-text);
}
.settings-form .form-row span { display: block; margin-top: 0.25rem; }
.settings-form__note { margin: 0.25rem 0 1rem; font-size: 0.9rem; }

/* Decentní odkaz do administrace v patičce */
.footer__admin-link { opacity: 0.55; font-size: 0.85em; }
.footer__admin-link:hover { opacity: 1; }
.footer__author-link { cursor: pointer; }
.footer__author-link:hover { text-decoration: underline; }
.footer__author-web { display: inline-block; line-height: 0; vertical-align: middle; }
.footer__author-logo { height: 22px; width: auto; vertical-align: middle; margin-left: 6px; transition: opacity var(--transition); }
.footer__author-web:hover .footer__author-logo { opacity: 0.8; }

/* Admin - dárkové poukazy (fáze 5) */
.voucher-code { font-family: monospace; letter-spacing: 0.06em; }
.voucher-form input[type="text"],
.voucher-form input[type="number"],
.voucher-form input[type="date"],
.voucher-form select,
.voucher-form textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font: inherit;
    color: var(--color-text);
}
.voucher-form textarea { resize: vertical; }
.voucher-form__type { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.voucher-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: 0.8rem; margin-bottom: 1rem; }
.voucher-gallery__item { position: relative; cursor: pointer; display: block; }
.voucher-gallery__item input { position: absolute; top: 0.5rem; left: 0.5rem; width: 1.2rem; height: 1.2rem; }
.voucher-gallery__item img {
    width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
    border: 2px solid var(--color-border); border-radius: var(--radius);
}
.voucher-gallery__item input:checked + img { border-color: var(--color-primary); box-shadow: 0 0 0 2px var(--color-primary); }
.voucher-preview-wrap { position: relative; overflow: hidden; height: 560px; margin-bottom: 1rem; }
.voucher-preview {
    position: absolute; top: 0; left: 0;
    width: 794px; height: 560px; border: 1px solid var(--color-border);
    border-radius: var(--radius); background: #fff;
    transform-origin: 0 0;
}

/* Veřejná stránka dárkových poukazů */
.vouchers-public__inner {
    max-width: var(--container); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.vouchers-public__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.vouchers-public__note { color: var(--color-muted); font-size: 0.95rem; }
.vouchers-public__text .btn { margin: 0.25rem 0.5rem 0 0; }
@media (max-width: 860px) { .vouchers-public__inner { grid-template-columns: 1fr; } }

/* Admin - jednoduchý modal (nápověda) */
.admin-modal {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(58, 53, 47, 0.45);
    display: flex; align-items: center; justify-content: center;
    padding: 1.5rem;
}
.admin-modal__box {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.75rem 2rem;
    max-width: 640px; max-height: 85vh; overflow-y: auto;
}
.admin-modal__box h2 { margin-top: 0; }

/* Úvod - teaser dárkových poukazů (krémový pásek se zlatým rámečkem) */
.gift-strip-section { padding: 2.5rem 1.25rem; }
.gift-strip {
    max-width: var(--container);
    margin: 0 auto;
    background: #fdfaf4;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-lg);
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.gift-strip__text { margin: 0; }
/* Tlačítko pásku se nesmí smrštit a zalomit text na dva řádky */
.gift-strip .btn { flex-shrink: 0; white-space: nowrap; }

/* Ceník - dárková karta (9. karta doplňuje mřížku) + zlaté tlačítko */
.service-card--gift {
    background: #fffdf8;
    border-color: #e3cea0;
}
.service-card__name--gift { color: #a67f37; }
.gift-card__lead { margin-bottom: 1rem; }
/* Zvýrazněná zóna dole: sjednocený text + tlačítko na krémovo-zlatém podkladu */
.gift-card__cta {
    margin-top: auto;
    background: #faf3e1;
    border: 1px solid #ecdcae;
    border-radius: var(--radius);
    padding: 1rem 1.1rem 1.1rem;
}
.gift-card__note {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin: 0 0 0.9rem;
}
/* Tlačítko dle obsahu, vystředěné v boxu, na jednom řádku (desktop = normální
   velikost .btn; na úzkých telefonech se zmenší v mobilním bloku níže). */
.gift-card__btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    white-space: nowrap;
}
.btn--gold {
    background: #bd9450;
    border-color: #bd9450;
    color: #fff;
}
.btn--gold:hover {
    background: #a67f37;
    border-color: #a67f37;
    color: #fff;
}

/* Admin - nápověda */
.help-panel { max-width: 900px; }
.help-toc {
    display: flex; flex-wrap: wrap; gap: 0.6rem;
    margin: 0 0 1.5rem;
}
.help-toc a {
    display: inline-block; padding: 0.35rem 0.9rem;
    background: var(--color-surface); border: 1px solid var(--color-border);
    border-radius: 999px; font-size: 0.9rem; text-decoration: none;
    color: var(--color-primary-dark);
}
.help-toc a:hover { border-color: var(--color-accent); color: var(--color-accent-dark); }
.help-section { margin-top: 0.5rem; }
.help-section + .help-section { margin-top: 2.5rem; }
.help-section h2 {
    font-size: 1.5rem; margin: 0 0 1rem;
    padding-bottom: 0.4rem; border-bottom: 2px solid var(--color-accent);
}
.help-section h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; color: var(--color-primary-dark); }
.help-section p, .help-section li { line-height: 1.65; }
.help-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 0.75rem 0; }
.help-table th, .help-table td {
    padding: 0.55rem 0.75rem; text-align: left; vertical-align: top;
    border-bottom: 1px solid var(--color-border);
}
.help-table tr:last-child th, .help-table tr:last-child td { border-bottom: none; }
.help-table th { white-space: nowrap; font-weight: 600; }
.help-table--mail th { white-space: normal; }
.help-note {
    background: #fdf6e7; border-left: 3px solid var(--color-accent);
    padding: 0.75rem 1rem; margin: 1rem 0; border-radius: 0 6px 6px 0;
    font-size: 0.95rem; line-height: 1.6;
}
.help-note--live { background: #eef3e7; border-left-color: var(--color-primary); }
.help-live { white-space: nowrap; font-weight: 600; color: var(--color-primary-dark); }
.help-toc__pdf {
    margin-left: auto;
    border-color: var(--color-accent) !important;
    color: var(--color-accent-dark) !important;
    font-weight: 600;
}
.help-toc__pdf:hover { background: var(--color-accent); color: #fff !important; }

/* Admin - log e-mailů */
.mail-log-when { white-space: nowrap; }
/* Selektor s .res-filter kvůli specificitě - obecné ".res-filter label"
   nastavuje sloupec, tady chceme checkbox a text vedle sebe */
.res-filter .mail-log-errors {
    align-self: end; padding-bottom: 0.45rem;
    display: flex; flex-direction: row; align-items: center; gap: 0.4rem; white-space: nowrap;
}
.mail-log-error { font-size: 0.85rem; word-break: break-word; }
.form-note-hint { margin: 0.35rem 0 0; font-size: 0.85rem; color: var(--color-muted); }
.admin-back-link { text-align: center; margin: 1.25rem 0 0; }
.admin-back-link a { color: var(--color-muted); font-size: 0.95rem; }
.admin-back-link a:hover { color: var(--color-accent-dark); }


/* Hamburger tlačítko admin lišty (nad mobilním breakpointem skryté) */
.admin-topbar__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 10px;
    min-width: 46px;
    min-height: 44px;
}
.admin-topbar__toggle span {
    width: 26px;
    height: 2px;
    background-color: #e9e2d5;
    display: block;
}

/* ==========================================================================
   Admin - mobil (telefon <= 700 px): hamburger menu (stejný vzor jako web),
   filtry pod sebou, hustší tabulky. Tabulky samy scrollují (res-table-wrap).
   ========================================================================== */
@media (max-width: 700px) {
    .admin-main { padding: 1.25rem 0.9rem 2.5rem; }
    .admin-h1 { font-size: 1.45rem; }

    /* Lišta: hamburger, menu jako tmavý rozbalovací panel */
    .admin-topbar { position: relative; }
    .admin-topbar__inner { padding: 0.55rem 0.9rem; gap: 0.4rem; flex-wrap: nowrap; }
    .admin-topbar__toggle { display: flex; }
    .admin-topbar__nav { display: none; }
    .admin-topbar__nav.is-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 50;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #2f2b26;
        padding: 0.3rem 0 0.9rem;
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
    }
    .admin-topbar__nav.is-open a { padding: 0.6rem 1.25rem; }
    .admin-topbar__nav.is-open .admin-topbar__user { padding: 0.6rem 1.25rem 0.2rem; }
    .admin-topbar__nav.is-open form { padding: 0.6rem 1.25rem 0; }

    /* Filtry: každé pole na celou šířku (pohodlné pro dotyk) */
    .res-filter__row label { flex: 1 1 100%; }
    .res-filter__actions { flex: 1 1 100%; }
    .res-filter .mail-log-errors { align-self: flex-start; }
    /* Samotná pole na celou šířku - select s dlouhou volbou ("Jen platné...")
       ani vyhledávací pole (jinak min-width 15.5rem) pak nepřetékají do strany */
    .res-filter select,
    .res-filter input,
    .res-filter input[type="search"] { width: 100%; min-width: 0; }

    /* Tabulky: hustší a bez lámání textu - čte se v klidu, posouvá se prstem */
    .res-table { font-size: 0.88rem; }
    .res-table th, .res-table td { padding: 0.5rem 0.6rem; white-space: nowrap; }
    .res-table__contact { word-break: normal; }

    /* Nápověda: obsahové tabulky se rozskládají do "karet" (název/štítek
       nahoře, text pod ním přes celou šířku) - žádný scroll, žádné úzké
       sloupečky. Výjimka: 3sloupcová e-mailová tabulka zůstává tabulkou. */
    .help-table th { white-space: normal; }
    .help-section h2 { font-size: 1.3rem; }
    .help-table:not(.help-table--mail),
    .help-table:not(.help-table--mail) tbody,
    .help-table:not(.help-table--mail) tr,
    .help-table:not(.help-table--mail) th,
    .help-table:not(.help-table--mail) td {
        display: block;
        width: 100%;
    }
    .help-table:not(.help-table--mail) tr {
        padding: 0.65rem 0;
        border-bottom: 1px solid var(--color-border);
    }
    .help-table:not(.help-table--mail) tr:last-child { border-bottom: none; }
    .help-table:not(.help-table--mail) th,
    .help-table:not(.help-table--mail) td {
        padding: 0.15rem 0;
        border-bottom: none;
    }
    /* Hlavičkový řádek tabulky nastavení (Nastavení/Aktuálně/Co dělá)
       je v kartách zbytečný šum */
    .help-table--settings tr:first-child { display: none; }

    /* Přihlašovací karta */
    .admin-card { padding: 1.6rem 1.25rem; }
}
.help-table-wrap { overflow-x: auto; }

/* ==========================================================================
   Recenze - veřejný výpis, karty, hvězdičkový vstup
   ========================================================================== */
.reviews { padding-top: 1.5rem; }
.reviews__inner { max-width: var(--container); margin: 0 auto; }
.reviews__empty { text-align: center; color: var(--color-muted); }
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 1.5rem;
}
.reviews__grid--home { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.review-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
}
.review-card__stars {
    color: var(--color-accent);
    font-size: 1.15rem;
    letter-spacing: 0.15em;
    margin: 0 0 0.6rem;
}
.review-card__text { margin: 0 0 1rem; }
.review-card__meta {
    margin-top: auto;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
}
.review-card__meta span { color: var(--color-muted); font-size: 0.9rem; }
.home-reviews__all { text-align: center; margin: 2rem 0 0; }

/* Formulář recenze */
.reviews-form-section { background-color: #f4efe6; }
.reviews-form { max-width: 640px; margin: 0 auto; }
.reviews-form__lead { color: var(--color-muted); margin-top: -0.25rem; }
.reviews-form__label { display: block; font-weight: 600; margin-bottom: 0.35rem; }

/* Hvězdičkový vstup: radia skrytá, popisky ★; řada je obrácená (5..1),
   takže :checked ~ label obarví hvězdy vizuálně VLEVO od vybrané */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 0.15rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label {
    font-size: 2rem;
    line-height: 1;
    color: var(--color-border);
    cursor: pointer;
    transition: color var(--transition);
    padding: 0.1rem;
}
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label { color: var(--color-accent); }
.star-input input:focus-visible + label { outline: 2px solid var(--color-primary); border-radius: 4px; }
.review-card__verified {
    display: inline-block;
    background: #e6efe0; color: #3f5a2e;
    padding: 0.1rem 0.6rem; border-radius: 999px;
    font-size: 0.78rem; font-weight: 600; white-space: nowrap;
}
/* Admin - recenze */
.rev-filter { margin-bottom: 1rem; }
.rev-table .rev-text { white-space: normal; min-width: 260px; }
.rev-stars { color: var(--color-accent); letter-spacing: 0.1em; white-space: nowrap; }
.rev-actions form { display: inline-block; margin: 0 0.2rem 0.3rem 0; }
.rev-hint { font-size: 0.8rem; }
.rev-add { margin-top: 1.5rem; }
.rev-reply-quote {
    margin: 0.6rem 0; padding: 0.5rem 0.8rem;
    background: #f4efe6; border-left: 3px solid var(--color-accent);
    border-radius: 0 6px 6px 0; font-size: 0.9rem;
}
.rev-reply-toggle { margin-top: 0.4rem; }
.rev-reply-form textarea {
    width: 100%; margin-top: 0.5rem; padding: 0.55rem 0.7rem;
    border: 1px solid var(--color-border); border-radius: var(--radius);
    font: inherit; font-size: 0.95rem;
}
.rev-reply-form__actions { display: flex; gap: 0.5rem; margin-top: 0.5rem; flex-wrap: wrap; }
.review-card__reply {
    margin: 0 0 1rem; padding: 0.6rem 0.9rem;
    background: #f4efe6; border-left: 3px solid var(--color-accent);
    border-radius: 0 8px 8px 0; font-size: 0.95rem;
}
.review-card__reply strong { color: var(--color-primary-dark); }
.reviews-summary {
    display: flex; align-items: baseline; justify-content: center;
    gap: 0.7rem; margin: 0 0 2rem; flex-wrap: wrap;
}
.reviews-summary__avg {
    font-family: var(--font-heading); font-size: 2.4rem; font-weight: 600;
    color: var(--color-primary-dark); line-height: 1;
}
.reviews-summary__stars { color: var(--color-accent); font-size: 1.4rem; letter-spacing: 0.12em; }
.reviews-summary__count { color: var(--color-muted); }
.reviews__pager-info { color: var(--color-muted); }
.home-reviews__summary { color: var(--color-accent-dark); font-weight: 600; margin: 0.4rem 0 0; }

/* Recenze - oříznutí dlouhých textů s rozbalením po kartách */
.review-card__text.is-clamped {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.review-card__reply.is-clamped {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.review-card.is-open .is-clamped {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
}
.review-card__more {
    background: none; border: 0; padding: 0;
    color: var(--color-primary-dark); font: inherit; font-size: 0.9rem;
    font-weight: 600; cursor: pointer; align-self: flex-start;
    margin: -0.4rem 0 0.9rem;
}
.review-card__more:hover { color: var(--color-accent-dark); }
/* Admin - texty e-mailů */
.mail-tpl h2 { font-size: 1.25rem; }
.mail-tpl__fixed {
    color: var(--color-muted); font-style: italic; font-size: 0.9rem;
    text-align: center; background: #f4efe6; border-radius: var(--radius);
    padding: 0.45rem 0.8rem; margin: 0.9rem 0;
}
.mail-tpl__locked {
    background: #f8f5ef; border: 1px dashed var(--color-border);
    border-radius: var(--radius); padding: 0.7rem 1rem; margin-bottom: 0.9rem;
    font-size: 0.92rem; color: var(--color-muted);
}
.mail-tpl__locked p { margin: 0 0 0.3rem; }
#msg-form { margin-top: 0.9rem; }
.mail-log-body { background: #faf7f2; }
.mail-log-body__frame {
    background: var(--color-surface); border: 1px solid var(--color-border);
    border-radius: var(--radius); padding: 1rem 1.25rem; max-width: 640px;
    font-size: 0.95rem;
}
.mail-log-body__frame h2 { font-size: 1.2rem; }

/* Admin - dnešek na přehledu + statistika */
.today-panel { max-width: none; margin-bottom: 1.5rem; }
.today-panel h2 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.today-panel__empty { margin: 0; }
.today-panel__list { list-style: none; margin: 0; padding: 0; }
.today-panel__list li { border-bottom: 1px solid var(--color-border); }
.today-panel__list li:last-child { border-bottom: none; }
.today-panel__list a {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1rem;
    padding: 0.55rem 0.25rem; color: var(--color-text);
}
.today-panel__list a:hover { background: #f8f5ef; }
.today-panel__list li { display: flex; flex-wrap: wrap; align-items: baseline; }
.today-panel__list li > a:first-child { flex: 1 1 auto; }
.today-panel__phone {
    flex: 0 0 auto; white-space: nowrap; font-weight: 600;
    padding: 0.55rem 0.25rem; color: var(--color-primary-dark);
}
.today-panel__name { font-weight: 600; }
/* Admin - notifikace (push) */
.push-events { margin: 0 0 1rem; padding-left: 1.3rem; }
.push-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0.8rem 0; }
.push-hint { font-size: 0.9rem; }
.push-devices { list-style: none; margin: 0; padding: 0; }
.push-device {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.8rem; flex-wrap: wrap; padding: 0.55rem 0;
    border-bottom: 1px solid var(--color-border);
}
.push-device:last-child { border-bottom: none; }
.push-device__info { word-break: break-word; }
.stats-range { display: block; font-size: 0.85rem; }
.stats-table td, .stats-table th { white-space: normal; }
/* Přehled - týdenní panel */
.week-panel { max-width: none; margin-bottom: 1.5rem; }
.week-panel h2 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.week-panel__days { list-style: none; margin: 0; padding: 0; }
.week-panel__day { border-bottom: 1px solid var(--color-border); padding: 0.45rem 0; }
.week-panel__day:last-child { border-bottom: none; }
.week-panel__head { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.week-panel__date { min-width: 7.5rem; }
.week-panel__info { flex: 1; }
.week-panel__state--zavreno { color: var(--color-muted); }
.week-panel__state--blokovano { color: #9e463b; font-weight: 600; }
.week-panel__state--volno { color: #3f5a2e; font-weight: 600; }
.week-panel__outlook {
    margin: 0.9rem 0 0; padding-top: 0.7rem;
    border-top: 2px solid var(--color-border);
}

/* ---------- Tisk dárkových poukazů do zásoby ---------- */
/* Informační hláška (rada, ne chyba) - laděná do zlaté palety poukazů */
.form-alert--info {
    background: #f6efe1;
    color: #6b5a34;
    border: 1px solid #e2d3b4;
}
/* Náhled motivu v tabulce připraveného tisku */
.batch-thumb {
    width: 74px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.batch-summary {
    margin: 1rem 0 0.5rem;
    font-size: 1.05rem;
}
.batch-create {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
}
/* Panel po vytvoření dávky */
.batch-done {
    border-left: 4px solid #8a9a6b;
}
@media (max-width: 700px) {
    .batch-thumb { width: 54px; height: 36px; }
}
/* Úprava počtu kusů přímo v řádku připraveného tisku */
.batch-count-form {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.batch-count-form input[type="number"] {
    width: 4.5rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-bg);
    font: inherit;
    text-align: center;
}
/* Akce u hotového tisku (stažení PDF, mazání) */
.batch-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.batch-delete {
    border-color: #d9b7b1;
    color: #8f2e22;
}
.batch-delete:hover {
    background: #f7e4e1;
    border-color: #c99a92;
}
/* Záložky filtru stavů v seznamu poukazů */
.voucher-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1.1rem;
    margin-bottom: 1.25rem;
}
/* Vedlejší odkaz na PDF s ořezovými značkami */
.batch-marks-link {
    font-size: 0.85rem;
    color: var(--color-muted);
    text-decoration: underline;
}
.batch-marks-link:hover { color: var(--color-text); }
/* Podnadpisy v nápovědě k tisku */
.admin-modal__box h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.05rem;
}
.admin-modal__box h3:first-of-type { margin-top: 1rem; }

/* ---------- Příspěvek zdravotní pojišťovny (Služby, Před první návštěvou) ---------- */
.insurance-note {
    max-width: 46rem;
    margin: 2.5rem auto;
    padding: 1.75rem 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    border-radius: 14px;
}
.insurance-note__title {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
}
.insurance-note__lead {
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.insurance-note p { margin: 0 0 0.75rem; }
.insurance-note__hint {
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}
@media (max-width: 560px) {
    .insurance-note {
        margin: 2rem 1rem;
        padding: 1.25rem 1.25rem;
    }
}
/* Víceřádkové pole v Nastavení (podmínky na rubu poukazu) */
.settings-form textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-bg);
    font: inherit;
    line-height: 1.5;
    resize: vertical;
}
/* Roletka volby rubu: sladit vzhled s ostatními poli a nenechat ji roztáhnout
   přes celou šířku panelu - jsou to jen tři krátké volby. */
.batch-create select {
    max-width: 30rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-bg);
    font: inherit;
    color: inherit;
}
.batch-create select:focus {
    outline: none;
    border-color: var(--color-accent);
}
/* Volby rubu potřebují kolem sebe vzduch, jinak splývají s okolím */
.batch-create .form-row {
    margin-top: 1.6rem;
    margin-bottom: 1.6rem;
}
@media (max-width: 560px) {
    .batch-create select { max-width: 100%; }
}
