/* ==========================================================================
   OPTIMAL MR — VEHICLE OFFER PAGE CUSTOM STYLES (OFERTA CSS)
   ========================================================================== */

/* Subpage Hero Header */
.oferta-hero {
    max-width: var(--global-width);
    margin: 140px auto 30px auto;
    background-color: #E6F5F6;
    border-radius: 12px;
    padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 48px);
    box-shadow: 0 10px 30px rgba(9, 13, 22, 0.01);
}

.oferta-hero-sub {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--brand-red);
    margin-bottom: 12px;
}

.oferta-hero h1 {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--color-main);
    margin-bottom: 12px;
}

.oferta-hero-lead {
    font-size: clamp(13px, 1.6vw, 16px);
    color: var(--color-muted);
    max-width: 600px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .oferta-hero {
        margin: 115px auto 20px auto;
        border-radius: 10px;
    }

    .oferta-hero h1 {
        font-size: clamp(22px, 7vw, 32px);
    }
}

@media (max-width: 480px) {
    .oferta-hero {
        border-radius: 10px;
        margin: 100px auto 16px auto;
    }

    .oferta-hero h1 {
        font-size: clamp(20px, 8vw, 28px);
    }

    .oferta-hero-lead {
        font-size: 0.85rem;
    }
}


/* Page Layout Wrapper */
.oferta-layout-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 30px;
    margin-bottom: 80px;
    align-items: start;
}

/* Sidebar Filters Column */
.oferta-sidebar {
    background-color: #F5F7F8;
    border-radius: 12px;
    padding: 30px;
    position: sticky;
    top: 100px;
    z-index: 90;
    border: 1px solid rgba(0, 0, 0, 0.015);
}

.sidebar-header-mobile {
    display: none;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(9, 13, 22, 0.06);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.sidebar-header-mobile h3 {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.btn-close-filters {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-muted);
    line-height: 1;
    padding: 0;
}

.filters-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Individual Filter Boxes */
.filter-box {
    border-bottom: 1px solid rgba(9, 13, 22, 0.06);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.filter-box:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 10px;
}

.filter-title {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-main);
    margin-bottom: 16px;
}

.filter-sub-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-muted);
    margin-bottom: 4px;
    margin-top: 0;
}

/* Date input fields */
.filter-dates-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.date-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.date-field label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-muted);
}

.filter-date-input {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-main);
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.filter-date-input:focus {
    border-color: var(--color-main);
}

.filter-days-info {
    margin-top: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-muted);
    text-align: right;
}

#oferta-days-count {
    color: var(--brand-red);
    font-weight: 800;
}

/* Custom Checkboxes and Radios */
.filter-options-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-checkbox, .custom-radio {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-muted);
    user-select: none;
    transition: color 0.2s ease;
}

.custom-checkbox:hover, .custom-radio:hover {
    color: var(--color-main);
}

.custom-checkbox input, .custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-mark, .radio-mark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: #ffffff;
    border: 1px solid var(--border-medium);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Checkbox specific styles */
.checkbox-mark {
    border-radius: 4px;
}

.custom-checkbox input:checked ~ .checkbox-mark {
    background-color: var(--color-main);
    border-color: var(--color-main);
}

.checkbox-mark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkbox-mark::after {
    display: block;
}

/* Radio specific styles */
.radio-mark {
    border-radius: 50%;
}

.custom-radio input:checked ~ .radio-mark {
    border-color: var(--color-main);
    border-width: 5px; /* Creates inner dot look naturally */
}

/* Price Range Slider styling */
.range-slider-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.price-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #edf2f7;
    outline: none;
    margin: 10px 0;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-main);
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(9, 13, 22, 0.15);
    transition: background 0.15s ease;
}

.price-slider::-webkit-slider-thumb:hover {
    background: var(--brand-red);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-muted);
}

#price-limit-display {
    color: var(--color-main);
}

/* Reset buttons */
.btn-reset-filters {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    padding: 12px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-muted);
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 8px;
}

.btn-reset-filters:hover {
    border-color: var(--color-main);
    color: var(--color-main);
    background-color: #ffffff;
}

/* Grid Column Helper Topbar */
.grid-helper-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 4px 0;
}

.results-count-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-muted);
}

.results-count-text strong {
    color: var(--color-main);
}

.btn-mobile-filter-trigger {
    display: none;
    align-items: center;
    gap: 8px;
    background-color: var(--color-main);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-mobile-filter-trigger:hover {
    background-color: var(--brand-red);
}

/* Vehicles Grid */
.oferta-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    transition: opacity 0.25s ease;
}

/* Vehicle Card design */
.vehicle-offer-card {
    background-color: #F5F7F8;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.015);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s ease;
}

.vehicle-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(9, 13, 22, 0.04);
}

/* Badge overlay */
.offer-card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--color-main);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 30px;
    z-index: 10;
}

.offer-card-img-wrapper {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
    width: 100%;
}

.offer-car-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    margin: 0 auto;
}

.vehicle-offer-card:hover .offer-car-img {
    transform: scale(1.03);
}

/* Details & Typography */
.offer-card-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.offer-car-cat {
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-red);
    margin-bottom: 6px;
}

.offer-card-details h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 850;
    letter-spacing: -0.02em;
    color: var(--color-main);
    margin-bottom: 16px;
}

.offer-car-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
}

.offer-spec {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-main);
}

.spec-label {
    font-weight: 600;
    color: var(--color-muted);
}

/* Pricing Grid */
.offer-card-pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px dashed rgba(9, 13, 22, 0.1);
    padding-top: 16px;
    margin-top: auto;
    margin-bottom: 20px;
}

.pricing-label-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-per-day-meta {
    font-size: 0.78rem;
    color: var(--color-muted);
    font-weight: 600;
}

.base-p-val {
    color: var(--color-main);
    font-weight: 750;
}

.total-price-meta {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-muted);
    margin-top: 4px;
}

.pricing-value-col {
    text-align: right;
}

.total-price-value {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--color-main);
    letter-spacing: -0.02em;
    line-height: 1;
}

/* Action button */
.btn-offer-book {
    width: 100%;
    background-color: var(--color-main);
    color: #ffffff !important;
    text-align: center;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid var(--color-main);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-offer-book:hover {
    background-color: transparent;
    color: var(--color-main) !important;
}

/* Empty State Styles */
.oferta-no-results {
    width: 100%;
    background-color: #F5F7F8;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.015);
}

.oferta-no-results svg {
    color: var(--color-muted);
    opacity: 0.4;
    margin-bottom: 20px;
}

.oferta-no-results h3 {
    font-size: 1.3rem;
    font-weight: 850;
    margin-bottom: 8px;
    color: var(--color-main);
}

.oferta-no-results p {
    font-size: 0.9rem;
    color: var(--color-muted);
    max-width: 320px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-reset-filters-large {
    background-color: var(--color-main);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-reset-filters-large:hover {
    background-color: var(--brand-red);
}

/* ==========================================================================
   RESPONSIVENESS (OFERTA MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
    .oferta-layout-container {
        grid-template-columns: 240px 1fr;
        gap: 24px;
    }

    .oferta-vehicles-grid {
        gap: 20px;
    }
    
    .vehicle-offer-card {
        padding: 20px;
    }

    .offer-card-img-wrapper {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .oferta-layout-container {
        grid-template-columns: 1fr;
        margin-top: 10px;
    }

    .oferta-vehicles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .btn-mobile-filter-trigger {
        display: inline-flex;
    }

    .grid-helper-bar {
        background-color: #F5F7F8;
        padding: 12px 20px;
        border-radius: 10px;
        margin-bottom: 20px;
        border: 1px solid rgba(0, 0, 0, 0.015);
    }

    /* COLLAPSIBLE SIDEBAR DRAWER ON MOBILE — FULLSCREEN */
    .oferta-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        background-color: #ffffff;
        z-index: 10001;
        overflow-y: auto;
        border-radius: 0;
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 24px 20px;
        box-shadow: none;
    }

    .oferta-sidebar.open {
        transform: translateX(0);
    }

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

    /* Backdrop — bez blura, kliknięcie zamyka filtry */
    .sidebar-backdrop {
        display: none;
    }
}

/* Details Button (Replacing Book button on card default state) */
.btn-offer-details {
    width: 100%;
    background-color: var(--color-main);
    color: #ffffff;
    text-align: center;
    padding: 12px 20px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid var(--color-main);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-offer-details:hover {
    background-color: transparent;
    color: var(--color-main);
}

/* Detailed Specs Panel on Offer Page (Always visible) */
.card-specs-panel-offer {
    border-top: 1px dashed rgba(9, 13, 22, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.card-specs-panel-offer .specs-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-muted);
    margin-bottom: 12px;
    text-align: left;
}

.card-specs-panel-offer .specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.card-specs-panel-offer .spec-chip {
    background-color: rgba(0, 0, 0, 0.035);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3.5px;
    text-align: left;
}

.card-specs-panel-offer .spec-chip-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-muted);
    line-height: 1;
}

.card-specs-panel-offer .spec-chip-value {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-main);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.card-specs-panel-offer .specs-equip-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-muted);
    margin-bottom: 8px;
    text-align: left;
}

.card-specs-panel-offer .specs-equip-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.card-specs-panel-offer .equip-tag {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.035);
    color: var(--color-main);
    white-space: nowrap;
}

.card-specs-panel-offer .btn-offer-details {
    width: 100%;
    margin-top: 10px;
    display: block;
    text-decoration: none;
}

/* ==========================================================================
   VEHICLE DETAILS PAGE CUSTOM STYLES (POJAZD DETAILS)
   ========================================================================== */
.btn-back-oferta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-size: 0.88rem;
    font-weight: 750;
    color: var(--color-muted);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
    margin-bottom: 24px;
}

.btn-back-oferta:hover {
    color: var(--brand-red);
}

#pojazd-details-page {
    background-color: var(--bg-main);
}

.pojazd-details-main {
    max-width: var(--global-width);
    margin: 110px auto 60px auto;
    padding: 0 24px;
}

/* Header bar styling */
.pojazd-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.pojazd-header-bar .header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pojazd-header-bar h1 {
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 850;
    color: var(--color-main);
    letter-spacing: -0.02em;
}

.pojazd-header-actions {
    display: flex;
    gap: 12px;
}

/* Action Icon Buttons styled exactly 1:1 like site elements */
.btn-back-circle,
.btn-action-circle {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: #ffffff;
    border: 1px solid var(--border-medium);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-main);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-back-circle:hover,
.btn-action-circle:hover {
    background-color: var(--color-main);
    color: #ffffff;
    border-color: var(--color-main);
}

.favorite-btn:hover {
    background-color: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
}

/* Details columns grid */
.pojazd-details-layout {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 32px;
    align-items: start;
}

.pojazd-left-col,
.pojazd-right-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Premium Cards matching 1:1 with .vehicle-offer-card */
.card-premium {
    background-color: #F5F7F8;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.015);
    position: relative;
    overflow: hidden;
}

/* Main Car Card details */
.pojazd-main-card {
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pojazd-card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.pojazd-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-chip {
    background-color: #ffffff;
    border: 1px solid rgba(9, 13, 22, 0.06);
    border-radius: 8px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-main);
}

.meta-chip .chip-icon {
    font-size: 0.85rem;
    line-height: 1;
}

.pojazd-gallery-controls {
    display: flex;
    gap: 8px;
}

.gallery-ctrl-btn {
    background-color: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 750;
    color: var(--color-main);
    transition: all 0.25s ease;
}

.gallery-ctrl-btn:hover {
    background-color: #F5F7F8;
    border-color: var(--color-main);
}

.pojazd-gallery-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 440px;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 12px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

.slider-slide img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.04));
    transition: transform 0.3s ease;
}

.slider-slide:hover img {
    transform: scale(1.02);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-medium);
    color: var(--color-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(9, 13, 22, 0.05);
}

.slider-arrow:hover {
    background-color: var(--color-main);
    color: #ffffff;
    border-color: var(--color-main);
    box-shadow: 0 6px 16px rgba(9, 13, 22, 0.12);
}

.slider-arrow.arrow-left {
    left: 16px;
}

.slider-arrow.arrow-right {
    right: 16px;
}

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(9, 13, 22, 0.18);
    cursor: pointer;
    transition: all 0.25s ease;
}

.slider-dot.active {
    width: 20px;
    border-radius: 4px;
    background-color: var(--color-main);
}

.pojazd-price-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.pojazd-price-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background-color: transparent;
    padding: 4px;
}

.pojazd-price-badge .original-price {
    font-size: 0.88rem;
    color: var(--color-muted);
    text-decoration: line-through;
    font-weight: 700;
    margin-bottom: 2px;
}

.pojazd-price-badge .current-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pojazd-price-badge .current-price {
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--color-main);
    letter-spacing: -0.03em;
    line-height: 1;
}

.pojazd-price-badge .price-unit {
    font-size: 0.85rem;
    color: var(--color-muted);
    font-weight: 750;
}

/* Features Card specs and divider */
.pojazd-features-card h3 {
    font-size: 1.38rem;
    font-weight: 850;
    color: var(--color-main);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.pojazd-features-card .pojazd-cat-meta {
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--brand-red);
    margin-bottom: 8px;
    display: block;
}

.pojazd-features-card .pojazd-desc-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-muted);
    margin-bottom: 10px;
}

.card-divider {
    border: 0;
    border-top: 1px dashed rgba(9, 13, 22, 0.1);
    margin: 24px 0;
}

.pojazd-features-card h4 {
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-muted);
    margin-bottom: 20px;
}

/* Premium Specs Grid with white chips inside grey card */
.specs-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.specs-grid-premium .spec-chip {
    background-color: #ffffff;
    border: 1px solid rgba(9, 13, 22, 0.05);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.specs-grid-premium .spec-chip-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-muted);
}

.specs-grid-premium .spec-chip-value {
    font-size: 0.95rem;
    font-weight: 850;
    color: var(--color-main);
}

/* Equipment responsive columns list */
.features-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.feature-col h5 {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-main);
    margin-bottom: 14px;
}

.feature-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-col li {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-muted);
    position: relative;
    padding-left: 20px;
    line-height: 1.4;
}

.feature-col li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--brand-red);
}

/* Trip Selector Form Card */
.pojazd-trip-card h3,
.pojazd-price-details-card h3 {
    font-size: 1.25rem;
    font-weight: 850;
    color: var(--color-main);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.trip-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
    width: 100%;
}

.trip-field label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-muted);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper .input-icon {
    position: absolute;
    left: 16px;
    color: var(--color-muted);
    pointer-events: none;
    opacity: 0.7;
}

.input-wrapper .select-arrow-icon {
    position: absolute;
    right: 16px;
    color: var(--color-muted);
    pointer-events: none;
    opacity: 0.7;
}

/* Premium Inputs styled exactly 1:1 like .filter-date-input */
.premium-input,
.premium-select {
    width: 100%;
    padding: 10px 14px 10px 42px;
    border-radius: 8px;
    border: 1px solid var(--border-medium);
    background-color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-main);
    transition: all 0.2s ease;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.premium-select {
    padding-right: 40px;
}

.premium-input:focus,
.premium-select:focus {
    border-color: var(--color-main);
    background-color: #ffffff;
}

.trip-row-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Date / Time Picker Input Customizations */
.premium-input[type="date"]::-webkit-calendar-picker-indicator,
.premium-input[type="time"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

/* Price Details Summary Card */
.booking-price-summary-premium {
    background-color: #ffffff;
    border: 1px solid rgba(9, 13, 22, 0.08);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.price-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: var(--color-muted);
    font-weight: 700;
    margin-bottom: 6px;
}

.price-row-item span:last-child {
    font-weight: 800;
    color: var(--color-main);
}

.price-multiplier-label {
    font-size: 0.72rem;
    color: var(--color-muted);
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: -2px;
}

.discount-row span:last-child {
    color: #10B981 !important; /* Premium Green */
}

.delivery-row {
    border-top: 1px dashed rgba(9, 13, 22, 0.08);
    padding-top: 14px;
    margin-top: 14px;
    margin-bottom: 0;
}

.total-row-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(9, 13, 22, 0.1);
    padding-top: 18px;
    margin-top: 18px;
}

.total-row-premium span:first-child {
    font-size: 0.95rem;
    font-weight: 850;
    color: var(--color-main);
}

.total-row-premium .total-p-val {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-main);
    letter-spacing: -0.03em;
}

/* Primary booking button styled exactly 1:1 like homepage / fleet page primary buttons */
.btn-offer-book-premium {
    display: block;
    width: 100%;
    background-color: var(--color-main);
    color: #ffffff !important;
    text-align: center;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 750;
    border: 1px solid var(--color-main);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-offer-book-premium:hover {
    background-color: transparent;
    color: var(--color-main) !important;
}

/* Custom Dropdown Styling */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.dropdown-trigger .selected-text {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 12px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 6px;
    background-color: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(9, 13, 22, 0.08);
    z-index: 100;
    display: none;
    max-height: 240px;
    overflow-y: auto;
}

.dropdown-menu.show {
    display: block;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-item {
    padding: 12px 16px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-main);
    cursor: pointer;
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background-color: #F5F7F8;
    color: var(--color-main);
}

.dropdown-item.active {
    background-color: var(--color-main);
    color: #ffffff !important;
}

.custom-dropdown .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-muted);
    pointer-events: none;
    opacity: 0.7;
    z-index: 2;
}

.custom-dropdown .select-arrow-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-muted);
    pointer-events: none;
    opacity: 0.7;
    z-index: 2;
    transition: transform 0.25s ease;
}

.custom-dropdown.open .select-arrow-icon {
    transform: translateY(-50%) rotate(180deg);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Other Offers Section Styling */
.other-offers-sec {
    background-color: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 80px 0;
}

.other-offers-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 24px;
}

.other-offers-title-col {
    flex: 1.2;
}

.other-offers-title-col h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 850;
    letter-spacing: -0.03em;
    color: var(--color-main);
}

.other-offers-title-col h2 span {
    font-weight: 400;
    color: var(--color-muted);
}

.other-offers-tabs {
    display: flex;
    gap: 8px;
    background-color: #F5F7F8;
    padding: 6px;
    border-radius: 10px;
}

.tab-filter-btn {
    background: none;
    border: none;
    padding: 8px 18px;
    font-size: 0.82rem;
    font-weight: 750;
    color: var(--color-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-filter-btn:hover {
    color: var(--color-main);
}

.tab-filter-btn.active {
    background-color: var(--color-main);
    color: #ffffff;
}

.other-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Equipment Red Checkmarks */
.feature-col h5 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-main);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(9, 13, 22, 0.06);
}

.feature-col li {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-muted);
    position: relative;
    padding-left: 24px;
    line-height: 1.5;
}

.feature-col li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E44C53' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    border-radius: 0;
}

/* Responsiveness adjustments */
@media (max-width: 1200px) {
    .other-offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 990px) {
    .pojazd-details-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 820px) {
    .features-columns {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .other-offers-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .other-offers-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .features-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pojazd-header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .pojazd-header-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .pojazd-main-card {
        padding: 20px;
    }
    
    .pojazd-gallery-slider {
        height: 240px;
        margin: 16px auto;
    }
    
    .slider-slide img {
        max-height: 200px;
    }
    
    .slider-arrow {
        width: 32px;
        height: 32px;
    }
    
    .slider-arrow.arrow-left {
        left: 8px;
    }
    
    .slider-arrow.arrow-right {
        right: 8px;
    }
}

.pojazd-trip-card {
    position: relative;
    z-index: 10;
    overflow: visible !important;
}

.pojazd-price-details-card {
    position: relative;
    z-index: 5;
}

.custom-dropdown.open {
    z-index: 150;
}

/* Custom Calendar Modal Styles */
.calendar-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(9, 13, 22, 0.4);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.calendar-modal-overlay.show {
    display: flex;
    animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.calendar-modal-content {
    background-color: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(9, 13, 22, 0.18);
    width: 100%;
    max-width: 580px;
    padding: 40px;
    box-sizing: border-box;
}

.calendar-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.calendar-modal-header h3 {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 850;
    color: var(--color-main);
    text-transform: capitalize;
}

.calendar-nav-buttons {
    display: flex;
    gap: 8px;
}

.btn-cal-nav {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--border-medium);
    background-color: #ffffff;
    color: var(--color-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-cal-nav:hover {
    background-color: #F5F7F8;
    border-color: var(--color-main);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.95rem;
    font-weight: 850;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 20px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 28px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 750;
    border-radius: 10px;
    color: var(--color-main);
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

/* Empty day placeholder */
.calendar-day.empty {
    cursor: default;
}

/* Available day */
.calendar-day.available {
    background-color: #f2fbf4;
    border: 1px solid #d4f2dc;
    color: #1e4620;
}

.calendar-day.available:hover {
    background-color: #e3f8e9;
    border-color: #bbf0cb;
}

/* Busy day */
.calendar-day.busy {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    color: #ef4444;
    opacity: 0.55;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Day selected states */
.calendar-day.selected-start,
.calendar-day.selected-end {
    background-color: var(--color-main) !important;
    border-color: var(--color-main) !important;
    color: #ffffff !important;
}

.calendar-day.selected-range {
    background-color: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
}

/* Prev/Next Month out-of-bounds days */
.calendar-day.sibling-month {
    opacity: 0.25;
}

/* Today marker */
.calendar-day.today::after {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: currentColor;
}

/* Legend styling */
.calendar-legend {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-medium);
    padding-top: 20px;
    margin-bottom: 24px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.available {
    background-color: #bbf0cb;
    border: 1px solid #84e1a2;
}

.legend-dot.busy {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
}

.legend-dot.selected {
    background-color: var(--color-main);
}

.legend-text {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-muted);
}

/* Actions styling */
.calendar-modal-actions {
    display: flex;
    gap: 16px;
}

.btn-cal-action {
    flex: 1;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-cal-action.cancel {
    background-color: #ffffff;
    border-color: var(--border-medium);
    color: var(--color-main);
}

.btn-cal-action.cancel:hover {
    background-color: #F5F7F8;
}

.btn-cal-action.confirm {
    background-color: var(--color-main);
    color: #ffffff;
}

.btn-cal-action.confirm:hover:not(:disabled) {
    opacity: 0.9;
}

.btn-cal-action.confirm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* ==========================================================================
   Checkout Modal Styling
   ========================================================================== */
.checkout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(9, 13, 22, 0.4);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.checkout-modal-overlay.show {
    display: flex;
    animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-modal-content {
    background-color: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(9, 13, 22, 0.18);
    width: 100%;
    max-width: 680px;
    padding: 40px;
    box-sizing: border-box;
    position: relative;
}

.checkout-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--color-muted);
    cursor: pointer;
    transition: color 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.checkout-close-btn:hover {
    color: var(--color-main);
}

/* Steps Header Tracker */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    position: relative;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    z-index: 2;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid var(--border-medium);
    color: var(--color-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 800;
    transition: all 0.25s ease;
}

.step-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-muted);
    transition: all 0.25s ease;
}

.step-indicator.active .step-number {
    background-color: var(--color-main);
    border-color: var(--color-main);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(9, 13, 22, 0.1);
}

.step-indicator.active .step-label {
    color: var(--color-main);
}

.step-indicator.completed .step-number {
    background-color: #22c55e;
    border-color: #22c55e;
    color: #ffffff;
}

.step-indicator.completed .step-label {
    color: #22c55e;
}

.step-connector {
    flex-grow: 1;
    height: 2px;
    background-color: var(--border-medium);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.step-connector.completed {
    background-color: #22c55e;
}

/* Step Panels */
.checkout-step-panel {
    display: none;
}

.checkout-step-panel.active {
    display: block;
    animation: dropdownFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-step-title {
    font-size: 1.4rem;
    font-weight: 850;
    color: var(--color-main);
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
}

.checkout-step-desc {
    font-size: 0.88rem;
    color: var(--color-muted);
    margin: 0 0 24px 0;
    line-height: 1.5;
}

/* Forms */
.checkout-subform {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.checkout-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkout-group.full-width {
    grid-column: span 2;
}

.checkout-group label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-muted);
}

.checkout-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-main);
    background-color: #ffffff;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.checkout-group input:focus {
    border-color: var(--color-main);
    outline: none;
    box-shadow: 0 0 0 3px rgba(9, 13, 22, 0.05);
}

/* Extras checkbox cards */
.checkout-extras-section {
    margin-top: 24px;
    border-top: 1px solid var(--border-medium);
    padding-top: 24px;
}

.checkout-extras-section h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-main);
    margin: 0 0 16px 0;
}

.checkout-extras-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.extra-card-option {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid var(--border-medium);
    border-radius: 12px;
    background-color: #F8FAFC;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.extra-card-option:hover {
    border-color: var(--color-main);
    background-color: #ffffff;
}

.extra-checkbox {
    display: none;
}

.extra-custom-box {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-medium);
    border-radius: 6px;
    margin-right: 16px;
    position: relative;
    background-color: #ffffff;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.extra-checkbox:checked + .extra-custom-box {
    background-color: var(--color-main);
    border-color: var(--color-main);
}

.extra-checkbox:checked + .extra-custom-box::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.extra-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.extra-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--color-main);
}

.extra-desc {
    font-size: 0.76rem;
    color: var(--color-muted);
}

.extra-price {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--color-main);
    margin-left: 12px;
}

.extra-card-option:has(.extra-checkbox:checked) {
    border-color: var(--color-main);
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(9, 13, 22, 0.03);
}

.checkout-consent-row {
    margin-top: 16px;
}

.checkout-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkout-consent-label input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--color-main);
}

.checkout-consent-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-main);
    line-height: 1.4;
}

/* Summary Panel */
.checkout-summary-box {
    background-color: #F8FAFC;
    border: 1px solid var(--border-medium);
    border-radius: 12px;
    padding: 24px;
}

.summary-car-card {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border-medium);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.summary-car-img {
    width: 90px;
    height: auto;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 4px;
    border: 1px solid var(--border-medium);
}

.summary-car-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.summary-car-cat {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-muted);
}

.summary-car-name {
    font-size: 1.15rem;
    font-weight: 850;
    color: var(--color-main);
    margin: 0;
}

.summary-trip-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.summary-trip-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.summary-trip-col strong {
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
    color: var(--color-muted);
}

.summary-pick-date, .summary-drop-date {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-main);
}

.summary-pick-time-loc, .summary-drop-time-loc {
    font-size: 0.76rem;
    color: var(--color-muted);
}

.summary-trip-divider-arrow {
    font-size: 1.2rem;
    color: var(--color-muted);
    padding: 0 16px;
}

.summary-pricing-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-pricing-table h5 {
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
    color: var(--color-muted);
    margin: 0 0 4px 0;
    border-bottom: 1px solid var(--border-medium);
    padding-bottom: 8px;
}

.pricing-table-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-main);
}

.pricing-table-row.discount-row {
    color: #ef4444;
}

.pricing-table-row.total-row {
    font-size: 1.15rem;
    border-top: 1px solid var(--border-medium);
    padding-top: 12px;
    margin-top: 4px;
    color: var(--color-main);
}

.pricing-table-row.total-row strong {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--brand-red);
}

/* Payment Panel */
.payment-method-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.payment-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--border-medium);
    background-color: #ffffff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-tab:hover {
    border-color: var(--color-main);
    background-color: #F8FAFC;
}

.payment-tab.active {
    background-color: var(--color-main);
    border-color: var(--color-main);
    color: #ffffff;
}

.payment-icon {
    font-size: 1.5rem;
}

.payment-tab.active .payment-icon {
    transform: scale(1.1);
}

.payment-tab strong {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.payment-fields-container {
    border: 1px solid var(--border-medium);
    border-radius: 12px;
    padding: 24px;
    background-color: #F8FAFC;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.payment-field-group {
    display: none;
    width: 100%;
}

.payment-field-group.active {
    display: block;
    animation: dropdownFadeIn 0.25s ease;
}

.pay-input-style {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 750;
    color: var(--color-main);
    background-color: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}

.pay-input-style:focus {
    border-color: var(--color-main);
    outline: none;
}

.blik-input-wrapper {
    max-width: 280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.blik-input-wrapper label {
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
    color: var(--color-muted);
}

.blik-input-wrapper input {
    letter-spacing: 0.5em;
    text-align: center;
    font-size: 1.5rem;
    font-family: monospace;
    font-weight: 800;
}

.payment-help-text {
    font-size: 0.72rem;
    color: var(--color-muted);
    line-height: 1.4;
}

.card-form-inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.bank-logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
}

.bank-logo-card {
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    background-color: #ffffff;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--color-main);
    transition: all 0.15s ease;
    user-select: none;
}

.bank-logo-card:hover {
    border-color: var(--color-main);
}

.bank-logo-card.active {
    border-color: var(--color-main);
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(9, 13, 22, 0.05);
    outline: 2px solid var(--color-main);
}

/* Spinner Loader */
.payment-processing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 50;
    text-align: center;
    padding: 20px;
}

.payment-processing-overlay.show {
    display: flex;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-medium);
    border-top-color: var(--brand-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Screen */
.success-screen-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 0;
}

.success-checkmark-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #f0fdf4;
    border: 2px solid #bbf7d0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.success-checkmark-draw {
    width: 14px;
    height: 28px;
    border: solid #22c55e;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
    margin-bottom: 6px;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 850;
    color: var(--color-main);
    margin: 0 0 8px 0;
}

.success-desc {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.5;
    margin: 0 0 24px 0;
    max-width: 440px;
}

.success-booking-ref-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 12px;
    padding: 16px 32px;
    color: #ffffff;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.ref-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

.ref-code {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 2px;
    font-family: monospace;
}

.success-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    text-align: left;
}

.success-info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.success-info-item .item-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.success-info-item .item-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-main);
    line-height: 1.4;
}

/* Responsiveness for checkout modal */
@media (max-width: 768px) {
    .checkout-modal-content {
        padding: 32px 20px;
    }
    
    .checkout-form-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-group.full-width {
        grid-column: span 1;
    }
    
    .summary-trip-details {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .summary-trip-divider-arrow {
        transform: rotate(90deg);
        align-self: center;
        padding: 4px 0;
    }
    
    .payment-tab {
        padding: 10px;
    }
    
    .card-form-inputs {
        grid-template-columns: 1fr;
    }
    
    .bank-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Scrollable filters container */
.filter-options-scrollable {
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 8px;
    margin-right: -4px;
}

.filter-options-scrollable::-webkit-scrollbar {
    width: 5px;
}

.filter-options-scrollable::-webkit-scrollbar-track {
    background: transparent;
}

.filter-options-scrollable::-webkit-scrollbar-thumb {
    background: rgba(9, 13, 22, 0.15);
    border-radius: 3px;
}

.filter-options-scrollable::-webkit-scrollbar-thumb:hover {
    background: rgba(9, 13, 22, 0.3);
}

/* Equipment categories and item lists in sidebar */
.filter-equip-cat-name {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-main);
    margin-top: 14px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.filter-equip-group:first-of-type .filter-equip-cat-name {
    margin-top: 0;
}

.filter-equip-item {
    margin-left: 8px !important;
    font-weight: 500 !important;
    font-size: 0.82rem !important;
}

@media (max-width: 768px) {
    .pojazd-gallery-slider {
        height: 280px !important;
    }
    .pojazd-main-card {
        min-height: auto !important;
    }
    .slider-slide img {
        max-height: 240px !important;
    }
}

/* Visual styling for occupied vehicle cards */
.vehicle-offer-card.is-occupied {
    opacity: 0.65;
    position: relative;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.vehicle-offer-card.is-occupied::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    z-index: 5;
    pointer-events: none;
}

.vehicle-offer-card.is-occupied .btn-offer-details {
    background-color: var(--color-muted) !important;
    border-color: var(--color-muted) !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Occupied badge */
.vehicle-offer-card .offer-card-occupied-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #d9534f;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 30px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}



