/* Světlé moře & slunce — Zabavné cestování */
:root {
    --ocean-deep: #0c4a6e;
    --ocean-mid: #0369a1;
    --ocean-light: #38bdf8;
    --aqua: #0284c7;
    --aqua-soft: #e0f2fe;
    --foam: #f8fafc;
    --sand: #fffbeb;
    --sand-deep: #fde68a;
    --sun: #f59e0b;
    --sun-deep: #d97706;
    --white: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: rgba(14, 116, 144, 0.15);
    --card-bg: #ffffff;
    --shadow: 0 12px 40px rgba(14, 116, 144, 0.12);
    --shadow-hover: 0 20px 50px rgba(14, 116, 144, 0.18);
    --radius: 18px;
    --radius-sm: 12px;
    --font: "Outfit", system-ui, sans-serif;
    --font-display: "Fraunces", Georgia, serif;
    --site-header-offset: 136px;
    --blog-accent: #d946ef;
    /* Editorialní text článku (blog) — serif, šedá, do bloku */
    --blog-prose-fg: #333333;
    --blog-prose-max: 48rem;
    --blog-prose-serif: var(--font-display), Georgia, "Times New Roman", "DejaVu Serif", serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 35%, #fffbeb 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 60% at 50% -15%, rgba(255, 237, 213, 0.9), transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 0%, rgba(186, 230, 253, 0.5), transparent 50%),
        radial-gradient(ellipse 50% 40% at 0% 80%, rgba(224, 242, 254, 0.6), transparent 45%);
    pointer-events: none;
    z-index: 0;
}

.sun-glow {
    position: fixed;
    top: -100px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 220, 120, 0.85) 0%, rgba(255, 200, 80, 0.35) 35%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: sunPulse 10s ease-in-out infinite;
    filter: blur(1px);
}

@keyframes sunPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.92; transform: scale(1.06); }
}

.shell {
    width: min(1120px, 100% - 2rem);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid rgba(14, 116, 144, 0.12);
    box-shadow: 0 2px 20px rgba(14, 116, 144, 0.06);
}

.header-top {
    border-bottom: 1px solid rgba(14, 116, 144, 0.08);
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.header-top-inner {
    display: grid;
    /* Pevná šířka sloupce loga — zvětšení obrázku pak neposouvá vyhledávání ani pravé odkazy */
    grid-template-columns: 280px minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: 0.65rem 0;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--ocean-deep);
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.logo--header-top {
    font-size: 1.15rem;
    line-height: 0;
    flex: 0 0 auto;
    min-width: 0;
    max-width: 100%;
    justify-self: start;
}

/* Logo v rezervovaném sloupci — větší, ale max. šířka buňky, aby se layout nehnul */
.site-header .logo--header-top .logo-image {
    display: block;
    flex: 0 0 auto;
    height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

.logo-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.45));
}

.logo-text span {
    color: var(--aqua);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
    min-width: 0;
    padding: 0.35rem 0.4rem 0.35rem 1rem;
    background: #f1f5f9;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search:focus-within {
    border-color: rgba(2, 132, 199, 0.45);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.header-search input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    background: transparent;
    font: inherit;
    font-size: 0.92rem;
    color: var(--text);
    outline: none;
}

.header-search input::placeholder {
    color: var(--text-muted);
}

.header-search-submit {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--ocean-mid) 0%, var(--ocean-deep) 100%);
    color: var(--white);
    cursor: pointer;
    transition: filter 0.2s, transform 0.15s;
}

.header-search-submit:hover {
    filter: brightness(1.08);
}

.header-search-submit:active {
    transform: scale(0.96);
}

.header-util {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    flex-shrink: 0;
}

.header-util a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.header-util a:hover {
    color: var(--ocean-mid);
}

.header-favorites {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    position: relative;
    /* Stejná svislá stopa jako .header-search (0.35 + tlačítko 2.25 + 0.35) */
    min-height: 2.95rem;
    padding: 0.35rem 0.95rem 0.35rem 0.75rem;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ocean-deep) !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.header-favorites:hover {
    color: var(--ocean-mid) !important;
    border-color: rgba(2, 132, 199, 0.35);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.header-favorites-stack {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
}

.header-favorites-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    color: var(--ocean-deep);
}

.header-favorites:hover .header-favorites-icon {
    color: var(--ocean-mid);
}

.header-favorites-icon svg {
    width: 1.45rem;
    height: 1.45rem;
    display: block;
}

.header-favorites-path {
    fill: currentColor;
}

.header-favorites-stack .header-favorites-badge {
    position: absolute;
    top: -0.2rem;
    right: -0.55rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.28rem;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: linear-gradient(145deg, #7dd3fc 0%, #38bdf8 100%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(3, 105, 161, 0.35);
}

.header-favorites-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.55rem;
    height: 1.55rem;
    padding: 0 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: linear-gradient(145deg, #7dd3fc 0%, #38bdf8 100%);
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(3, 105, 161, 0.35);
}

.header-favorites-badge--inline {
    margin-left: 0.15rem;
    vertical-align: middle;
}

.oblibene-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.oblibene-item {
    border-bottom: 1px solid rgba(14, 116, 144, 0.12);
}

.oblibene-item:last-child {
    border-bottom: none;
}

.oblibene-link {
    display: block;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: var(--ocean-deep);
    font-weight: 600;
    transition: background 0.15s ease;
}

.oblibene-link:hover {
    background: rgba(14, 116, 144, 0.06);
}

.oblibene-empty {
    max-width: 32rem;
    margin: 0 auto;
    text-align: center;
}

.page-oblibene .oblibene-root .card-grid {
    margin-top: 0;
}

.oblibene-loading {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
}

.header-util--mobile {
    display: none;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.header-util--mobile a {
    font-size: 0.9rem;
    color: var(--ocean-deep);
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius-sm);
}

.header-util--mobile a:hover {
    background: var(--aqua-soft);
}

.header-main {
    background: rgba(255, 255, 255, 0.98);
}

.header-main-inner {
    display: flex;
    align-items: center;
    gap: 0.85rem 1.15rem;
    padding: 0.85rem 0;
    flex-wrap: nowrap;
    min-width: 0;
}

.nav-main {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem 0.55rem;
    flex-wrap: nowrap;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-main::-webkit-scrollbar {
    display: none;
}

.nav-main a {
    color: var(--ocean-deep);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.nav-main a:hover {
    background: var(--aqua-soft);
    color: var(--aqua);
}

.nav-main-mobile {
    display: none;
    align-items: center;
    gap: 0.15rem 0.3rem;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.nav-main-mobile::-webkit-scrollbar {
    display: none;
}

.nav-main-mobile a {
    flex-shrink: 0;
    color: var(--ocean-deep);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.5rem 0.7rem;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.nav-main-mobile a:hover {
    background: var(--aqua-soft);
    color: var(--aqua);
}

.header-main-end {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 1;
    min-width: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 1;
    min-width: 0;
    flex-wrap: nowrap;
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

/* Větší tlačítka přihlášení v řádku menu (globální .btn-sm beze změny) */
.header-main .header-auth .btn-sm {
    padding: 0.55rem 1.2rem;
    font-size: 1rem;
}

.header-main .header-auth .user-pill {
    font-size: 0.95rem;
    padding: 0.45rem 0.9rem;
}

.user-pill {
    font-size: 0.85rem;
    color: var(--ocean-deep);
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    background: var(--aqua-soft);
    border-radius: 999px;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    border-radius: var(--radius-sm);
    color: var(--ocean-deep);
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--aqua);
    outline-offset: 2px;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ocean-deep);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.15s ease;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 1rem;
    gap: 0.5rem;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 24px rgba(14, 116, 144, 0.08);
}

.nav-mobile.is-open {
    border-bottom: 1px solid var(--border);
}

.nav-mobile a {
    color: var(--ocean-deep);
    text-decoration: none;
    padding: 0.6rem;
    border-radius: var(--radius-sm);
}

.nav-mobile a:hover {
    background: var(--aqua-soft);
}

.main-content {
    position: relative;
    z-index: 1;
    padding-bottom: 4rem;
}

/* Hero */
.hero {
    padding: 3rem 0 4rem;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    color: var(--ocean-deep);
    margin: 0 0 1rem;
    line-height: 1.15;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.8);
}

.hero .lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--sun) 0%, var(--sun-deep) 100%);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
    filter: brightness(1.05);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
    background: var(--white);
    color: var(--ocean-deep);
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(14, 116, 144, 0.08);
}

.btn-secondary:hover {
    background: var(--aqua-soft);
    border-color: rgba(2, 132, 199, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--ocean-mid);
    border: 1px solid rgba(3, 105, 161, 0.25);
}

.btn-ghost:hover {
    background: var(--aqua-soft);
    color: var(--aqua);
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
}

/* Cards grid */
.section {
    padding: 2rem 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--ocean-deep);
    margin: 0 0 0.5rem;
}

.section-desc {
    color: var(--text-muted);
    margin: 0 0 1.75rem;
    max-width: 520px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

/* Zrušená dovolená: levý filtr + úzký výpis (~672px) */
.listing-prodej-page {
    display: grid;
    grid-template-columns: minmax(200px, 230px) minmax(0, 1fr);
    gap: 1.5rem 1.75rem;
    align-items: start;
    width: 100%;
}

.listing-prodej-filters {
    position: sticky;
    top: calc(var(--site-header-offset, 0px) + 1rem);
    padding: 1.15rem 1.1rem 1.2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(224, 242, 254, 0.45) 100%);
    border: 1px solid rgba(14, 116, 144, 0.18);
    border-radius: var(--radius);
    box-shadow: 0 8px 28px rgba(14, 116, 144, 0.08);
}

.listing-prodej-search-form {
    margin: 0 0 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(14, 116, 144, 0.12);
}

.listing-prodej-search-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ocean-mid);
    margin-bottom: 0.4rem;
}

.listing-prodej-search-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.listing-prodej-search-row input[type="search"] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.75rem;
    font-family: var(--font);
    font-size: 0.95rem;
    border: 1px solid rgba(14, 116, 144, 0.2);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
}

.listing-prodej-search-row input[type="search"]:focus {
    outline: none;
    border-color: rgba(2, 132, 199, 0.45);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.listing-prodej-search-submit {
    width: 100%;
    justify-content: center;
}

.listing-prodej-filters-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ocean-deep);
    margin: 0 0 0.75rem;
    line-height: 1.25;
}

.listing-prodej-filters-nav {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.listing-prodej-filter {
    display: block;
    padding: 0.55rem 0.75rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ocean-deep);
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(14, 116, 144, 0.12);
    background: rgba(255, 255, 255, 0.75);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.listing-prodej-filter:hover {
    background: #fff;
    border-color: rgba(2, 132, 199, 0.28);
    color: var(--ocean-mid);
}

.listing-prodej-filter.is-active {
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.12) 0%, rgba(56, 189, 248, 0.12) 100%);
    border-color: rgba(2, 132, 199, 0.35);
    color: var(--ocean-deep);
    box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.2);
}

.listing-prodej-main {
    min-width: 0;
    max-width: 42rem;
    width: 100%;
}

.listing-prodej-sort-form {
    margin: 0;
    width: 100%;
}

.listing-prodej-toolbar.ubyt-market-toolbar {
    margin-top: 0.35rem;
}

.section--zrusena-prodej .prose-note {
    margin-top: 0;
}

@media (max-width: 900px) {
    .listing-prodej-page {
        grid-template-columns: 1fr;
    }

    .listing-prodej-filters {
        position: static;
    }

    .listing-prodej-main {
        max-width: none;
    }
}

/* Jeden sloupec, karty vždy pod sebou (i na širokém monitoru). */
.card-grid--stack {
    grid-template-columns: 1fr;
}

/* Grid položky bez min-width:0 umí „přetéct“ mimo buňku; obrázek pak přesahuje karty. */
.card-grid > .card {
    min-width: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem;
    box-shadow: var(--shadow);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    overflow: hidden;
}

.card--clickable {
    position: relative;
}

.card-click-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.card-click-overlay:focus-visible {
    outline: 2px solid var(--ocean-mid);
    outline-offset: 3px;
    z-index: 3;
}

.card-link-above {
    position: relative;
    z-index: 2;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(2, 132, 199, 0.25);
    box-shadow: var(--shadow-hover);
}

.card-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.75rem;
}

.card-badges .card-badge {
    margin-bottom: 0;
}

.card-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.card-badge-location {
    background: rgba(56, 189, 248, 0.2);
    color: var(--ocean-deep);
    text-transform: none;
    letter-spacing: 0.03em;
}

.card-badge-top {
    background: rgba(245, 158, 11, 0.2);
    color: #b45309;
}

.card--is-top {
    border-width: 2px;
}

.card--top-gold {
    border-color: rgba(245, 158, 11, 0.55);
    box-shadow: 0 14px 28px rgba(245, 158, 11, 0.18);
}

.card--top-blue {
    border-color: rgba(2, 132, 199, 0.45);
    box-shadow: 0 14px 28px rgba(2, 132, 199, 0.16);
}

.card--top-green {
    border-color: rgba(22, 163, 74, 0.45);
    box-shadow: 0 14px 28px rgba(22, 163, 74, 0.16);
}

.card--top-violet {
    border-color: rgba(124, 58, 237, 0.45);
    box-shadow: 0 14px 28px rgba(124, 58, 237, 0.16);
}

.card-stars-wrap {
    margin: 0 0 0.5rem;
}

.listing-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.12rem;
    font-size: 0.95rem;
    line-height: 1;
    letter-spacing: 0;
}

.listing-star {
    color: rgba(14, 116, 144, 0.22);
    text-shadow: none;
}

.listing-star.is-on {
    color: var(--sun-deep);
    text-shadow: 0 0 0.35rem rgba(245, 158, 11, 0.35);
}

/* Nad overlay klikací celé karty — šipky a náhledy musí být klikatelné */
.card-media {
    position: relative;
    z-index: 2;
    margin: 0 0 0.75rem;
}

.card-media script.card-gallery-json {
    display: none;
}

.card-image {
    margin: 0 0 0.75rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(14, 116, 144, 0.06);
    max-width: 100%;
}

.card-media .card-image {
    margin: 0 0 0.55rem;
}

.card-image img,
.card-image-main {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.card-image--carousel {
    position: relative;
}

.card-image-detail-link {
    display: block;
    position: relative;
    z-index: 0;
    color: inherit;
    text-decoration: none;
    border-radius: inherit;
}

.card-image-detail-link:focus-visible {
    outline: 2px solid var(--ocean-mid);
    outline-offset: 2px;
    z-index: 1;
}

/* Fotka by jinak v DOM překryla levé tlačítko (je před img); šipky musí být nad obrázkem */
.card-image--carousel .card-image-main {
    position: relative;
    z-index: 0;
}

.card-favorite {
    position: absolute;
    left: 0.4rem;
    top: 0.4rem;
    bottom: auto;
    z-index: 6;
    width: 2.1rem;
    height: 2.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #64748b;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.card-favorite:hover {
    transform: scale(1.05);
    background: #ffffff;
    color: #e11d48;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.22);
}

.card-favorite:focus-visible {
    outline: 2px solid var(--ocean-mid);
    outline-offset: 2px;
}

.card-favorite-shape {
    fill: transparent;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linejoin: round;
}

.card-favorite.is-active {
    color: #fff;
    background: #e11d48;
    box-shadow: 0 3px 12px rgba(225, 29, 72, 0.35);
}

.card-favorite.is-active .card-favorite-shape {
    fill: currentColor;
    stroke: currentColor;
}

.card-image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 2.35rem;
    height: 2.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 600;
    color: var(--ocean-deep);
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 2px 12px rgba(12, 74, 110, 0.18);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.card-image-nav:hover {
    background: #fff;
    color: var(--ocean-mid);
    box-shadow: 0 3px 14px rgba(12, 74, 110, 0.22);
}

.card-image-nav:focus-visible {
    outline: 2px solid var(--ocean-mid);
    outline-offset: 2px;
}

.card-image-nav--prev {
    left: 0.5rem;
}

.card-image-nav--next {
    right: 0.5rem;
}

.card-image-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    margin: 0;
}

.card-image-thumb {
    display: block;
    margin: 0;
    padding: 0;
    font: inherit;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid rgba(14, 116, 144, 0.15);
    background: transparent;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card-image-thumb:hover {
    border-color: rgba(2, 132, 199, 0.35);
}

.card-image-thumb.is-active {
    border-color: var(--ocean-mid);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.4);
}

.card-image-thumb img {
    display: block;
    width: 100%;
    height: 48px;
    object-fit: cover;
}

.badge-ubytovani {
    background: var(--aqua-soft);
    color: var(--aqua);
}

.badge-dovolena {
    background: #fef3c7;
    color: var(--sun-deep);
}

.badge-prodej {
    background: #ffedd5;
    color: #c2410c;
}

/* Zrušená dovolená — karta na šířku: fotka vlevo jako široký obdélník (3:2), text vpravo */
.card--prodej-row {
    padding: 0.85rem 1rem;
    container-type: inline-size;
    container-name: prodej-card;
}

.card-prodej-layout {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 1rem;
}

.card--prodej-row .card-prodej-media {
    flex: 0 0 min(42%, 260px);
    max-width: 280px;
    min-width: 0;
    margin: 0 0 0.75rem;
    align-self: flex-start;
}

@media (min-width: 561px) {
    .card--prodej-row .card-prodej-media {
        margin-bottom: 0;
    }
}

.card--prodej-row .card-prodej-media .card-image-main {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.card--prodej-row .card-prodej-media .card-image {
    margin-bottom: 0.4rem;
}

.card--prodej-row .card-image-thumbs {
    gap: 0.3rem;
}

.card--prodej-row .card-image-thumb img {
    height: 40px;
}

.card--prodej-row .card-prodej-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.card-prodej-actions {
    margin-top: auto;
    padding-top: 0.65rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.card-prodej-view {
    flex-shrink: 0;
}

.card-prodej-head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0 0 0.4rem;
}

.card--prodej-row .card-prodej-head h3 {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 1.05rem;
    line-height: 1.35;
}

.card--prodej-row .card-prodej-price {
    flex-shrink: 0;
    margin: 0;
    font-size: 1.1rem;
    white-space: nowrap;
}

.card--prodej-row .card-prodej-price.card-price-note {
    font-size: 0.82rem;
    white-space: normal;
    text-align: right;
    max-width: 11rem;
}

.card--prodej-row .card-desc {
    margin-bottom: 0.65rem;
}

.card--prodej-row .card-meta {
    margin-bottom: 0.5rem;
}

@media (max-width: 560px) {
    .card-prodej-layout {
        flex-direction: column;
    }

    .card--prodej-row .card-prodej-media {
        max-width: none;
        width: 100%;
        flex: none;
    }
}

/* Úzká buňka mřížky (např. oblíbené vedle sebe) — stejný rozvrh jako na mobilu */
@container prodej-card (max-width: 420px) {
    .card-prodej-layout {
        flex-direction: column;
    }

    .card--prodej-row .card-prodej-media {
        max-width: none;
        width: 100%;
        flex: none;
        margin-bottom: 0.75rem;
    }
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--ocean-deep);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.card p,
.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 1rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.card-desc a {
    word-break: normal;
}

.card-desc .listing-detail-prose-p {
    margin-bottom: 0.35rem;
}

.card-desc .listing-detail-prose-p--lead {
    font-size: 1rem;
    font-weight: 500;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}

.card-desc .listing-detail-prose-p--meta {
    padding: 0.3rem 0.45rem;
    font-size: 0.88rem;
    margin-bottom: 0.25rem;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
}

.card-meta-icon {
    flex-shrink: 0;
    opacity: 0.88;
}

.card-location-row {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.card-meta-inline-label {
    font-weight: 600;
    margin-right: 0.35rem;
}

.card-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--sun-deep);
    margin-bottom: 0.75rem;
}

.card-price-note {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

/* Cena vlevo + Zobrazit vpravo (dovolená, ubytování) */
.card-bottom-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.65rem 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.card-bottom-row-price {
    flex: 1 1 auto;
    min-width: min(12rem, 100%);
}

.card-bottom-row .card-price,
.card-bottom-row .card-price-note {
    margin-bottom: 0;
}

.card-bottom-row-action {
    flex-shrink: 0;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(14, 116, 144, 0.1);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Feature strip */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.feature {
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 8px 28px rgba(14, 116, 144, 0.08);
}

a.feature {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

a.feature:hover {
    border-color: rgba(2, 132, 199, 0.28);
    box-shadow: 0 14px 36px rgba(14, 116, 144, 0.14);
    transform: translateY(-2px);
}

a.feature:focus-visible {
    outline: 2px solid var(--aqua);
    outline-offset: 3px;
}

a.feature:hover h3 {
    color: var(--aqua);
}

.feature-icon {
    margin-bottom: 0.5rem;
    line-height: 1;
}

.feature-icon:not(.feature-icon--image) {
    font-size: 2rem;
}

.feature-icon--image {
    display: block;
    width: 100%;
    max-width: min(100%, 340px);
    margin-inline: auto;
    margin-bottom: 0.75rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    max-height: 160px;
    background: var(--aqua-soft);
}

.feature-icon--image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.feature h3 {
    font-size: 1.1rem;
    color: var(--ocean-deep);
    margin: 0 0 0.35rem;
}

.feature p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.partners-roller {
    overflow: hidden;
    width: 100%;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: max-content;
    animation: partners-roll-right 26s linear infinite;
}

.partners-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 0.25rem 0.4rem;
    border-radius: 0;
    border: none;
    background: transparent;
    text-decoration: none;
    transition: transform 0.18s ease;
}

.partner-logo:hover,
.partner-logo:focus-visible {
    transform: translateY(-1px);
}

.partner-logo img {
    max-width: 100%;
    width: auto;
    height: 46px;
    object-fit: contain;
}

.section--partners {
    padding-top: 5rem;
}

@keyframes partners-roll-right {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .partners-track {
        animation: none;
    }
}

.text-muted {
    color: var(--text-muted);
    font-weight: 400;
}

/* Kontakt */
.page-head--kontakt .page-head-lead {
    max-width: 42rem;
    font-size: 1.05rem;
    line-height: 1.55;
}

.section--kontakt {
    padding-top: 0.5rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 1.5rem 2rem;
    align-items: start;
    max-width: 1040px;
    margin-inline: auto;
}

.contact-company-inner {
    padding: 1.5rem 1.6rem;
    background: linear-gradient(165deg, #ffffff 0%, #f0f9ff 45%, #e0f2fe 100%);
    border: 1px solid rgba(14, 116, 144, 0.14);
    box-shadow: 0 16px 40px rgba(14, 116, 144, 0.1);
}

.contact-company-badge {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--aqua);
}

.contact-company-name {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    color: var(--ocean-deep);
    line-height: 1.2;
}

.contact-company-dl {
    margin: 0 0 1.25rem;
    display: grid;
    gap: 0.75rem;
}

.contact-company-dl > div {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 0.5rem 1rem;
    align-items: baseline;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(14, 116, 144, 0.1);
}

.contact-company-dl dt {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.contact-company-dl dd {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ocean-deep);
}

.contact-company-address {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text);
}

.contact-company-address p {
    margin: 0 0 0.35rem;
}

.contact-company-mail {
    margin: 0 0 0.5rem;
}

.contact-company-mail .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.contact-form-wrap {
    padding: 1.5rem 1.6rem 1.65rem;
    border: 1px solid rgba(14, 116, 144, 0.14);
    box-shadow: 0 16px 40px rgba(14, 116, 144, 0.08);
}

.contact-form-title {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--ocean-deep);
}

.contact-form .alert {
    margin-bottom: 1rem;
}

.contact-form-submit {
    width: 100%;
    margin-top: 0.25rem;
}

.contact-form-hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 820px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* Forms */
.page-head {
    padding: 2rem 0 1rem;
}

.page-head h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--ocean-deep);
    margin: 0 0 0.5rem;
}

.page-head p {
    color: var(--text-muted);
    margin: 0;
    max-width: 560px;
}

.page-head--prodej {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem 1.5rem;
}

.page-head--prodej .page-head-main {
    flex: 1 1 min(100%, 28rem);
    min-width: 0;
}

.page-head--prodej .page-head-cta {
    flex-shrink: 0;
    align-self: flex-start;
}

@media (max-width: 640px) {
    .page-head--prodej {
        flex-direction: column;
    }

    .page-head--prodej .page-head-cta {
        width: 100%;
        text-align: center;
    }
}

/* Dovolené + ubytování — horní panel vyhledávání */
.section-dovolene .search-panel,
.section--ubyt-market .search-panel {
    margin: 0 0 2rem;
    padding: 1.5rem 1.5rem 1.35rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(224, 242, 254, 0.5) 100%);
    border: 1px solid rgba(14, 116, 144, 0.18);
    border-radius: var(--radius);
    box-shadow: 0 16px 48px rgba(14, 116, 144, 0.1);
}

.search-panel-head {
    margin-bottom: 1.1rem;
}

.search-panel-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--ocean-deep);
    margin: 0 0 0.35rem;
}

.search-panel-lead {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    max-width: 42rem;
    line-height: 1.45;
}

.search-panel-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.85rem 1rem;
    align-items: end;
}

.search-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ocean-mid);
    margin-bottom: 0.35rem;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 0.55rem 0.75rem;
    font-family: var(--font);
    font-size: 0.95rem;
    border: 1px solid rgba(14, 116, 144, 0.2);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.search-field input::placeholder {
    color: #94a3b8;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: rgba(2, 132, 199, 0.45);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.search-field--grow {
    width: 100%;
}

.search-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    padding-top: 0.15rem;
}

.search-panel-form .search-actions .btn-primary {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

.search-count {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.search-empty {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0 0 1.25rem;
    padding: 1rem;
    background: rgba(254, 243, 199, 0.35);
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(217, 119, 6, 0.25);
}

@media (min-width: 720px) {
    .section-dovolene .search-panel,
    .section--ubyt-market .search-panel {
        padding: 1.65rem 1.75rem 1.5rem;
    }
}

/* Ubytování — výpis pod horním vyhledáváním */
.section--ubyt-market {
    padding-top: 1.25rem;
}

.ubyt-market-main {
    min-width: 0;
}

.ubyt-market-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.25rem;
}

.ubyt-market-count {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.ubyt-market-count strong {
    color: var(--ocean-deep);
}

.ubyt-sort-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    margin: 0;
}

.ubyt-sort-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ocean-mid);
}

.ubyt-sort-select {
    min-width: 11rem;
    padding: 0.5rem 0.65rem;
    font-family: var(--font);
    font-size: 0.9rem;
    border: 1px solid rgba(14, 116, 144, 0.22);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
}

.ubyt-sort-select:focus {
    outline: none;
    border-color: rgba(2, 132, 199, 0.45);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.form-panel {
    max-width: 560px;
    margin: 1.5rem auto 2rem;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ocean-deep);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font);
    font-size: 1rem;
    border: 1px solid rgba(14, 116, 144, 0.2);
    border-radius: var(--radius-sm);
    background: var(--foam);
    color: var(--text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.listing-offer-meta {
    margin: 0 0 1.25rem;
    padding: 1rem 1rem 0.25rem;
    border: 1px solid rgba(14, 116, 144, 0.18);
    border-radius: var(--radius-sm);
    background: rgba(240, 249, 255, 0.45);
}

.listing-top-meta {
    margin: 0 0 1.25rem;
    padding: 1rem 1rem 0.25rem;
    border: 1px solid rgba(245, 158, 11, 0.24);
    border-radius: var(--radius-sm);
    background: rgba(255, 247, 237, 0.65);
}

.listing-top-meta-legend {
    padding: 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #b45309;
}

.listing-top-meta-lead {
    margin: 0 0 1rem;
    font-size: 0.82rem;
    color: #7c2d12;
    line-height: 1.45;
}

.listing-offer-meta-legend {
    padding: 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ocean-deep);
}

.listing-offer-meta-lead {
    margin: 0 0 1rem;
    font-size: 0.82rem;
    color: var(--text-muted, #64748b);
    line-height: 1.45;
}

/* Platební možnosti — krok průvodce (mimo .form-group kvůli width:100 % na inputech) */
.listing-payment-fieldset {
    margin: 1.25rem 0 0.5rem;
    padding: 0;
    border: none;
    min-width: 0;
}

.listing-payment-legend {
    padding: 0;
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ocean-deep);
}

.listing-payment-lead {
    margin: 0 0 0.85rem;
    font-size: 0.84rem;
    color: var(--text-muted, #64748b);
    line-height: 1.45;
}

.listing-payment-card {
    border: 1px solid rgba(14, 116, 144, 0.18);
    border-radius: var(--radius, 12px);
    background: linear-gradient(165deg, rgba(240, 249, 255, 0.65) 0%, rgba(255, 255, 255, 0.95) 100%);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.listing-payment-choice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0;
    padding: 0.85rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(14, 116, 144, 0.1);
    transition: background 0.15s ease;
}

.listing-payment-choice:last-of-type {
    border-bottom: none;
}

.listing-payment-choice:hover {
    background: rgba(255, 255, 255, 0.75);
}

.listing-payment-choice:has(.listing-payment-choice-input:checked) {
    background: rgba(255, 251, 235, 0.55);
}

.listing-payment-choice-input:checked + .listing-payment-choice-body .listing-payment-choice-title {
    color: var(--ocean-mid, #0e7490);
}

.listing-payment-choice-input {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0.2rem 0 0;
    flex-shrink: 0;
    accent-color: var(--ocean-mid, #0e7490);
    cursor: pointer;
}

.listing-payment-choice-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
}

.listing-payment-choice-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ocean-deep);
    line-height: 1.3;
}

.listing-payment-choice-desc {
    font-size: 0.8rem;
    color: var(--text-muted, #64748b);
    line-height: 1.35;
}

.listing-payment-split-panel {
    padding: 0.85rem 1rem 1rem;
    margin: 0;
    border-bottom: 1px solid rgba(14, 116, 144, 0.1);
    background: rgba(255, 255, 255, 0.55);
}

.listing-payment-split-label {
    display: block;
    margin: 0 0 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ocean-deep);
}

.listing-payment-split-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 11rem;
}

.listing-payment-split-input {
    width: 100%;
    max-width: 6rem;
    padding: 0.55rem 0.65rem;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(14, 116, 144, 0.25);
    border-radius: var(--radius-sm, 8px);
    background: var(--white, #fff);
    color: var(--text);
}

.listing-payment-split-suffix {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ocean-deep);
}

.listing-payment-split-hint {
    margin: 0.55rem 0 0;
    font-size: 0.78rem;
    color: var(--text-muted, #64748b);
    line-height: 1.4;
}

.listing-occupancy-row .listing-occupancy-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ocean-deep);
    margin-bottom: 0.5rem;
}

.listing-occupancy-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
}

.listing-occupancy-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ocean-deep);
    margin-bottom: 0.35rem;
}

.listing-occupancy-field input[type="number"] {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font);
    font-size: 1rem;
    border: 1px solid rgba(14, 116, 144, 0.2);
    border-radius: var(--radius-sm);
    background: var(--foam);
    color: var(--text);
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
}

.empty-state p {
    margin: 0 0 1rem;
}

.page-dashboard-modern .section {
    padding-top: 0.75rem;
}

.page-dashboard-modern {
    background:
        radial-gradient(1200px 600px at 5% -10%, rgba(125, 211, 252, 0.18), transparent 55%),
        radial-gradient(900px 500px at 95% 10%, rgba(253, 224, 71, 0.14), transparent 50%),
        linear-gradient(180deg, #eef6ff 0%, #f7fbff 55%, #eef5fb 100%);
}

.dash-modern-head h1 {
    font-size: clamp(2rem, 4vw, 2.7rem);
    letter-spacing: -0.02em;
}

.dash-modern-head p {
    font-size: 1.02rem;
    color: #4b647b;
}

.dash-modern-shell {
    position: relative;
}

.dash-modern-frame {
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, rgba(246, 250, 255, 0.9) 100%);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
    padding: 1.25rem;
}

/* Admin: statistiky návštěv — širší plátno a tabulka */
.page-dashboard-navstevy .shell {
    width: min(1680px, 100% - 1.5rem);
}

.page-dashboard-navstevy .dash-navstevy-table-wrap {
    overflow-x: auto;
    margin: 0 -0.25rem;
    padding: 0 0.25rem;
}

.page-dashboard-navstevy .dash-navstevy-table {
    min-width: 1180px;
    width: 100%;
}

.page-dashboard-navstevy .dash-navstevy-hitcount .visit-paths-open {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    min-width: 2.25rem;
}

.visit-paths-dialog {
    max-width: min(720px, 96vw);
    width: 100%;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 18px;
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.22);
    background: #fff;
}

.visit-paths-dialog::backdrop {
    background: rgba(15, 23, 42, 0.45);
}

.visit-paths-dialog-inner {
    padding: 1.1rem 1.25rem 1.25rem;
}

.visit-paths-dialog-head h3 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    color: var(--ocean-deep, #0c4a6e);
}

.visit-paths-dialog-meta {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    color: var(--text-muted, #64748b);
}

.visit-paths-dialog-list {
    margin: 0;
    padding-left: 1.2rem;
    max-height: min(60vh, 420px);
    overflow: auto;
    font-size: 0.86rem;
    line-height: 1.45;
}

.visit-paths-dialog-list li {
    margin-bottom: 0.45rem;
}

.visit-paths-time {
    color: var(--text-muted, #64748b);
    margin-right: 0.35rem;
}

.visit-paths-method {
    font-weight: 700;
    margin-right: 0.35rem;
    color: var(--sun-deep, #b45309);
}

.visit-paths-url {
    display: block;
    margin-top: 0.15rem;
    word-break: break-all;
    font-size: 0.82rem;
    background: rgba(241, 245, 249, 0.9);
    padding: 0.2rem 0.35rem;
    border-radius: 6px;
}

.visit-paths-dialog-foot {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.page-dashboard-navstevy .dash-navstevy-table th,
.page-dashboard-navstevy .dash-navstevy-table td {
    vertical-align: top;
}

.page-dashboard-navstevy .dash-contact-date {
    white-space: nowrap;
}

/* Dashboard */
.dash-overview {
    display: grid;
    grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 0;
}

.stat {
    padding: 1.25rem;
    border-radius: 16px;
    background: linear-gradient(155deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(14, 116, 144, 0.16);
    box-shadow: 0 10px 22px rgba(15, 59, 100, 0.08);
}

.stat strong {
    display: block;
    font-size: 1.75rem;
    color: var(--sun-deep);
    font-family: var(--font-display);
}

.stat span {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.stat--chat {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 0.7rem;
    row-gap: 0.2rem;
    align-items: center;
}

.stat--chat strong {
    margin: 0;
    grid-column: 1;
    grid-row: 1;
}

.stat--chat > span:not(.dash-stat-chat-btn) {
    margin: 0;
    grid-column: 1;
    grid-row: 2;
}

.dash-stat-chat-btn {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    display: inline-flex;
    border-radius: 999px;
    margin: 0;
}

.stat--chat-link {
    text-decoration: none;
    color: inherit;
}

.dash-section {
    margin-bottom: 2.5rem;
}

.dash-modern-panel {
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.dash-section h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--ocean-deep);
    margin: 0 0 1rem;
}

.dash-wallet {
    padding: 1rem 1.1rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(14, 116, 144, 0.28);
    background: linear-gradient(155deg, #ffffff 0%, #f7fbff 100%);
    max-width: 380px;
    min-height: 320px;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(15, 59, 100, 0.1), 0 0 0 2px rgba(186, 230, 253, 0.35);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dash-wallet.card {
    margin-bottom: 0;
}

.dash-wallet-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1rem;
}

.dash-wallet-head h3 {
    margin: 0;
    font-family: var(--font-display);
    color: var(--ocean-deep);
    font-size: 1.2rem;
}

.dash-wallet-head p {
    margin: 0.3rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.dash-wallet-balance {
    min-width: 0;
    text-align: left;
    background: linear-gradient(180deg, #ffffff 0%, #f2f8ff 100%);
    color: var(--ocean-deep);
    border-radius: 14px;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(14, 116, 144, 0.22);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 6px 14px rgba(15, 59, 100, 0.08);
}

.dash-wallet-balance span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.88;
}

.dash-wallet-balance strong {
    display: block;
    margin-top: 0.2rem;
    font-size: 1.25rem;
    color: var(--sun-deep);
}

.dash-wallet-topup {
    margin-top: 0.8rem;
}

.dash-wallet-topup label {
    display: block;
    font-weight: 600;
    color: var(--ocean-deep);
    margin-bottom: 0.35rem;
}

.dash-wallet-topup-row {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    flex-wrap: nowrap;
}

.dash-wallet-topup-row input {
    max-width: none;
    width: 110px;
    min-width: 110px;
    height: 44px;
    padding: 0 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(14, 116, 144, 0.25);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
    color: #0f172a;
    font-size: 1.02rem;
    font-weight: 600;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.dash-wallet-topup-row input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2), inset 0 1px 2px rgba(15, 23, 42, 0.06);
    background: #fff;
}

.dash-wallet-topup-row input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.dash-wallet-topup-row input[type='number']::-webkit-outer-spin-button,
.dash-wallet-topup-row input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.dash-wallet-topup-row input[type='number'] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.dash-wallet-transactions {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.45rem;
}

.dash-wallet-history-head {
    margin-top: 0.9rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ocean-deep);
}

.dash-wallet-history-empty {
    margin: 0.55rem 0 0;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.dash-wallet-withdraw-btn {
    border-radius: 999px;
}

.dash-wallet-topup-row .btn {
    white-space: nowrap;
}

.dash-wallet-tx {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    font-size: 0.86rem;
    border: 1px solid rgba(14, 116, 144, 0.16);
    border-radius: 9px;
    padding: 0.45rem 0.6rem;
    background: rgba(255, 255, 255, 0.78);
}

.dash-wallet-tx-meta {
    color: var(--text-muted);
}

.dash-wallet-tx strong.is-plus {
    color: #166534;
    white-space: nowrap;
}

.dash-wallet-tx strong.is-minus {
    color: #b91c1c;
    white-space: nowrap;
}

.table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

table.dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.dash-table th,
.dash-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(14, 116, 144, 0.1);
}

.dash-table th {
    background: linear-gradient(180deg, #eaf5ff 0%, #e2f1ff 100%);
    color: #0f3b64;
    font-weight: 600;
}

.dash-table td {
    color: var(--text);
}

.dash-table tr:last-child td {
    border-bottom: none;
}

.dash-section--contact {
    margin-bottom: 2.5rem;
}

.dash-table--contact .dash-contact-date {
    white-space: nowrap;
    font-size: 0.82rem;
    color: var(--text-muted);
    vertical-align: top;
}

.dash-table--contact .dash-contact-meta {
    vertical-align: top;
    min-width: 10rem;
}

.dash-table--contact .dash-contact-msg {
    max-width: min(32rem, 52vw);
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.86rem;
    line-height: 1.5;
    vertical-align: top;
    color: var(--text-muted);
}

.dash-contact-ok {
    color: #15803d;
    font-weight: 600;
}

.dash-contact-no {
    color: var(--text-muted);
    font-weight: 600;
}

.dash-quick-actions {
    margin: 0 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.dash-quick-actions .btn {
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.stats-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fdff 100%);
    border: 1px solid rgba(14, 116, 144, 0.14);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem 1.1rem;
}

.stats-card-label {
    margin: 0 0 0.35rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.stats-card-value {
    margin: 0;
    color: var(--ocean-deep);
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
}

.stats-panel {
    padding: 1rem 1.1rem;
}

.stats-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.stats-panel-title {
    margin: 0;
    color: var(--ocean-deep);
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.stats-legend {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    flex-wrap: wrap;
}

.stats-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(14, 116, 144, 0.12);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

.stats-legend-dot {
    width: 0.56rem;
    height: 0.56rem;
    border-radius: 999px;
    display: inline-block;
}

.stats-legend-dot--views { background: #0284c7; }
.stats-legend-dot--email { background: #0f766e; }

.stats-empty {
    margin: 0;
    color: var(--text-muted);
}

.stats-bars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stats-bar-row {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr) 2rem;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid rgba(14, 116, 144, 0.1);
    border-radius: 0.65rem;
    padding: 0.45rem 0.5rem;
}

.stats-bar-row--dual {
    grid-template-columns: 6.5rem minmax(0, 1fr) 5rem;
}

.stats-bar-dual {
    display: grid;
    gap: 0.3rem;
}

.stats-bar-date {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.stats-bar-track {
    width: 100%;
    height: 0.48rem;
    border-radius: 999px;
    background: rgba(14, 116, 144, 0.14);
    overflow: hidden;
}

.stats-bar-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
}

.stats-bar-fill--views {
    background: linear-gradient(90deg, #0ea5e9 0%, #0369a1 100%);
}

.stats-bar-fill--email {
    background: linear-gradient(90deg, #14b8a6 0%, #0f766e 100%);
}

.stats-bar-value {
    text-align: right;
    color: var(--ocean-deep);
    font-weight: 600;
    font-size: 0.86rem;
}

.stats-weekly {
    display: grid;
    gap: 0.65rem;
}

.stats-weekly-chart-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(14, 116, 144, 0.12);
    border-radius: 0.8rem;
    background: #fff;
    padding: 0.5rem;
}

.stats-weekly-chart {
    width: 100%;
    min-width: 640px;
    height: 260px;
    display: block;
}

.stats-weekly-axis {
    stroke: rgba(100, 116, 139, 0.45);
    stroke-width: 1.4;
}

.stats-weekly-line {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stats-weekly-line--views {
    stroke: #0284c7;
}

.stats-weekly-line--email {
    stroke: #0f766e;
}

.stats-weekly-xlabels {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.35rem;
    margin-top: 0.45rem;
}

.stats-weekly-xlabels span {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
}

.stats-weekly-summary {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.7rem;
}

.stats-weekly-summary span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.stats-weekly-row {
    background: #fff;
    border: 1px solid rgba(14, 116, 144, 0.12);
    border-radius: 0.7rem;
    padding: 0.6rem 0.7rem;
}

.stats-weekly-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.45rem;
}

.stats-weekly-date {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.stats-weekly-values {
    font-size: 0.88rem;
    color: var(--ocean-deep);
    font-weight: 600;
    min-width: 4.7rem;
    text-align: right;
}

.stats-weekly-bars {
    display: grid;
    gap: 0.28rem;
}

.stats-weekly-bar {
    height: 0.45rem;
    border-radius: 999px;
}

.stats-weekly-bar--views {
    background: linear-gradient(90deg, #0ea5e9, #0284c7);
}

.stats-weekly-bar--email {
    background: linear-gradient(90deg, #14b8a6, #0f766e);
}

@media (max-width: 900px) {
    .stats-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .stats-bar-row {
        grid-template-columns: 5.8rem minmax(0, 1fr) 2rem;
    }
    .stats-bar-row--dual {
        grid-template-columns: 5.8rem minmax(0, 1fr) 4.2rem;
    }
}

@media (max-width: 640px) {
    .stats-cards-grid {
        grid-template-columns: 1fr;
    }
    .stats-weekly-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .stats-weekly-values {
        text-align: left;
    }
    .stats-panel-head {
        align-items: flex-start;
    }
    .stats-weekly-xlabels {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .stats-bar-row,
    .stats-bar-row--dual {
        grid-template-columns: 1fr;
    }
    .stats-bar-value {
        text-align: left;
    }
}

.stats-modern {
    padding-top: 0.75rem;
}

.stats-modern-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stats-modern-head h1 {
    margin: 0;
    color: var(--ocean-deep);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.stats-modern-head p {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
}

.stats-modern-kpi-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.stats-modern-rspn-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.stats-modern-kpi--rspn {
    width: min(100%, 360px);
    text-align: center;
}

.stats-modern-kpi-group h2 {
    margin: 0 0 0.55rem;
    color: var(--ocean-deep);
    font-size: 1rem;
}

.stats-modern-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.stats-modern-kpi {
    background: linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
    border: 1px solid rgba(14, 116, 144, 0.14);
    border-radius: 0.85rem;
    padding: 0.8rem 0.9rem;
    box-shadow: var(--shadow);
}

.stats-modern-kpi p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.stats-modern-kpi strong {
    margin-top: 0.28rem;
    display: block;
    color: var(--ocean-deep);
    font-size: 1.45rem;
    line-height: 1.1;
    font-family: var(--font-display);
}

.stats-modern-kpi small {
    display: block;
    margin-top: 0.28rem;
    color: var(--text-muted);
    font-size: 0.72rem;
}

.stats-modern-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.stats-modern-panel {
    padding: 1rem;
}

.stats-modern-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0.65rem;
}

.stats-modern-panel-head h2 {
    margin: 0;
    color: var(--ocean-deep);
    font-size: 1.16rem;
}

.stats-modern-legend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.stats-modern-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px solid rgba(14, 116, 144, 0.14);
    border-radius: 999px;
    padding: 0.17rem 0.52rem;
    background: rgba(248, 250, 252, 0.85);
}

.stats-dot {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
}

.stats-dot--views {
    background: #0284c7;
}

.stats-dot--email {
    background: #0f766e;
}

.stats-modern-chart-wrap {
    border: 1px solid rgba(14, 116, 144, 0.14);
    border-radius: 0.85rem;
    overflow: hidden;
    background: #fff;
}

.stats-modern-chart {
    width: 100%;
    min-width: 0;
    height: 290px;
    display: block;
}

.stats-axis {
    stroke: rgba(100, 116, 139, 0.45);
    stroke-width: 1.2;
}

.stats-grid-line {
    stroke: rgba(148, 163, 184, 0.2);
    stroke-width: 1;
}

.stats-axis-label {
    fill: #64748b;
    font-size: 12px;
    font-family: var(--font-sans);
}

.stats-line {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stats-line--views {
    stroke: #0284c7;
}

.stats-line--email {
    stroke: #0f766e;
}

.stats-point {
    stroke: #fff;
    stroke-width: 2;
}

.stats-point-hit {
    fill: transparent;
    cursor: pointer;
}

.stats-point--views {
    fill: #0284c7;
}

.stats-point--email {
    fill: #0f766e;
}

.stats-point-value {
    font-size: 11px;
    font-weight: 700;
    paint-order: stroke;
    stroke: #fff;
    stroke-width: 3px;
}

.stats-point-value--views {
    fill: #0369a1;
}

.stats-point-value--email {
    fill: #0f766e;
}

.stats-modern-labels {
    margin-top: 0.4rem;
    display: grid;
    grid-template-columns: repeat(var(--label-cols, 1), minmax(0, 1fr));
    gap: 0.2rem;
}

.stats-modern-labels span {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.58rem;
    padding-top: 0.1rem;
    white-space: nowrap;
}

.stats-modern-labels--daily {
    align-items: start;
}

.stats-modern-empty {
    margin: 0;
    color: var(--text-muted);
}

@media (max-width: 1000px) {
    .stats-modern-kpi-groups {
        grid-template-columns: 1fr;
    }
    .stats-modern-panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .stats-modern-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .stats-modern-kpis {
        grid-template-columns: 1fr;
    }
    .stats-modern-labels span {
        font-size: 0.52rem;
    }
}

.link-inline {
    color: var(--aqua);
    text-decoration: none;
    font-weight: 500;
}

.link-inline:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    position: relative;
    margin-top: auto;
    padding: 2.5rem 0 3rem;
    background: linear-gradient(180deg, rgba(224, 242, 254, 0.5) 0%, #e0f2fe 100%);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
}

.footer-brand {
    font-weight: 700;
    color: var(--ocean-deep);
    margin: 0 0 0.35rem;
}

.footer-tag {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 280px;
}

.footer-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--aqua);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.12));
    pointer-events: none;
}

/* Auth page */
.auth-layout {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card {
    width: min(420px, 100%);
    padding: 2.25rem;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.auth-card h1 {
    font-family: var(--font-display);
    color: var(--ocean-deep);
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.auth-card .sub {
    color: var(--text-muted);
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
}

.auth-note {
    margin-top: 1.25rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    text-align: center;
}

.form-group .auth-terms-label {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    font-weight: 400;
    cursor: pointer;
    line-height: 1.45;
    margin-bottom: 0;
}

.form-group .auth-terms-label input[type='checkbox'] {
    width: auto;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Settings page */
.settings-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.settings-menu {
    padding: 0.75rem;
    position: sticky;
    top: var(--site-header-offset);
    display: grid;
    gap: 0.5rem;
}

.settings-menu-item {
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem 0.85rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--ocean-deep);
    border: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.settings-menu-item:hover {
    background: rgba(224, 242, 254, 0.55);
    border-color: rgba(14, 116, 144, 0.22);
}

.settings-menu-item strong {
    font-size: 0.97rem;
}

.settings-menu-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.settings-menu-item.is-active {
    background: linear-gradient(145deg, rgba(224, 242, 254, 0.8) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-color: rgba(14, 116, 144, 0.28);
}

.settings-menu-item--danger {
    margin-top: 0.35rem;
    border-color: rgba(239, 68, 68, 0.2);
}

.settings-menu-item--danger strong {
    color: #b91c1c;
}

.settings-menu-item--danger:hover {
    background: rgba(254, 226, 226, 0.65);
    border-color: rgba(239, 68, 68, 0.45);
}

.settings-content {
    min-width: 0;
}

.settings-panel {
    padding: 1.5rem;
}

.settings-panel h2 {
    margin: 0 0 0.45rem;
    font-family: var(--font-display);
    color: var(--ocean-deep);
}

.settings-panel .sub {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 0.93rem;
}

.notification-settings-list {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.notification-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(14, 116, 144, 0.18);
    background: linear-gradient(145deg, rgba(248, 252, 255, 0.96) 0%, rgba(255, 255, 255, 0.95) 100%);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.notification-setting:hover {
    border-color: rgba(14, 116, 144, 0.36);
    box-shadow: 0 10px 22px rgba(15, 59, 100, 0.08);
    transform: translateY(-1px);
}

.notification-setting-copy {
    display: grid;
    gap: 0.28rem;
}

.notification-setting-copy strong {
    color: var(--ocean-deep);
    font-size: 0.97rem;
}

.notification-setting-copy small {
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.35;
}

.notification-setting-control {
    position: relative;
    display: inline-flex;
    width: 50px;
    height: 30px;
    flex-shrink: 0;
}

.notification-setting-control input[type='checkbox'] {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.notification-setting-control .toggle-slider {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: #cbd5e1;
    transition: background-color 0.2s ease;
    position: relative;
}

.notification-setting-control .toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 8px rgba(2, 8, 23, 0.22);
    transition: transform 0.2s ease;
}

.notification-setting-control input[type='checkbox']:checked + .toggle-slider {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.notification-setting-control input[type='checkbox']:checked + .toggle-slider::after {
    transform: translateX(20px);
}

.notification-setting-control input[type='checkbox']:focus-visible + .toggle-slider {
    outline: 2px solid rgba(14, 165, 233, 0.45);
    outline-offset: 2px;
}

/* Listing wizard */
.listing-wizard {
    max-width: 820px;
    width: 100%;
}

.wizard-progress {
    width: 100%;
    height: 9px;
    border-radius: 999px;
    background: rgba(14, 116, 144, 0.12);
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.wizard-progress-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    transition: width 0.25s ease;
}

.wizard-step-label {
    margin: 0 0 1rem;
    font-weight: 600;
    color: var(--ocean-deep);
}

.wizard-step[hidden] {
    display: none !important;
}

.wizard-step {
    overflow: visible;
}

/* Pole „Země“ — vlastní výběr místo nativního datalistu (špatné pozicování v prohlížečích) */
.country-field {
    position: relative;
    z-index: 8;
}

.country-multi {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.country-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    min-height: 0;
}

.country-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.45rem 0.28rem 0.65rem;
    font-size: 0.92rem;
    line-height: 1.25;
    color: var(--ocean-deep);
    background: rgba(224, 242, 254, 0.85);
    border: 1px solid rgba(14, 116, 144, 0.22);
    border-radius: 999px;
}

.country-chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    color: var(--text-muted, #64748b);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}

.country-chip-remove:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #b91c1c;
}

.country-combobox {
    position: relative;
}

.country-field .form-group input,
.country-combobox input {
    width: 100%;
}

.country-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 100;
    max-height: min(280px, 50vh);
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0.4rem 0;
    list-style: none;
    background: var(--white);
    border: 1px solid rgba(14, 116, 144, 0.2);
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(2, 132, 199, 0.08);
    -webkit-overflow-scrolling: touch;
}

.country-suggestion {
    display: block;
    width: 100%;
    padding: 0.55rem 1rem;
    border: none;
    background: transparent;
    font: inherit;
    font-size: 0.98rem;
    text-align: left;
    color: var(--text);
    cursor: pointer;
    transition: background 0.12s ease;
}

.country-suggestion:hover,
.country-suggestion:focus {
    background: rgba(224, 242, 254, 0.92);
    outline: none;
}

.country-suggestion.is-active {
    background: rgba(186, 230, 253, 0.95);
}

.date-input-modern {
    border: 1px solid rgba(14, 116, 144, 0.26);
    background: linear-gradient(180deg, #f8fcff 0%, #f0f9ff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    color-scheme: light;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.date-input-modern:hover {
    border-color: rgba(2, 132, 199, 0.46);
}

.date-input-modern:focus {
    border-color: rgba(2, 132, 199, 0.72);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
    outline: none;
    background: #f0f9ff;
}

.date-input-modern::-webkit-calendar-picker-indicator {
    padding: 0.25rem;
    border-radius: 0.5rem;
    background-color: rgba(14, 165, 233, 0.14);
    cursor: pointer;
}

.wizard-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.1rem;
}

.wizard-actions .btn-draft {
    margin-right: auto;
}

.listing-photo-preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(250px, 0.95fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.listing-photo-item {
    display: grid;
    grid-template-columns: auto auto 56px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 2.9rem 0.55rem 0.65rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(14, 116, 144, 0.18);
    background: rgba(255, 255, 255, 0.85);
    cursor: grab;
    position: relative;
}

.listing-photo-item.is-main {
    grid-column: 1 / span 2;
    grid-row: 1 / span 5;
    align-self: stretch;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto auto auto;
    align-items: start;
    gap: 0.75rem;
}

.listing-photo-item:not(.is-main) {
    grid-column: auto;
}

.listing-photo-item.is-dragging {
    opacity: 0.65;
    cursor: grabbing;
}

.listing-photo-item.is-selected {
    border-color: rgba(2, 132, 199, 0.7);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25);
    background: rgba(224, 242, 254, 0.72);
}

.listing-photo-order {
    color: var(--ocean-deep);
    font-weight: 700;
    font-size: 0.86rem;
    min-width: 2rem;
    text-align: center;
}

.listing-photo-item.is-main .listing-photo-order {
    color: #0369a1;
    min-width: 3.8rem;
}

.listing-photo-drag {
    color: var(--text-muted);
    font-size: 1rem;
    user-select: none;
}

.listing-photo-thumb-wrap {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(14, 116, 144, 0.12);
    width: 72px;
    height: 48px;
}

.listing-photo-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing-photo-item.is-main .listing-photo-thumb-wrap {
    width: 100%;
    height: auto;
    grid-column: 1 / -1;
}

.listing-photo-item.is-main .listing-photo-thumb {
    aspect-ratio: 16 / 10;
    height: auto;
}

.listing-photo-meta {
    grid-column: 1 / -1;
    min-width: 0;
    margin-top: -0.1rem;
}

.listing-photo-name {
    display: block;
    width: 100%;
    font-size: 0.8rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.listing-photo-remove {
    width: 32px;
    min-width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1;
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
}

/* Public profile page */
.profile-hero {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 1rem 1.25rem;
    align-items: center;
    padding: 1.35rem;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 2rem;
    overflow: hidden;
}

.profile-avatar-wrap {
    position: relative;
    width: 96px;
    height: 96px;
}

.profile-avatar-edit {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #fff;
    color: #0e7490;
    border: 1px solid rgba(14, 116, 144, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(15, 59, 100, 0.16);
    transition: transform 0.15s ease, background 0.15s ease;
}

.profile-avatar-edit:hover {
    transform: translateY(-1px);
    background: #f0f9ff;
}

.profile-avatar-edit svg {
    width: 16px;
    height: 16px;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-main h1 {
    margin: 0;
    font-family: var(--font-display);
    color: var(--ocean-deep);
}

.profile-handle {
    margin: 0.2rem 0 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.profile-bio {
    margin: 0 0 0.8rem;
    line-height: 1.55;
    color: var(--text-main);
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.profile-actions {
    align-self: center;
    justify-self: end;
}

.profile-message-btn {
    white-space: nowrap;
}

.profile-message-unavailable {
    margin: 0;
    max-width: 12rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-center .section-desc {
    margin-inline: auto;
}

.prose-note {
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 1.5rem;
    text-align: center;
}

@media (max-width: 1024px) {
    :root {
        --site-header-offset: 148px;
    }

    .nav-main {
        display: none;
    }

    .nav-main-mobile {
        display: flex;
    }

    .header-main-end {
        margin-left: auto;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-mobile.is-open {
        display: flex;
    }

    .header-top .header-util {
        display: none;
    }

    .header-util--mobile {
        display: flex;
    }

    .header-top-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .logo--header-top {
        align-self: center;
    }

    .site-header .logo--header-top .logo-image {
        object-position: center center;
    }

    .header-search {
        max-width: none;
        margin-inline: 0;
    }

    .header-auth {
        display: none;
    }

    .header-actions-cta,
    .header-actions-dash {
        display: none;
    }
}

@media (max-width: 1024px) and (min-width: 521px) {
    .header-auth {
        display: flex;
    }

    .header-auth .user-pill {
        max-width: 100px;
    }
}

@media (max-width: 900px) {

    .dash-modern-frame {
        border-radius: 16px;
        padding: 0.85rem;
    }

    .dash-modern-panel {
        border-radius: 14px;
        padding: 0.85rem;
    }

    .dash-overview {
        grid-template-columns: 1fr;
    }

    .dash-stats {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .settings-layout {
        grid-template-columns: 1fr;
    }

    .settings-menu {
        position: static;
    }

    .dash-wallet-head {
        flex-direction: column;
    }

    .dash-wallet-balance {
        text-align: left;
        min-width: 0;
        width: 100%;
    }

    .dash-wallet {
        max-width: none;
        min-height: 0;
    }

    .notification-setting {
        align-items: flex-start;
    }

    .profile-hero {
        grid-template-columns: 1fr;
    }

    .profile-actions {
        justify-self: stretch;
    }

    .profile-message-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .profile-message-unavailable {
        max-width: none;
    }

    .listing-photo-preview {
        grid-template-columns: 1fr;
    }

    .listing-photo-item,
    .listing-photo-item.is-main,
    .listing-photo-item:not(.is-main) {
        grid-column: 1;
        grid-row: auto;
        grid-template-columns: auto auto 72px 1fr auto;
        align-items: center;
    }

    .listing-photo-item.is-main .listing-photo-thumb-wrap {
        width: 72px;
        height: 48px;
        grid-column: auto;
    }

    .listing-photo-item.is-main .listing-photo-thumb {
        aspect-ratio: auto;
        height: 100%;
    }

    .wizard-actions {
        flex-direction: column;
    }
}

/* Ad slots (placeholder) */
.ad-slot {
    border-radius: var(--radius);
    border: 1px dashed rgba(14, 116, 144, 0.28);
    background: rgba(255, 255, 255, 0.75);
    overflow: hidden;
}

.ad-slot-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ocean-mid);
    padding: 0.65rem 0.85rem;
    background: rgba(224, 242, 254, 0.7);
    border-bottom: 1px dashed rgba(14, 116, 144, 0.22);
}

.ad-slot-body {
    padding: 1.25rem 0.85rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
}

.ad-slot--tall .ad-slot-body {
    min-height: 520px;
    display: grid;
    place-items: center;
    padding: 0;
}

.ad-rotator {
    width: 100%;
    max-width: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    transition: opacity 0.22s ease;
    opacity: 1;
    margin-inline: auto;
}

.ad-rotator img {
    display: block;
    width: 100%;
    height: auto;
}

.ad-rotator.is-fade-out {
    opacity: 0.15;
}

.ad-rotator.is-fade-in {
    opacity: 1;
}

.ad-slot--wide .ad-slot-body {
    /* Tento slot u nás typicky hostí 336×280 jednotku. */
    min-height: 280px;
    display: grid;
    place-items: center;
    width: 100%;
}

.ad-slot--mid {
    margin-top: 1rem;
}

/* AdSense: dej kontejnerům vždy měřitelnou šířku */
.ad-slot--wide .adsbygoogle {
    margin-inline: auto;
}

@media (max-width: 420px) {
    /* Na velmi úzkých displejích se 336×280 nemusí vejít → aspoň nenech prázdný „nulový“ box. */
    .ad-slot--wide .ad-slot-body {
        min-height: 250px;
    }
}

.ad-slot--mid .ad-slot-body {
    width: 100%;
    min-width: 280px;
}

/* Detail inzerátu (šablona podobná CK) */
.page-inzerat .page-head {
    display: none;
}

.listing-detail-head {
    padding-top: 1.25rem;
    padding-bottom: 0.5rem;
}

.listing-detail-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.listing-detail-breadcrumb a {
    color: var(--aqua);
    text-decoration: none;
}

.listing-detail-breadcrumb a:hover {
    text-decoration: underline;
}

.listing-detail-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.listing-detail-title-main {
    flex: 1;
    min-width: 0;
}

.listing-detail-stars {
    margin-top: 0.45rem;
}

.listing-detail-stars .listing-stars {
    font-size: 1.05rem;
}

.listing-detail-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    color: var(--ocean-deep);
    margin: 0;
    max-width: min(100%, 52rem);
}

.listing-detail-section {
    padding-top: 0.5rem;
}

.listing-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 1.25rem;
    align-items: start;
}

.listing-detail-main {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1rem;
}

.listing-detail-page-ad {
    grid-column: 1;
    grid-row: 2;
    padding: 0;
    overflow: hidden;
}

.listing-detail-main > .listing-detail-page-ad {
    grid-column: auto;
    grid-row: auto;
}

.listing-detail-page-ad .ad-slot {
    margin-top: 0;
}

.listing-detail-gallery {
    padding: 0;
    overflow: hidden;
}

.listing-detail-gallery > script[type="application/json"] {
    display: none;
}

.listing-detail-main-img-wrap {
    position: relative;
    isolation: isolate;
    background: rgba(14, 116, 144, 0.06);
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
}

.listing-detail-zoom-hit {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    border-radius: inherit;
    position: relative;
    z-index: 0;
}

.listing-detail-zoom-hit:focus-visible {
    outline: 2px solid var(--sun);
    outline-offset: 2px;
}

.listing-detail-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ocean-deep);
    font-size: 1.85rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease;
}

.listing-detail-nav:hover {
    background: #fff;
}

.listing-detail-nav:focus-visible {
    outline: 2px solid var(--sun);
    outline-offset: 2px;
}

.listing-detail-nav--prev {
    left: 0.65rem;
}

.listing-detail-nav--next {
    right: 0.65rem;
}

.listing-detail-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    padding: 0;
    box-sizing: border-box;
}

.listing-detail-lightbox[hidden] {
    display: none !important;
}

.listing-detail-lightbox-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

.listing-detail-lightbox-shell {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 3.25rem 0.75rem 1rem;
    box-sizing: border-box;
    /* Klik na „prázdné“ šedé okolí propadne na backdrop a zavře lightbox */
    pointer-events: none;
}

.listing-detail-lightbox-back-gallery {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem 0.5rem 0.55rem;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(15, 23, 42, 0.88);
    color: #f8fafc;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    transition: background 0.15s ease, transform 0.15s ease;
}

.listing-detail-lightbox-back-gallery:hover {
    background: rgba(30, 41, 59, 0.95);
}

.listing-detail-lightbox-back-gallery:focus-visible {
    outline: 2px solid var(--sun);
    outline-offset: 2px;
}

.listing-detail-lightbox-back-gallery-icon {
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 400;
    opacity: 0.95;
}

.listing-detail-lightbox--mode-grid .listing-detail-lightbox-back-gallery {
    display: none;
}

.listing-detail-lightbox-single {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    pointer-events: none;
}

.listing-detail-lightbox--mode-grid .listing-detail-lightbox-single {
    display: none;
}

.listing-detail-lightbox-gridview {
    display: none;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    animation: listing-lb-grid-in 0.28s ease;
    pointer-events: none;
}

.listing-detail-lightbox--mode-grid .listing-detail-lightbox-gridview {
    display: flex;
}

@keyframes listing-lb-grid-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.listing-detail-lightbox-grid-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0 0.25rem 0.5rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    pointer-events: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    align-content: start;
}

.listing-detail-lb-grid-cell {
    position: relative;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.45);
    aspect-ratio: 4 / 3;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
    pointer-events: auto;
}

.listing-detail-lb-grid-cell:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.listing-detail-lb-grid-cell:focus-visible {
    outline: 2px solid var(--sun);
    outline-offset: 2px;
}

.listing-detail-lb-grid-cell.is-current {
    border-color: var(--sun);
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.45);
}

.listing-detail-lb-grid-cell img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 720px) {
    .listing-detail-lightbox-grid-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.4rem;
    }
}

.listing-detail-lightbox-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    gap: 0.5rem;
    padding: 0 3rem;
    box-sizing: border-box;
    pointer-events: none;
}

.listing-detail-lightbox-count {
    margin: 0;
    flex-shrink: 0;
    align-self: flex-end;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
    pointer-events: auto;
}

.listing-detail-lightbox-filmstrip-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.75rem 1rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 40%);
    box-sizing: border-box;
    pointer-events: auto;
}

.listing-detail-lightbox-filmstrip-scroll {
    flex-shrink: 0;
    width: 40px;
    height: 72px;
    padding: 0;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.listing-detail-lightbox-filmstrip-scroll:hover {
    background: rgba(255, 255, 255, 0.22);
}

.listing-detail-lightbox-filmstrip-scroll:focus-visible {
    outline: 2px solid var(--sun);
    outline-offset: 2px;
}

.listing-detail-lightbox-filmstrip {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
    padding: 0.15rem 0;
}

.listing-detail-lightbox-filmstrip::-webkit-scrollbar {
    height: 6px;
}

.listing-detail-lightbox-filmstrip::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
}

.listing-detail-lb-thumb {
    flex-shrink: 0;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.35);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.listing-detail-lb-thumb.is-active {
    border-color: var(--sun);
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.5);
}

.listing-detail-lb-thumb:focus-visible {
    outline: 2px solid var(--sun);
    outline-offset: 2px;
}

.listing-detail-lb-thumb img {
    display: block;
    width: 120px;
    height: 80px;
    object-fit: cover;
}

.listing-detail-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.listing-detail-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.28);
}

.listing-detail-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: auto;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.listing-detail-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.32);
}

.listing-detail-lightbox-nav--prev {
    left: 0.75rem;
}

.listing-detail-lightbox-nav--next {
    right: 0.75rem;
}

.listing-detail-lightbox-inner {
    max-width: min(96vw, 1400px);
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    pointer-events: none;
}

.listing-detail-lightbox-img {
    display: block;
    max-width: 100%;
    max-height: min(70vh, calc(100vh - 228px));
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    pointer-events: auto;
}

@media (max-width: 640px) {
    .listing-detail-lightbox-stage {
        padding: 0 2.5rem;
    }

    .listing-detail-lightbox-img {
        max-height: min(58vh, calc(100vh - 248px));
    }

    .listing-detail-lb-thumb img {
        width: 92px;
        height: 62px;
    }

    .listing-detail-lightbox-filmstrip-scroll {
        width: 34px;
        height: 62px;
        font-size: 1.2rem;
    }
}

.listing-detail-main-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.listing-detail-thumbs-wrap {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.75rem;
    box-sizing: border-box;
}

.listing-detail-thumbs-scroll {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ocean-deep);
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(12, 74, 110, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.listing-detail-thumbs-scroll:hover {
    background: #fff;
    color: var(--ocean-mid);
    box-shadow: 0 3px 14px rgba(12, 74, 110, 0.22);
}

.listing-detail-thumbs-scroll:focus-visible {
    outline: 2px solid var(--sun);
    outline-offset: 2px;
}

.listing-detail-thumbs {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.listing-detail-thumbs::-webkit-scrollbar {
    display: none;
}

.listing-detail-thumb {
    flex-shrink: 0;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: transparent;
}

.listing-detail-thumb.is-active {
    border-color: var(--sun);
}

.listing-detail-thumb img {
    display: block;
    width: 88px;
    height: 56px;
    object-fit: cover;
}

.listing-detail-thumb-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: rgba(14, 116, 144, 0.12);
    font-weight: 700;
    color: var(--ocean-deep);
    font-size: 0.95rem;
}

.listing-detail-content {
    padding: 1.1rem 1.25rem;
}

.listing-detail-content-title {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--ocean-deep);
}

.listing-detail-map-block {
    margin: 1.15rem 0 0;
}

.listing-detail-map-title {
    margin: 0 0 0.55rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ocean-deep);
    letter-spacing: 0.01em;
}

.listing-detail-map-wrap {
    position: relative;
    z-index: 0;
    height: min(42vw, 280px);
    min-height: 220px;
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    border: 1px solid rgba(14, 116, 144, 0.14);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 12px 32px -12px rgba(14, 116, 144, 0.18);
    background: linear-gradient(160deg, rgba(14, 116, 144, 0.06) 0%, rgba(241, 245, 249, 0.9) 100%);
}

.listing-detail-map-wrap .leaflet-container {
    font-family: var(--font-body, 'Outfit', system-ui, sans-serif);
    border-radius: inherit;
}

.listing-detail-map-wrap .leaflet-control-zoom a {
    color: var(--ocean-deep);
}

.listing-detail-map-attrib {
    margin: 0.4rem 0 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: rgba(51, 65, 85, 0.75);
}

.listing-detail-map-attrib a {
    color: var(--ocean-mid, #0e7490);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.listing-detail-prose {
    color: var(--text);
    line-height: 1.6;
    font-size: 1.02rem;
}

.listing-detail-prose .link-inline {
    word-break: break-word;
}

.listing-detail-prose-p {
    margin: 0 0 0.85rem;
}

.listing-detail-prose-p:last-child {
    margin-bottom: 0;
}

.listing-detail-prose-p--lead {
    font-size: 1.08rem;
    line-height: 1.65;
    font-weight: 500;
    color: var(--ocean-deep);
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(14, 116, 144, 0.12);
    margin-bottom: 1rem;
}

.listing-detail-prose-p--meta {
    margin-bottom: 0.4rem;
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius-sm);
    background: rgba(14, 116, 144, 0.06);
    font-size: 0.98rem;
}

.listing-detail-prose-p--link {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.listing-detail-sidebar {
    grid-column: 2;
    grid-row: 1 / -1;
    position: sticky;
    top: calc(var(--site-header-offset) + 4.5rem);
    z-index: 1;
}

.listing-detail-sidebar .listing-detail-booking {
    position: static;
}

/* Detail inzerátu — sidebar ve stylu rezervačního widgetu (tmavý panel, bílá pole, žluté CTA) */
.listing-detail-booking.listing-detail-booking--widget.card {
    padding: 0;
}

.listing-detail-booking--widget {
    padding: 0;
    /* Datepicker (native input[type="date"]) sometimes renders outside the input box.
       If we clip here, user sees "nothing happens" after click. */
    overflow: visible;
    background: linear-gradient(180deg, #0c1929 0%, #0d2137 48%, #0a1628 100%);
    color: #f1f5f9;
    border: 1px solid rgba(56, 189, 248, 0.12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 24px 48px -16px rgba(0, 0, 0, 0.55);
    border-radius: var(--radius-md, 12px);
}

/* Kalkulačka v sidebaru — řádky srovnatelné s Obsazením, o něco nižší než dřív 3.5rem */
.listing-detail-booking--widget .listing-calc-date-range {
    min-height: 3.05rem;
    padding: 0.6rem 0.9rem;
    align-items: center;
}

.listing-detail-booking--widget .listing-calc-date-label {
    font-size: 0.75rem;
}

.listing-detail-booking--widget .listing-calc-date-value {
    font-size: 1rem;
    font-weight: 700;
}

.listing-detail-booking--widget .listing-calc-guest-toggle {
    min-height: 3.05rem;
    padding: 0.62rem 0.85rem;
}

.listing-detail-booking--widget .listing-calc-guest-toggle-top {
    font-size: 0.875rem;
}

.listing-detail-booking--widget .listing-calc-guest-toggle-main {
    font-size: 1rem;
    font-weight: 700;
}

.listing-detail-booking--widget .listing-calc-custom-btn {
    min-height: 2.85rem;
    padding: 0.72rem 0.8rem;
}

.listing-detail-booking--widget .listing-detail-total-row--main {
    margin-top: 0.95rem;
}

/* Kompaktnější spodek widgetu — méně „mrtvého“ místa pod poznámkou / v patičce */
.listing-detail-booking--widget .listing-detail-booking-total {
    padding: 0.75rem 1rem 0.3rem;
    margin-top: 0.35rem;
}

.listing-detail-booking--widget .listing-detail-total-row--rezervovat {
    margin-top: 0.65rem;
}

.listing-detail-booking--widget .listing-detail-note,
.listing-detail-booking--widget .listing-detail-note--widget {
    margin-top: 0.35rem;
    margin-bottom: 0;
}

.listing-detail-booking--widget .listing-detail-booking-foot {
    padding: 0.45rem 1rem 0.5rem;
    gap: 0.4rem;
}

.listing-detail-booking-stack {
    padding: 1rem 1rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.listing-detail-booking--widget .listing-detail-booking-stack {
    padding-bottom: 0.5rem;
}

.listing-detail-wfield {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0.95rem;
    background: #fff;
    border-radius: 11px;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.listing-detail-wfield-icon {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0e7490;
}

.listing-detail-wfield-icon svg {
    display: block;
}

.listing-detail-wfield-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.listing-detail-wfield-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.02em;
}

.listing-detail-wfield-value {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.listing-detail-booking-panel {
    margin: 0.35rem 1rem 0;
    padding: 0.65rem;
    border-radius: 11px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.listing-detail-booking-panel select.listing-price-calc-input,
.listing-detail-booking-panel select[data-price-calc] {
    width: 100%;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.55);
    border-radius: 9px;
    padding: 0.62rem 2.25rem 0.62rem 0.85rem;
    min-height: 2.85rem;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    cursor: pointer;
}

.listing-detail-booking-panel input.listing-price-calc-input,
.listing-detail-booking-panel input[data-price-calc] {
    width: 100%;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.55);
    border-radius: 9px;
    padding: 0.62rem 0.85rem;
    min-height: 2.85rem;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.listing-detail-booking-panel input.listing-price-calc-input:focus,
.listing-detail-booking-panel input[data-price-calc]:focus,
.listing-detail-booking-panel select.listing-price-calc-input:focus,
.listing-detail-booking-panel select[data-price-calc]:focus {
    outline: none;
    border-color: rgba(14, 165, 233, 0.75);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.22);
}

.listing-detail-booking-panel input[type='number'].listing-price-calc-input::-webkit-outer-spin-button,
.listing-detail-booking-panel input[type='number'].listing-price-calc-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.listing-detail-booking-panel input[type='number'].listing-price-calc-input {
    -moz-appearance: textfield;
    appearance: textfield;
}

.listing-calc-guest-picker {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Hosté bez sbalovacího řádku — panel dospělí/děti je vždy viditelný */
.listing-calc-guest-picker--no-toggle {
    gap: 0;
    margin-top: 0.35rem;
}

.listing-calc-guest-picker--no-toggle .listing-calc-guest-panel {
    margin-top: 0;
}

.listing-detail-booking-panel .listing-calc-meal-after-dates {
    margin-top: 0.35rem;
}

.listing-detail-booking--widget .listing-calc-meal-after-dates {
    margin-top: 0.3rem;
}

.listing-calc-date-picker {
    width: 100%;
    box-sizing: border-box;
}

.listing-calc-date-range {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: block;
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: rgba(255, 255, 255, 0.98);
    color: #0f172a;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.listing-calc-date-range.listing-calc-date-range--error {
    border-color: rgba(220, 38, 38, 0.9);
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.4);
}

.listing-checkout-date-error {
    margin: 0.45rem 0 0;
    padding: 0.5rem 0.7rem;
    font-size: 0.84rem;
    line-height: 1.35;
    border-radius: 8px;
}

.listing-detail-booking--widget .listing-checkout-date-error {
    margin-top: 0.4rem;
}

.listing-calc-date-fields {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.listing-calc-date-cell {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    position: relative;
    cursor: pointer;
}

/* Flatpickr — neviditelný vstup přes celý řádek (nahrazuje nativní type="date") */
.listing-calc-date-fp-trigger {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    background: transparent;
    border: none;
    color: transparent;
    caret-color: transparent;
    cursor: pointer;
    z-index: 2;
    pointer-events: auto;
}

.listing-calc-date-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
}

.listing-calc-date-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-calc-date-value:empty::before {
    content: 'Přidat termín';
    color: #9ca3af;
}

.listing-calc-date-divider {
    width: 1px;
    margin: 0 0.75rem;
    background: rgba(156, 163, 175, 0.9);
}

.listing-calc-guest-toggle {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.15rem 0.5rem;
    padding: 0.65rem 0.8rem;
    text-align: left;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
    cursor: pointer;
}

.listing-calc-guest-toggle-top {
    grid-column: 1 / 2;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(226, 232, 240, 0.88);
}

.listing-calc-guest-toggle-main {
    grid-column: 1 / 2;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    text-align: right;
    justify-self: end;
    max-width: 58%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-calc-guest-toggle-arrow {
    grid-column: 2 / 3;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 1.3rem;
    line-height: 1;
    color: #e2e8f0;
    transform: rotate(0deg);
    transition: transform 0.15s ease;
}

.listing-calc-guest-toggle.is-open .listing-calc-guest-toggle-arrow {
    transform: rotate(180deg);
}

.listing-calc-guest-panel {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 0.2rem;
    padding: 0.55rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: grid;
    gap: 0.45rem;
}

.listing-calc-guest-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 0.75rem;
    padding: 0.15rem 0.1rem;
}

.listing-calc-guest-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    justify-self: start;
    max-width: 100%;
}

.listing-calc-guest-label {
    font-size: 0.98rem;
    font-weight: 700;
    color: #f8fafc;
}

.listing-calc-guest-note {
    font-size: 0.82rem;
    color: rgba(226, 232, 240, 0.78);
}

.listing-calc-guest-control {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
}

.listing-calc-custom-select {
    position: relative;
    width: 100%;
}

.listing-calc-custom-btn {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.15rem 0.55rem;
    align-items: center;
    padding: 0.7rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
}

.listing-calc-custom-btn-value {
    min-width: 0;
    font-size: 0.98rem;
    font-weight: 800;
    text-align: left;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-calc-custom-btn-arrow {
    color: rgba(226, 232, 240, 0.95);
    font-size: 1.25rem;
    line-height: 1;
    transform: rotate(0deg);
    transition: transform 0.15s ease;
}

.listing-calc-custom-btn.is-open + .listing-calc-custom-menu {
    opacity: 1;
}

.listing-calc-custom-btn.is-open .listing-calc-custom-btn-arrow {
    transform: rotate(180deg);
}

.listing-calc-custom-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 50;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.25rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.listing-calc-custom-option {
    width: 100%;
    display: block;
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 800;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-calc-custom-option:hover {
    background: rgba(56, 189, 248, 0.16);
}

.listing-detail-drow-cell[hidden],
.listing-calc-guest-row[hidden] {
    display: none !important;
}

.listing-detail-drow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.8rem;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Plná šířka: popisek nahoře, select/input přes celý řádek (kalkulačka — Stravování / noci zvlášť) */
.listing-detail-booking-panel .listing-detail-drow--block-field {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
}

.listing-detail-booking-panel .listing-detail-drow--block-field .listing-detail-drow-left {
    flex: 0 0 auto;
}

.listing-detail-drow-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.listing-detail-drow-icon {
    flex-shrink: 0;
    color: #7dd3fc;
    display: flex;
    align-items: center;
    opacity: 0.95;
}

.listing-detail-drow-icon svg {
    display: block;
}

.listing-detail-drow-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.88);
}

.listing-detail-drow-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    text-align: right;
    flex-shrink: 0;
    max-width: 58%;
}

.listing-detail-drow--split {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0;
    background: transparent;
    border: none;
}

.listing-detail-drow-cell {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 7.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.6rem 0.65rem;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-sizing: border-box;
}

.listing-detail-drow-stack {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.listing-detail-drow-sublabel {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(226, 232, 240, 0.88);
}

.listing-detail-drow-subval {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.35;
}

/* Dvojsloupec v kalkulačce — stejné paddingy a výška jako plné řádky .listing-detail-drow */
.listing-detail-booking-panel .listing-detail-drow--split .listing-detail-drow-cell {
    align-items: center;
    padding: 0.65rem 0.8rem;
    min-height: 3.55rem;
}

.listing-detail-booking-panel .listing-detail-drow--split .listing-detail-drow-stack {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}

.listing-detail-booking-total {
    /* Stejný horizontální „gutter“ jako .listing-detail-booking-stack (1rem) — bez něj by
       vnitřní .listing-detail-booking-panel měl vlastní margin 1rem a blok by byl užší než Destinace. */
    padding: 1rem 1rem 0.85rem;
    margin-top: 0.5rem;
}

.listing-detail-booking-total > .listing-detail-booking-panel {
    margin-left: 0;
    margin-right: 0;
}

.listing-detail-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.listing-detail-total-row--main {
    margin-top: 3rem;
}

.listing-detail-total-row--rezervovat {
    margin-top: 0.9rem;
}

.listing-detail-total-left {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.listing-detail-total-icon {
    flex-shrink: 0;
    color: #38bdf8;
    display: flex;
    opacity: 0.9;
}

.listing-detail-total-icon svg {
    display: block;
}

.listing-detail-total-heading {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.listing-detail-total-note {
    font-size: 0.9375rem;
    font-weight: 700;
    color: rgba(248, 250, 252, 0.92);
}

/* Přepis .card — tmavý panel + bílé pole */
.listing-detail-booking.card p,
.listing-detail-booking.card .listing-detail-location,
.listing-detail-booking.card .listing-detail-meal,
.listing-detail-booking.card .listing-detail-transport,
.listing-detail-booking.card .listing-detail-party {
    color: inherit;
}

.listing-detail-booking.card .listing-detail-wfield-value.listing-detail-location {
    color: #0f172a;
}

.listing-detail-booking.card .listing-detail-drow-value,
.listing-detail-booking.card .listing-detail-drow-subval {
    color: #f8fafc;
}

.listing-detail-booking .link-inline {
    color: #7dd3fc;
    font-weight: 600;
}

.listing-detail-booking .link-inline:hover {
    color: #bae6fd;
}

.listing-detail-sidebar-price {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.listing-detail-sidebar-price span {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.listing-detail-note {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    font-weight: 500;
    color: rgba(203, 213, 225, 0.95);
}

.listing-detail-note--widget {
    margin-top: 0.45rem;
}

.listing-detail-booking-foot {
    padding: 0.85rem 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background: rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.listing-detail-widget-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.95rem 1rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(180deg, #fde047 0%, #facc15 100%);
    color: #0f172a;
    font-size: 0.9375rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 0 #ca8a04, 0 8px 24px rgba(234, 179, 8, 0.35);
    transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
}

.listing-detail-widget-main-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.listing-detail-widget-main-icon svg {
    width: 18px;
    height: 18px;
}

.listing-detail-widget-main:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
    color: #0f172a;
}

.listing-detail-widget-main:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 3px;
}

.listing-detail-widget-sub {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
}

.listing-detail-widget-sub:empty {
    display: none;
}

.listing-detail-widget-subbtn {
    flex: 1 1 auto;
    min-width: 5.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #22d3ee;
    background: rgba(34, 211, 238, 0.12);
    color: #ecfeff;
    font-size: 0.8125rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.listing-detail-widget-subbtn:hover {
    background: rgba(34, 211, 238, 0.22);
    border-color: #67e8f9;
    color: #fff;
}

.listing-detail-widget-subbtn:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}

.listing-detail-contact-fallback {
    font-size: 0.875rem;
    color: rgba(248, 250, 252, 0.92);
    line-height: 1.5;
}

.listing-detail-contact-fallback .link-inline {
    color: #7dd3fc;
}

.listing-detail-seller {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
}

.listing-detail-seller-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.listing-detail-seller-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--ocean-deep);
    transition: opacity 0.15s ease;
}

.listing-detail-seller-link:hover {
    opacity: 0.88;
}

.listing-detail-seller-link--static {
    cursor: default;
}

.listing-detail-seller-link--static:hover {
    opacity: 1;
}

.listing-detail-seller-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    flex-shrink: 0;
}

.listing-detail-seller-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--aqua-soft);
    color: var(--ocean-deep);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--border);
}

.listing-detail-seller-name {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.3;
}

.listing-detail-seller-meta {
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
}

.listing-detail-seller-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #f5fbff 0%, #e6f4ff 100%);
    border: 1px solid rgba(14, 116, 144, 0.2);
    color: #0f5f75;
    font-size: 0.79rem;
    font-weight: 700;
    line-height: 1.1;
    width: fit-content;
}

.listing-detail-seller-rating-val {
    font-variant-numeric: tabular-nums;
}

.listing-detail-seller-rating-star {
    color: #f59e0b;
    transform: translateY(-0.02rem);
}

.listing-detail-seller-rating-count {
    color: #4b6474;
    font-weight: 600;
}

.listing-detail-seller-rating--muted {
    background: #f8fafc;
    border-color: rgba(100, 116, 139, 0.24);
    color: #64748b;
}

.listing-detail-seller-msg {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(14, 116, 144, 0.25);
    background: #f4fbff;
    color: #0e7490;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.listing-detail-seller-msg:hover {
    background: #e6f4ff;
    transform: translateY(-1px);
}

.listing-detail-seller-msg svg {
    width: 20px;
    height: 20px;
}

.listing-detail-seller-promo {
    margin-top: 1rem;
    padding: 0.8rem;
}

.listing-detail-seller-promo-link {
    display: block;
}

.listing-detail-seller-promo-link[hidden],
.listing-detail-seller-promo-fallback[hidden] {
    display: none;
}

.listing-detail-seller-promo-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.listing-detail-seller-promo-fallback {
    display: block;
    padding: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(14, 116, 144, 0.2);
}

.listing-detail-seller-promo-fallback:hover {
    filter: brightness(1.02);
}

.listing-detail-seller-promo-fallback img {
    display: block;
    width: 100%;
    height: auto;
}

.chat-compose {
    padding: 0.85rem;
    border-top: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #f8fcff 0%, #eef7ff 100%);
}

.chat-compose-input {
    width: 100%;
    resize: vertical;
    min-height: 92px;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    border: 1px solid #bfd6ea;
    background: #ffffff;
    color: #0f3b64;
    font-family: inherit;
    font-size: 0.98rem;
    line-height: 1.5;
    box-shadow: inset 0 1px 2px rgba(15, 59, 100, 0.06);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.chat-compose-input::placeholder {
    color: #7a93a8;
}

.chat-compose-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.16);
}

.chat-compose-actions {
    margin-top: 0.55rem;
    display: flex;
    justify-content: flex-end;
}

.chat-message-row {
    margin: 0 0 0.7rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 0.45rem;
}

.chat-message-row.is-mine {
    justify-content: flex-end;
}

.chat-message-row.is-mine .chat-message-avatar-wrap {
    order: 2;
}

.chat-message-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 48px;
}

.chat-message-avatar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: inherit;
}

.chat-message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid #c7ddef;
    background: #fff;
}

.chat-message-avatar--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f3b64;
    font-size: 0.85rem;
    font-weight: 700;
    background: #d8ebf8;
}

.chat-message-bubble {
    max-width: 82%;
    padding: 0.65rem 0.8rem;
    border-radius: 14px;
    background: #eef6ff;
    color: #0f3b64;
}

.chat-message-bubble.is-mine {
    background: #f59e0b;
    color: #fff;
}

.chat-message-avatar-name {
    font-size: 0.72rem;
    line-height: 1.1;
    max-width: 70px;
    text-align: center;
    color: #5f7488;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .listing-detail-layout {
        grid-template-columns: 1fr;
    }

    .listing-detail-main {
        grid-row: auto;
    }

    .listing-detail-sidebar {
        position: static;
        grid-column: 1;
        grid-row: auto;
    }

    .listing-detail-sidebar .listing-detail-booking {
        position: static;
    }

    .listing-detail-page-ad {
        grid-column: 1;
        grid-row: auto;
    }
}

/* Stránkování mřížky inzerátů */
.listing-pagination {
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.listing-pagination-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
}

.listing-pagination-pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.listing-pagination-pages li {
    margin: 0;
}

.listing-pagination-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    color: var(--ocean-deep);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(14, 116, 144, 0.2);
    box-shadow: 0 1px 2px rgba(12, 74, 110, 0.06);
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

a.listing-pagination-num:hover {
    background: #fff;
    border-color: var(--ocean-mid);
    color: var(--ocean-mid);
    transform: translateY(-1px);
}

.listing-pagination-num.is-current {
    background: linear-gradient(145deg, var(--ocean-mid) 0%, var(--ocean-deep) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(12, 74, 110, 0.25);
    cursor: default;
}

.listing-pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    color: var(--text-muted);
    font-weight: 600;
    user-select: none;
}

.listing-pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--ocean-deep);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(14, 116, 144, 0.22);
    transition: background 0.15s ease, border-color 0.15s ease;
}

a.listing-pagination-btn:hover {
    background: #fff;
    border-color: var(--ocean-mid);
    color: var(--ocean-mid);
}

.listing-pagination-btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.listing-pagination-meta {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (max-width: 520px) {
    .listing-pagination-btn--edge {
        flex: 1 1 auto;
        min-width: calc(50% - 0.5rem);
        justify-content: center;
    }

    .listing-pagination-inner {
        width: 100%;
    }
}

/* --- Restaurace: vyhledávání, kategorie, srovnání cen --- */
:root {
    --rest-wine: #7c2d12;
    --rest-wine-soft: rgba(124, 45, 18, 0.08);
    --rest-card: rgba(255, 255, 255, 0.92);
}

.page-restaurace .main-content,
.page-restaurace-srovnani .main-content,
.page-restaurace-kategorie .main-content {
    position: relative;
    z-index: 1;
}

.rest-hero {
    padding: 2rem 0 2.5rem;
}

.rest-hero-inner {
    max-width: 980px;
}

.rest-eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rest-wine);
}

.rest-hero-title {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ocean-deep);
}

.rest-hero-lead {
    margin: 0 0 1.75rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.rest-search {
    padding: 1.35rem 1.35rem 1.5rem;
    background: var(--rest-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.rest-search-fields {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .rest-search-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 980px) {
    .rest-search-fields {
        grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1fr) minmax(0, 1fr);
    }
}

.rest-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0;
}

.rest-field-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.rest-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rest-input-wrap:focus-within {
    border-color: rgba(124, 45, 18, 0.35);
    box-shadow: 0 0 0 3px var(--rest-wine-soft);
}

.rest-city-combobox {
    display: block;
    width: 100%;
}

.rest-input-icon {
    flex-shrink: 0;
    color: var(--text-muted);
}

.rest-field input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font: inherit;
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
}

.rest-search-actions {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-start;
}

.rest-search-submit {
    min-height: 2.75rem;
    padding-inline: 1.5rem;
    border-radius: 999px;
    background: linear-gradient(145deg, #9a3412 0%, var(--rest-wine) 100%);
    border: none;
    box-shadow: 0 8px 24px rgba(124, 45, 18, 0.28);
}

.rest-search-submit:hover {
    filter: brightness(1.06);
}

.rest-search-hint {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 36em;
}

.rest-categories {
    padding: 0 0 3.5rem;
}

.rest-section-head {
    margin-bottom: 1.5rem;
}

.rest-section-title {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ocean-deep);
}

.rest-section-sub {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.5;
}

/* Kategorie jako karty (stejný vzor jako „feature“ na domovské stránce) */
.rest-heureka-grid--kuchyne {
    margin-bottom: 0;
}

.rest-hlavni-dishes-below {
    margin-top: 2.25rem;
    margin-bottom: 1rem;
}

.rest-cat-features {
    margin-top: 1.75rem;
}

.rest-cat-features .feature h3,
.rest-cat-features .feature p {
    text-align: center;
}

.rest-cat-features .feature h3 {
    margin-top: 0.35rem;
}

.rest-cat-ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0.75rem 0.5rem;
    background: linear-gradient(160deg, #e0f2fe 0%, #fffbeb 55%, #ffedd5 100%);
}

.rest-cat-ph-emoji {
    font-size: 2.25rem;
    line-height: 1;
}

.rest-cat-ph-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.35;
    max-width: 22ch;
}

.rest-cat-page {
    padding: 1.25rem 0 3rem;
    max-width: min(1180px, 100%);
}

.rest-cat-page-head {
    margin-bottom: 1.35rem;
}

.rest-cat-page-title {
    margin-bottom: 0.5rem;
}

.rest-cat-page-lead {
    margin-bottom: 0;
}

.rest-cat-kuchyne-note {
    margin: 0.65rem 0 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.rest-breadcrumb--rest-top {
    margin-bottom: 0.75rem;
}

.rest-cat-page-back {
    margin: 1.75rem 0 0;
}

.rest-dish-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Mřížka jídel — mezery mezi kartami */
.rest-heureka-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 0.5rem;
}

@media (min-width: 900px) {
    .rest-heureka-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1100px) {
    .rest-heureka-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.rest-dish-card {
    margin: 0;
    background: #fff;
    border: 1px solid rgba(14, 116, 144, 0.14);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 18px rgba(14, 116, 144, 0.07);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.rest-dish-card:hover {
    border-color: rgba(2, 132, 199, 0.22);
    box-shadow: 0 10px 28px rgba(14, 116, 144, 0.12);
}

.rest-dish-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.rest-dish-card-link:hover {
    background: #fafbfc;
}

.rest-dish-card-link:focus-visible {
    outline: 2px solid var(--aqua);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.rest-dish-card-media {
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
    overflow: hidden;
    border-bottom: 1px solid rgba(14, 116, 144, 0.1);
}

.rest-dish-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rest-dish-card-ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 100%;
    padding: 1rem;
    background: linear-gradient(180deg, #f3f4f6 0%, #e5e7eb 100%);
}

.rest-dish-card-ph-ico {
    font-size: 2.5rem;
    line-height: 1;
    opacity: 0.85;
}

.rest-dish-card-ph-txt {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.3;
    max-width: 20ch;
    word-break: break-all;
}

.rest-dish-card-cat {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.rest-dish-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0.85rem 1rem 1rem;
    gap: 0.35rem;
}

.rest-dish-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    min-height: 1.35rem;
}

.rest-dish-badge {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 4px;
    line-height: 1.2;
}

.rest-dish-badge--hit {
    color: #9a3412;
    background: #ffedd5;
}

.rest-dish-badge--top {
    color: #166534;
    background: #dcfce7;
}

.rest-dish-card-title {
    margin: 0;
    font-family: var(--font);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
}

.rest-dish-card-rating {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ocean-mid);
}

.rest-dish-card-rating--muted {
    color: var(--text-muted);
    font-weight: 400;
}

.rest-dish-card-price {
    margin: 0.25rem 0 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.rest-dish-card-price--muted {
    font-weight: 500;
    color: var(--text-muted);
}

.rest-dish-card-compare {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.65rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ocean-mid);
}

.rest-dish-card-link:hover .rest-dish-card-compare {
    text-decoration: underline;
}

.rest-dish-compare-ico {
    flex-shrink: 0;
    opacity: 0.9;
}

.rest-dish-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.15rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.rest-dish-link:hover {
    background: var(--aqua-soft);
    color: var(--ocean-mid);
}

.rest-dish-arrow {
    color: var(--rest-wine);
    font-weight: 600;
    opacity: 0.85;
}

.rest-compare-hero {
    padding: 1.5rem 0 3.5rem;
    max-width: min(1120px, 100%);
}

.rest-pdp-shell {
    max-width: min(1120px, 100%);
}

/* Detail jídla — rozložení jako srovnávač (horní blok + záložky + karty) */
.rest-pdp {
    margin-top: 0.5rem;
}

.rest-pdp-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
}

@media (min-width: 880px) {
    .rest-pdp-hero {
        grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.05fr);
        gap: 2rem;
        align-items: start;
    }
}

.rest-pdp-gallery-frame {
    border-radius: var(--radius);
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid rgba(14, 116, 144, 0.12);
    aspect-ratio: 4 / 3;
}

.rest-pdp-gallery-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rest-pdp-gallery-frame--ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(160deg, #e5e7eb 0%, #f8fafc 100%);
}

.rest-pdp-gallery-ph {
    font-size: 3rem;
    line-height: 1;
}

.rest-pdp-gallery-ph-txt {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.rest-pdp-buybox {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.rest-pdp-buybox-main {
    flex: 1;
    min-width: 0;
}

.rest-pdp-badge-top {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #166534;
    background: #dcfce7;
    border-radius: 4px;
}

.rest-pdp-title {
    margin: 0 0 0.65rem;
    font-family: var(--font);
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}

.rest-pdp-rating-line {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ocean-mid);
}

.rest-pdp-stars {
    margin-right: 0.2rem;
    color: #f59e0b;
}

.rest-pdp-rating-sep {
    margin: 0 0.25rem;
    color: var(--text-muted);
    font-weight: 400;
}

.rest-pdp-desc {
    margin: 0 0 1.25rem;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.rest-pdp-select-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.rest-pdp-select-wrap {
    margin-bottom: 1.25rem;
}

.rest-pdp-select {
    width: 100%;
    max-width: 100%;
    padding: 0.65rem 2.25rem 0.65rem 0.85rem;
    font: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.55);
    border-radius: var(--radius-sm);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    cursor: not-allowed;
    opacity: 0.92;
}

.rest-pdp-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.rest-pdp-price-block {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.rest-pdp-price-big {
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.rest-pdp-price-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.rest-pdp-cta-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(180deg, #fb923c 0%, #ea580c 100%);
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
    transition: filter 0.15s ease, transform 0.12s ease;
}

.rest-pdp-cta-orange:hover {
    filter: brightness(1.05);
    color: #fff;
}

.rest-pdp-lokalita {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.rest-pdp-lokalita input[type="search"] {
    flex: 1;
    min-width: 200px;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 0.9rem;
}

.rest-pdp-lokalita .rest-city-combobox {
    flex: 1;
    min-width: 280px;
}

.rest-pdp-util {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
    padding-top: 0.25rem;
}

.rest-pdp-util-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: var(--text-muted);
}

.rest-pdp-tabbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
    margin-bottom: 1.5rem;
}

.rest-pdp-tab {
    margin: 0;
    padding: 0.65rem 0.15rem 0.85rem;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.rest-pdp-tab:hover {
    color: var(--ocean-deep);
}

.rest-pdp-tab.is-active {
    color: var(--text);
    border-bottom-color: var(--text);
}

.rest-pdp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.rest-pdp-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    transition: background 0.15s, border-color 0.15s;
}

.rest-pdp-filter:hover {
    border-color: var(--ocean-mid);
    color: var(--ocean-mid);
}

.rest-pdp-filter.is-active {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}

.rest-pdp-filter.is-active::before {
    content: "✓ ";
    font-size: 0.85em;
}

.rest-pdp-offers {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.rest-pdp-offer-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    background: #fff;
    border: 1px solid rgba(14, 116, 144, 0.12);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 18px rgba(14, 116, 144, 0.06);
}

.rest-pdp-offer-left {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
    flex: 1 1 220px;
}

.rest-pdp-offer-logo {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ocean-deep);
    background: var(--aqua-soft);
    border-radius: 8px;
}

.rest-pdp-offer-name {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.rest-pdp-offer-rating {
    margin: 0 0 0.45rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.rest-pdp-offer-badge {
    display: inline-block;
    padding: 0.12rem 0.45rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #166534;
    background: #dcfce7;
    border-radius: 4px;
}

.rest-pdp-offer-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem 1rem;
    flex: 0 1 auto;
}

.rest-pdp-offer-price {
    font-size: 1.2rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--text);
}

.rest-pdp-offer-hit {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #92400e;
    background: #fef3c7;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.rest-pdp-offer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0 1.15rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%);
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.25);
    transition: filter 0.15s ease;
}

.rest-pdp-offer-btn:hover {
    filter: brightness(1.06);
    color: #fff;
}

.rest-pdp-panel-title {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ocean-deep);
}

.rest-pdp-panel-text {
    margin: 0 0 0.75rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.rest-pdp-panel--muted {
    padding: 0.5rem 0 2rem;
}

.rest-pdp-spec-list {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.rest-pdp-back {
    margin-top: 2rem;
}

.rest-pdp-head--simple .rest-pdp-title {
    margin-bottom: 0.75rem;
}

.rest-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.rest-breadcrumb a {
    color: var(--ocean-mid);
    text-decoration: none;
    font-weight: 500;
}

.rest-breadcrumb a:hover {
    text-decoration: underline;
}

.rest-breadcrumb-sep {
    color: var(--text-muted);
}

.rest-breadcrumb-current {
    color: var(--text-muted);
}

.rest-compare-empty {
    padding: 2rem 0;
}

.rest-compare-head {
    margin-bottom: 1.75rem;
}

.rest-compare-title {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: var(--ocean-deep);
}

.rest-compare-meta {
    margin: 0 0 0.75rem;
}

.rest-meta-pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rest-wine);
    background: var(--rest-wine-soft);
    border-radius: 999px;
}

.rest-compare-lead {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 52ch;
}

.rest-compare-no-rows {
    color: var(--text-muted);
    margin: 1rem 0;
}

/* --- Checkout (rezervace) — moderní pokladna / žádost o rezervaci --- */
.page-checkout {
    background: #f7f7f8;
}

.checkout-shell {
    max-width: 1120px;
    padding: 1.25rem 1rem 3rem;
}

.checkout-page .checkout-empty {
    max-width: 480px;
    margin: 2.5rem auto;
    padding: 1.75rem;
    text-align: center;
}

.checkout-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.checkout-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.checkout-back:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.checkout-back-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.checkout-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #111827;
}

.checkout-auth-banner {
    margin-bottom: 1.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid #dbe4ff;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fbff 0%, #f2f6ff 100%);
}

.checkout-auth-copy h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.checkout-auth-copy p {
    margin: 0.45rem 0 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #475569;
}

.checkout-auth-actions {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.checkout-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 1px solid transparent;
}

.checkout-auth-btn--primary {
    background: #111827;
    color: #fff;
    border-color: #111827;
}

.checkout-auth-btn--primary:hover {
    color: #fff;
    filter: brightness(1.08);
}

.checkout-auth-btn--secondary {
    background: #fff;
    color: #0f172a;
    border-color: #cbd5e1;
}

.checkout-auth-btn--secondary:hover {
    background: #f8fafc;
    color: #0f172a;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: 2rem;
    align-items: start;
}

@media (max-width: 900px) {
    .checkout-auth-banner {
        margin-bottom: 1rem;
    }

    .checkout-contact-grid {
        grid-template-columns: 1fr;
    }

    .checkout-field--wide {
        grid-column: auto;
    }

    .checkout-bank-qr-wrap {
        width: 100%;
        align-items: flex-start;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

.checkout-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-step {
    background: #fff;
    border: 1px solid #e8e8ea;
    border-radius: 12px;
    padding: 1.1rem 1.2rem 1.25rem;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.checkout-step--open {
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    border-color: #e2e8f0;
}

.checkout-step-head {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.checkout-step-num {
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.checkout-step-title {
    margin: 0 0 0.2rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
}

.checkout-step-sub {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #6b7280;
}

.checkout-step-body {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.checkout-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.checkout-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.checkout-field span {
    font-size: 0.82rem;
    color: #475569;
    font-weight: 600;
}

.checkout-field input {
    width: 100%;
    min-height: 2.5rem;
    border-radius: 9px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #0f172a;
    font-size: 0.92rem;
    padding: 0.5rem 0.75rem;
}

.checkout-field select {
    width: 100%;
    min-height: 2.5rem;
    border-radius: 9px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #0f172a;
    font-size: 0.92rem;
    padding: 0.5rem 0.75rem;
}

.checkout-field textarea {
    width: 100%;
    border-radius: 9px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #0f172a;
    font-size: 0.92rem;
    padding: 0.55rem 0.75rem;
    resize: vertical;
    min-height: 5.2rem;
    font-family: inherit;
}

.checkout-field input:focus {
    outline: none;
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.18);
}

.checkout-field select:focus {
    outline: none;
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.18);
}

.checkout-field textarea:focus {
    outline: none;
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.18);
}

.checkout-field-help {
    font-size: 0.78rem;
    line-height: 1.4;
    color: #64748b;
}

.checkout-phone-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.checkout-phone-prefix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0 0.7rem;
    border-radius: 9px;
    border: 1px solid #d1d5db;
    background: #f8fafc;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
}

.checkout-phone-row input {
    flex: 1 1 auto;
}

.checkout-field--wide {
    grid-column: 1 / -1;
}

.checkout-field-error {
    margin: 0.7rem 0 0;
    color: #b91c1c;
    font-size: 0.85rem;
}

.checkout-field-success {
    margin: 0.7rem 0 0;
    color: #166534;
    font-size: 0.85rem;
}

/* Jedna povolená varianta platby podle inzerátu (bez falešného výběru) */
.checkout-pay-single {
    margin: 0;
    padding: 0.85rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f8fafc;
}

.checkout-pay-single-title {
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.checkout-pay-single-desc {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
}

.checkout-options {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.checkout-option-label {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.checkout-option-label:hover {
    border-color: #cbd5e1;
    background: #fafafa;
}

.checkout-option-input {
    margin-top: 0.2rem;
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #111827;
}

.checkout-option-name {
    display: block;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.15rem;
}

.checkout-option-desc {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.4;
}

.checkout-step-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.1rem;
}

.checkout-btn-next,
.checkout-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.55rem 1.35rem;
    border-radius: 9px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    text-decoration: none;
    background: #111827;
    color: #fff;
    transition: filter 0.15s ease, transform 0.12s ease;
}

.checkout-btn-next:hover,
.checkout-btn-primary:hover {
    filter: brightness(1.08);
    color: #fff;
}

.checkout-muted {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.checkout-bank-box {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.85rem 0.95rem;
    border: 1px dashed rgba(2, 132, 199, 0.35);
    border-radius: 10px;
    background: #f8fcff;
}

.checkout-bank-copy {
    flex: 1 1 320px;
    min-width: 0;
}

.checkout-bank-copy p {
    margin: 0 0 0.35rem;
    font-size: 0.92rem;
    color: #0f172a;
}

.checkout-bank-copy p:last-child {
    margin-bottom: 0;
}

.checkout-bank-qr-wrap {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
}

.checkout-bank-qr {
    display: block;
    border-radius: 8px;
    border: 1px solid rgba(14, 116, 144, 0.2);
    background: #fff;
    padding: 0.35rem;
}

.checkout-bank-qr-wrap small {
    color: #64748b;
    font-size: 0.8rem;
}

.checkout-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.checkout-aside {
    position: sticky;
    top: calc(var(--site-header-offset, 0px) + 1rem);
}

.checkout-card {
    background: #fff;
    border: 1px solid #e8e8ea;
    border-radius: 14px;
    padding: 1.1rem 1.15rem 1.2rem;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.checkout-card-head {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
}

.checkout-card-head--link {
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.checkout-card-head--link:hover {
    background: #f8fafc;
}

.checkout-thumb {
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    background: #e5e7eb;
}

.checkout-thumb--ph {
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
}

.checkout-card-title {
    margin: 0 0 0.25rem;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
}

.checkout-card-stars {
    font-size: 0.85rem;
    color: #ca8a04;
}

.checkout-cancel-note {
    margin: 0 0 0.9rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #475569;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.checkout-dl {
    margin: 0 0 1rem;
    padding: 0;
}

.checkout-dl-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.875rem;
}

.checkout-dl-row:last-child {
    border-bottom: none;
}

.checkout-dl dt {
    margin: 0;
    font-weight: 600;
    color: #64748b;
}

.checkout-dl dd {
    margin: 0;
    font-weight: 600;
    color: #111827;
    text-align: right;
}

.checkout-price-lines {
    border-top: 1px solid #f1f5f9;
    padding-top: 0.65rem;
    margin-top: 0.25rem;
}

.checkout-price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #374151;
    padding: 0.25rem 0;
}

.checkout-price-row--total {
    margin-top: 0.35rem;
    padding-top: 0.55rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.95rem;
}

.checkout-price-row--total strong {
    font-weight: 800;
    color: #111827;
}

.checkout-fine-print {
    margin: 0.65rem 0 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #94a3b8;
}

.checkout-tip {
    margin: 1rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #64748b;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
}

/* —— Cestovatelský blog (/blog) —— */
.page-travel-blog .main-content,
.page-travel-blog--article .main-content {
    position: relative;
    z-index: 1;
    text-align: left;
}

.travel-blog-shell {
    width: min(1200px, 100% - 2rem);
    margin-inline: auto;
}

.travel-blog-page-head {
    padding: 1.25rem 0 0.5rem;
}

.page-travel-blog:not(.page-travel-blog--article) .travel-blog-page-head {
    text-align: center;
}

.page-travel-blog:not(.page-travel-blog--article) .travel-blog-page-lead {
    margin-inline: auto;
}

.travel-blog-page-head h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin: 0 0 0.35rem;
    color: var(--ocean-deep);
}

.travel-blog-page-lead {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 42rem;
}

.travel-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr) minmax(0, 260px);
    gap: 1.75rem 2rem;
    align-items: start;
    padding: 1rem 0 3rem;
}

@media (max-width: 1024px) {
    .travel-blog-layout {
        grid-template-columns: 1fr;
    }
    .travel-blog-col--left {
        order: 2;
    }
    .travel-blog-col--main {
        order: 1;
    }
    .travel-blog-col--right {
        order: 3;
    }
}

.travel-blog-col-title {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blog-accent);
}

.travel-blog-kicker {
    margin: 0 0 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.travel-blog-side-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.travel-blog-side-item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(14, 116, 144, 0.1);
}

.travel-blog-side-item:hover .travel-blog-side-title {
    color: var(--ocean-mid);
}

.travel-blog-side-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 54px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--aqua-soft);
}

.travel-blog-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.travel-blog-side-thumb--empty {
    display: inline-block;
}

.travel-blog-side-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.travel-blog-side-title {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.travel-blog-hero {
    overflow: hidden;
    padding: 0;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.travel-blog-hero-img {
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--aqua-soft);
}

.travel-blog-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.travel-blog-hero-body {
    padding: 1.25rem 1.35rem 1.5rem;
}

.travel-blog-hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    margin: 0.25rem 0 0.75rem;
    line-height: 1.2;
}

.travel-blog-hero-title a {
    color: var(--text);
    text-decoration: none;
}

.travel-blog-hero-title a:hover {
    color: var(--ocean-mid);
}

.travel-blog-hero-excerpt {
    margin: 0 0 1rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.travel-blog-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.travel-blog-row {
    display: grid;
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 1rem;
    padding: 0;
    overflow: hidden;
    align-items: stretch;
}

@media (max-width: 640px) {
    .travel-blog-row {
        grid-template-columns: 1fr;
    }
}

.travel-blog-row-img {
    display: block;
    min-height: 140px;
    background: var(--aqua-soft);
}

.travel-blog-row-img img {
    width: 100%;
    height: 100%;
    min-height: 140px;
    object-fit: cover;
}

.travel-blog-row-body {
    padding: 1rem 1.1rem 1.15rem;
}

.travel-blog-row-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: 0.2rem 0 0.35rem;
}

.travel-blog-row-title a {
    color: var(--text);
    text-decoration: none;
}

.travel-blog-row-title a:hover {
    color: var(--ocean-mid);
}

.travel-blog-row-excerpt {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.travel-blog-popular-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.travel-blog-popular-list li {
    margin: 0 0 0.65rem;
}

.travel-blog-popular-list a {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
    text-decoration: none;
    color: inherit;
    font-size: 0.92rem;
}

.travel-blog-popular-num {
    font-weight: 800;
    color: var(--blog-accent);
    flex-shrink: 0;
}

.travel-blog-popular-title {
    font-weight: 600;
    line-height: 1.35;
}

.travel-blog-popular-list a:hover .travel-blog-popular-title {
    color: var(--ocean-mid);
}

.travel-blog-empty {
    padding: 2rem 1.5rem;
    text-align: center;
    max-width: 520px;
    margin: 2rem auto;
}

.travel-blog-article-page {
    padding: 0.5rem 0 3rem;
}

.travel-blog-breadcrumb--article {
    grid-column: 1 / -1;
    margin-bottom: 0.25rem;
}

.travel-blog-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 2rem 2.25rem;
    align-items: start;
}

@media (max-width: 900px) {
    .travel-blog-article-layout {
        grid-template-columns: 1fr;
    }

    .travel-blog-article-sidebar {
        position: static;
    }
}

.travel-blog-article-main {
    min-width: 0;
    max-width: 720px;
}

.travel-blog-article-sidebar {
    position: sticky;
    top: calc(var(--site-header-offset) + 0.75rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.travel-blog-widget {
    padding: 1rem 1.1rem;
}

.travel-blog-widget-title {
    margin: 0 0 0.65rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blog-accent);
}

.travel-blog-widget--ad {
    padding: 0.75rem 0.65rem;
    overflow: hidden;
    min-height: 120px;
}

.travel-blog-widget--ad .adsbygoogle {
    display: block !important;
}

.travel-blog-search-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.travel-blog-search-input {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    border: 1px solid rgba(14, 116, 144, 0.2);
    font-family: inherit;
    font-size: 0.95rem;
}

.travel-blog-search-btn {
    align-self: flex-start;
}

.travel-blog-widget-empty {
    margin: 0;
    font-size: 0.9rem;
}

.travel-blog-side-list--compact .travel-blog-side-item {
    padding: 0.4rem 0;
}

.travel-blog-article {
    padding: 0;
    margin: 0;
}

.travel-blog-breadcrumb {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.travel-blog-breadcrumb a {
    color: var(--ocean-mid);
    text-decoration: none;
}

.travel-blog-article-head {
    text-align: left;
}

.travel-blog-article-head h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    margin: 0.35rem 0 0.75rem;
    line-height: 1.15;
    text-align: left;
}

.travel-blog-article-lead {
    font-family: var(--blog-prose-serif);
    font-size: 1.125rem;
    color: #4a4a4a;
    line-height: 1.65;
    margin: 0 0 1.25rem;
    text-align: start;
    max-width: var(--blog-prose-max);
}

.travel-blog-inline-ad {
    margin: 1.35rem 0;
    min-height: 100px;
    clear: both;
}

.travel-blog-inline-ad .adsbygoogle {
    display: block !important;
}

.travel-blog-article-ad--top {
    margin: 0 0 1rem;
    min-height: 90px;
}

.travel-blog-article-ad--top .adsbygoogle {
    display: block !important;
}

.travel-blog-article-hero {
    border-radius: var(--radius);
    overflow: hidden;
    margin: 0 0 1.5rem;
    box-shadow: var(--shadow);
    background: var(--aqua-soft);
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    max-height: min(420px, 55vh);
}

.travel-blog-article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.travel-blog-article-main .travel-blog-prose,
.travel-blog-prose {
    font-family: var(--blog-prose-serif);
    font-size: 1.125rem;
    line-height: 1.55;
    max-width: var(--blog-prose-max);
    color: var(--blog-prose-fg);
    text-align: left;
    hyphens: manual;
    -webkit-hyphens: manual;
    overflow-wrap: break-word;
}

.travel-blog-prose p {
    margin: 0 0 0.5em;
    text-align: left;
}

.travel-blog-prose p:last-child {
    margin-bottom: 0;
}

.travel-blog-prose h2,
.travel-blog-prose h3 {
    font-family: var(--blog-prose-serif);
    font-weight: 700;
    color: #1a1a1a;
    margin: 1.85rem 0 0.85rem;
    text-align: start;
    line-height: 1.3;
    hyphens: none;
    -webkit-hyphens: none;
}

.travel-blog-prose ul,
.travel-blog-prose ol {
    margin: 0 0 1.15em 0;
    padding-left: 1.35rem;
    text-align: start;
}

.travel-blog-prose li {
    margin: 0.35em 0;
}

.travel-blog-prose blockquote {
    margin: 1.15em 0;
    padding: 0.25rem 0 0.25rem 1.1rem;
    border-left: 3px solid rgba(51, 51, 51, 0.25);
    text-align: start;
    font-style: italic;
    color: #444;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.travel-blog-prose a {
    color: var(--ocean-mid);
    text-underline-offset: 0.12em;
}

.travel-blog-prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.travel-blog-back {
    margin: 2rem 0 0;
}

.dash-blog-hint {
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Admin blog */
.page-admin-blog .admin-blog-head {
    padding-top: 1.25rem;
}

.page-admin-blog .admin-blog-head p {
    color: var(--text-muted);
    max-width: 40rem;
}

.admin-blog-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 920px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.admin-blog-alert {
    max-width: 920px;
    margin: 0 auto;
}

.admin-blog-field-hint {
    margin: -0.15rem 0 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
    max-width: 52rem;
}

.admin-blog-field-hint code {
    font-size: 0.8em;
}

.admin-blog-form-card label {
    display: block;
    margin: 0.85rem 0 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.admin-blog-form-card input[type="text"],
.admin-blog-form-card input[type="url"],
.admin-blog-form-card select,
.admin-blog-form-card textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    border: 1px solid rgba(14, 116, 144, 0.2);
    font-family: inherit;
}

.admin-blog-textarea {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.875rem;
}

.admin-blog-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.admin-blog-check {
    font-weight: 500;
    font-size: 0.9rem;
}

.admin-blog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.admin-blog-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.admin-blog-list-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(14, 116, 144, 0.12);
}

.admin-blog-meta {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.admin-blog-draft {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-blog-list-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.admin-blog-delete-form {
    display: inline;
    margin: 0;
}

.admin-blog-migrate {
    border-left: 4px solid #f59e0b;
}

/* Kvíz /kviz */
.page-kviz .main-content {
    text-align: left;
}

.kviz-shell {
    max-width: 640px;
    margin: 0 auto;
    padding: 1.25rem 0 3rem;
}

.kviz-shell--with-article {
    max-width: 48rem;
}

.kviz-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.kviz-panel-top {
    flex-shrink: 0;
}

.kviz-wait-card h1 {
    margin-top: 0;
}

.kviz-wait-lead {
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0 0 0.75rem;
}

.kviz-wait-fallback {
    font-size: 0.9rem;
    margin: 0;
}

.kviz-wait-continue-wrap {
    margin: 1.25rem 0 0;
    text-align: center;
}

.kviz-wait-revbid-page {
    max-width: 52rem;
    margin: 0 auto;
    padding: 1.25rem 0 3rem;
}

.kviz-wait-revbid-page a[href="https://revbid.net"] {
    display: none !important;
}

/* RevBid plovoucí logo (inline background na divu, ne odkaz) */
body.page-kviz #revbid-float2 [style*="revbid.net"],
body.page-kviz [id^="revbid-float"] [style*="revbid.net"],
body.page-kviz #revbid-float2 [style*="rb.png"] {
    display: none !important;
    background-image: none !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

.kviz-wait-revbid {
    margin-top: 0.75rem;
    padding: 1rem 0.75rem;
    text-align: center;
    overflow: auto;
}

.kviz-wait-revbid [data-placement-id="revbid-big-leaderboard"] {
    margin: 0 auto;
    max-width: 100%;
}

.kviz-wait-revbid-square {
    margin: 1.25rem auto 0;
    max-width: 100%;
}

.kviz-dalsi-hint {
    padding: 0.85rem 1rem;
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.45;
    background: rgba(14, 116, 144, 0.08);
    border-left: 4px solid var(--ocean-mid);
}

.kviz-embedded-dalsi-slot {
    text-align: center;
    margin: 1.25rem 0;
}

.kviz-embedded-dalsi-slot .btn {
    min-width: 8rem;
}

.kviz-embedded-article {
    text-align: left;
}

.kviz-embedded-title {
    font-family: var(--font-display);
    color: var(--ocean-deep);
    font-size: 1.35rem;
    margin: 0.35rem 0 0.75rem;
}

.kviz-embedded-lead {
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0 0 1rem;
}

.kviz-embedded-hero {
    margin: 0 0 1.25rem;
}

.kviz-embedded-hero img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
}

.kviz-embedded-body {
    margin-top: 0;
}

.kviz-embedded-open-full {
    margin: 1.25rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(14, 116, 144, 0.12);
}

.kviz-hero h1,
.kviz-card h1 {
    font-family: var(--font-display);
    color: var(--ocean-deep);
    margin: 0 0 0.75rem;
}

.kviz-lead {
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0 0 1.25rem;
}

.kviz-start-form {
    margin-top: 1rem;
}

.kviz-progress {
    height: 6px;
    background: rgba(14, 116, 144, 0.12);
    border-radius: 99px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.kviz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--ocean-mid), var(--ocean-light));
    border-radius: 99px;
    transition: width 0.25s ease;
}

.kviz-step-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 0.5rem;
}

.kviz-live-feed {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 40;
    width: min(21rem, calc(100vw - 2rem));
    pointer-events: none;
}

.kviz-live-feed-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kviz-live-feed-item {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(14, 116, 144, 0.22);
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(2, 12, 38, 0.12);
    color: var(--text-main);
    padding: 0.55rem 0.75rem;
    font-size: 0.83rem;
    line-height: 1.35;
    backdrop-filter: blur(3px);
}

.kviz-live-feed-item strong {
    color: var(--ocean-deep);
}

@media (max-width: 900px) {
    .kviz-live-feed {
        left: 0.6rem;
        right: 0.6rem;
        width: auto;
    }

    .kviz-live-feed-item {
        font-size: 0.8rem;
    }

    .kviz-live-feed-item:nth-child(n + 2) {
        display: none;
    }
}

.kviz-question-text {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 1rem;
    padding: 0;
}

.kviz-option {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0 0 0.5rem;
    cursor: pointer;
    font-weight: 400;
}

.kviz-option input {
    margin-top: 0.25rem;
}

.kviz-actions {
    margin-top: 1.25rem;
}

.kviz-actions--split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.kviz-actions--split .kviz-back-btn {
    flex-shrink: 0;
}

.kviz-actions--split .kviz-next-submit-btn {
    flex-shrink: 0;
}

.kviz-score-line {
    font-size: 1.1rem;
    margin: 0 0 1rem;
}

.kviz-lead-small {
    color: var(--text-muted);
    margin: 0 0 1rem;
}

.kviz-finish-form label {
    display: block;
    margin: 0.85rem 0 0.35rem;
    font-weight: 600;
}

.kviz-finish-form input[type="text"],
.kviz-finish-form input[type="email"] {
    width: 100%;
    max-width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    border: 1px solid rgba(14, 116, 144, 0.2);
}

.kviz-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0;
    font-weight: 400;
}

.kviz-check input {
    margin-top: 0.2rem;
}

.page-admin-quiz .admin-quiz-form select {
    width: 100%;
    max-width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    border: 1px solid rgba(14, 116, 144, 0.2);
}
