/* ── RCC Header Selectors (Currency & Language) ──────────────────────────── */
.rcc-header-select {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: inherit;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 0.375rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    /* small caret */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='currentColor' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.4rem center;
    padding-right: 1.4rem;
    transition: border-color 0.2s;
}
.rcc-header-select:hover,
.rcc-header-select:focus {
    border-color: var(--brand-color, #e63946);
    outline: none;
    box-shadow: none;
}
.rcc-currency-switcher,
.rcc-language-switcher {
    gap: 0;
}

.rcc-login-btn {
    min-width: 108px;
    white-space: nowrap;
}

#rcc-curr-wrap,
#rcc-lang-wrap,
#rcc-account-wrap {
    min-width: 0;
}
/* Ensure selects inherit header text color in both white and dark headers */
header .rcc-header-select option {
    color: #1a1a1a;
    background: #ffffff;
}

@media (min-width: 1280px) {
    header > div {
        gap: 0.75rem;
    }

    header > div > .inspect-quick-search-wrapper {
        flex: 0 1 13rem;
        margin: 0;
        max-width: 13rem !important;
        min-width: 10rem;
    }

    header > div > .inspect-quick-search-wrapper .inspect-quick-search-form {
        min-width: 0;
    }

    header > div > .inspect-quick-search-wrapper .inspect-quick-search-input {
        font-size: 0.9rem;
        min-width: 0;
        padding-left: 2.5rem;
        padding-right: 0.9rem;
    }

    header .header-right {
        flex: 1 1 auto;
        gap: 0.35rem;
        margin-left: auto;
        min-width: 0;
    }

    header .header-right > .inspect-quick-search-wrapper {
        flex: 0 1 14rem;
        margin: 0;
        max-width: 14rem !important;
        min-width: 10rem;
        order: -1;
    }

    header .header-right > .inspect-quick-search-wrapper .inspect-quick-search-form {
        min-width: 0;
    }

    header .header-right > .inspect-quick-search-wrapper .inspect-quick-search-input {
        font-size: 0.9rem;
        min-width: 0;
        padding-left: 2.5rem;
        padding-right: 0.9rem;
    }

    .header-navigation-menu {
        flex: 1 1 auto;
        margin-right: 0;
        min-width: 0;
    }

    .header-navigation-menu .menu {
        flex-wrap: nowrap;
        gap: 0.35rem;
        justify-content: flex-end;
        min-width: 0;
    }

    .header-navigation-menu .menu > li > a {
        font-size: 0.6rem;
        letter-spacing: 0.015em;
        padding: 1.5rem 0;
        white-space: nowrap;
    }
}

@media (min-width: 1440px) {
    header > div > .inspect-quick-search-wrapper {
        flex-basis: 14rem;
        max-width: 14rem !important;
    }

    header .header-right > .inspect-quick-search-wrapper {
        flex-basis: 15rem;
        max-width: 15rem !important;
    }

    .header-navigation-menu .menu {
        gap: 0.45rem;
    }

    .header-navigation-menu .menu > li > a {
        font-size: 0.65rem;
    }
}

.helpline {
    background: #08142b !important;
    margin-top: 0 !important;
    padding-inline: 1.5rem !important;
}

.helpline .helpline_text {
    align-items: center;
    gap: 0.5rem 1.5rem;
    padding-block: 1.9rem !important;
    font-size: clamp(1.05rem, 1.4vw, 1.85rem) !important;
    line-height: 1.4;
}

.helpline .helpline_text a {
    font-weight: 700;
    text-decoration: none;
}

.rcc-footer-shell {
    background: #f8f8f8;
    padding: 0 0 3rem;
    position: relative;
}

.rcc-footer-shell::before {
    background: url('/wp-content/uploads/atlasroads-zalij.jpg') center/cover no-repeat;
    content: "";
    filter: grayscale(100%);
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.rcc-footer-shell > * {
    position: relative;
    z-index: 1;
}

.rcc-footer-help {
    background: #08142b;
    margin-bottom: 4.5rem;
}

.rcc-footer-help p {
    color: #ffffff;
    font-size: clamp(1.05rem, 1.4vw, 1.85rem);
    line-height: 1.5;
    margin: 0;
    padding: 2rem 0;
    text-align: center;
}

.rcc-footer-help a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.rcc-footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
}

.rcc-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.rcc-footer-brand img {
    max-width: 148px;
    height: auto;
}

.rcc-footer-copy,
.rcc-footer-col p,
.rcc-footer-col a,
.rcc-footer-bottom p,
.rcc-footer-bottom a {
    color: #5c6470;
    font-size: 0.92rem;
    line-height: 1.8;
}

.rcc-footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-width: 0;
}

.rcc-footer-copy,
.rcc-footer-col,
.rcc-footer-links a,
.rcc-footer-col a,
.rcc-footer-col p {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.rcc-footer-col h3 {
    color: #0e1730;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0;
    text-transform: uppercase;
}

.rcc-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.2rem;
}

.rcc-footer-links a {
    text-wrap: pretty;
}

.rcc-footer-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.rcc-footer-payments img {
    height: 34px;
    width: auto;
    max-width: 64px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    padding: 4px 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

.rcc-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.3rem;
}

.rcc-social-links a {
    align-items: center;
    background: #1b2236;
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    height: 2.55rem;
    justify-content: center;
    text-decoration: none;
    width: 2.55rem;
}

.rcc-footer-bottom {
    background: #f5f5f5;
}

.rcc-footer-bottom-inner {
    align-items: center;
    border-top: 1px solid #d9dde4;
    display: flex;
    gap: 1rem 2rem;
    justify-content: space-between;
    padding: 1.8rem 0 2.4rem;
}

.rcc-footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: flex-end;
}

@media (max-width: 1279px) {
    .rcc-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 1439px) {
    .rcc-login-btn {
        min-width: 98px;
        padding-left: 0.9rem !important;
        padding-right: 0.9rem !important;
    }
}

/* Keep header controls aligned on tablet/mobile so login button does not overflow. */
@media (max-width: 1023px) {
    header > div {
        gap: 0.45rem !important;
    }

    header .header-right {
        align-items: center;
        display: flex;
        gap: 0.35rem;
        margin-left: auto;
        min-width: 0;
    }

    #rcc-curr-wrap,
    #rcc-lang-wrap {
        margin-left: 0 !important;
    }

    #rcc-curr-btn,
    #rcc-lang-btn {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }

    #login-modal-btn.rcc-login-btn {
        margin-left: 0 !important;
        max-width: 96px;
        min-width: 0;
        overflow: hidden;
        padding-left: 0.7rem !important;
        padding-right: 0.7rem !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    #login-modal-btn.rcc-login-btn {
        font-size: 0.62rem !important;
        height: 2.25rem !important;
        letter-spacing: 0.04em;
        max-width: 86px;
        padding-left: 0.55rem !important;
        padding-right: 0.55rem !important;
    }

    .rcc-footer-shell {
        padding: 0 0 2rem;
    }

    .rcc-footer-help {
        margin-bottom: 3rem;
    }

    .rcc-footer-grid,
    .rcc-footer-bottom-inner {
        display: grid;
        gap: 1.25rem;
        grid-template-columns: 1fr;
    }

    .rcc-footer-bottom-links {
        justify-content: flex-start;
        gap: 0.75rem 1.25rem;
    }

    .rcc-footer-col h3 {
        font-size: 0.85rem;
        letter-spacing: 0.06em;
    }
}

#login-modal .woocommerce-form__label span,
#registration-modal .woocommerce-form__label span {
    white-space: normal;
}

#login-modal .woocommerce-form__label,
#registration-modal .woocommerce-form__label,
#login-modal .lost_password,
#registration-modal .woocommerce-form,
#login-modal .woocommerce-form,
#login-modal p,
#registration-modal p {
    overflow-wrap: anywhere;
    word-break: break-word;
}

#login-modal .woocommerce-form-login__submit,
#registration-modal .woocommerce-form-register__submit {
    min-height: 44px;
    white-space: normal;
}

#login-modal .lost_password a {
    white-space: normal;
}

#login-modal .woocommerce-form__label,
#registration-modal .woocommerce-form__label {
    align-items: flex-start;
}

#registration-modal .woocommerce-form-register {
    width: 100%;
}

/* Disable social/Google login blocks on login & registration UIs. */
#login-modal .xs-social-login,
#registration-modal .xs-social-login,
#login-modal .nsl-container,
#registration-modal .nsl-container,
.woocommerce-account .xs-social-login,
.woocommerce-account .nsl-container,
.woocommerce-account .google-login,
.woocommerce-account [class*="google-login"],
.woocommerce-account .xoo-el-social,
.woocommerce-account [class*="social-login"] {
    display: none !important;
}

/* Remove header search bar/icon from menu area (desktop + mobile). */
header .inspect-quick-search-wrapper,
body.isScrolling header .inspect-quick-search-wrapper,
#header-search-icon,
header .inspect-quick-search-form,
header .inspect-quick-search-input,
header .search-form,
header .search-field,
header form[role="search"],
.site-header .inspect-quick-search-wrapper,
.site-header .inspect-quick-search-form,
.site-header .search-form {
    display: none !important;
}

/* Remove listing page quick search field (sidebar/popup/map). */
.turbo-listing .inspect-filter-widget-quick,
.inspect-filter-wrapper.inspect-map-search .inspect-filter-widget-quick {
    display: none !important;
}

/* Keep blog/article featured images compact and consistent. */
.single-post .entry-media .post-thumbnail,
.blog .entry-media .post-thumbnail,
.archive .entry-media .post-thumbnail,
.search .entry-media .post-thumbnail {
    aspect-ratio: 16 / 9;
    display: block !important;
    max-height: 420px;
    overflow: hidden;
    width: 100%;
}

.single-post .entry-media .post-thumbnail img,
.blog .entry-media .post-thumbnail img,
.archive .entry-media .post-thumbnail img,
.search .entry-media .post-thumbnail img {
    height: 100% !important;
    object-fit: cover;
    width: 100%;
}

/* Homepage search banner: reduce visual noise on smaller screens. */
.search-banner.horizontal .horizontal-search-header h3 {
    font-size: clamp(2rem, 5vw, 4.8rem);
    line-height: 1.05;
}

.home .search-banner.horizontal {
    justify-content: center !important;
}

.home .search-banner.horizontal .form-container {
    margin-inline: auto !important;
}

.home .search-banner.horizontal .horizontal-search-header {
    margin-inline: auto;
    text-align: center !important;
    width: 100%;
}

.home .search-banner.horizontal .horizontal-search-header h3 {
    margin-inline: auto;
    max-width: 24ch;
    text-align: center !important;
    text-wrap: balance;
}

.home .search-banner.horizontal .horizontal-search-header p {
    margin-inline: auto;
    text-align: center !important;
}

.home .search-banner.horizontal figure.absolute.inset-0.z-10 img {
    content: url('/wp-content/uploads/atlasroads-rencarcasablanca.webp');
    object-fit: cover;
}

.home .elementor-element-6d48362 .mt-image {
    background-image: url('/wp-content/uploads/atlasroads-cars.webp');
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 0.75rem;
    min-height: 340px;
}

.home .elementor-element-7f6647b .grid.grid-cols-2 > figure:nth-child(1) img {
    content: url('/wp-content/uploads/carablanca-mosque.jpg');
    object-fit: cover;
    object-position: center;
}

.home .elementor-element-7f6647b .grid.grid-cols-2 > figure:nth-child(2) img {
    content: url('/wp-content/uploads/casabablanca-rental-car.jpg');
    object-fit: cover;
    object-position: center top;
}

/* Homepage "Pourquoi choisir..." block: use custom uploaded images + numbered titles. */
.home .elementor-element-515f34b .grid.grid-cols-2 > figure {
    border-radius: 0.75rem;
    overflow: hidden;
}

.home .elementor-element-515f34b .grid.grid-cols-2 > figure:nth-child(1) img {
    content: url('/wp-content/uploads/bmw-serie-3-rental-car.jpg');
    aspect-ratio: 450 / 580;
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.home .elementor-element-515f34b .grid.grid-cols-2 > figure:nth-child(2) img {
    content: url('/wp-content/uploads/hyundai-tucson-rental-car-casablanca.jpg');
    aspect-ratio: 450 / 580;
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.home .elementor-element-515f34b .cta-list-container {
    counter-reset: home-benefit-counter;
}

.home .elementor-element-515f34b .cta-list-item {
    counter-increment: home-benefit-counter;
    align-items: start !important;
    display: grid !important;
    gap: 0.35rem 1rem;
    grid-template-columns: 3.1rem minmax(0, 1fr);
}

.home .elementor-element-515f34b .cta-list-item::before {
    color: #b8bcc3;
    content: counter(home-benefit-counter, decimal-leading-zero);
    font-size: clamp(2.05rem, 2.4vw, 3rem);
    font-weight: 600;
    grid-column: 1;
    grid-row: 1 / span 2;
    line-height: 1;
    margin-top: 0.35rem;
}

.home .elementor-element-515f34b .cta-list-item .cta-list-icon {
    display: none !important;
}

.home .elementor-element-515f34b .cta-list-item > div {
    grid-column: 2;
}

.home .elementor-element-515f34b .cta-list-title {
    margin-bottom: 0.35rem;
}

.home .elementor-element-515f34b .cta-list-title::before {
    content: none;
}

@media (max-width: 767px) {
    .home .elementor-element-515f34b .cta-list-item {
        grid-template-columns: 2.55rem minmax(0, 1fr);
    }

    .home .elementor-element-515f34b .cta-list-item::before {
        font-size: 2.15rem;
        margin-top: 0.2rem;
    }
}

/* Homepage premium service block: reduce image dominance and keep mobile tidy. */
.home .elementor-element-6d48362 {
    overflow: visible !important;
}

.home .mt-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 58%) minmax(0, 42%);
    align-items: flex-end;
    gap: 1.5rem;
    min-height: 430px;
    overflow: visible;
    padding: 1.2rem 1.4rem 0.6rem;
}

.home .mt-wrapper .mt-text-wrapper {
    max-width: none !important;
    padding-bottom: 1.4rem;
    position: relative;
    z-index: 2;
}

.home .mt-wrapper .mt-image {
    align-self: flex-end;
    margin-left: 0;
    max-width: none;
    overflow: visible;
    position: relative;
    width: 100%;
    z-index: 1;
}

.home .mt-wrapper .mt-image img {
    display: block;
    height: auto;
    margin-bottom: -2px;
    max-height: 340px;
    object-fit: contain;
    object-position: bottom center;
    width: 100%;
}

.home .mt-wrapper .mt-heading {
    font-size: clamp(1.75rem, 3.2vw, 3.1rem);
    line-height: 1.05;
}

.home .mt-wrapper .mt-desc {
    max-width: 48ch;
}

@media (max-width: 1199px) {
    .home .mt-wrapper {
        gap: 1.2rem;
        grid-template-columns: minmax(0, 56%) minmax(0, 44%);
        min-height: 390px;
    }

    .home .elementor-element-6d48362 .mt-image {
        min-height: 300px;
    }

    .home .mt-wrapper .mt-image img {
        max-height: 280px;
    }

    .home .mt-wrapper .mt-heading {
        font-size: clamp(1.5rem, 4vw, 2.45rem);
    }
}

@media (max-width: 991px) {
    .home .elementor-element-6d48362 .mt-wrapper {
        align-items: center;
        display: grid !important;
        gap: 1rem;
        grid-template-columns: 1fr !important;
        overflow: hidden;
        padding: 1rem;
    }

    .home .elementor-element-6d48362 .mt-text-wrapper {
        inline-size: 100%;
        max-width: 100% !important;
        order: 1;
        padding-bottom: 0;
        width: 100%;
        z-index: 2;
    }

    .home .elementor-element-6d48362 .mt-image {
        margin-left: 0;
        max-width: 100%;
        order: 2;
        width: 100%;
        z-index: 0;
    }

    .home .elementor-element-6d48362 .mt-image {
        background-position: center bottom;
        background-size: 135% auto;
        min-height: 190px;
    }

    .home .elementor-element-6d48362 .mt-image img {
        margin-bottom: 0;
        max-height: 160px;
        width: 100%;
    }

    .home .elementor-element-6d48362 .mt-heading {
        font-size: clamp(1.35rem, 7vw, 2rem);
        line-height: 1.12;
    }

    .home .elementor-element-6d48362 .mt-desc {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-top: 0.9rem;
    }

    .home .elementor-element-6d48362 .mt-link {
        display: inline-flex;
        margin-top: 1rem;
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    .home .elementor-element-6d48362 .mt-wrapper {
        gap: 0.85rem;
        padding: 0.9rem 0.85rem 1.1rem;
    }

    .home .elementor-element-6d48362 .mt-image {
        height: auto;
        overflow: visible;
        z-index: 0;
    }

    .home .elementor-element-6d48362 .mt-image img {
        height: auto;
        max-height: none;
        object-fit: contain;
        object-position: center bottom;
        width: 100%;
    }

    .home .elementor-element-6d48362 .mt-image {
        background-position: center bottom;
        background-size: contain;
        min-height: 210px;
    }

    .home .elementor-element-6d48362 .mt-heading {
        font-size: 2rem;
        line-height: 1.08;
    }

    .home .elementor-element-6d48362 .mt-link {
        font-size: 1rem;
        letter-spacing: 1px;
        padding: 0.85rem 1.1rem;
    }
}

/* ── CTA list items: numbered icons 1 and 2 ── */
.home .elementor-element-7f6647b .cta-list-container {
    counter-reset: cta-counter;
}
.home .elementor-element-7f6647b .cta-list-item {
    counter-increment: cta-counter;
}
.home .elementor-element-7f6647b .cta-list-item:not(:has(.cta-list-icon))::before {
    content: "0" counter(cta-counter);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 64px;
    border-radius: 1rem;
    background-color: #EFF2F3;
    color: var(--brand-color, #111827);
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.blog .post-thumbnail.turbo-image-fade-in img,
.archive .post-thumbnail.turbo-image-fade-in img,
.page-template .post-thumbnail.turbo-image-fade-in img,
.single-post .post-thumbnail.turbo-image-fade-in img {
    opacity: 1 !important;
}

.blog .woocommerce_banner,
.category .woocommerce_banner,
.tag .woocommerce_banner,
.author .woocommerce_banner,
.date .woocommerce_banner,
.single-post .woocommerce_banner,
.search .woocommerce_banner {
    background-color: #08142b !important;
    background-image: none !important;
    overflow: hidden;
    position: relative;
}

.blog .woocommerce_banner::before,
.category .woocommerce_banner::before,
.tag .woocommerce_banner::before,
.author .woocommerce_banner::before,
.date .woocommerce_banner::before,
.single-post .woocommerce_banner::before,
.search .woocommerce_banner::before {
    background-image: url('/wp-content/uploads/atlasroads-zalij.jpg');
    background-position: center;
    background-repeat: repeat;
    background-size: 420px auto;
    content: "";
    inset: 0;
    opacity: 0.14;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.blog .woocommerce_banner > .container,
.category .woocommerce_banner > .container,
.tag .woocommerce_banner > .container,
.author .woocommerce_banner > .container,
.date .woocommerce_banner > .container,
.single-post .woocommerce_banner > .container,
.search .woocommerce_banner > .container {
    position: relative;
    z-index: 1;
}

.blog .entry-media .post-thumbnail,
.archive .entry-media .post-thumbnail,
.page-template .entry-media .post-thumbnail {
    max-height: 300px;
}

.product-price .woocommerce-Price-amount {
    letter-spacing: 0;
    margin-right: 0.1rem;
}

.product-price .woocommerce-Price-currencySymbol {
    margin-left: 0;
}

.product-price .amount[class*='rnb_price_unit_'] {
    display: inline-flex;
    gap: 0.1rem;
    white-space: nowrap;
}

#login-modal-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* ── Hide "Découvrez nos véhicules disponibles" title on homepage ── */
.elementor-element-511568d,
.elementor-element-e05a709 {
    display: none !important;
}

/* ── Login / Registration modal: image fills full right panel ── */
#login-modal .hidden.md\:block,
#registration-modal .hidden.md\:block {
    height: 100%;
    overflow: hidden;
}

#login-modal .hidden.md\:block figure,
#registration-modal .hidden.md\:block figure {
    height: 100%;
    margin: 0;
}

#login-modal .hidden.md\:block figure img,
#registration-modal .hidden.md\:block figure img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

/* ── Login modal: remember-me + lost-password compact on one line ── */
#login-modal .woocommerce-LostPassword.lost_password {
    margin-bottom: 0;
    white-space: nowrap;
}

#login-modal .woocommerce-LostPassword.lost_password a {
    font-size: 0.7rem;
    white-space: nowrap;
}

#login-modal .woocommerce-form__label.mb-0 {
    white-space: nowrap;
}

#login-modal .woocommerce-form__label.mb-0 span {
    font-size: 0.7rem;
    white-space: nowrap;
}

/* Remove Google / social login from registration modal specifically */
#registration-modal .xs-social-login,
#registration-modal .nsl-container,
#registration-modal [class*="google"],
#registration-modal [class*="social"],
#registration-modal .xoo-el-social,
#registration-modal .wp-social-login {
    display: none !important;
}

@media (max-width: 991px) {
    .search-banner.horizontal .horizontal-search-header h3 {
        font-size: clamp(1.5rem, 8vw, 2.4rem);
        text-align: center;
    }

    .search-banner.horizontal .horizontal-search-header p {
        font-size: 0.95rem;
        line-height: 1.35;
        margin-top: 0.5rem;
        text-align: center;
    }

    .search-banner.horizontal .inspect-horizontal-search-oob .inspect-filter-widget-title {
        display: none !important;
    }

    .wf_title {
        font-size: 0.95rem !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 767px) {
    .wf_title {
        display: none !important;
    }
}

/* Booking resources/deposit rows: compact toggle style with right-aligned price. */
.rcc-booking-options-title {
    color: #111827;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.rcc-booking-option {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: 0;
    padding: 0.35rem 0;
}

.rcc-booking-option-control {
    align-items: center;
    cursor: pointer;
    display: inline-flex;
    gap: 0.75rem;
    margin: 0;
}

.rcc-booking-option-name {
    color: #2d3444;
    font-size: 1.05rem;
    line-height: 1.35;
}

.rcc-booking-option-price {
    color: #2d3444;
    font-size: 1.05rem;
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
}

.rcc-booking-option-price .pull-right {
    float: none;
}

.rcc-booking-option-price .show_if_day,
.rcc-booking-option-price .show_if_time {
    display: inline-block;
}

.rcc-booking-option-price .show_if_time {
    margin-left: 0.55rem;
}

.rcc-booking-option-description {
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0.15rem 0 0.45rem 3rem;
}

.rcc-toggle-input {
    height: 1px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 1px;
}

.rcc-toggle-slider {
    background: #9ba4b4;
    border-radius: 999px;
    display: inline-block;
    flex: 0 0 38px;
    height: 22px;
    position: relative;
    transition: background 0.2s ease;
    width: 38px;
}

.rcc-toggle-slider::before {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.3);
    content: "";
    height: 18px;
    left: 2px;
    position: absolute;
    top: 2px;
    transition: transform 0.2s ease;
    width: 18px;
}

.rcc-toggle-input:checked + .rcc-toggle-slider {
    background: #0f172a;
}

.rcc-toggle-input:checked + .rcc-toggle-slider::before {
    transform: translateX(16px);
}

@media (max-width: 767px) {
    .rcc-booking-options-title {
        font-size: 1.2rem;
    }

    .rcc-booking-option-name,
    .rcc-booking-option-price {
        font-size: 0.95rem;
    }

    .rcc-booking-option {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .rcc-booking-option-price {
        margin-left: 2.7rem;
        text-align: left;
        white-space: normal;
    }
}

.rcc-privacy-policy {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin: 1.5rem auto 2rem;
    max-width: 960px;
    padding: 1.25rem 1.25rem 1.5rem;
}

.rcc-privacy-policy__hero h1 {
    color: #0e1730;
    font-size: clamp(1.3rem, 2vw, 2rem);
    line-height: 1.25;
    margin: 0 0 0.4rem;
}

.rcc-privacy-policy__date,
.rcc-privacy-policy__intro {
    color: #4b5563;
    margin: 0.35rem 0;
}

.rcc-privacy-policy__toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin: 1rem 0 1.25rem;
    padding: 0.75rem 0.9rem;
}

.rcc-privacy-policy__toc ol {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding-left: 1rem;
}

.rcc-privacy-policy__toc a {
    color: #0e1730;
    text-decoration: none;
}

.rcc-privacy-policy__section {
    margin-top: 1rem;
}

.rcc-privacy-policy__section h2 {
    color: #111827;
    font-size: 1rem;
    margin: 0 0 0.45rem;
}

.rcc-privacy-policy__section ul {
    margin: 0;
    padding-left: 1.1rem;
}

.rcc-privacy-policy__section li {
    color: #4b5563;
    line-height: 1.65;
    margin-bottom: 0.35rem;
}

/* ── Car listing: 4 columns ── */
@media (min-width: 1280px) {
    .inspect-listing-page .inspect-filter-results-container {
        --grid-column-item: calc(4 - 1);
    }
}
@media (min-width: 1780px) {
    .inspect-listing-page .inspect-filter-results-container {
        --grid-column-item: 4;
    }
}

/* ── Homepage fancy-title: centered and wraps to 2 lines ── */
.elementor-widget-tm_fancy_title .elementor-widget-container {
    text-align: center !important;
    display: block !important;
}
.elementor-widget-tm_fancy_title .fancy-title-container {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
}
.elementor-widget-tm_fancy_title .fancy-title,
.elementor-widget-tm_fancy_title .fancy-desc {
    text-align: center !important;
    width: 100% !important;
}

/* ── Remove FAQ + News sections from homepage ── */
.home .elementor-element-e40cee9,
.home .elementor-element-a5ce751 {
    display: none !important;
}

/* ── Hide RnB pricing info / flip-box on product pages ── */
.rnb-pricing-plan-button,
.price-showing {
    display: none !important;
}

/* belt-and-suspenders: hide the outer wrapper card that the theme adds */
.single-product .woocommerce-product-details__short-description ~ div.rounded-lg.bg-gray-100 h3,
.single-product .rounded-lg.bg-gray-100:has(.price-showing) {
    display: none !important;
}

/* ── Banner / Hero: force title & subtitle centred on all screen sizes ───── */
.woocommerce_banner h1,
.woocommerce_banner h2 {
    text-align: center !important;
}
.woocommerce_banner p {
    text-align: center !important;
}
