.form-label {
    margin-bottom: 2px;
}

.page-header {
    padding: 36px 0 22px;
}

.detail-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--web-dark);
}

.price-pill {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: #eef4f8;
    color: var(--web-accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.gallery-main {
    width: 100%;
    height: 470px;
    object-fit: cover;
    border-radius: 22px;
    background: #f3f4f6;
    border: 1px solid var(--web-border);
}

.gallery-main-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.gallery-thumb {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 14px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.2s ease;
    background: #f3f4f6;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--web-accent);
}

.gallery-modal .modal-content {
    background: rgba(15, 23, 42, 0.96);
    border: 0;
    min-height: 70vh;
}

.gallery-modal .modal-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 70px;
}

.gallery-modal-stage {
    width: 100%;
    text-align: center;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
}

.gallery-modal-close,
.gallery-modal-nav {
    position: absolute;
    z-index: 5;
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.gallery-modal-close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    font-size: 1.8rem;
    line-height: 1;
}

.gallery-modal-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.gallery-modal-nav.prev {
    left: 12px;
}

.gallery-modal-nav.next {
    right: 12px;
}

.info-card,
.reserve-card {
    border: 1px solid var(--web-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.reserve-card {
    position: sticky;
    top: 95px;
}

.param-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.param-box {
    border: 1px solid var(--web-border);
    border-radius: 16px;
    padding: 14px 16px;
    background: #fafcff;
}

.equip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.equip-badge {
    background: #f3f6f9;
    border: 1px solid #e4ebf1;
    color: #334155;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.95rem;
}

.muted-note {
    color: #6b7280;
    font-size: 0.92rem;
}

.reserve-total {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--web-dark);
}

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

.flatpickr-day.poptavka {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.flatpickr-day.poptavka:hover {
    background: #ffe69c;
}

.slaba-blokace {
    background: #fff3cd !important;
    color: #856404 !important;
    border: 1px solid #f1d67a !important;
    border-radius: 50% !important;
}

.flatpickr-day.plna-blokace {
    background: #f8d7da !important;
    color: #b02a37 !important;
    border: 1px solid #ea868f !important;
    border-radius: 50% !important;
    opacity: 1 !important;
}

.flatpickr-day.plna-blokace.flatpickr-disabled,
.flatpickr-day.plna-blokace:disabled {
    background: #f8d7da !important;
    color: #b02a37 !important;
    border: 1px solid #ea868f !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
}

.flatpickr-day.flatpickr-disabled:not(.plna-blokace) {
    color: #c8c8c8 !important;
    opacity: 0.45 !important;
}

.flatpickr-calendar {
    z-index: 1050 !important;
}

.tooltip {
    z-index: 1080 !important;
}

@media (max-width: 991.98px) {
    .gallery-main {
        height: 320px;
    }

    .reserve-card {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .param-grid {
        grid-template-columns: 1fr;
    }

    .gallery-main {
        height: 250px;
    }

    .gallery-thumb {
        height: 85px;
    }

    .gallery-modal .modal-body {
        padding: 56px 16px 20px;
    }

    .gallery-modal-image {
        max-height: 72vh;
    }

    .gallery-modal-nav {
        width: 44px;
        height: 44px;
        font-size: 1.7rem;
    }

    .gallery-modal-nav.prev {
        left: 8px;
    }

    .gallery-modal-nav.next {
        right: 8px;
    }
}
