/*
     * AKTYWNA PALETA: ciemny + brąz
     *   #d49f58 – akcent (złoty/brąz)
     *   #0d2038 – hover (ciemny granat)
     *   #bdc1c3 – jasne tło/border
     *   #000000 – tekst
     *   #b9c1cc – secondary/border
     *
     * ZAKOMENTOWANA PALETA (niebieski/beż):
     *   #5B84A6 – akcent (niebieski)
     *   #4a7192 – hover (ciemny niebieski)
     *   #DCE8F2 – jasne tło/border
     *   #2f2f2f – tekst
     *   #E7D9C9 – secondary/border (beż)
     */

    .pase-single {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }
    @media (max-width: 991px) {
        .pase-single { 
            flex-direction: column;
            gap: 30px;
        }
    }
    
    /* Galeria (CENTER + PEEK + FULL WIDTH + INFINITE) */
    .pase-single-gallery {
        flex: 0 0 100%;
        width: 100%;
        position: relative;
        overflow: visible;

        /* full-bleed na całą szerokość okna */
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .pase-gallery-container {
        position: relative;
        width: 100%;
        overflow: visible;
        max-height: none;
    }

    .pase-gallery-viewport {
        width: 100%;
        overflow: hidden;
        /* oddech po bokach + "peek" kolejnych zdjęć */
        padding: 0 clamp(14px, 4.5vw, 56px);
    }

    .pase-gallery-track {
        display: flex;
        gap: clamp(12px, 1.6vw, 20px);
        transition: transform 0.55s cubic-bezier(.2,.8,.2,1);
        will-change: transform;
        align-items: stretch;
    }

    .pase-gallery-slide {
        flex: 0 0 auto;
        width: min(860px, 78vw);     /* kontrola wielkości (desktop) */
        aspect-ratio: 16 / 10;
        overflow: hidden;
        background: #f2f2f2;
        box-shadow: 0 12px 34px rgba(0,0,0,0.14);
        transform: translateZ(0);
    }

    @media (max-width: 991px) {
        .pase-gallery-slide {
            width: 88vw;              /* kontrola wielkości (mobile) */
            aspect-ratio: 4 / 3;
        }
    }

    .pase-gallery-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Strzałki */
    .pase-gallery-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.95);
        border: none;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
        z-index: 10;
        box-shadow: 0 10px 24px rgba(0,0,0,0.18);
        padding: 0;
        font-size: 0;
        line-height: 0;
    }

    .pase-gallery-nav:hover {
        transform: translateY(-50%) scale(1.03);
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 14px 30px rgba(0,0,0,0.22);
    }

    .pase-gallery-nav:disabled {
        opacity: 0.3;
        cursor: not-allowed;
        pointer-events: none;
    }

    .pase-gallery-nav:disabled:hover {
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    }

    .pase-gallery-nav.prev { left: clamp(10px, 2.5vw, 28px); }
    .pase-gallery-nav.next { right: clamp(10px, 2.5vw, 28px); }

    .pase-gallery-nav::before {
        content: '';
        width: 0;
        height: 0;
        border-style: solid;
        display: block;
    }

    .pase-gallery-nav.prev::before {
        border-width: 8px 12px 8px 0;
        border-color: transparent #0d2038 transparent transparent;
    }

    .pase-gallery-nav.next::before {
        border-width: 8px 0 8px 12px;
        border-color: transparent transparent transparent #0d2038;
    }

    
    @media (max-width: 991px) {
        .pase-single-info {
            flex: 1 1 100%;
            width: 100%;
        }
    }
    
    .pase-single h1 {
        font-family: "Playfair Display", serif;
        font-size: 2.5rem;
        font-weight: 500;
        line-height: 1.2;
        color: #ffffff;
        margin: 0;
    }
    
    @media (max-width: 991px) {
        .pase-single h1 {
            font-size: 2rem;
        }
    }
    
    .pase-single-info .pase-icons-row {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px 14px;
        padding-block: 20px;
        margin-bottom: 8px;
    }
    @media (max-width: 575px) {
        .pase-single-info .pase-icons-row {
            flex-wrap: wrap;
            row-gap: 8px;
        }
    }
    .pase-single-info .pase-icon-item {
        color: #ffffff;
    }
    .pase-single-info .pase-icon-item svg {
        color: #d49f58;
    }
    .pase-single-info .pase-icon-no-parking svg {
        color: #b9c1cc;
    }
    .pase-single-info .pase-icon-label {
        color: #ffffff;
    }
    .pase-single-info .pase-icon-no-parking .pase-icon-label {
        color: #b9c1cc;
    }
    
    .pase-single .price {
        font-family: "Montserrat", sans-serif;
        font-size: 1.5rem;
        font-weight: 600;
        color: #ffffff;
        margin: 0;
    }
    
    .pase-single .desc {
        font-family: "Montserrat", sans-serif;
        font-size: 1.063rem;
        line-height: 1.6;
        color: #bdc1c3;
        margin: 0;
    }
    
    .pase-single .facilities {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px 24px;
        font-family: "Montserrat", sans-serif;
        font-size: 1.063rem;
        color: #ffffff;
        list-style: none;
        padding: 0;
        margin: 0 0 18px;
    }

    .pase-single .facilities-room-title {
        font-family: "Montserrat", sans-serif;
        font-size: 1.0rem;
        font-weight: 600;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: #d49f58;
        margin: 18px 0 10px;
        padding-bottom: 6px;
        border-bottom: 1px solid rgba(212,159,88,.35);
    }
    .pase-single .facilities-room-title:first-child { margin-top: 0; }

    @media (max-width: 991px) {
        .pase-single .facilities {
            grid-template-columns: repeat(2, 1fr);
            gap: 10px 20px;
        }
    }
    
    @media (max-width: 575px) {
        .pase-single .facilities {
            grid-template-columns: 1fr;
            gap: 8px;
        }
    }
    
    .pase-single .facilities li,
    .pase-single .facilities .facility-item {
        position: relative;
        padding-left: 0;
        min-height: 1.5em;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .pase-single .facilities .facility-icon {
        flex-shrink: 0;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #d49f58;
    }
    
    .pase-single .facilities .facility-icon svg {
        width: 22px;
        height: 22px;
    }

.pase-async-spin{display:inline-block;width:1em;height:1em;vertical-align:-0.15em;
                border:2px solid rgba(212,159,88,.3);border-top-color:#d49f58;border-radius:50%;
                animation:pase-async-spin .7s linear infinite}
            @keyframes pase-async-spin{to{transform:rotate(360deg)}}

.pase-apt-location { margin: 28px 0 8px; }
                .pase-apt-location__title {
                    font-family: "Montserrat", sans-serif;
                    font-size: 1.15rem; font-weight: 600; letter-spacing: .04em;
                    text-transform: uppercase; color: #d49f58; margin: 0 0 12px;
                }
                .pase-apt-location__map {
                    width: 100%; height: 360px; border-radius: 12px;
                    overflow: hidden; z-index: 0;
                }
                @media (max-width: 575px) { .pase-apt-location__map { height: 280px; } }

.pase-dates-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 998;
    background: #122640;
    border-top: 2px solid #d49f58;
    padding: 11px 24px;
    box-shadow: 0 -4px 24px rgba(0,0,0,.4);
}
.pase-dates-bar__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: "Montserrat", sans-serif;
    flex-wrap: wrap;
}
.pase-dates-bar__icon {
    color: #d49f58;
    flex-shrink: 0;
}
.pase-dates-bar__label {
    color: #b9c1cc;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .3px;
    white-space: nowrap;
}
.pase-dates-bar__dates {
    color: #d49f58;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .4px;
    white-space: nowrap;
}
.pase-dates-bar__sep {
    color: #b9c1cc;
    font-weight: 400;
}
.pase-dates-bar__back {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #e8ecf0 !important;
    background: transparent;
    border: 1px solid rgba(212,159,88,.45);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
    text-decoration: none !important;
    transition: background .2s, border-color .2s, color .2s;
    white-space: nowrap;
}
.pase-dates-bar__back:hover {
    background: #d49f58;
    border-color: #d49f58;
    color: #fff !important;
}
/* Push pase-floating-book up so it doesn't overlap the bar */
body.has-dates-bar #pase-floating-book {
    bottom: calc(var(--pase-bar-h, 52px) + 20px) !important;
}
@media (max-width: 600px) {
    .pase-dates-bar { padding: 10px 14px; }
    .pase-dates-bar__dates { font-size: 13px; }
    .pase-dates-bar__back { margin-left: 0; width: 100%; justify-content: center; }
}

