/* =============================== */
/* PREMIUM STYLE — VERSION B       */
/* =============================== */

.car-quick-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    padding: 20px;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-top: 15px;
}

/* Badge style */
.quick-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.05);
    font-size: 15px;
    font-weight: 500;
    color: #222;
}

/* Icons */
.quick-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Header block */
.car-top-info {
    margin-bottom: 15px;
}

.car-title {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.car-meta-row {
    display: flex;
    gap: 20px;
    font-size: 16px;
    color: #444;
}

.car-meta-row span svg {
    width: 18px;
    height: 18px;
    margin-right: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .car-quick-specs {
        grid-template-columns: 1fr 1fr;
        padding: 15px;
    }

    .quick-item {
        padding: 10px;
        gap: 8px;
    }

    .car-title {
        font-size: 26px;
    }
}


/* Sticky booking sidebar */
.car-booking-box {
    position: sticky;
    top: 120px;
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.car-booking-box .price-row {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 15px;
}

.car-booking-form input,
.car-booking-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.car-booking-form button {
    width: 100%;
    padding: 14px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.car-booking-form button:hover {
    background: #333;
}

/* ---------------------------------------------------
   BOOKING BOX — SuperiorRental Style
--------------------------------------------------- */

.booking-box-wrapper {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 25px;
    border-radius: 12px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* PRICE ROW */
.booking-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.booking-price-row .left {
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.booking-price-row .right {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.currency-label {
    font-size: 12px;
    opacity: 0.6;
}

.currency-dropdown {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 14px;
}

/* FORM STYLING */
.booking-form .form-group {
    margin-bottom: 12px;
}

.booking-form input,
.booking-form textarea,
.booking-form select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #dedede;
    font-size: 14px;
    outline: none;
}

/* FAKE PLACEHOLDER FOR datetime-local INPUTS */
/* WRAP MUST BE RELATIVE */



.booking-form textarea {
    height: 80px;
    resize: none;
}

/* BUTTON */
.reserve-btn {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    border: none;
    font-size: 15px;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.reserve-btn:hover {
    background: #333;
}

/* WHATSAPP BUTTON */
.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
    text-decoration: none;
    font-size: 14px;
    color: #25D366;
    font-weight: 500;
}

.whatsapp-btn .wa-icon {
    width: 18px !important;
    height: 18px !important;
    object-fit: contain;
}

/* MOBILE STICKY TWO BUTTONS */
@media(max-width:768px){
    .mobile-sticky-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 9999;
    }

    .mobile-sticky-buttons a {
        width: 50%;
        text-align: center;
        padding: 14px 0;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
    }

    .mobile-call-btn {
        background: #000;
        color: #fff;
    }

    .mobile-whatsapp-btn {
        background: #25D366;
        color: #fff;
    }
}
/* MATCH RESERVE BUTTON EXACT HEIGHT + STYLE */
.reserve-btn,
.whatsapp-btn {
    width: 100%;
    padding: 14px 0;       /* SAME AS RESERVE */
    height: 48px;          /* FORCE SAME HEIGHT */
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Reserve Button Style (already correct, no change) */
.reserve-btn {
    background: #000;
    color: #fff !important;
}

/* WhatsApp Button Style */
.whatsapp-btn {
    background: #25D366;
    color: #fff !important;
    gap: 8px;
    transition: 0.25s ease;
}

.whatsapp-btn:hover {
    background: #1ebe5b;
}

.whatsapp-btn .wa-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.booking-price-row .right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.currency-label {
    font-size: 11px;
    color: #888;
    margin-bottom: 2px;
    line-height: 1;
}

.currency-dropdown {
    width: 85px;
    padding: 4px 6px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: #fff;
}
/* -----------------------------------------
   INLINE CURRENCY FORMAT (Premium UI)
------------------------------------------ */
.inline-currency {
    display: flex !important;
    align-items: center !important;
    gap: 6px;
    margin-left: 10px;
}

.inline-currency .currency-label {
    font-size: 13px;
    font-weight: 500;
    color: #666;
}

.inline-currency .currency-dropdown {
    width: 75px;
    height: 34px;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding-left: 6px;
    font-size: 14px;
    background: #fff;
}

/* Align price row elements cleanly */
.booking-price-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
}

.booking-price-row .left {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

/* -----------------------------------------
   CLEAN INLINE CURRENCY DROPDOWN (No Label)
------------------------------------------ */
.inline-currency {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.inline-currency .currency-dropdown {
    width: 70px;
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    padding: 4px 6px;
    font-size: 14px;
}

/* Make the price & dropdown perfectly aligned */
.booking-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-price-row .left span#carPrice {
    font-size: 26px;
    font-weight: 700;
}

.booking-price-row .left #carCurrency,
.booking-price-row .left .per-day {
    font-size: 14px;
    color: #777;
}

/* ============================================
   PREMIUM CUSTOM CURRENCY DROPDOWN (Tesla UI)
============================================ */

.sr-currency-select {
    position: relative;
    width: 110px;
    cursor: pointer;
    user-select: none;
}

.sr-currency-select .sr-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;

    padding: 8px 12px;
    height: 38px;

    font-size: 14px;
    font-weight: 600;

    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: 0.2s ease;
}

.sr-currency-select .sr-selected:hover {
    background: #f6f6f6;
}

/* Flag icon */
.sr-currency-select .flag {
    width: 18px;
    height: auto;
    margin-right: 6px;
}

/* Arrow */
.sr-currency-select .arrow {
    font-size: 12px;
    margin-left: 8px;
    opacity: 0.7;
}

/* OPTIONS DROPDOWN */
.sr-currency-select .sr-options {
    position: absolute;
    top: 45px;
    right: 0;
    width: 140px;

    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;

    box-shadow: 0 6px 20px rgba(0,0,0,0.15);

    list-style: none;
    padding: 6px 0;
    margin: 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;

    z-index: 50;
}

/* When opened */
.sr-currency-select.open .sr-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Each option */
.sr-currency-select .sr-options li {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;

    cursor: pointer;
    font-size: 14px;
}

.sr-currency-select .sr-options li:hover {
    background: #f5f5f5;
}

.booking-price-row .left {
    min-width: 160px;
}

.booking-price-row .left #carPrice {
    font-size: 24px;
}

.sr-currency-select 
/* Fix price + currency dropdown alignment */
.booking-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;  /* KEY FIX */
    gap: 10px;
    white-space: nowrap;  /* Prevents wrapping */
}

/* Make price area narrower so dropdown never breaks line */
.booking-price-row .price-block {
    display: flex;
    align-items: baseline;
    gap: 6px;
    max-width: 65%;   /* Prevents pushing dropdown */
}

/* Tweak price font so it never jumps height */
.booking-price-row #carPrice {
    font-size: 24px !important;
    font-weight: 700;
    line-height: 1;
}

/* AED + /day wrapper */
.booking-price-row #carCurrency,
.booking-price-row .per-day,
.booking-price-row .price-after {
    font-size: 14px !important;
    color: #777;
    line-height: 1;
}

/* Currency dropdown */
.sr-currency-select {
    width: 90px !important;
    height: 32px !important;
    border-radius: 6px;
    padding: 0 8px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    display: flex;
    align-items: center;
}
/* ------------------------------------------ */
/* FIX PRICE + CURRENCY DROPDOWN ALIGNMENT   */
/* ------------------------------------------ */

.booking-price-row {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center;
    column-gap: 14px;
    width: 100%;
}

/* Fix price area */
.booking-price-row .left {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Fix currency dropdown container */
.booking-price-row .right {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
}

/* Fix dropdown width */
.sr-currency-select {
    width: 95px !important;
    padding-right: 24px !important; /* space for arrow */
    background-position: right 8px center !important;
}

/* Fix arrow spacing */
.sr-currency-select:after {
    right: 10px !important;
}
.sr-currency-select {
    padding-right: 30px !important;
}



/* Add spacing between text and arrow */
.sr-currency-select .sr-selected .arrow {
    font-size: 16px;
    margin-left: 5px !important;
    margin-right: 5px !important; /* ← this fixes the right space */
    display: inline-block;
}
.sr-currency-select .sr-selected .arrow {
    content: "⌄";
}


/* ============================
   CAR SPECIFICATIONS SECTION
/*

/* ---------------------------
   Car Specifications — Premium UI
   Paste in car-shortcodes.css
   --------------------------- */

/* ============================
   PREMIUM SPECIFICATION GRID
   ============================ */

/* ---------------------------
   Car Specifications — Premium UI
   Paste in car-shortcodes.css
   --------------------------- */

/* ----------------------------------------
   PREMIUM Specifications UI (matching Quick Specs)
---------------------------------------- */
/* ============================
   SPECIFICATIONS MAIN WRAPPER
   ============================ */
/* ================================================================
   PREMIUM SPECIFICATIONS UI – MATCH QUICK SPECS STYLE
   ================================================================= */

/* Title */
.sr-spec-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #111;
}

/* Outer Card Wrapper */
.sr-specs-container {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 26px 30px;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: 0.25s ease;
}

/* On hover (smooth premium effect) */
.sr-specs-container:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,0.09);
}

/* Grid */
.sr-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 28px;
}



/* ================================================================
   INDIVIDUAL SPEC ITEM CARD
   ================================================================= */
.spec-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 12px 16px;
    height: 60px;

    transition: 0.25s ease;
    cursor: default;
}

/* Hover Glow */
.spec-item:hover {
    background: #fff;
    border-color: #d2d2d2;
    box-shadow: 0 6px 14px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}



/* Icon Container */
.spec-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

/* Icon inside */
.spec-icon svg {
    width: 18px;
    height: 18px;
}

/* Icon Hover Effect */
.spec-item:hover .spec-icon {
    border-color: #bbb;
    background: #fdfdfd;
}



/* Text inside item */
.spec-content .label {
    font-size: 12px;
    color: #777;
    margin-bottom: 2px;
    letter-spacing: 0.2px;
}

.spec-content .value {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    letter-spacing: 0.3px;
}



/* ================================================================
   RESPONSIVE LAYOUT
/* ============================
   RESPONSIVE FIX — 2 columns on mobile
   ============================ */
@media(max-width: 1024px) {
    .sr-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {
    .sr-specs-container {
        padding: 20px;
    }
    .sr-specs-grid {
        grid-template-columns: repeat(2, 1fr) !important;  /* 🔥 always 2 columns */
        gap: 16px 18px;
    }
}

