/**
 * RBFW Redesign - Compact Professional Layout
 * Version: 9.0.0 - Portrait gallery, elegant neutral design
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --rbfw-primary: #2c2c2c;
    --rbfw-primary-hover: #1a1a1a;
    --rbfw-primary-light: #f5f5f5;
    --rbfw-primary-dark: #111111;
    --rbfw-accent: #8b7355;
    --rbfw-accent-light: #f7f3ee;
    --rbfw-success: #10b981;
    --rbfw-success-light: #d1fae5;
    --rbfw-warning: #f59e0b;
    --rbfw-warning-light: #fef3c7;
    --rbfw-white: #ffffff;
    --rbfw-gray-50: #f8fafc;
    --rbfw-gray-100: #f1f5f9;
    --rbfw-gray-200: #e2e8f0;
    --rbfw-gray-300: #cbd5e1;
    --rbfw-gray-400: #94a3b8;
    --rbfw-gray-500: #64748b;
    --rbfw-gray-600: #475569;
    --rbfw-gray-700: #334155;
    --rbfw-gray-800: #1e293b;
    --rbfw-gray-900: #0f172a;
    --rbfw-radius-sm: 4px;
    --rbfw-radius: 8px;
    --rbfw-radius-lg: 12px;
    --rbfw-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --rbfw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --rbfw-transition: all 0.2s ease;
    --rbfw-gallery-height: 560px;
}

/* ============================================
   BASE STYLES
   ============================================ */
.rbfw-redesign {
    color: var(--rbfw-gray-800);
    line-height: 1.4;
}

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

/* ============================================
   CONTAINER
   ============================================ */
.rbfw-redesign > .mpContainer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px;
}

/* ============================================
   HIDE SOCIAL SHARE / TOP HEADER
   ============================================ */
.rbfw-compact-header {
    display: none !important;
}

.rbfw-redesign .rbfw-sharing-icons,
.rbfw-redesign .rbfw-header-container,
.rbfw-redesign .rbfw-compact-header-share,
.rbfw-redesign .rbfw-product-meta {
    display: none !important;
}

/* ============================================
   MAIN LAYOUT - Gallery left, Booking right
   Form is narrow (320px), gallery gets rest
   ============================================ */
.rbfw-compact-main {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 16px;
    margin-bottom: 16px;
    align-items: start;
}

/* ============================================
   GALLERY CONTAINER - White bg to blend with page
   ============================================ */
.rbfw-compact-gallery {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 0;
}

.rbfw-compact-gallery .mpStyle {
    width: 100% !important;
    background: #fff !important;
}

/* ============================================
   SUPER SLIDER - Portrait gallery
   White background blends with page so no
   visible edges on sides of contained images
   ============================================ */
.rbfw-compact-gallery div.superSlider {
    overflow: hidden !important;
    display: flex !important;
    background: #fff !important;
    position: relative !important;
    height: var(--rbfw-gallery-height) !important;
    max-height: var(--rbfw-gallery-height) !important;
    border-radius: 0 !important;
}

.rbfw-compact-gallery div.superSlider > .dFlex {
    display: flex !important;
    width: 100% !important;
    height: var(--rbfw-gallery-height) !important;
    max-height: var(--rbfw-gallery-height) !important;
}

/* ============================================
   SLIDER SHOWCASE - Thumbnail Column
   ============================================ */
.rbfw-compact-gallery div.superSlider .sliderShowcase {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 4px !important;
    background: #fff !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    flex-shrink: 0 !important;
    height: var(--rbfw-gallery-height) !important;
    max-height: var(--rbfw-gallery-height) !important;
}

.rbfw-compact-gallery div.superSlider .sliderShowcase.left,
.rbfw-compact-gallery div.superSlider .sliderShowcase.right {
    width: 70px !important;
    min-width: 70px !important;
    flex-direction: column !important;
    margin: 0 !important;
}

.rbfw-compact-gallery div.superSlider .sliderShowcase.left {
    border-right: none !important;
}

.rbfw-compact-gallery div.superSlider .sliderShowcase.right {
    border-left: none !important;
}

/* Thumbnail items */
.rbfw-compact-gallery div.superSlider .sliderShowcaseItem {
    width: 62px !important;
    min-height: 82px !important;
    max-height: 82px !important;
    flex: 0 0 auto !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    transition: all 0.2s ease !important;
    opacity: 0.6;
}

.rbfw-compact-gallery div.superSlider .sliderShowcaseItem:hover {
    opacity: 0.9;
    border-color: var(--rbfw-accent) !important;
}

.rbfw-compact-gallery div.superSlider .sliderShowcaseItem > div[data-bg-image] {
    width: 100% !important;
    height: 100% !important;
    min-height: 82px !important;
    background-size: cover !important;
    background-position: center top !important;
}

/* Hide "more images" overlay */
.rbfw-compact-gallery div.superSlider .sliderMoreItem {
    display: none !important;
}

/* Scrollbar for thumbnails */
.rbfw-compact-gallery div.superSlider .sliderShowcase::-webkit-scrollbar {
    width: 2px;
}

.rbfw-compact-gallery div.superSlider .sliderShowcase::-webkit-scrollbar-thumb {
    background: var(--rbfw-gray-300);
    border-radius: 2px;
}

/* ============================================
   SLIDER ALL ITEM - Main Image Display
   Portrait-oriented, no background showing
   ============================================ */
.rbfw-compact-gallery div.superSlider .sliderAllItem {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: #fff !important;
    height: var(--rbfw-gallery-height) !important;
    max-height: var(--rbfw-gallery-height) !important;
    min-height: var(--rbfw-gallery-height) !important;
    width: 100% !important;
}

/* Individual slide items */
.rbfw-compact-gallery div.superSlider .sliderItem {
    position: relative !important;
    float: left !important;
    width: 100% !important;
    height: var(--rbfw-gallery-height) !important;
    min-height: var(--rbfw-gallery-height) !important;
    max-height: var(--rbfw-gallery-height) !important;
    margin-right: -100% !important;
    overflow: hidden !important;
    transform: translateX(100%);
    transition: transform 0.4s ease !important;
    backface-visibility: hidden !important;
}

.rbfw-compact-gallery div.superSlider .sliderItem.activeSlide {
    transform: translateX(0) !important;
    z-index: 1 !important;
}

.rbfw-compact-gallery div.superSlider .sliderItem.prevSlider {
    transform: translateX(-100%) !important;
    z-index: 0 !important;
}

.rbfw-compact-gallery div.superSlider .sliderItem.nextSlider {
    transform: translateX(100%) !important;
    z-index: 0 !important;
}

/* Background image - contain to show FULL image, no cropping */
.rbfw-compact-gallery div.superSlider .sliderItem > div[data-bg-image],
.rbfw-compact-gallery div.superSlider .sliderAllItem > .sliderItem > div {
    width: 100% !important;
    height: var(--rbfw-gallery-height) !important;
    min-height: var(--rbfw-gallery-height) !important;
    background-size: contain !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-color: #fff !important;
}

/* ============================================
   NAVIGATION ARROWS
   ============================================ */
.rbfw-compact-gallery div.superSlider .iconIndicator {
    position: absolute !important;
    z-index: 20 !important;
    width: 34px !important;
    height: 34px !important;
    background: rgba(255,255,255,0.95) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    transition: all 0.2s ease !important;
    color: var(--rbfw-gray-700) !important;
}

.rbfw-compact-gallery div.superSlider .iconIndicator:hover {
    background: var(--rbfw-primary) !important;
    color: white !important;
}

.rbfw-compact-gallery div.superSlider .iconIndicator.prevItem {
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.rbfw-compact-gallery div.superSlider .iconIndicator.nextItem {
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.rbfw-compact-gallery .abTopLeft {
    display: none !important;
}

/* Style 2 override */
.rbfw-compact-gallery div.superSlider .sliderShowcase.style_2 {
    width: 70px !important;
    min-width: 70px !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
}

.rbfw-compact-gallery div.superSlider .sliderShowcase.style_2 > div {
    width: 62px !important;
    height: 82px !important;
    min-height: 82px !important;
    margin: 0 !important;
}

.rbfw-compact-gallery div.superSlider .sliderShowcase.style_2 > div:first-child {
    width: 62px !important;
    margin: 0 !important;
}

/* ============================================
   BOOKING FORM
   ============================================ */
.rbfw-compact-booking {
    background: var(--rbfw-white);
    border: 1px solid var(--rbfw-gray-200);
    border-radius: var(--rbfw-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--rbfw-shadow);
}

.rbfw-booking-form-header {
    padding: 12px 14px;
    border-bottom: 1px solid var(--rbfw-gray-200);
    background: var(--rbfw-gray-50);
    border-radius: var(--rbfw-radius-lg) var(--rbfw-radius-lg) 0 0;
}

.rbfw-booking-form-header .rbfw-product-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--rbfw-gray-900) !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.25 !important;
}

.rbfw-booking-form-header .rbfw-product-subtitle {
    font-size: 0.8rem;
    color: var(--rbfw-gray-500);
    margin: 2px 0 0 0;
}

.rbfw-compact-booking .rbfw-booking-form {
    padding: 0;
    overflow: hidden;
    max-width: 320px;
}

/* ============================================
   FORM STYLES
   ============================================ */
.rbfw-redesign .rbfw-single-container {
    padding: 8px 10px;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}

.rbfw-redesign .rbfw-single-right-container {
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.rbfw-redesign .mp_rbfw_ticket_form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rbfw-redesign .rbfw-single-right-heading {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--rbfw-gray-600);
    margin: 0 0 3px 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.rbfw-redesign .item {
    margin: 0 0 8px 0;
}

.rbfw-redesign .item:last-child {
    margin-bottom: 0;
}

/* ============================================
   PRICING - Always Visible, Contained
   ============================================ */
.rbfw-redesign .pricing-content-container {
    background: var(--rbfw-accent-light);
    border: 1px solid #e8dfd3;
    border-radius: var(--rbfw-radius);
    padding: 8px 10px;
    margin-bottom: 8px;
    overflow: hidden;
}

.rbfw-redesign .rbfw-pricing-info-heading {
    display: none !important;
}

.rbfw-redesign .pricing-info-view {
    display: none !important;
}

.rbfw-redesign .price-item-container {
    display: block !important;
    position: relative !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none !important;
    overflow: hidden !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    margin: 0 !important;
}

.rbfw-redesign .close-price-container {
    display: none !important;
}

.rbfw-redesign .rbfw_day_wise_price {
    background: white;
    border-radius: var(--rbfw-radius-sm);
    overflow: hidden;
}

.rbfw-redesign .rbfw_day_wise_price table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
    table-layout: fixed;
}

.rbfw-redesign .rbfw_day_wise_price table td {
    padding: 5px 8px;
    border-bottom: 1px solid var(--rbfw-gray-100);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rbfw-redesign .rbfw_day_wise_price table tr:last-child td {
    border-bottom: none;
}

.rbfw-redesign .rbfw_day_wise_price table td:first-child {
    color: var(--rbfw-gray-600);
}

.rbfw-redesign .rbfw_day_wise_price table td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--rbfw-gray-900);
}

/* ============================================
   DATE INPUTS
   ============================================ */
.rbfw-redesign .rbfw-datetime {
    display: flex;
    gap: 6px;
}

.rbfw-redesign .rbfw-datetime .left,
.rbfw-redesign .rbfw-datetime .right,
.rbfw-redesign .rbfw-datetime .date {
    flex: 1;
    margin: 0;
}

.rbfw-redesign .rbfw-input,
.rbfw-redesign input[type="text"].rbfw-input {
    width: 100%;
    height: 34px;
    padding: 0 8px 0 30px;
    border: 1px solid var(--rbfw-gray-300);
    border-radius: var(--rbfw-radius);
    font-size: 0.8rem;
    background: white;
    transition: var(--rbfw-transition);
}

.rbfw-redesign .rbfw-input:focus {
    border-color: var(--rbfw-gray-700);
    box-shadow: 0 0 0 2px var(--rbfw-gray-200);
    outline: none;
}

.rbfw-redesign .rbfw-datetime .calendar {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--rbfw-accent);
    font-size: 0.8rem;
}

/* ============================================
   DURATION
   ============================================ */
.rbfw-redesign .item.rbfw-duration,
.rbfw-redesign .rbfw-duration {
    background: var(--rbfw-success-light);
    border: 1px solid var(--rbfw-success);
    border-radius: var(--rbfw-radius);
    padding: 6px 8px;
}

.rbfw-redesign .rbfw-duration .rbfw-single-right-heading {
    margin: 0;
    color: #059669;
    text-transform: none;
    font-size: 0.8rem;
}

/* ============================================
   SELECTS
   ============================================ */
.rbfw-redesign .rbfw-select,
.rbfw-redesign select.rbfw-select {
    width: 100%;
    height: 34px;
    padding: 0 8px;
    border: 1px solid var(--rbfw-gray-300);
    border-radius: var(--rbfw-radius);
    font-size: 0.8rem;
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

/* ============================================
   FEE MANAGEMENT
   ============================================ */
.rbfw-redesign .rbfw_resourse_md,
.rbfw-redesign .rbfw-resource {
    background: var(--rbfw-gray-50);
    border-radius: var(--rbfw-radius);
    padding: 8px;
    overflow: hidden;
}

.rbfw-redesign .rbfw_bikecarmd_es_table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.rbfw-redesign .rbfw_bikecarmd_es_table td {
    padding: 6px 4px;
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rbfw-redesign .rbfw_bikecarmd_es_table .resource-title-qty {
    font-weight: 500;
}

.rbfw-redesign .rbfw_bikecarmd_es_table .rbfw-refundable {
    font-size: 0.65rem;
    color: var(--rbfw-gray-500);
}

.rbfw-redesign .switch {
    width: 36px;
    height: 18px;
    margin: 0;
}

.rbfw-redesign .slider:before {
    height: 12px;
    width: 12px;
    left: 3px;
    top: 3px;
}

.rbfw-redesign input:checked + .slider {
    background-color: var(--rbfw-accent);
}

.rbfw-redesign input:checked + .slider:before {
    transform: translateX(18px);
}

/* ============================================
   PRICE SUMMARY
   ============================================ */
.rbfw-redesign .rbfw_bikecarmd_price_result,
.rbfw-redesign .item-content.rbfw-costing {
    background: var(--rbfw-gray-50);
    border-radius: var(--rbfw-radius);
    padding: 8px;
    margin-top: 8px;
    overflow: hidden;
}

.rbfw-redesign .rbfw-costing ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rbfw-redesign .rbfw-costing ul li {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 0.8rem;
    color: var(--rbfw-gray-600);
    border-bottom: 1px dashed var(--rbfw-gray-200);
}

.rbfw-redesign .rbfw-costing ul li:last-child {
    border-bottom: none;
}

.rbfw-redesign .rbfw-costing ul li.total {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--rbfw-gray-900);
    padding-top: 6px;
    margin-top: 4px;
    border-top: 2px solid var(--rbfw-gray-300);
}

.rbfw-redesign .rbfw-costing ul li.total span:last-child {
    color: var(--rbfw-gray-900);
}

/* ============================================
   BOOK NOW BUTTON
   ============================================ */
.rbfw-redesign .rbfw-book-now-btn,
.rbfw-redesign .mp_rbfw_book_now_submit,
.rbfw-redesign button[type="submit"] {
    width: 100%;
    height: 42px;
    background: var(--rbfw-primary);
    color: white;
    border: none;
    border-radius: var(--rbfw-radius);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--rbfw-transition);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 8px;
}

.rbfw-redesign .rbfw-book-now-btn:hover:not(:disabled),
.rbfw-redesign .mp_rbfw_book_now_submit:hover:not(:disabled) {
    background: var(--rbfw-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.rbfw-redesign .rbfw-book-now-btn:disabled,
.rbfw-redesign .mp_rbfw_book_now_submit:disabled {
    background: var(--rbfw-gray-300) !important;
    cursor: not-allowed;
}

/* ============================================
   BOTTOM DETAILS
   ============================================ */
.rbfw-compact-details {
    margin-top: 12px;
    border-top: 1px solid var(--rbfw-gray-200);
    padding-top: 12px;
}

.rbfw-features-bar {
    margin-bottom: 10px;
}

.rbfw-features-bar .rbfw-feature-lists,
.rbfw-features-bar .rbfw-single-left-information-item {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rbfw-features-bar .rbfw-feature-category,
.rbfw-features-bar .rbfw-single-left-information-item ul li {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--rbfw-gray-50);
    padding: 4px 8px;
    border-radius: var(--rbfw-radius);
    font-size: 0.75rem;
    margin: 0;
    width: auto;
    float: none;
}

.rbfw-features-bar .rbfw-feature-category i,
.rbfw-features-bar ul li i {
    color: var(--rbfw-accent);
}

.rbfw-expandable-sections {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rbfw-detail-section {
    border: 1px solid var(--rbfw-gray-200);
    border-radius: var(--rbfw-radius);
    overflow: hidden;
}

.rbfw-detail-summary {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: var(--rbfw-gray-50);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--rbfw-gray-700);
    list-style: none;
}

.rbfw-detail-summary::-webkit-details-marker {
    display: none;
}

.rbfw-detail-summary:hover {
    background: var(--rbfw-gray-100);
}

.rbfw-detail-summary .rbfw-chevron {
    margin-left: auto;
    transition: transform 0.2s ease;
}

.rbfw-detail-section[open] .rbfw-detail-summary .rbfw-chevron {
    transform: rotate(180deg);
}

.rbfw-detail-content {
    padding: 10px;
    background: white;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--rbfw-gray-600);
}

.rbfw-detail-content p {
    margin-bottom: 6px;
}

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

.rbfw-related-compact {
    margin-top: 12px;
}

/* ============================================
   HIDE DUPLICATE ELEMENTS
   ============================================ */
.rbfw-redesign .rbfw-booking-header {
    display: none !important;
}

/* ============================================
   QUANTITY INPUT
   ============================================ */
.rbfw-redesign .rbfw_qty_input {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--rbfw-gray-300);
    border-radius: var(--rbfw-radius);
    overflow: hidden;
}

.rbfw-redesign .rbfw_qty_input a {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rbfw-gray-100);
    cursor: pointer;
    font-size: 0.8rem;
}

.rbfw-redesign .rbfw_qty_input a:hover {
    background: var(--rbfw-primary);
    color: white;
}

.rbfw-redesign .rbfw_qty_input input {
    width: 36px;
    height: 26px;
    text-align: center;
    border: none;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ============================================
   ALERTS
   ============================================ */
.rbfw-redesign .mps_alert_warning {
    background: var(--rbfw-warning-light);
    border: 1px solid var(--rbfw-warning);
    color: #92400e;
    padding: 6px;
    border-radius: var(--rbfw-radius);
    font-size: 0.8rem;
    text-align: center;
    margin-top: 6px;
}

/* ============================================
   POPUP
   ============================================ */
.rbfw-compact-gallery .sliderPopup,
.sliderPopup[data-popup="superSlider"] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.9) !important;
    z-index: 999999 !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    :root {
        --rbfw-gallery-height: 450px;
    }

    .rbfw-compact-main {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 600px) {
    :root {
        --rbfw-gallery-height: 380px;
    }

    .rbfw-redesign > .mpContainer {
        padding: 8px;
    }

    .rbfw-compact-gallery div.superSlider .sliderShowcase {
        display: none !important;
    }

    .rbfw-booking-form-header .rbfw-product-title {
        font-size: 1rem !important;
    }

    .rbfw-redesign .rbfw-datetime {
        flex-direction: column;
    }
}

/* ============================================
   FLATPICKR CALENDAR - Elegant Redesign
   ============================================ */
.flatpickr-calendar {
    background: white !important;
    border: 1px solid var(--rbfw-gray-200) !important;
    border-radius: var(--rbfw-radius-lg) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
    font-family: inherit !important;
    width: 280px !important;
    padding: 0 !important;
    overflow: hidden;
}

.flatpickr-calendar::before,
.flatpickr-calendar::after {
    display: none !important;
}

/* Month header */
.flatpickr-months {
    background: var(--rbfw-gray-900) !important;
    padding: 12px 8px !important;
    border-radius: var(--rbfw-radius-lg) var(--rbfw-radius-lg) 0 0 !important;
}

.flatpickr-months .flatpickr-month {
    height: 32px !important;
}

.flatpickr-current-month {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: white !important;
    padding: 0 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: transparent !important;
    color: white !important;
    font-weight: 600 !important;
    border: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.flatpickr-current-month input.cur-year {
    color: white !important;
    font-weight: 600 !important;
}

.numInputWrapper:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.numInputWrapper span {
    border: none !important;
}

.numInputWrapper span::after {
    border-bottom-color: white !important;
}

.numInputWrapper span.arrowDown::after {
    border-top-color: white !important;
}

/* Navigation arrows */
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    color: white !important;
    fill: white !important;
    padding: 6px !important;
    top: 10px !important;
    border-radius: 50% !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
    fill: white !important;
    width: 12px !important;
    height: 12px !important;
}

/* Weekday header */
.flatpickr-weekdays {
    background: var(--rbfw-gray-50) !important;
    padding: 8px 0 4px !important;
    border-bottom: 1px solid var(--rbfw-gray-200) !important;
}

.flatpickr-weekday {
    color: var(--rbfw-gray-500) !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

/* Days container */
.flatpickr-days {
    padding: 6px !important;
}

.dayContainer {
    min-width: 268px !important;
    max-width: 268px !important;
}

/* Individual days */
.flatpickr-day {
    color: var(--rbfw-gray-800) !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    border: none !important;
    border-radius: 8px !important;
    height: 36px !important;
    line-height: 36px !important;
    margin: 1px !important;
    max-width: 38px !important;
    transition: all 0.15s ease !important;
}

.flatpickr-day:hover {
    background: var(--rbfw-accent-light) !important;
    border: none !important;
    color: var(--rbfw-gray-900) !important;
}

/* Today */
.flatpickr-day.today {
    background: var(--rbfw-gray-100) !important;
    border: 2px solid var(--rbfw-accent) !important;
    font-weight: 700 !important;
    color: var(--rbfw-gray-900) !important;
}

.flatpickr-day.today:hover {
    background: var(--rbfw-accent-light) !important;
    border-color: var(--rbfw-accent) !important;
}

/* Selected day */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: var(--rbfw-gray-900) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
}

.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
    background: var(--rbfw-gray-800) !important;
    color: white !important;
}

/* In range */
.flatpickr-day.inRange {
    background: var(--rbfw-gray-100) !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--rbfw-gray-800) !important;
}

/* Disabled / previous-next month days */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: var(--rbfw-gray-300) !important;
    background: transparent !important;
    border: none !important;
}

.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed:hover {
    color: var(--rbfw-gray-300) !important;
    background: transparent !important;
    border: none !important;
    text-decoration: line-through !important;
}

/* Time picker */
.flatpickr-time {
    border-top: 1px solid var(--rbfw-gray-200) !important;
    padding: 8px !important;
    max-height: 44px !important;
}

.flatpickr-time input {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: var(--rbfw-gray-800) !important;
}

.flatpickr-time .flatpickr-time-separator {
    color: var(--rbfw-gray-400) !important;
    font-weight: 600 !important;
}

.flatpickr-time .flatpickr-am-pm {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: var(--rbfw-gray-600) !important;
}

/* ============================================
   JQUERY UI DATEPICKER - Elegant Redesign
   (Used by single-day booking forms)
   ============================================ */
.rbfw-redesign .ui-datepicker,
.rbfw-bikecarsd-calendar .ui-datepicker,
.ui-datepicker {
    font-family: inherit !important;
    border: 1px solid var(--rbfw-gray-200) !important;
    border-radius: var(--rbfw-radius-lg) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: white !important;
    overflow: hidden;
}

.rbfw-redesign .ui-datepicker table {
    width: 100% !important;
    table-layout: fixed !important;
}

/* Month header */
.rbfw-redesign .ui-datepicker .ui-datepicker-header,
.rbfw-bikecarsd-calendar .ui-datepicker .ui-datepicker-header,
.ui-datepicker .ui-datepicker-header {
    background: var(--rbfw-gray-900) !important;
    border: none !important;
    border-radius: var(--rbfw-radius-lg) var(--rbfw-radius-lg) 0 0 !important;
    padding: 12px 8px !important;
    font-weight: 600 !important;
    color: white !important;
}

.ui-datepicker .ui-datepicker-title {
    color: white !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
}

.ui-datepicker .ui-datepicker-title select {
    background: transparent !important;
    color: white !important;
    border: none !important;
    font-weight: 600 !important;
}

/* Navigation arrows */
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    top: 10px !important;
    cursor: pointer !important;
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    border: none !important;
    background: transparent !important;
}

.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

.ui-datepicker .ui-datepicker-prev .ui-icon,
.ui-datepicker .ui-datepicker-next .ui-icon {
    background-image: none !important;
}

.ui-datepicker .ui-datepicker-prev .ui-icon::after,
.ui-datepicker .ui-datepicker-next .ui-icon::after {
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    color: white !important;
}

/* Weekday header */
.ui-datepicker th {
    color: var(--rbfw-gray-500) !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 8px 0 4px !important;
    background: var(--rbfw-gray-50) !important;
    border-bottom: 1px solid var(--rbfw-gray-200) !important;
}

/* Day cells */
.ui-datepicker td {
    padding: 1px !important;
}

.ui-datepicker td a,
.ui-datepicker td span {
    color: var(--rbfw-gray-800) !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    border: none !important;
    border-radius: 8px !important;
    text-align: center !important;
    padding: 6px !important;
    transition: all 0.15s ease !important;
    background: transparent !important;
}

.ui-datepicker td a:hover {
    background: var(--rbfw-accent-light) !important;
    color: var(--rbfw-gray-900) !important;
}

/* Today */
.ui-datepicker .ui-datepicker-today a,
.ui-datepicker .ui-datepicker-today span {
    background: var(--rbfw-gray-100) !important;
    border: 2px solid var(--rbfw-accent) !important;
    font-weight: 700 !important;
    color: var(--rbfw-gray-900) !important;
}

/* Selected / Active */
.ui-datepicker .ui-datepicker-current-day a,
.ui-datepicker td a.ui-state-active,
.ui-datepicker td a.ui-state-highlight {
    background: var(--rbfw-gray-900) !important;
    color: white !important;
    font-weight: 600 !important;
    border: none !important;
}

/* Disabled days */
.ui-datepicker .ui-state-disabled span {
    color: var(--rbfw-gray-300) !important;
    background: transparent !important;
}

/* Inline datepicker in single-day form */
#rbfw-bikecarsd-calendar {
    font-size: 11px !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

#rbfw-bikecarsd-calendar .ui-datepicker {
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: 1px solid var(--rbfw-gray-200) !important;
    font-size: 11px !important;
}

#rbfw-bikecarsd-calendar .ui-datepicker table {
    width: 100% !important;
    table-layout: fixed !important;
    font-size: 11px !important;
}

#rbfw-bikecarsd-calendar .ui-datepicker td a,
#rbfw-bikecarsd-calendar .ui-datepicker td span {
    padding: 4px 2px !important;
    font-size: 0.75rem !important;
}

#rbfw-bikecarsd-calendar .ui-datepicker th {
    font-size: 0.6rem !important;
    padding: 4px 0 2px !important;
}

#rbfw-bikecarsd-calendar .ui-datepicker .ui-datepicker-header {
    padding: 8px 4px !important;
}

#rbfw-bikecarsd-calendar .ui-datepicker .ui-datepicker-title {
    font-size: 0.8rem !important;
}

/* Calendar footer text */
.rbfw-bikecarsd-calendar-footer {
    font-size: 0.75rem !important;
    color: var(--rbfw-gray-500) !important;
    padding: 6px 8px !important;
    text-align: center !important;
}

/* ============================================
   SINGLE-DAY SPECIFIC STYLES
   ============================================ */
.rbfw-redesign .rbfw_service_type_timely {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.rbfw-redesign .rbfw_service_type_timely .radio-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border: 1px solid var(--rbfw-gray-200);
    border-radius: var(--rbfw-radius);
    cursor: pointer;
    transition: var(--rbfw-transition);
    background: white;
}

.rbfw-redesign .rbfw_service_type_timely .radio-button:hover {
    border-color: var(--rbfw-accent);
    background: var(--rbfw-accent-light);
}

.rbfw-redesign .rbfw_service_type_timely .radio-button label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.8rem;
}

.rbfw-redesign .rbfw_service_type_timely .radio-button .price {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--rbfw-gray-900);
}

.rbfw-redesign .rbfw_service_type_timely .radio-button .rbfw_time {
    font-size: 0.7rem;
    color: var(--rbfw-gray-500);
}

/* Single-day time table result */
.rbfw-redesign .rbfw-bikecarsd-result-wrap {
    overflow: hidden;
}

.rbfw-redesign .rbfw_bikecarsd_pricing_table_container {
    margin-bottom: 8px;
}

.rbfw-redesign .rbfw_bikecarsd_price_table {
    background: var(--rbfw-gray-50);
    border-radius: var(--rbfw-radius);
    padding: 8px;
    font-size: 0.8rem;
}

.rbfw-redesign .rbfw_bikecarsd_type_title {
    font-weight: 600;
    color: var(--rbfw-gray-700);
    font-size: 0.8rem;
}

.rbfw-redesign .rbfw_bikecarsd_type_desc {
    display: block;
    font-size: 0.7rem;
    color: var(--rbfw-gray-500);
}

.rbfw-redesign .rbfw-optional-add-ons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--rbfw-gray-100);
    font-size: 0.8rem;
}

.rbfw-redesign .rbfw-optional-add-ons:last-child {
    border-bottom: none;
}

.rbfw-redesign .rbfw_bikecarsd_price_summary {
    margin-top: 8px;
}

/* ============================================
   PRINT
   ============================================ */
@media print {
    .rbfw-compact-header-share,
    .rbfw-book-now-btn,
    .rbfw-expandable-sections,
    .rbfw-related-compact {
        display: none !important;
    }
}
