/* MAIN WRAPPER (2 column layout) */
.cv-all-wrap {
    display: flex;
    flex-direction: row;
    gap: 40px;
    max-width: 1240px;
    margin: 50px auto;
    padding: 0 15px;
    align-items: flex-start;
}

/* LEFT AREA */
.cv-all-main {
    flex: 1;
    min-width: 0;
}

/* VAN TITLE */
.cv-all-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* GALLERY */
.cv-all-gallery img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* CONTENT */
.cv-all-content {
    margin-top: 20px;
    line-height: 1.7;
}

/* SECTION BLOCKS */
.cv-all-section {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

/* SIDEBAR */
.cv-all-sidebar {
    width: 360px;
    min-width: 360px;
    position: relative;
}

/* SIDEBAR CARD */
.cv-card {
    background: #fff;
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    position: sticky;
    top: 30px;
}

/* PRICE ROW */
.cv-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.cv-old {
    text-decoration: line-through;
    color: #aaa;
    font-size: 14px;
}

.cv-price {
    font-size: 24px;
    font-weight: 700;
}

.cv-per {
    font-size: 14px;
    color: #666;
    margin-left: 5px;
}

/* FORM */
.cv-label {
    display: block;
    font-weight: 600;
    margin-top: 12px;
}

.cv-input {
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
}

/* DIFFERENT RETURN */
.cv-different {
    margin-top: 10px;
}

.cv-different .cv-link {
    display: inline-block;
    padding: 5px 0;
    font-weight: 600;
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
}

.cv-dates {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.cv-date-col {
    flex: 1;
}

/* AVAILABILITY WARNING */
.cv-availability {
    margin-top: 10px;
    color: #d80000;
    font-weight: 600;
}

/* BUTTON */
.cv-actions {
    margin-top: 18px;
}

.cv-btn {
    width: 100%;
    padding: 14px 12px;
    background: #ff5a1f;
    border: none;
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s ease;
}

.cv-btn:hover {
    background: #ff3f00;
}

/* RESPONSIVE FIX */
@media(max-width: 992px) {
    .cv-all-wrap {
        flex-direction: column;
    }

    .cv-all-sidebar {
        width: 100%;
        min-width: 0;
    }

    .cv-card {
        position: static;
        top: 0;
    }
}

/* OVERRIDE THEME CONTAINERS ONLY ON THIS PAGE */
.single-campervan .container,
.single-campervan .row,
.single-campervan .col-lg-12,
.single-campervan .col-lg-8,
.single-campervan .col-lg-4 {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Make sidebar sticky like SiestaCampers */
.cv-all-sidebar {
    position: sticky !important;
    top: 40px !important;
    height: auto;
    align-self: flex-start;
    z-index: 999;
}

/* Ensure parent allows sticky */
.cv-all-wrap {
    align-items: flex-start !important;
    overflow: visible !important;
}

/* Inner sticky card */
.cv-card {
    position: sticky !important;
    top: 40px !important;
}





/* FORCE focus even if overlay exists */
#cv-start-date,
#cv-end-date {
    pointer-events: auto !important;
    position: relative !important;
    z-index: 999999 !important;
}

/* REMOVE any overlay pseudo elements */
.cv-dates::before,
.cv-dates::after,
.cv-date-col::before,
.cv-date-col::after {
    content: none !important;
    display: none !important;
}






/* Booked dates cross style */
.flatpickr-day.cv-booked-day {
    position: relative;
    background: #f5f5f5 !important;
    color: #999 !important;
    cursor: not-allowed !important;
}

.flatpickr-day.cv-booked-day::after {
    content: "✕";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #d9534f;
    font-size: 16px;
    font-weight: bold;
    pointer-events: none;
}