/**
 * Car detail — layout & typography aligned with html-light/car-single.html
 * All rules scoped under .car-detail-page to avoid affecting the rest of the site.
 */

.car-detail-page .page-fleets-single {
    padding: 100px 0;
}

.car-detail-page .fleets-single-sidebar {
    position: sticky;
    top: 20px;
    margin-right: 30px;
}

.car-detail-page .fleets-single-sidebar-box {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 32px 28px;
    margin-bottom: 28px;
}

.car-detail-page .fleets-sidebar-title {
    font-size: 20px;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 24px;
    color: #fff;
}

.car-detail-page .fleets-sidebar-car-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.car-detail-page .fleets-sidebar-car-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 18px;
    padding-bottom: 18px;
}

.car-detail-page .fleets-sidebar-car-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.car-detail-page .fleets-sidebar-car-list a {
    display: block;
    position: relative;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-transform: capitalize;
    text-decoration: none !important;
    padding-right: 22px;
    transition: color 0.3s ease;
}

.car-detail-page .fleets-sidebar-car-list a:hover {
    color: #0099ff;
}

.car-detail-page .fleets-sidebar-car-list a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: url('../html - light/images/arrow-orange.svg') no-repeat center;
    background-size: 12px auto;
    filter: hue-rotate(180deg) brightness(1.8);
    transition: transform 0.3s ease;
}

.car-detail-page .fleets-sidebar-car-list a:hover::after {
    transform: translateY(-50%) rotate(45deg);
}

.car-detail-page .fleets-sidebar-all-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    color: #0099ff !important;
    text-decoration: none !important;
}

.car-detail-page .fleets-sidebar-all-link:hover {
    text-decoration: underline !important;
}

/* Main column */
.car-detail-page .fleets-single-content {
    margin-bottom: 0;
}

.car-detail-page .fleets-single-content .service-featured-image {
    margin-bottom: 40px;
}

/* Pricing row — fleets-benefits (car-single) */
.car-detail-page .fleets-benefits {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 56px;
    background: rgba(255, 255, 255, 0.04);
}

.car-detail-page .fleets-benefits--single .fleets-benefits-item {
    width: 100%;
}

.car-detail-page .fleets-benefits-item {
    width: calc(50% - 12px);
    min-width: 220px;
    display: flex;
    align-items: flex-start;
}

.car-detail-page .fleets-benefits-item .icon-box {
    position: relative;
    margin-right: 15px;
    padding: 6px 0 0 6px;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-detail-page .fleets-benefits-item .icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(0, 153, 255, 0.2);
    z-index: 0;
}

.car-detail-page .fleets-benefits-item .icon-box i {
    position: relative;
    z-index: 1;
    font-size: 20px;
    color: #4db8ff;
}

.car-detail-page .fleets-benefits-content {
    flex: 1;
    min-width: 0;
}

.car-detail-page .fleets-benefits-content h3 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 8px;
    color: #fff;
}

.car-detail-page .fleets-benefits-content h3 span {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
}

.car-detail-page .fleets-benefits-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55);
}

.car-detail-page .fleets-benefits--quote .fleets-benefits-content h3 {
    font-size: 22px;
    font-weight: 700;
}

.car-detail-page .fleets-benefits-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Section titles — car-single / Novaride */
.car-detail-page .fleets-information .section-title,
.car-detail-page .fleets-amenities .section-title,
.car-detail-page .rental-conditions-faqs .section-title {
    margin-bottom: 36px;
}

.car-detail-page .fleets-information .section-title h3,
.car-detail-page .fleets-amenities .section-title h3,
.car-detail-page .rental-conditions-faqs .section-title h3 {
    display: inline-block;
    position: relative;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: capitalize;
    color: #0099ff;
    padding-left: 25px;
    margin-bottom: 16px;
}

.car-detail-page .fleets-information .section-title h3::before,
.car-detail-page .fleets-amenities .section-title h3::before,
.car-detail-page .rental-conditions-faqs .section-title h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    background: url('../html - light/images/icon-sub-heading.svg') no-repeat left center;
    background-size: cover;
}

.car-detail-page .fleets-information .section-title h2,
.car-detail-page .fleets-amenities .section-title h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
}

.car-detail-page .fleets-information .section-title p {
    margin-top: 22px;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
}

.car-detail-page .fleets-information .section-title p + p {
    margin-top: 18px;
}

/* General information */
.car-detail-page .fleets-information {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 56px;
    padding-bottom: 56px;
}

.car-detail-page .fleets-information-list ul {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
}

.car-detail-page .fleets-information-list ul li {
    position: relative;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    text-transform: capitalize;
    padding-left: 34px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.car-detail-page .fleets-information-list ul li:last-child {
    margin-bottom: 0;
}

.car-detail-page .fleets-information-list ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 20px;
    color: #0099ff;
    position: absolute;
    left: 0;
    top: 3px;
}

/* Amenities */
.car-detail-page .fleets-amenities {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 56px;
    padding-bottom: 56px;
}

.car-detail-page .fleets-amenities-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 16px;
}

.car-detail-page .fleets-amenities-list ul li {
    position: relative;
    width: calc(25% - 12px);
    min-width: 140px;
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    text-transform: capitalize;
    padding-left: 30px;
    line-height: 1.35;
}

.car-detail-page .fleets-amenities-list ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
    color: #0099ff;
    position: absolute;
    left: 0;
    top: 2px;
}

/* Gallery gap before FAQ */
.car-detail-page .fleets-gallery-wrap {
    margin-bottom: 56px;
}

.car-detail-page .fleets-gallery-wrap .service-entry-gallery {
    margin-top: 0;
}

.car-detail-page .rental-conditions-faqs {
    margin-top: 0;
    padding-top: 8px;
}

.car-detail-page .rental-conditions-faqs .section-title h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
}

/* ---------- Light theme (html-light car-single look) ---------- */
html.theme-light .car-detail-page .fleets-single-sidebar-box {
    background-color: #fff8f6 !important;
    border-color: #ececec !important;
}

html.theme-light .car-detail-page .fleets-sidebar-title {
    color: #111 !important;
}

html.theme-light .car-detail-page .fleets-sidebar-car-list li {
    border-bottom-color: #ececec !important;
}

html.theme-light .car-detail-page .fleets-sidebar-car-list a {
    color: #333 !important;
}

html.theme-light .car-detail-page .fleets-sidebar-car-list a:hover {
    color: #c8a84b !important;
}

html.theme-light .car-detail-page .fleets-sidebar-car-list a::after {
    filter: none;
}

html.theme-light .car-detail-page .fleets-sidebar-all-link {
    color: #0066b3 !important;
}

html.theme-light .car-detail-page .fleets-benefits {
    background: #fff !important;
    border-color: #ececec !important;
}

html.theme-light .car-detail-page .fleets-benefits-item .icon-box::before {
    background-color: rgba(200, 168, 75, 0.15) !important;
}

html.theme-light .car-detail-page .fleets-benefits-item .icon-box i {
    color: #b8923a !important;
}

html.theme-light .car-detail-page .fleets-benefits-content h3 {
    color: #111 !important;
}

html.theme-light .car-detail-page .fleets-benefits-content h3 span {
    color: #616161 !important;
}

html.theme-light .car-detail-page .fleets-benefits-content p {
    color: #616161 !important;
}

html.theme-light .car-detail-page .fleets-information,
html.theme-light .car-detail-page .fleets-amenities {
    border-bottom-color: #ececec !important;
}

html.theme-light .car-detail-page .fleets-information .section-title h3,
html.theme-light .car-detail-page .fleets-amenities .section-title h3 {
    color: #c8a84b !important;
}

html.theme-light .car-detail-page .fleets-information .section-title h2,
html.theme-light .car-detail-page .fleets-amenities .section-title h2 {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
}

html.theme-light .car-detail-page .fleets-information .section-title p {
    color: #444 !important;
}

html.theme-light .car-detail-page .fleets-information-list ul li,
html.theme-light .car-detail-page .fleets-amenities-list ul li {
    color: #040401 !important;
}

html.theme-light .car-detail-page .fleets-information-list ul li::before,
html.theme-light .car-detail-page .fleets-amenities-list ul li::before {
    color: #c8a84b !important;
}

html.theme-light .car-detail-page .rental-conditions-faqs .section-title h2 {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .car-detail-page .page-fleets-single {
        padding: 50px 0;
    }

    .car-detail-page .fleets-single-sidebar {
        margin-right: 0;
        margin-bottom: 36px;
        position: static;
    }

    .car-detail-page .fleets-benefits {
        padding: 22px 18px;
        margin-bottom: 40px;
    }

    .car-detail-page .fleets-information,
    .car-detail-page .fleets-amenities {
        margin-bottom: 40px;
        padding-bottom: 40px;
    }

    .car-detail-page .fleets-amenities-list ul li {
        width: calc(50% - 8px);
    }
}

@media (max-width: 767px) {
    .car-detail-page .fleets-benefits-item {
        width: 100%;
    }

    .car-detail-page .fleets-benefits-content h3 {
        font-size: 24px;
    }

    .car-detail-page .fleets-amenities-list ul li {
        width: 100%;
    }

    .car-detail-page .fleets-information .section-title h2,
    .car-detail-page .fleets-amenities .section-title h2 {
        font-size: 26px;
    }
}
