/* =============================================
   Main Header - RTL
   ============================================= */

html[dir="rtl"] .main-header .main-header-menu {
    margin-left: 28px;
    margin-right: auto;
}

html[dir="rtl"] .main-header .main-header-menu-link {
    flex-direction: row-reverse;
}

html[dir="rtl"] .main-header .main-header-toggler {
    margin-left: 0;
    margin-right: 0;
}

html[dir="rtl"] .main-header .main-header-promo-text {
    text-align: center;
}

@media (max-width: 1199.98px) {
    html[dir="rtl"] .main-header .main-header-menu {
        margin-left: 18px;
        margin-right: auto;
    }
}

@media (max-width: 991.98px) {
    html[dir="rtl"] .main-header .main-header-actions {
        margin-left: 0;
        margin-right: auto;
    }

    html[dir="rtl"] .main-header .main-header-toggler {
        margin-left: 0;
        margin-right: 0;
    }

    html[dir="rtl"] .main-header .main-header-menu {
        margin-left: 0;
        margin-right: 0;
        right: auto;
        left: 0;
        transform: translateX(-100%);
    }

    html[dir="rtl"] .main-header .main-header-menu.is-open {
        transform: translateX(0);
    }

    html[dir="rtl"] .main-header .main-header-menu-list {
        align-items: stretch;
    }

    html[dir="rtl"] .main-header .main-header-menu-link {
        text-align: right;
        flex-direction: row-reverse;
    }
}

/* =============================================
   Hero Section - RTL
   ============================================= */

html[dir="rtl"] .hero-section .hero-section-overlay {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.2) 100%);
}

html[dir="rtl"] .hero-section .hero-section-content {
    text-align: right;
}

html[dir="rtl"] .hero-section .hero-section-description {
    margin-left: 0;
    margin-right: 0;
}

html[dir="rtl"] .hero-section .hero-section-buttons {
    justify-content: flex-start;
}

/* =============================================
   Hero Section Features - RTL
   ============================================= */

html[dir="rtl"] .hero-section-features .hero-section-feature-text {
    text-align: start;
}

@media (max-width: 767.98px) {
    html[dir="rtl"] .hero-section-features .hero-section-feature {
        justify-content: flex-start;
        text-align: start;
    }
}

/* =============================================
   Find Products Section - RTL
   ============================================= */

html[dir="rtl"] .find-products-section .find-products-section-select {
    background-position: left 16px center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

html[dir="rtl"] .find-products-section .find-products-section-label {
    text-align: right;
}

/* =============================================
   Shop By Category Section - RTL
   ============================================= */

html[dir="rtl"] .shop-category-section .shop-category-section-title {
    text-align: center;
}

html[dir="rtl"] .shop-category-section .shop-category-section-card {
    text-align: center;
}

html[dir="rtl"] .shop-category-section .shop-category-section-card-title {
    text-align: center;
}

/* =============================================
   Featured Vehicle Packages Section - RTL
   ============================================= */

html[dir="rtl"] .featured-packages-section .featured-packages-section-title,
html[dir="rtl"] .featured-packages-section .featured-packages-section-subtitle {
    text-align: center;
}

html[dir="rtl"] .featured-packages-section .featured-packages-section-card-body {
    text-align: right;
}

html[dir="rtl"] .featured-packages-section .featured-packages-section-card-prices {
    align-items: flex-start;
}

html[dir="rtl"] .featured-packages-section .featured-packages-section-actions {
    justify-content: center;
}

@media (max-width: 575.98px) {
    html[dir="rtl"] .featured-packages-section .featured-packages-section-card-prices {
        align-items: flex-end;
    }
}

/* =============================================
   Best Selling Products Section - RTL
   ============================================= */

html[dir="rtl"] .best-selling-section .best-selling-section-title,
html[dir="rtl"] .product-range-section .product-range-section-title {
    text-align: center;
}

html[dir="rtl"] .best-selling-section .best-selling-section-card-body,
html[dir="rtl"] .product-range-section .best-selling-section-card-body {
    text-align: right;
}

html[dir="rtl"] .best-selling-section .best-selling-section-card-prices,
html[dir="rtl"] .best-selling-section .best-selling-section-card-rating,
html[dir="rtl"] .product-range-section .best-selling-section-card-prices,
html[dir="rtl"] .product-range-section .best-selling-section-card-rating {
    justify-content: flex-start;
}

html[dir="rtl"] .best-selling-section .best-selling-section-actions,
html[dir="rtl"] .product-range-section .best-selling-section-actions {
    justify-content: center;
}

/* =============================================
   Vehicle Solutions Section - RTL
   ============================================= */

html[dir="rtl"] .vehicle-solutions-section .vehicle-solutions-section-content {
    text-align: right;
}

html[dir="rtl"] .vehicle-solutions-section .vehicle-solutions-section-features-title {
    text-align: center;
}

html[dir="rtl"] .vehicle-solutions-section .vehicle-solutions-section-feature {
    text-align: start;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 991.98px) {
    html[dir="rtl"] .vehicle-solutions-section .vehicle-solutions-section-content {
        text-align: center;
    }

    html[dir="rtl"] .vehicle-solutions-section .vehicle-solutions-section-feature {
        text-align: center;
    }
}

/* =============================================
   How It Works Section - RTL
   ============================================= */

html[dir="rtl"] .how-it-works-section .how-it-works-section-content {
    text-align: right;
}

html[dir="rtl"] .how-it-works-section .how-it-works-section-steps {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .how-it-works-section .how-it-works-section-step {
    text-align: right;
}

@media (max-width: 991.98px) {
    html[dir="rtl"] .how-it-works-section .how-it-works-section-content {
        text-align: center;
    }

    html[dir="rtl"] .how-it-works-section .how-it-works-section-steps {
        margin-left: 0;
        margin-right: 0;
    }
}

/* =============================================
   Why Choose Section - RTL
   ============================================= */

html[dir="rtl"] .why-choose-section .why-choose-section-title {
    text-align: center;
}

html[dir="rtl"] .why-choose-section .why-choose-section-list {
    align-items: flex-start;
}

html[dir="rtl"] .why-choose-section .why-choose-section-item {
    text-align: right;
}

@media (max-width: 991.98px) {
    html[dir="rtl"] .why-choose-section .why-choose-section-list {
        align-items: stretch;
    }
}

/* =============================================
   Installation Guides Section - RTL
   ============================================= */

html[dir="rtl"] .installation-guides-section .installation-guides-section-title,
html[dir="rtl"] .installation-guides-section .installation-guides-section-subtitle {
    text-align: center;
}

html[dir="rtl"] .installation-guides-section .installation-guides-section-card-title {
    text-align: right;
}

html[dir="rtl"] .installation-guides-section .installation-guides-section-card-play {
    transform: translate(-50%, -50%) scaleX(-1);
}

html[dir="rtl"] .installation-guides-section .installation-guides-section-actions {
    justify-content: center;
}

/* =============================================
   Testimonials Section - RTL
   ============================================= */

html[dir="rtl"] .testimonials-section .testimonials-section-header {
    justify-content: center;
}

html[dir="rtl"] .testimonials-section .testimonials-section-title {
    text-align: center;
}

html[dir="rtl"] .testimonials-section .testimonials-section-card {
    flex-direction: row-reverse;
}

html[dir="rtl"] .testimonials-section .testimonials-section-card-body {
    text-align: right;
}

html[dir="rtl"] .testimonials-section .testimonials-section-actions {
    justify-content: center;
}

@media (max-width: 767.98px) {
    html[dir="rtl"] .testimonials-section .testimonials-section-card {
        flex-direction: column;
    }
}

/* =============================================
   FAQ Section - RTL
   ============================================= */

html[dir="rtl"] .faq-section .faq-section-sidebar-list {
    align-items: flex-start;
}

html[dir="rtl"] .faq-section .faq-section-sidebar-item {
    text-align: right;
}

html[dir="rtl"] .faq-section .faq-section-title {
    text-align: right;
}

html[dir="rtl"] .faq-section .faq-section-item-trigger,
html[dir="rtl"] .product-support-section .faq-section-item-trigger {
    text-align: right;
}

html[dir="rtl"] .faq-section .faq-section-item-answer,
html[dir="rtl"] .product-support-section .faq-section-item-answer {
    text-align: right;
}

@media (max-width: 991.98px) {
    html[dir="rtl"] .faq-section .faq-section-title {
        text-align: center;
    }
}

/* =============================================
   Articles Section - RTL
   ============================================= */

html[dir="rtl"] .articles-section .articles-section-title {
    text-align: center;
}

html[dir="rtl"] .articles-section .articles-section-card-body {
    text-align: right;
}

html[dir="rtl"] .articles-section .articles-section-card-btn {
    align-self: flex-start;
}

/* =============================================
   CTA Banner Section - RTL
   ============================================= */

html[dir="rtl"] .cta-banner-section .cta-banner-section-cta {
    padding-right: 0;
    padding-left: 40px;
    text-align: right;
}

html[dir="rtl"] .cta-banner-section .cta-banner-section-buttons {
    justify-content: flex-start;
}

html[dir="rtl"] .cta-banner-section .cta-banner-section-newsletter {
    padding-left: 0;
    padding-right: 40px;
    border-left: none;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
    text-align: right;
}

html[dir="rtl"] .cta-banner-section .cta-banner-section-form {
    flex-direction: row;
}

@media (max-width: 1199.98px) {
    html[dir="rtl"] .cta-banner-section .cta-banner-section-cta {
        padding-left: 28px;
    }

    html[dir="rtl"] .cta-banner-section .cta-banner-section-newsletter {
        padding-right: 28px;
    }
}

@media (max-width: 991.98px) {
    html[dir="rtl"] .cta-banner-section .cta-banner-section-cta {
        padding-left: 0;
        text-align: center;
    }

    html[dir="rtl"] .cta-banner-section .cta-banner-section-buttons {
        justify-content: center;
    }

    html[dir="rtl"] .cta-banner-section .cta-banner-section-newsletter {
        padding-right: 0;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.35);
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    html[dir="rtl"] .cta-banner-section .cta-banner-section-form {
        flex-direction: column;
    }
}

/* =============================================
   Site Footer - RTL
   ============================================= */

html[dir="rtl"] .site-footer .site-footer-contact-label {
    padding-left: 0;
    padding-right: 10px;
    border-left: none;
    border-right: 2px solid var(--cb-red);
    text-align: right;
}

html[dir="rtl"] .site-footer .site-footer-contact-value,
html[dir="rtl"] .site-footer .site-footer-nav-title,
html[dir="rtl"] .site-footer .site-footer-nav-link {
    text-align: right;
}

html[dir="rtl"] .site-footer .site-footer-payments {
    align-items: flex-end;
}

html[dir="rtl"] .site-footer .site-footer-bottom {
    flex-direction: row;
}

@media (max-width: 991.98px) {
    html[dir="rtl"] .site-footer .site-footer-payments {
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    html[dir="rtl"] .site-footer .site-footer-bottom {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    html[dir="rtl"] .site-footer .site-footer-contact-label,
    html[dir="rtl"] .site-footer .site-footer-contact-value,
    html[dir="rtl"] .site-footer .site-footer-nav-title,
    html[dir="rtl"] .site-footer .site-footer-nav-link,
    html[dir="rtl"] .site-footer .site-footer-copyright {
        text-align: center;
    }

    html[dir="rtl"] .site-footer .site-footer-contact-label {
        border-right: none;
        border-left: 2px solid var(--cb-red);
        display: inline-block;
        padding-right: 0;
        padding-left: 10px;
    }

    html[dir="rtl"] .site-footer .site-footer-payments {
        align-items: center;
        justify-content: center;
    }
}

/* =============================================
   Product Detail Section - RTL
   ============================================= */

html[dir="rtl"] .product-detail-section .product-detail-section-breadcrumb {
    flex-direction: row;
}

html[dir="rtl"] .product-detail-section .product-detail-section-breadcrumb-sep {
    transform: scaleX(-1);
}

html[dir="rtl"] .product-detail-section .product-detail-section-info {
    text-align: right;
}

html[dir="rtl"] .product-detail-section .product-detail-section-rating,
html[dir="rtl"] .product-detail-section .product-detail-section-price-row,
html[dir="rtl"] .product-detail-section .product-detail-section-trust,
html[dir="rtl"] .product-detail-section .product-detail-section-payments-logos,
html[dir="rtl"] .product-detail-section .product-detail-section-swatches,
html[dir="rtl"] .product-detail-section .product-detail-section-chips {
    justify-content: flex-start;
}

html[dir="rtl"] .product-detail-section .product-detail-section-meta {
    flex-direction: row;
}

html[dir="rtl"] .product-detail-section .product-detail-section-meta-col,
html[dir="rtl"] .product-detail-section .product-detail-section-payments {
    align-items: flex-start;
}

html[dir="rtl"] .product-detail-section .product-detail-section-zoom {
    right: auto;
    left: 12px;
}

html[dir="rtl"] .product-detail-section .product-detail-section-view360 {
    right: auto;
    left: 12px;
}

@media (max-width: 991.98px) {
    html[dir="rtl"] .product-detail-section .product-detail-section-info {
        text-align: right;
    }
}

/* =============================================
   Product Find Section - RTL
   ============================================= */

html[dir="rtl"] .product-find-section .product-find-section-field {
    padding: 10px 16px 10px 40px;
    background-position: left 16px center;
}

html[dir="rtl"] .product-find-section .product-find-section-btn img {
    transform: scaleX(-1);
}

html[dir="rtl"] .product-find-section .product-find-section-feature:not(:last-child) {
    border-right: none;
    border-left: 1px solid rgba(68, 68, 68, 0.25);
}

html[dir="rtl"] .product-find-section .product-find-section-feature:first-child {
    padding-left: 24px;
    padding-right: 0;
}

html[dir="rtl"] .product-find-section .product-find-section-feature:last-child {
    padding-right: 24px;
    padding-left: 0;
}

@media (max-width: 991.98px) {
    html[dir="rtl"] .product-find-section .product-find-section-feature:not(:last-child) {
        border-left: none;
        border-bottom: 1px solid rgba(68, 68, 68, 0.2);
    }

    html[dir="rtl"] .product-find-section .product-find-section-feature:first-child,
    html[dir="rtl"] .product-find-section .product-find-section-feature:last-child {
        padding-left: 0;
        padding-right: 0;
    }
}

/* =============================================
   Product Benefits Section - RTL
   ============================================= */

html[dir="rtl"] .product-benefits-section .product-benefits-section-item:not(:last-child)::after {
    right: auto;
    left: 0;
}

@media (max-width: 575.98px) {
    html[dir="rtl"] .product-benefits-section .product-benefits-section-item:not(:last-child)::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

/* =============================================
   Product Install Section - RTL
   ============================================= */

html[dir="rtl"] .product-install-section .product-install-section-item {
    text-align: right;
}

html[dir="rtl"] .product-install-section .product-install-section-arrow {
    transform: scaleX(-1);
}

html[dir="rtl"] .product-install-section .product-install-section-feature:not(:last-child)::after {
    right: auto;
    left: 0;
}

@media (max-width: 575.98px) {
    html[dir="rtl"] .product-install-section .product-install-section-feature:not(:last-child)::after {
        left: auto;
        right: 0;
    }
}

/* =============================================
   Product Info Section - RTL
   ============================================= */

html[dir="rtl"] .product-info-section .product-info-section-heading,
html[dir="rtl"] .product-info-section .product-info-section-text {
    text-align: right;
}

@media (max-width: 575.98px) {
    html[dir="rtl"] .product-info-section .product-info-section-tabs {
        justify-content: flex-start;
    }
}

/* =============================================
   Product Specs Section - RTL
   ============================================= */

html[dir="rtl"] .product-specs-section .product-specs-section-value {
    text-align: left;
}

@media (max-width: 575.98px) {
    html[dir="rtl"] .product-specs-section .product-specs-section-value {
        text-align: right;
    }
}

/* =============================================
   Product Steps Section - RTL
   ============================================= */

html[dir="rtl"] .product-steps-section .product-steps-section-card {
    text-align: center;
}

/* =============================================
   Product How-To Section - RTL
   ============================================= */

html[dir="rtl"] .product-howto-section .product-howto-section-title,
html[dir="rtl"] .product-howto-section .product-howto-section-calc-title,
html[dir="rtl"] .product-howto-section .product-howto-section-calc-text,
html[dir="rtl"] .product-howto-section .product-howto-section-caption {
    text-align: right;
}

html[dir="rtl"] .product-howto-section .product-howto-section-media-col {
    padding-right: 0;
    padding-left: 0;
}

html[dir="rtl"] .product-howto-section .product-howto-section-video::after {
    right: auto;
    left: -48px;
}

@media (max-width: 1199.98px) {
    html[dir="rtl"] .product-howto-section .product-howto-section-media-col {
        padding-left: 32px;
    }

    html[dir="rtl"] .product-howto-section .product-howto-section-video::after {
        left: -32px;
    }
}

@media (max-width: 991.98px) {
    html[dir="rtl"] .product-howto-section .product-howto-section-media-col {
        padding-left: 0;
    }
}

/* =============================================
   Product Reviews Section - RTL
   ============================================= */

html[dir="rtl"] .product-reviews-section .product-reviews-section-score {
    border-right: none;
    border-left: 1px solid rgba(68, 68, 68, 0.25);
}

html[dir="rtl"] .product-reviews-section .product-reviews-section-bar-value {
    text-align: left;
}

html[dir="rtl"] .product-reviews-section .product-reviews-section-nav--prev {
    left: auto;
    right: 0;
}

html[dir="rtl"] .product-reviews-section .product-reviews-section-nav--next {
    right: auto;
    left: 0;
}

html[dir="rtl"] .product-reviews-section .product-reviews-section-nav img {
    transform: scaleX(-1);
}

/* Keep Owl track LTR so stage transform stays visible; content stays RTL */
html[dir="rtl"] .product-reviews-section .product-reviews-section-carousel,
html[dir="rtl"] .product-reviews-section .product-reviews-section-carousel .owl-stage-outer,
html[dir="rtl"] .product-reviews-section .product-reviews-section-carousel .owl-stage {
    direction: ltr;
}

html[dir="rtl"] .product-reviews-section .product-reviews-section-item,
html[dir="rtl"] .product-reviews-section .product-reviews-section-card {
    direction: rtl;
}

html[dir="rtl"] .product-support-section .product-support-section-title {
    text-align: center;
}

html[dir="rtl"] .product-sticky-bar .product-sticky-bar-info {
    text-align: right;
}

html[dir="rtl"] .product-sticky-bar .product-sticky-bar-actions {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .product-sticky-bar .product-sticky-bar-qty-input {
    border-left: 1px solid rgba(68, 68, 68, 0.4);
    border-right: 1px solid rgba(68, 68, 68, 0.4);
}

@media (max-width: 991.98px) {
    html[dir="rtl"] .product-sticky-bar .product-sticky-bar-prices {
        margin-right: 0;
        margin-left: auto;
    }

    html[dir="rtl"] .product-sticky-bar .product-sticky-bar-actions {
        margin-right: 0;
    }
}

html[dir="rtl"] .product-reviews-section .product-reviews-section-card-content {
    text-align: right;
}

@media (max-width: 991.98px) {
    html[dir="rtl"] .product-reviews-section .product-reviews-section-score {
        border-left: none;
        border-bottom: 1px solid rgba(68, 68, 68, 0.25);
    }
}
