.header-area .header-top .switcher-lang-currency {
    padding: 0;
    border-left: none;
    border-right: none;
}

/* Menu Category Search Select css start */
.header-area .header-middle .header-middle-wrap .search-area .search-wrap .form-select,
.menu-offcanvas .mobile-menu-area .menu-search-form .form-select {
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 2.5rem 0 1.5rem;
}
/* Menu Category Search Select css end */

/* ----- Extra CSS Start ----- */

/* Toaster CSS Start */
.swal2-popup.swal2-toast {
    display: flex!important;
    padding: 15px!important;
}
.swal2-popup.swal2-toast .swal2-title {
    font-size: 1.4em!important;
}
/* Toaster CSS End */

/* Checkout Page CSS */
.checkout-page-color-show {
    display: inline-flex;
    align-items: center;
}
.checkout-page-color-show span {
    height: 18px;
    width: 18px;
    display: inline-flex;
    border-radius: 50%;
    margin-left: 5px;
}
/* Checkout Page CSS */

/* Cart Page CSS */
.cart-page-area .cart-page-bottom-box-wrap {
    justify-content: space-between;
}
/* Cart Page CSS */

.lang-switcher .flag {
    position: relative;
    top: -2px;
}

.order-progress .single-progress.canceled {
    color: #333333;
}

.order-progress .single-progress.canceled::before {
    background: #FC1010;
    -webkit-box-shadow: 0 0 0 2px #EEEEEE;
    box-shadow: 0 0 0 2px #FC1010
}
.my-order-td-row {
    padding-top: 30px !important;
}

.primary-btn-v2.write-review-btn {
    padding: 0.75rem 2rem !important;
}

.review-right .product-review {
    display: flex;
}

.review-right .product-review .review-item.active {
    color: #FCA610;
}

.product-single-area .product-bottom-info .tab-content .product-reviews .review-top .review-top-left .product-review {
    margin: 0 20px;
}

.product-single-area .product-bottom-info .tab-content .product-reviews .review-top .review-top-left .product-review .review-item {
    display: inline-block;
    color: #E9E9E9;
    cursor: pointer;
    line-height: 1;
}

.product-single-area .product-bottom-info .tab-content .product-reviews .review-top .review-top-left .product-review .review-item.active {
    color: #FCA610;
}

.product-single-area .product-bottom-info .tab-content .product-reviews .reviews-list .single-review .review-middle .product-review {
    margin-right: 2rem;
}

.product-single-area .product-bottom-info .tab-content .product-reviews .reviews-list .single-review .review-middle .product-review .review-item {
    display: inline-block;
    color: #E9E9E9;
    line-height: 1;
    cursor: pointer;
}

.product-single-area .product-bottom-info .tab-content .product-reviews .reviews-list .single-review .review-middle .product-review .review-item.active {
    color: #FCA610;
}

.testimonial-area .testimonail-slide .single-testimonial .review-area .inactive {
    color: var(--bColor);
}

.StripeElement {
    box-sizing: border-box;

    height: 40px;

    padding: 10px 12px;

    border: 1px solid transparent;
    border-radius: 4px;
    background-color: white;

    box-shadow: 0 1px 3px 0 #e6ebf1;
    -webkit-transition: box-shadow 150ms ease;
    transition: box-shadow 150ms ease;
}

.StripeElement--focus {
    box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
    border-color: #fa755a;
}

.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}

/* Menu CSS */
.account-switcher {
    margin-right: 0;
}
.currency-switcher .flag {
    width: auto;
}
/* Menu CSS */

/* ═══════════════════════════════════════════════════════════════════════════
   FRONTEND HEADER — ENHANCED UI/UX
   rem base = 10px. Overrides style.min.css. Uses var(--primary-color).
═══════════════════════════════════════════════════════════════════════════ */

/* ── Sticky nav bar — keep original dark background, add shadow ──────────*/
.header-area .header-bottom#headerNav {
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

/* ── Top bar right: spacing between sections ─────────────────────────────*/
.header-area .header-top .header-top-right {
    display: flex;
    align-items: center;
    gap: 2.4rem;
}

/* ── Top bar: consolidated tracking links ────────────────────────────────*/
.hdr-track-list {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
}
.hdr-track-list .menu-item {
    display: flex;
    align-items: center;
    margin-right: 0 !important;
}
.hdr-track-list .menu-item + .menu-item::before {
    content: '|';
    color: #D0D0D0;
    margin: 0 1.4rem;
    font-size: 1.1rem;
}
.hdr-track-list .menu-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #888888;
    font-size: 1.3rem;
    white-space: nowrap;
    transition: color 0.2s;
}
/* style-ar.min.css sets display:inline-block with (0,6,0) specificity — match it to force flex */
.header-area .header-top .top-bar-menu .hdr-track-list .menu-item .menu-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hdr-track-list .menu-link:hover { color: var(--primary-color); }
.hdr-track-list .menu-link i {
    color: var(--primary-color);
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ── Search submit button — filled primary-color ─────────────────────────*/
.search-submit-btn {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    height: 100% !important;
    width: 5rem !important;
    background: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 0 .6rem .6rem 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.6rem !important;
    transition: background 0.2s ease !important;
}
.search-submit-btn:hover {
    background: #c4131d !important;
    color: #fff !important;
}
/* Adjust input so it doesn't overlap the filled button */
.header-area .header-middle .header-middle-wrap .search-area .search-wrap .form-group .form-control {
    padding-right: 6rem !important;
}

/* ── Auth links (Vendor | User) — dark on LTR white header-top ───────────*/
.auth-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 1.3rem;
    font-weight: 500;
    color: #555555;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}
.auth-link:hover { color: var(--primary-color); text-decoration: none; }
.auth-link i { font-size: 1.2rem; opacity: 0.7; }
.auth-sep {
    margin: 0 0.8rem;
    color: #D0D0D0;
    font-size: 1.1rem;
    user-select: none;
}

/* ── Lang toggle button (replaces old dropdown) ───────────────────────────*/
.lang-toggle { display: flex; align-items: center; }
.lang-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #f5f5f5;
    color: #555;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
}
.lang-toggle-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
}
.lang-toggle-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    vertical-align: middle;
    flex-shrink: 0;
}
.lang-toggle-label { line-height: 1; }

/* ── Count badges — modern pill ──────────────────────────────────────────*/
.header-area .header-middle .header-middle-wrap .header-right .single-btn .header-btn .btn-left .count,
.mobile-header-area .btn-left .count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 18px;
    border-radius: 9px;
    text-align: center;
}

/* ── Mobile header — sticky ──────────────────────────────────────────────*/
#mobileHeaderNav {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ── Mobile search toggle button ─────────────────────────────────────────*/
.mob-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    color: #444;
    font-size: 1.5rem;
    margin-right: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.mob-search-toggle:hover,
.mob-search-toggle[aria-expanded="true"] {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ── Mobile search panel ─────────────────────────────────────────────────*/
.mobile-search-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
}
.mobile-search-panel.mob-search-panel--open {
    max-height: 120px;
    padding: 10px 0 12px;
}
.mob-search-form {
    display: flex;
    gap: 8px;
    align-items: center;
}
.mob-search-select {
    width: 120px;
    flex-shrink: 0;
    height: 40px;
    font-size: 1.4rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 1rem;
}
.mob-search-input-wrap {
    flex: 1;
    position: relative;
}
.mob-search-input-wrap .form-control {
    width: 100%;
    height: 40px;
    font-size: 1.4rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 44px 0 1.2rem;
}
.mob-search-input-wrap .form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: none;
}
.mob-search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.mob-search-btn:hover { background: #c4131d; }

/* ── Nav active underline — strengthen ───────────────────────────────────*/
.header-area .header-bottom .menu-area .main-menu .menu-item.active .menu-link {
    color: var(--primary-color);
    font-weight: 600;
}

/* ══════════════════ RTL HEADER OVERRIDES ════════════════════════════════*/

/* Track list — RTL layout adjustments only, colors stay dark (white header-top) */
.direction-rtl .hdr-track-list .menu-item + .menu-item::before { margin: 0 1.4rem; }
.direction-rtl .hdr-track-list .menu-item { margin-left: 0 !important; }

/* Auth links RTL — layout only, keep dark colors for white header-top */
.direction-rtl .auth-link i { margin-right: 0; margin-left: 4px; }
.direction-rtl .auth-sep { margin: 0 0.8rem; }

/* Lang toggle RTL — flip flag+label order */
.direction-rtl .lang-toggle-btn { flex-direction: row-reverse; }

/* Search submit button flips to left side */
.direction-rtl .search-submit-btn {
    right: auto !important;
    left: 0 !important;
    border-radius: .6rem 0 0 .6rem !important;
}
.direction-rtl .header-area .header-middle .header-middle-wrap .search-area .search-wrap .form-group .form-control {
    padding-right: 2rem !important;
    padding-left: 6rem !important;
}

/* Count badge mirrors in RTL */
.direction-rtl .header-area .header-middle .header-middle-wrap .header-right .single-btn .header-btn .btn-left .count {
    right: auto;
    left: -8px;
}

/* Mobile search panel — select on right side in RTL */
.direction-rtl .mob-search-form { flex-direction: row-reverse; }
.direction-rtl .mob-search-input-wrap .form-control { padding: 0 1.2rem 0 44px; }
.direction-rtl .mob-search-btn {
    right: auto;
    left: 0;
    border-radius: 6px 0 0 6px;
}
.direction-rtl .mob-search-toggle { margin-right: 0; margin-left: 8px; }

/* ══════════════════ RESPONSIVE ══════════════════════════════════════════*/
@media (max-width: 1400px) {
    .header-area .header-middle .header-middle-wrap .search-area { width: 480px; }
}
@media (max-width: 1199px) {
    .header-area .header-middle .header-middle-wrap .search-area { width: 380px; }
    /* Hide text labels on cart/wishlist at this breakpoint */
    .header-area .header-middle .header-middle-wrap .header-right .single-btn .header-btn .btn-right { display: none; }
    .header-area .header-middle .header-middle-wrap .header-right .single-btn { margin-right: 2rem; }
}

/* Contact page */
.contact-us-area.section-bottom > .row {
    padding: 0 80px;
}
/* Contact page */
/* Blog Page */
.blog-details-content-wrap, .our-features-area-wrap {
    margin: 0 10.5rem;
}
/* Blog Page */

/* Thankyou Page CSS Start */
.thankyou-content h2 {
    font-size: 48px;
    color: #000;
    line-height: 58px;
    margin: 30px 0;
}
.thankyou-content p span {
    font-weight: 500;
    color: #4a4a4a;
}
/* Thankyou Page CSS End */

/* Common Modal CSS Start */
.common-modal h2 {
    font-weight: 500;
    color: #000;
}
.common-modal .primary-btn {
    padding: .6rem 3rem;
    margin-top: 1rem;
}
.common-modal .form-control {
    height: 4rem;
    font-size: 15px;
}
.common-modal .form-label {
    color: #333;
}
.common-modal .modal-header {
    padding: 1.2rem 2rem;
}
.common-modal .modal-body {
    padding: 1.2rem 2rem 2rem;
}
/* Common Modal CSS End */

/* ═══════════════════════════════════════════════════════════════════════════
   TRACKING MODALS — Track Maintenance / Device Registration / Order
   rem base = 10px. Fully RTL-aware via .direction-rtl.
═══════════════════════════════════════════════════════════════════════════ */

/* ── Dialog width ────────────────────────────────────────────────────────*/
.trk-modal .modal-dialog { max-width: 440px; }

/* ── Modal content shell ─────────────────────────────────────────────────*/
.trk-modal .modal-content {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

/* ── Header ──────────────────────────────────────────────────────────────*/
.trk-modal__header {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 2.2rem 2.2rem 1.8rem;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}
.trk-modal__header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--primary-color);
    border-radius: 0;
}
/* Accent stripe per modal type */
.trk-modal__header--warranty::before  { background: #0D7862; }
.trk-modal__header--order::before     { background: #1A56DB; }

/* ── Icon box ────────────────────────────────────────────────────────────*/
.trk-modal__icon {
    width: 46px; height: 46px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.9rem;
    flex-shrink: 0;
    background: rgba(239, 27, 39, 0.09);
    color: var(--primary-color);
}
.trk-modal__header--warranty .trk-modal__icon {
    background: rgba(13, 120, 98, 0.09);
    color: #0D7862;
}
.trk-modal__header--order .trk-modal__icon {
    background: rgba(26, 86, 219, 0.09);
    color: #1A56DB;
}

/* ── Title block ─────────────────────────────────────────────────────────*/
.trk-modal__title-wrap { flex: 1; min-width: 0; padding-top: 2px; }
.trk-modal__title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px;
    line-height: 1.3;
}
.trk-modal__subtitle {
    font-size: 1.25rem;
    color: #999;
    margin: 0;
    line-height: 1.4;
}

/* ── Close button ────────────────────────────────────────────────────────*/
.trk-modal .btn-close {
    margin: 0;
    padding: 0;
    width: 28px; height: 28px;
    opacity: 0.45;
    flex-shrink: 0;
    align-self: flex-start;
}
.trk-modal .btn-close:hover { opacity: 0.75; }

/* ── Body ────────────────────────────────────────────────────────────────*/
.trk-modal__body { padding: 2rem 2.2rem 2.2rem; }

/* ── Field ───────────────────────────────────────────────────────────────*/
.trk-modal__field { margin-bottom: 0; }
.trk-modal__label {
    display: block;
    font-size: 1.35rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

/* ── Input with prefix icon ──────────────────────────────────────────────*/
.trk-modal__input-wrap { position: relative; }
.trk-modal__input-icon {
    position: absolute;
    top: 50%; left: 14px;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 1.35rem;
    pointer-events: none;
    z-index: 2;
}
.trk-modal__input {
    padding-inline-start: 3.8rem !important;
    padding-inline-end: 1.2rem !important;
    height: 46px !important;
    font-size: 1.45rem !important;
    border: 1.5px solid #e5e5e5 !important;
    border-radius: 8px !important;
    background: #fafafa !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    color: #333 !important;
}
.trk-modal__input:focus {
    border-color: var(--primary-color) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(239, 27, 39, 0.08) !important;
    outline: none !important;
}
#trackwarrantyModal .trk-modal__input:focus {
    border-color: #0D7862 !important;
    box-shadow: 0 0 0 3px rgba(13, 120, 98, 0.08) !important;
}
#trackOrderModal .trk-modal__input:focus {
    border-color: #1A56DB !important;
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.08) !important;
}

/* ── Submit button ───────────────────────────────────────────────────────*/
.trk-modal__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 1.8rem;
    padding: 1.2rem 2rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    min-height: 46px;
    transition: background 0.2s, transform 0.1s;
}
.trk-modal__submit:hover  { background: #c4131d; color: #fff; }
.trk-modal__submit:active { transform: scale(0.98); }

.trk-modal__submit--warranty { background: #0D7862; }
.trk-modal__submit--warranty:hover { background: #0a6352; }

.trk-modal__submit--order { background: #1A56DB; }
.trk-modal__submit--order:hover { background: #1548c0; }

/* ── RTL support ─────────────────────────────────────────────────────────*/
.direction-rtl .trk-modal__input-icon { left: auto; right: 14px; }
.direction-rtl .trk-modal__header { text-align: right; }
.direction-rtl .trk-modal__title-wrap { text-align: right; }
.direction-rtl .trk-modal__label { text-align: right; }
.direction-rtl .trk-modal .btn-close { margin-inline-start: 0; }

/* ═══════════════════════════════════════════════════════════════════════ */
/* Product Page */
.sidebar-widget-area .price-widget .price-wrap .price-submit {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Product Page */

/* Checkout Page New Login Box Start */
.checkout-page-login-box {
    padding: 5rem 4rem;
    background: #f8f9fc;
}
.checkout-page-login-box .primary-btn {
    padding: .70rem 3rem .75rem;
}
.checkout-page-login-box h2, .checkout-discount-box h2 {
    font-size: 2.4rem;
    color: #222222;
}
.checkout-discount-box {
    margin: 3rem 0;
    padding: 3rem;
    background-color: #fff;
    border: 1px solid #eeeeee;
}
.checkout-discount-box .form-control {
    padding: 1rem 1rem;
    border: 1px solid #eeeeee;
    font-size: 14px;
    color: #333333;
}
.checkout-page-login-box h2 {
    margin-right: 15px;
}
/* Checkout Page New Login Box End */

/* product color */
.product-variable-color label span {
    border: 1px solid #848684;
}
/* product color */

/* Home Version 2 By Default Style Start */
.header-area-v2 .account-switcher {
    min-width: auto;
}
/* Home 2 Product page */
.single-grid-product-v2 .product-top a {
    display: block;
}
/* Home 2 Product details */
.product-single-area-v2 .product-single-left .product-slier-big-image .single-slide::before, .product-single-area-v2 .product-single-left .product-thumbnail-image .single-item::before {
    display: none;
}
.product-single-area-v2 .product-single-left .product-slier-big-image .single-slide .slide-image {
    /* min-width: 100%; */
    min-height: 100%;
    width: 100%;
}
.product-single-area-v2 .product-single-left .product-slier-big-image .single-slide {
    max-width: 100%;
    overflow: hidden;
    height: 700px;
}

@media (max-width: 767px) {
    .popular-categories-area-v2 .catagory-left {
        padding-left: 30px;
    }
    .direction-rtl .popular-categories-area-v2 .catagory-left {
        padding-left: 0x;
        padding-right: 30px;
    }
    .popular-categories-area-v2 .catagory-left:after {
        left: 0;
    }
    .direction-rtl .popular-categories-area-v2 .catagory-left:after {
        right: 0!important;
    }
}
@media (max-width: 575px) {
    .popular-categories-area-v2 .catagory-left .catagory-title:after {
        display: none;
    }
}
/* Home Version 2 By Default Style End */

/* RTL Intregration CSS Start */
.direction-rtl {
    direction: rtl;
}

.direction-ltr {
    direction: ltr;
}

/* Menu css */
.direction-rtl .header-area .header-top .header-top-left .contact-info .icon {
    margin-right: 0;
    margin-left: 1rem;
}
.direction-rtl .header-area .header-top .switcher-lang-currency {
    padding: 0;
    border-right: none;
    border-left: none;
    margin: 0;
}
.direction-rtl .currency-switcher {
    margin-right: 0;
    margin-left: 2rem;
}
.direction-rtl .currency-switcher .flag, .direction-rtl .lang-switcher .flag, .direction-rtl .account-switcher .flag {
    margin-right: 0;
    margin-left: 5px;
}
.direction-rtl .header-area .header-middle .header-middle-wrap .search-area .search-wrap .form-group::before {
    left: auto;
    right: 7px;
}
.direction-rtl .header-area .header-middle .header-middle-wrap .header-right .single-btn {
    margin-right: 0;
    margin-left: 4rem;
}
.direction-rtl .header-area .header-middle .header-middle-wrap .header-right .single-btn:last-child {
    margin-left: 0;
}
.direction-rtl .header-area .header-middle .header-middle-wrap .header-right .single-btn .header-btn .btn-left {
    margin-right: 0;
    margin-left: 1.5rem;
}
.direction-rtl .lang-switcher .lang .fa-angle-down, .direction-rtl .currency-switcher .currency .fa-angle-down {
    margin-left: 0;
    margin-right: 3px;
}
.direction-rtl .header-area .header-top .top-bar-menu .menu-list .menu-item {
    margin-right: 0;
    margin-left: 3rem;
}
.direction-rtl .popular-categories-area .section-header-area .text-md-end, .direction-rtl .featured-productss-area .section-header-area .text-md-end,
.direction-rtl .about-area .section-header-area .text-md-end, .direction-rtl .blog-area .section-header-area .text-md-end {
    text-align: left!important;
}
@media (max-width: 767px) {
    .direction-rtl .popular-categories-area .section-header-area .text-md-end, .direction-rtl .featured-productss-area .section-header-area .text-md-end,
    .direction-rtl .about-area .section-header-area .text-md-end, .direction-rtl .blog-area .section-header-area .text-md-end {
        text-align: right!important;
    }
}
/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT / STORY SECTION  (homepage — .about-area)
   rem base = 10px. Overrides style.min.css without touching it.
═══════════════════════════════════════════════════════════════════════════ */

/* Decorative line under section title */
.about-heading__line {
    display: block;
    width: 50px;
    height: 3px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 2px;
    margin-top: 14px;
}

/* Ghost CTA button */
.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    color: #fff;
    background: transparent;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.about-cta-btn:hover,
.about-cta-btn:focus {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
    text-decoration: none;
}
.about-cta-btn .fa-arrow-right {
    transition: transform 0.25s ease;
}
.about-cta-btn:hover .fa-arrow-right,
.about-cta-btn:focus .fa-arrow-right {
    transform: translateX(4px);
}

/* Year badge — large milestone number at card top */
.story-year-badge {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    font-family: inherit;
}

/* Enhanced card depth */
.about-area .story-box-slide .single-story-box {
    background-color: #fff;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
    border-radius: 8px;
}

/* RTL: flip the arrow icon direction */
.direction-rtl .about-cta-btn .fa-arrow-right {
    transform: scaleX(-1);
}
.direction-rtl .about-cta-btn:hover .fa-arrow-right,
.direction-rtl .about-cta-btn:focus .fa-arrow-right {
    transform: scaleX(-1) translateX(4px);
}

/* RTL: reverse slick arrow positions */
.direction-rtl .about-area .story-box-slide .slick-arrow.slick-prev {
    left: auto;
    right: -60px;
}
.direction-rtl .about-area .story-box-slide .slick-arrow.slick-next {
    right: auto;
    left: -60px;
}
@media (max-width: 1400px) {
    .direction-rtl .about-area .story-box-slide .slick-arrow.slick-prev {
        left: auto;
        right: 0;
    }
    .direction-rtl .about-area .story-box-slide .slick-arrow.slick-next {
        right: auto;
        left: 0;
    }
}

/* Responsive */
@media (max-width: 767px) {
    .story-year-badge { font-size: 3.6rem; }
    .about-cta-btn { font-size: 1.4rem; padding: 10px 20px; }
}

.direction-rtl .popular-categories-area .single-categorie {
    margin-right: 3.5rem;
    padding: 0 0 0 3.5rem;
}
.direction-rtl .popular-categories-area .single-categorie:before {
    width: calc(100% - 0px);
}
.direction-rtl .popular-categories-area .single-categorie .categorie-wrap .categorie-icon {
    margin-left: 2rem;
    margin-right: -2.5rem;
}
.direction-rtl .popular-categories-area .single-categorie .arrow {
    transform: rotate(-180deg);
}
.direction-rtl .footer-area .footer-widget-area .social-media li {
    margin-right: 0;
    margin-left: 1.5rem;
}
.direction-rtl .footer-area .footer-widget-area .social-media li:last-child {
    margin-right: 0;
    margin-left: 0;
}
@media (max-width: 991px) {
    .direction-rtl .footer-area .footer-widget-area .social-media li {
        margin-left: .5rem;
    }
}
/* Contact Page CSS */
.direction-rtl .contact-us-area .contact-us-top .single-contact-info {
    border-left: 0;
    border-right: 1px solid #E9E9E9;
}
/* Blog CSS */
.direction-rtl .blog-single-area .blog-meta-box .post-author .author-image {
    margin-right: 0;
    margin-left: 1.5rem;
}
.direction-rtl .blog-single-area .blog-meta-box .media-lsit .medi-item:last-child {
    margin-right: 2.5rem;
}
/* Blog CSS */
.direction-rtl .service-area .service-lsit .single-service .service-icon {
    margin-right: 0;
    margin-left: 2rem;
}

.direction-rtl .breadcrumb-area .breadcrumb-pages .page-item {
    margin-right: 0;
    margin-left: 2rem;
}
.direction-rtl .breadcrumb-area .breadcrumb-pages .page-item:after {
    left: auto;
    right: calc(100% + 10px);
}

/* Product Page */
.direction-rtl .product-area .product-section-top .product-filter .form-select, .direction-rtl #shipping_country {
    background-position: left .75rem center;
    padding: .375rem .75rem .375rem 2.25rem;
    -moz-padding-start: calc(0.75rem - 3px);
}
.direction-rtl .cart-page-area .cart-page-item .single-grid-product .product-top {
    margin-right: 0;
    margin-left: 20px;
}
.direction-rtl .wish-list-area .wish-list-table .table thead tr th:first-child, .direction-rtl .checkout .cart-summary .total-amount {
    text-align: right;
}
.direction-rtl .checkout .cart-summary .summary-list li span, .direction-rtl .checkout .cart-summary .total-amount h3 span {
    float: left;
}
.direction-rtl .checkout .checkout-form .payment-method .form-group .input-icon {
    right: auto;
    left: 2rem;
}
.direction-rtl .checkout .checkout-form .payment-method .card-check .form-check-input {
    margin-left: 0;
    margin-right: 22px;
}
.direction-rtl .checkout .checkout-form .payment-method .card-check .form-check-label {
    padding-left: 0;
    padding-right: 45px;
}
.direction-rtl .checkout .checkout-form .payment-method .form-check.terms-agree .form-check-input {
    float: right!important;
    margin-left: 0;
    margin-right: -1.5em;
}
.direction-rtl .checkout .checkout-form .payment-method .form-check.terms-agree {
    padding-left: 0;
    padding-right: 1.5em;
}
.direction-rtl .checkout .checkout-form .form-check .form-check-label {
    padding-left: 0;
    padding-right: 5px;
}
.direction-rtl .wish-list-area .wish-list-table .action-btn .icon {
    margin-left: 0;
    margin-right: 1rem;
}
.direction-rtl .account-page-menu ul li i {
    margin-right: 0;
    margin-left: 10px;
}
.direction-rtl .order-progress .single-progress::after {
    left: auto;
    right: calc(-50% - 13px / 2);
}
.direction-rtl .user-profile-right-part .profile-top .profile-image {
    margin-right: 0;
    margin-left: 20px;
}
.direction-rtl .single-grid-product .product-info .add-cart .icon {
    margin-left: 0;
    margin-right: 1rem;
}
.direction-rtl .cart-product-item .single-grid-product .product-top {
    margin-right: 0;
    margin-left: 20px;
}
.direction-rtl .sidebar-widget-area .categories-widget .categories-list .single-categorie .form-check-input {
    margin-right: 0;
    margin-left: .5rem;
}
.direction-rtl .sidebar-widget-area .search-widget .form-group .search-btn {
    right: auto;
    left: 2rem;
}
.direction-rtl .sidebar-widget-area .price-widget .price-wrap .price-submit i {
    transform: rotate(180deg);
}
.direction-rtl .sidebar-widget-area .colors-widget .colors-list .single-colors .form-check-input {
    margin-right: 0;
    margin-left: .5rem;
}
.direction-rtl .sidebar-widget-area .brand-widget .brand-list .single-brand .form-check-input {
    margin-right: 0;
    margin-left: .5rem;
}
.direction-rtl .sidebar-widget-area .brand-widget .brand-list .single-brand .brand-count::before, .direction-rtl .sidebar-widget-area .colors-widget .colors-list .single-colors .colors-count::before {
    content: ")";
}
.direction-rtl .sidebar-widget-area .brand-widget .brand-list .single-brand .brand-count::after, .direction-rtl .sidebar-widget-area .colors-widget .colors-list .single-colors .colors-count::after {
    content: "(";
}
.direction-rtl .pagination-area .paginations .pagination-page .pagination-link .fa-angle-double-right, .direction-rtl .pagination-area .paginations .pagination-page .pagination-link .fa-angle-double-left {
    transform: rotate(180deg);
}
.direction-rtl .single-list-product .product-right {
    padding-left: 0;
    padding-right: 3rem;
}
.direction-rtl .single-list-product .product-right .product-price .regular-price {
    margin-right: 0;
    margin-left: 1rem;
}
.direction-rtl .single-list-product .product-right .add-cart .icon {
    margin-left: 0;
    margin-right: 1rem;
}
.direction-rtl .product-single-area .product-single-details .product-right-bottom .share-area .social-media .media-item {
    margin-right: 0;
    margin-left: .5rem;
}
.direction-rtl .product-single-area .product-single-details .product-info .add-cart .icon {
    margin-left: 0;
    margin-right: 1rem;
}
.direction-rtl .product-single-area .product-single-details .product-right-bottom .features .single-feature .icon {
    margin-right: 0;
    margin-left: .5rem;
}
.direction-rtl .product-single-area .product-single-details .product-right-bottom .features .single-feature .feature-title {
    margin-right: 0;
    margin-left: .5rem;
}
/* Product Page */

/* FAQ Page */
.direction-rtl .accordion-button::after {
    margin-right: auto;
    margin-left: 0;
}
.direction-rtl .page-menu-wrap .menu-items .menu-item .menu-link .menu-icon {
    margin-right: 0;
    margin-left: 1rem;
}
/* FAQ Page */

[dir='rtl'] .testimonial-area .slick-slide,
[dir='rtl'] .product-single-left .slick-slide {
    float: left;
}
.testimonial-area .slick-slider .slick-track, .testimonial-area .slick-slider .slick-list,
.product-single-left .slick-slider .slick-track, .product-single-left .slick-slider .slick-list {
    direction: ltr;
}

.direction-rtl .product-single-area .product-single-left .product-slier-big-image {
    padding-left: 0;
    padding-right: 2.4rem;
}

/* Privacy Policy */
.direction-rtl .privacy-policy-area .single-privacy-policy .privacy-feature .feature-item {
    padding-left: 0;
    padding-right: 2rem;
}
.direction-rtl .privacy-policy-area .single-privacy-policy .privacy-feature .feature-item::before {
    left: auto;
    right: 0;
}
/* Privacy Policy */

/* Checkout Page New Login Box End */
.direction-rtl .checkout-page-login-box h2 {
    margin-right: 0;
    margin-left: 15px;
}
/* Checkout Page New Login Box End */

/* Home Version 2 RTL Start */
.direction-rtl .hero-slider-content .secondary-btn .iocn {
    margin-left: 0;
    margin-right: 1rem;
    display: inline-flex;
    transform: rotate(-180deg);
}
.direction-rtl .hero-section-v2 .hero-btn .secondary-btn .iocn {
    display: inline-flex;
    transform: rotate(-180deg);
}
.direction-rtl .header-area-v2 .header-top .top-bar-menu .menu-list .menu-item {
    margin-right: 0;
    margin-left: 3rem;
}
.direction-rtl .single-grid-product-v2 .product-info .add-cart .icon {
    margin-left: 0;
    margin-right: 1rem;
}
.direction-rtl .header-area-v2 .header-top .contact-info .icon {
    margin-right: 0;
    margin-left: 1rem;
}
.direction-rtl .hero-section-v2 .hero-btn .secondary-btn .iocn {
    margin-left: 0;
    margin-right: 1rem;
}
.direction-rtl .header-area-v2 .header-middle .search-area .form-group .form-control {
    padding-left: 0;
    padding-right: 3rem;
}
.direction-rtl .header-area-v2 .header-middle .search-area .form-group .search-btn {
    left: auto;
    right: 0;
}
.direction-rtl .header-area-v2 .header-middle .header-right .btn-list .single-item {
    margin-right: 0;
    margin-left: 2rem;
}
.direction-rtl .header-area-v2 .header-middle .header-right .btn-list .single-item:last-child {
    margin-left: 0!important;
}
.direction-rtl .theme-modal .modal-dialog .modal-content .modal-body .offer_modal_left form input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}
.direction-rtl .theme-modal .modal-dialog .modal-content .modal-body .offer_modal_left form button {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}
.direction-rtl .theme-modal .modal-dialog .modal-content .modal-body .offer_modal_left form .check_boxed_modal input {
    margin-right: 0;
    margin-left: 10px;
}
.direction-rtl .popular-categories-area-v2 .catagory-left:after {
    right: -60px;
    left: auto;
    border-radius: 320px 0 0 320px;
}
.direction-rtl .footer-area-v2 .footer-bottom-wrap .col-lg-6.text-lg-end {
    text-align: left!important;
}
.direction-rtl .footer-area-v2 .footer-widget-area .social-media li {
    margin-right: 0;
    margin-left: 1rem;
}
.direction-rtl .popular-categories-area-v2 .catagory-left .catagory-title:after {
    margin-left: 0;
    margin-right: 30px;
}
.direction-rtl .secendary-tabs .nav-tabs .nav-item {
    margin-right: 0;
    margin-left: 2.5rem;
}
.direction-rtl .product-single-area-v2 .product-single-left {
    margin-right: 0;
    margin-left: 3.6rem;
}
.direction-rtl .product-variable-color label {
    margin-right: 0;
    margin-left: 5px;
}
.direction-rtl .product-single-area-v2 .product-single-details .product-info .cart-plus-minus {
    margin-right: 0;
    margin-left: 2.4rem;
}
.direction-rtl .product-single-area-v2 .product-single-details .product-info .add-cart .icon {
    margin-left: 0;
    margin-right: 1rem;
}
.direction-rtl .product-single-area-v2 .product-single-details .product-info .product-btn {
    margin-left: 0;
    margin-right: 2.4rem;
}
.direction-rtl .product-single-area-v2 .product-single-details .product-right-bottom .share-area .share-title {
    margin-right: 0;
    margin-left: 1rem;
}
.direction-rtl .product-single-area-v2 .product-bottom-info .nav-tabs-menu .nav-tabs .nav-item {
    margin-right: 0;
    margin-left: 2rem;
}
.direction-rtl .product-single-area-v2 .product-single-details .product-right-bottom .features .single-feature .icon {
    margin-right: 0;
    margin-left: .5rem;
}
.direction-rtl .product-single-area-v2 .product-single-details .product-right-bottom .features .single-feature .feature-title {
    margin-right: 0;
    margin-left: .5rem;
}
.direction-rtl .product-single-area-v2 .product-single-details .product-right-bottom .share-area .social-media .media-item {
    margin-right: 0;
    margin-left: .5rem;
}
.direction-rtl .breadcrumb-area-v2 .breadcrumb-pages .page-item {
    margin-right: 0;
    margin-left: 4rem;
}
.direction-rtl .breadcrumb-area-v2 .breadcrumb-pages .page-item:after {
    left: auto;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    right: calc(100% + 20px);
}
.direction-rtl .product-single-area-v2 .product-single-details .product-info .product-price .price {
    margin-right: 0;
    margin-left: 1rem;
}
.direction-rtl .menu-offcanvas .mobile-menu-area .menu-bottom .account-btn .user-icon {
    margin-right: 0;
    margin-left: 5px;
}
.direction-rtl .mobile-header-area .header-right .btn-list .single-item {
    margin-right: 0;
    margin-left: 2rem;
}
.direction-rtl .menu-offcanvas .mobile-menu-area .main-menu .menu-list .menu-item .menu-expand {
    right: auto;
    left: 0;
}
.direction-rtl .currency-switcher .currency-list, .lang-switcher .lang-list {
    left: auto;
    right: 0;
}
.direction-rtl .form-select {
    background-position: left .75rem center;
}
.direction-rtl .menu-offcanvas .mobile-menu-area .menu-search-form .form-group .search-btn {
    right: auto;
    left: 1.5rem;
}
@media (max-width: 991px) {
    .direction-rtl .footer-area-v2 .footer-bottom-wrap .col-lg-6.text-lg-end {
        text-align: right!important;
    }
}
/* Home Version 2 RTL End */

/* RTL Intregration CSS End */

.facebook-btn {
    display: inline-block;
    padding: 1.4rem 3rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: capitalize;
    color: var(--white);
    background-color: #3b5998;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
    border: none;
}
.google-btn {
    display: inline-block;
    padding: 1.4rem 3rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: capitalize;
    color: var(--white);
    background-color: #DB4437;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
    border: none;
}

.google-btn:hover {
    background-color: var(--hover-color);
    color: var(--white);
}

.auth-btn {
    display: inline-block;
    padding: 1.4rem 3rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: capitalize;
    color: var(--white);
    background-color: #000000;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
    border: none;
}
/* ----- Extra CSS End ----- */

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SLIDER — enhanced UI/UX + RTL
   rem base = 10px. Overrides style.min.css without touching it.
═══════════════════════════════════════════════════════════════════════════ */

/* ── Shell ───────────────────────────────────────────────────────────────*/
.hero-section { position: relative; overflow: hidden; }
.signle-slide  { position: relative; }

/* ── Gradient overlay for text legibility ────────────────────────────────*/
.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.35) 55%,
        rgba(0, 0, 0, 0.05) 100%
    );
    z-index: 1;
    pointer-events: none;
}
.direction-rtl .hero-slide__overlay {
    background: linear-gradient(
        260deg,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.35) 55%,
        rgba(0, 0, 0, 0.05) 100%
    );
}

/* Slide container sits above overlay */
.signle-slide > .container { position: relative; z-index: 2; }

/* ── Content column ──────────────────────────────────────────────────────*/
.hero-slider-content {
    text-align: start;
    padding-block: 5rem;
}

/* Sub-title — small accent label */
.signle-slide .slider-sub-title {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.4rem;
    font-family: inherit !important;
    display: inline-block;
    background: rgba(239, 27, 39, 0.12);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(239, 27, 39, 0.3);
}

/* Main title */
.signle-slide .slider-title {
    font-size: 5rem !important;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

/* Description */
.signle-slide .slider-text {
    font-size: 1.65rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
    margin-bottom: 3.5rem;
    max-width: 480px;
}

/* ── CTA button ──────────────────────────────────────────────────────────*/
.hero-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1.3rem 3rem;
    background: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-size: 1.55rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.15s;
    white-space: nowrap;
}
.hero-primary-btn:hover {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transform: translateY(-2px);
}
.hero-primary-btn .iocn {
    font-size: 2rem;
    line-height: 1;
}
.direction-rtl .hero-primary-btn { flex-direction: row-reverse; }
.direction-rtl .hero-primary-btn .iocn { transform: scaleX(-1); }

/* ── Product image column ────────────────────────────────────────────────*/
.hero-slider-image {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 2rem;
}
.hero-slider-image .hero-image {
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.35));
    animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}

/* ── Navigation arrows ───────────────────────────────────────────────────*/
.hero-section .hero-slider .hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.hero-section .hero-slider .hero-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.08);
}
.hero-section .hero-slider .slick-prev.hero-arrow { left: 2.5rem; }
.hero-section .hero-slider .slick-next.hero-arrow { right: 2.5rem; }

/* ── Slick dots — bottom-center pill style ───────────────────────────────*/
.hero-section .hero-slider .slick-dots {
    position: absolute;
    bottom: 2.8rem;
    top: auto !important;
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 7px;
    padding: 0;
    margin: 0;
}
.hero-section .hero-slider .slick-dots li {
    margin: 0 !important;
    width: auto;
    height: auto;
    line-height: 1;
}
.hero-section .hero-slider .slick-dots li button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.45) !important;
    border: none !important;
    padding: 0 !important;
    transition: width 0.3s ease, background 0.3s ease !important;
}
.hero-section .hero-slider .slick-dots li button::after {
    display: none !important;
}
.hero-section .hero-slider .slick-dots li.slick-active button {
    width: 28px !important;
    background: var(--primary-color) !important;
}

/* ── Responsive ──────────────────────────────────────────────────────────*/
@media (max-width: 1199px) {
    .signle-slide .slider-title { font-size: 4rem !important; }
    .hero-slider-image .hero-image { max-height: 380px; }
}
@media (max-width: 991px) {
    .signle-slide { height: 540px; }
    .signle-slide .slider-title { font-size: 3.4rem !important; }
    .signle-slide .slider-text { max-width: 100%; }
    .hero-section .hero-slider .hero-arrow { width: 40px; height: 40px; font-size: 1.4rem; }
}
@media (max-width: 767px) {
    .signle-slide { height: 460px; }
    .signle-slide .slider-sub-title { font-size: 1.3rem !important; letter-spacing: 2px; }
    .signle-slide .slider-title { font-size: 2.8rem !important; }
    .signle-slide .slider-text { font-size: 1.5rem; margin-bottom: 2.5rem; }
    .hero-primary-btn { padding: 1.1rem 2.2rem; font-size: 1.4rem; }
    .hero-section .hero-slider .hero-arrow { display: none; }
}
@media (max-width: 479px) {
    .signle-slide { height: 400px; }
    .signle-slide .slider-title { font-size: 2.4rem !important; }
    .signle-slide .slider-text { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   WALL IMAGE SECTION (homepage — below testimonials)
═══════════════════════════════════════════════════════════════════════════ */
.wall-image-area {
    width: 100%;
    overflow: hidden;
    line-height: 0; /* removes gap under inline img */
}
.wall-image-area__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DRIVERS & SOFTWARE PAGE  (/blog)
   rem base = 10 px (html font-size: 62.5%).
   Accent uses var(--primary-color) so it follows the site theme automatically.
   Layout uses logical CSS — LTR and RTL need no separate overrides.
═══════════════════════════════════════════════════════════════════════════ */

/* ── Page shell ── */
.drv-page { padding-top: 60px; padding-bottom: 60px; background: #f8f9fb; }

/* ── Page header removed — breadcrumb serves as the page title ── */

/* ── Filter bar ── */
.drv-filter-bar {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 20px;
    transition: box-shadow .2s;
    position: relative;
    z-index: 99;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.drv-filter-bar--stuck {
    position: sticky;
    top: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 6px 24px rgba(0,0,0,.1);
    border-top: none;
}
.drv-filter-bar__inner { display: flex; flex-direction: column; gap: 15px; }

/* Search input */
.drv-filter-search { position: relative; }
.drv-filter-search__icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
    font-size: 1.4rem;
}
.direction-rtl .drv-filter-search__icon { left: auto; right: 15px; }
.drv-filter-search__input {
    width: 100%;
    height: 46px;
    padding: 0 44px;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    font-size: 1.5rem;
    outline: none;
    color: #333;
    transition: border-color .15s;
    background: #fff;
}
.drv-filter-search__input:focus { border-color: var(--primary-color); }
.drv-filter-search__clear {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    padding: 0;
    font-size: 1.4rem;
    line-height: 1;
    min-width: 24px; min-height: 24px;
    display: flex; align-items: center; justify-content: center;
}
.direction-rtl .drv-filter-search__clear { right: auto; left: 14px; }
.drv-filter-search__clear:hover { color: var(--primary-color); }

/* Filter controls row */
.drv-filter-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.drv-filter-select { flex: 1 1 150px; min-width: 130px; }
.drv-select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    font-size: 1.4rem;
    color: #555;
    background: #fff;
    cursor: pointer;
    outline: none;
}
.drv-select:focus { border-color: var(--primary-color); }

/* View toggle */
.drv-view-toggle { display: flex; gap: 5px; flex-shrink: 0; }
.drv-view-btn {
    width: 44px; height: 44px;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    background: #fff;
    color: #888;
    cursor: pointer;
    transition: all .15s;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}
.drv-view-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
.drv-view-btn.active { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }

/* Clear button */
.drv-clear-btn {
    flex-shrink: 0;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #fcc;
    border-radius: 6px;
    background: #fff5f5;
    color: #c00;
    cursor: pointer;
    font-size: 1.4rem;
    display: inline-flex; align-items: center; gap: 6px;
    transition: background .15s;
}
.drv-clear-btn:hover { background: #ffe0e0; }

/* ── Results bar ── */
.drv-results-bar {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--bColor);
    min-height: 20px;
}

/* ── Grid ── */
.drv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

/* ── Card ── */
.drv-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}
.drv-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transform: translateY(-3px);
}

/* Card thumbnail */
.drv-card__thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}
.drv-card__thumb img {
    width: 100%; height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 12px;
    transition: transform .35s ease;
    display: block;
    background: #fff;
}
.drv-card:hover .drv-card__thumb img { transform: scale(1.03); }
.drv-card__thumb-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; color: #ccc;
}
.drv-card__category {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #fff;
    background: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}
.direction-rtl .drv-card__category { left: auto; right: 12px; }

/* Card body */
.drv-card__body { padding: 18px 20px; flex: 1; }
.drv-card__name { font-size: 1.7rem; font-weight: 700; color: #222; margin-bottom: 6px; line-height: 1.4; }
.drv-card__device { font-size: 1.4rem; color: var(--bColor); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }

/* Meta chips */
.drv-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.drv-meta-chip {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 1.2rem;
    color: #666;
    background: #f5f5f5;
    padding: 3px 9px;
    border-radius: 4px;
}
.drv-meta-chip--size { background: #fff3cd; color: #856404; }

/* OS badges */
.drv-os-list {
    display: flex; flex-wrap: wrap; gap: 6px;
    list-style: none; padding: 0; margin: 0 0 12px;
}
.drv-os-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 1.2rem; font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f0f0f0; color: #444;
    white-space: nowrap;
}
.drv-os-badge--windows-11,
.drv-os-badge--windows-10,
.drv-os-badge--windows { background: #e8f0fe; color: #1a56db; }
.drv-os-badge--macos   { background: #f0f0f0; color: #333; }
.drv-os-badge--linux   { background: #fef9c3; color: #7a5c00; }
.drv-os-badge--android { background: #e8f5e9; color: #1b5e20; }

/* Release notes */
.drv-rn { margin-top: 10px; }
.drv-rn__toggle {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: none;
    color: var(--primary-color);
    font-size: 1.4rem;
    cursor: pointer; padding: 0;
    min-height: 30px;
}
.drv-rn__toggle:hover { text-decoration: underline; }
.drv-rn__chevron { transition: transform .2s; font-size: 1.1rem; }
.drv-rn__body {
    margin-top: 8px;
    padding: 12px 16px;
    background: #f9f9f9;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
    font-size: 1.4rem;
    color: #444;
    line-height: 1.7;
    white-space: pre-line;
}
.direction-rtl .drv-rn__body { border-left: none; border-right: 3px solid var(--primary-color); }

/* Card footer */
.drv-card__footer { padding: 0 20px 20px; }
.drv-card__list-action { display: none; }

/* ── Download button ── */
.drv-download-btn {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    width: 100%;
    padding: 12px 16px;
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1.5rem;
    transition: opacity .15s, transform .1s;
    min-height: 46px;
    gap: 2px;
}
.drv-download-btn:hover { opacity: .88; color: #fff !important; transform: translateY(-1px); }
.drv-download-btn__inner { display: flex; align-items: center; gap: 7px; }
.drv-download-btn__size { font-size: 1.2rem; font-weight: 400; opacity: .8; }
.drv-download-btn--compact {
    flex-direction: row;
    width: auto;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 1.4rem;
    gap: 6px;
    flex-shrink: 0;
    min-height: 44px;
}

/* ── List mode ── */
.drv-grid--list { grid-template-columns: 1fr; gap: 10px; }
.drv-grid--list .drv-card {
    flex-direction: row;
    align-items: stretch;
    transform: none !important;
    border-radius: 6px;
}
.drv-grid--list .drv-card__thumb {
    width: 110px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 0;
}
.drv-grid--list .drv-card__thumb img { height: 100%; padding: 8px; }
.drv-grid--list .drv-card__category { display: none; }
.drv-grid--list .drv-card__body {
    flex: 1; min-width: 0;
    padding: 14px 16px;
    display: flex; flex-direction: column; justify-content: center;
}
.drv-grid--list .drv-card__name { font-size: 1.6rem; margin-bottom: 4px; }
.drv-grid--list .drv-card__device { margin-bottom: 6px; }
.drv-grid--list .drv-card__meta { margin-bottom: 6px; }
.drv-grid--list .drv-os-list { margin-bottom: 0; }
.drv-grid--list .drv-card__footer { display: none; }
.drv-grid--list .drv-card__list-action {
    display: flex; align-items: center;
    padding-right: 16px; flex-shrink: 0;
}
.direction-rtl .drv-grid--list .drv-card__list-action { padding-right: 0; padding-left: 16px; }
.drv-grid--list .drv-os-badge span { display: none; }
.drv-grid--list .drv-os-badge { padding: 4px 8px; border-radius: 5px; font-size: 1.4rem; }
.drv-grid--list .drv-rn { display: none; }

/* ── Empty state ── */
.drv-empty-state { text-align: center; padding: 80px 20px; grid-column: 1 / -1; }
.drv-empty-state--filter { background: #fff; border-radius: 8px; border: 2px dashed #ddd; }
.drv-empty-state__icon { font-size: 50px; color: #ccc; margin-bottom: 16px; }
.drv-empty-state__title { font-size: 2rem; font-weight: 600; color: #333; margin-bottom: 8px; }
.drv-empty-state__message { color: var(--bColor); font-size: 1.5rem; margin-bottom: 24px; }
.drv-empty-clear-btn {
    padding: 11px 28px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 500;
    min-height: 44px;
}
.drv-empty-clear-btn:hover { opacity: .88; }

/* ── Responsive ── */
@media (max-width: 1199px) {
    .drv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .drv-page { padding-top: 40px; padding-bottom: 40px; }
    .drv-filter-controls { flex-direction: column; }
    .drv-filter-select { flex: 1 1 100%; }
    .drv-grid { grid-template-columns: 1fr; gap: 20px; }
    /* List mode reverts to stacked card on mobile */
    .drv-grid--list .drv-card { flex-direction: column; }
    .drv-grid--list .drv-card__thumb { width: 100%; height: 180px; }
    .drv-grid--list .drv-card__footer { display: flex; }
    .drv-grid--list .drv-card__list-action { display: none; }
}
@media (max-width: 479px) {
    .drv-filter-bar { padding: 14px; }
}

/* RTL chevron flip */
.direction-rtl .drv-rn__chevron { transform: scaleX(-1); }
.direction-rtl .drv-rn__toggle[aria-expanded="true"] .drv-rn__chevron { transform: scaleX(-1) rotate(-90deg); }

/* ═══════════════════════════════════════════════════════════════════════════
   END DRIVERS & SOFTWARE PAGE
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE OFFCANVAS MENU  (.mob-menu__)
═══════════════════════════════════════════════════════════════════════════ */

/* ── Shell ── */
.mob-menu.offcanvas { width: 320px !important; padding: 0; border: none; }
.mob-menu__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    overflow: hidden;
}

/* ── Header ── */
.mob-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.6rem 2rem;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.mob-menu__logo img { height: 36px; width: auto; object-fit: contain; }
.mob-menu__close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 1.3rem;
    opacity: 1;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.mob-menu__close:hover { background: var(--primary-color); color: #fff; }

/* ── Search ── */
.mob-menu__search {
    padding: 1.4rem 1.6rem;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
    background: #fafafa;
}
.mob-menu__search-form { display: flex; flex-direction: column; gap: 0.8rem; }
.mob-menu__select {
    height: 40px;
    font-size: 1.3rem;
    border: 1.5px solid #e5e5e5;
    border-radius: 8px;
    padding: 0 3rem 0 1.2rem;
    color: #555;
    background-color: #fff;
    appearance: none;
}
.mob-menu__select:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(239,27,39,0.1); }
.mob-menu__search-row {
    display: flex;
    gap: 0;
    border: 1.5px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.mob-menu__search-input {
    flex: 1;
    height: 40px;
    font-size: 1.3rem;
    border: none;
    padding: 0 1.2rem;
    color: #333;
    background: transparent;
}
.mob-menu__search-input:focus { outline: none; }
.mob-menu__search-btn {
    width: 44px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s;
    flex-shrink: 0;
}
.mob-menu__search-btn:hover { opacity: 0.88; }

/* ── Navigation ── */
.mob-menu__nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.8rem 0;
}
.mob-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mob-menu__list .menu-item {
    position: relative;
    border-bottom: 1px solid #f5f5f5;
}
.mob-menu__link {
    display: flex !important;
    align-items: center;
    gap: 1rem;
    padding: 1.3rem 2rem !important;
    font-size: 1.4rem !important;
    font-weight: 500;
    color: #333 !important;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    border-inline-start: 3px solid transparent;
}
.mob-menu__link:hover,
.mob-menu__list .menu-item.active > .mob-menu__link {
    color: var(--primary-color) !important;
    background: rgba(239,27,39,0.04);
    border-inline-start-color: var(--primary-color);
}
.mob-menu__link-icon {
    width: 2rem;
    text-align: center;
    font-size: 1.4rem;
    color: #aaa;
    flex-shrink: 0;
    transition: color 0.2s;
}
.mob-menu__link:hover .mob-menu__link-icon,
.menu-item.active > .mob-menu__link .mob-menu__link-icon { color: var(--primary-color); }

/* ── Expand toggle ── */
.mob-menu__expand {
    position: absolute !important;
    top: 50%;
    inset-inline-end: 1.6rem;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #f5f5f5;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #777;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.25s;
    z-index: 2;
}
.mob-menu__expand.active,
.menu-item.active > .mob-menu__expand {
    background: rgba(239,27,39,0.1);
    color: var(--primary-color);
}
.mob-menu__expand.active { transform: translateY(-50%) rotate(45deg); }

/* ── Sub-menu ── */
.mob-menu__nav .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    border-top: 1px solid #f0f0f0;
    display: none;
}
.mob-menu__nav .sub-menu.open { display: block; }
.mob-menu__nav .sub-menu-item { border-bottom: 1px solid #f0f0f0; }
.mob-menu__nav .sub-menu-item:last-child { border-bottom: none; }
.mob-menu__nav .sub-menu-link {
    display: block;
    padding: 1.1rem 2rem 1.1rem 4.4rem;
    font-size: 1.3rem;
    color: #555 !important;
    text-decoration: none;
    transition: color 0.2s;
}
.mob-menu__nav .sub-menu-link:hover { color: var(--primary-color) !important; }

/* ── Footer ── */
.mob-menu__footer {
    flex-shrink: 0;
    border-top: 1px solid #f0f0f0;
    padding: 1.6rem 2rem;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Language toggle */
.mob-menu__lang { display: flex; }
.mob-menu__lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1.5px solid #ddd;
    border-radius: 20px;
    background: #fff;
    color: #555;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.mob-menu__lang-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.mob-menu__lang-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Auth buttons */
.mob-menu__auth { display: flex; flex-direction: column; gap: 0.8rem; }
.mob-menu__auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1.1rem 1.6rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    min-height: 44px;
    transition: all 0.2s;
    border: 2px solid transparent;
}
.mob-menu__auth-btn--primary {
    background: var(--primary-color);
    color: #fff !important;
    border-color: var(--primary-color);
}
.mob-menu__auth-btn--primary:hover {
    background: transparent;
    color: var(--primary-color) !important;
}
.mob-menu__auth-btn--outline {
    background: transparent;
    color: var(--primary-color) !important;
    border-color: var(--primary-color);
}
.mob-menu__auth-btn--outline:hover {
    background: var(--primary-color);
    color: #fff !important;
}

/* ── RTL overrides ── */
.direction-rtl .mob-menu__search-row { flex-direction: row-reverse; }
.direction-rtl .mob-menu__search-btn { border-radius: 0; }
.direction-rtl .mob-menu__link { direction: rtl !important; }
.direction-rtl .mob-menu__select { padding: 0 1.2rem 0 3rem; }
.direction-rtl .mob-menu__nav .sub-menu-link { padding-inline-start: 4.4rem; padding-inline-end: 2rem; }
.direction-rtl .mob-menu__lang-btn { flex-direction: row-reverse; }
.direction-rtl .mob-menu__auth-btn { flex-direction: row-reverse; }

/* ═══════════════════════════════════════════════════════════════════════════
   END MOBILE OFFCANVAS MENU
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   CART DRAWER SIDEBAR  (.crt-drawer / .crt-item / .crt-empty)
═══════════════════════════════════════════════════════════════════════════ */

/* ── Shell ── */
.crt-drawer.offcanvas {
    width: 380px !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

/* ── Header ── */
.crt-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.6rem 2rem;
    border-bottom: 3px solid var(--primary-color);
    flex-shrink: 0;
    background: #fff;
}
.crt-drawer__head-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.crt-drawer__head-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(239,27,39,0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.crt-drawer__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin: 0;
}
.crt-drawer__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}
.crt-drawer__close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    color: #666;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.crt-drawer__close:hover { background: var(--primary-color); color: #fff; }

/* ── Body ── */
.crt-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 1.6rem 1.8rem;
    background: #fafafa;
}
.crt-drawer__body::-webkit-scrollbar { width: 4px; }
.crt-drawer__body::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* ── Cart item card ── */
.crt-item {
    display: flex;
    gap: 1.4rem;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    padding: 1.4rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
}
.crt-item__thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    display: block;
}
.crt-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.crt-item__info { flex: 1; min-width: 0; }
.crt-item__name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 0.6rem;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.crt-item__meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}
.crt-item__color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.1);
    display: inline-block;
    flex-shrink: 0;
}
.crt-item__size-tag {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
}
.crt-item__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.crt-item__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

/* qty controls */
.crt-item__qty.cart-quantity.input-group {
    width: auto !important;
    flex: none;
    border: 1.5px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    gap: 0;
}
.crt-item__qty-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #f5f5f5 !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 1.4rem !important;
    font-weight: 700;
    color: #555 !important;
    cursor: pointer;
    padding: 0 !important;
    line-height: 1 !important;
    transition: background 0.15s, color 0.15s;
}
.crt-item__qty-btn:hover { background: var(--primary-color) !important; color: #fff !important; }
.crt-item__qty-val {
    width: 36px !important;
    height: 30px !important;
    text-align: center;
    border: none !important;
    border-inline: 1px solid #e5e5e5 !important;
    font-size: 1.3rem !important;
    font-weight: 600;
    background: #fff !important;
    padding: 0 !important;
}
.crt-item__remove {
    position: absolute;
    top: 1rem;
    inset-inline-end: 1rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    color: #aaa;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    padding: 0;
    line-height: 1;
}
.crt-item__remove:hover { background: #fee2e2; color: var(--primary-color); }

/* ── Empty state ── */
.crt-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    min-height: 340px;
}
.crt-empty__img {
    width: 140px;
    height: auto;
    margin-bottom: 2.4rem;
    opacity: 0.85;
}
.crt-empty__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.8rem;
}
.crt-empty__text {
    font-size: 1.4rem;
    color: #888;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.crt-empty__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 2.4rem;
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.crt-empty__cta:hover { opacity: 0.88; }

/* ── Footer ── */
.crt-drawer__foot {
    flex-shrink: 0;
    padding: 1.6rem 2rem;
    border-top: 1px solid #f0f0f0;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.crt-drawer__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.4rem;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}
.crt-drawer__total-label {
    font-size: 1.5rem;
    font-weight: 600;
    color: #444;
}
.crt-drawer__total-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}
.crt-drawer__checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1.3rem;
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    min-height: 48px;
    transition: background 0.2s;
}
.crt-drawer__checkout-btn:hover { background: var(--hover-color); color: #fff !important; }
.crt-drawer__view-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 1.1rem;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    color: #555 !important;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: border-color 0.2s, color 0.2s;
}
.crt-drawer__view-link:hover { border-color: var(--primary-color); color: var(--primary-color) !important; }

/* ── RTL overrides ── */
.direction-rtl .crt-drawer__head-inner { flex-direction: row-reverse; }
.direction-rtl .crt-drawer__head { flex-direction: row-reverse; }
.direction-rtl .crt-item { flex-direction: row-reverse; }
.direction-rtl .crt-item__row { flex-direction: row-reverse; }
.direction-rtl .crt-item__meta { flex-direction: row-reverse; }
.direction-rtl .crt-item__name { text-align: right; }
.direction-rtl .crt-item__qty.cart-quantity.input-group { flex-direction: row-reverse; }
.direction-rtl .crt-drawer__total { flex-direction: row-reverse; }
.direction-rtl .crt-drawer__checkout-btn { flex-direction: row-reverse; }
.direction-rtl .crt-drawer__view-link { flex-direction: row-reverse; }
.direction-rtl .crt-empty { direction: rtl; }

/* ═══════════════════════════════════════════════════════════════════════════
   CART PAGE  (.cart-pg__)
═══════════════════════════════════════════════════════════════════════════ */

/* Table overrides */
.cart-page-area .table thead th {
    background: #f8f9fa;
    color: #444;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-color: #eee;
    padding: 1.2rem 1.6rem;
    white-space: nowrap;
}
.cart-page-area .table tbody tr.cart-page-item td {
    vertical-align: middle;
    border-color: #eee;
    padding: 1.4rem 1.6rem;
}
.cart-page-area .table tbody tr.cart-page-item:hover { background: #fafafa; }

/* Product thumb in table */
.cart-page-area .product-thumbnal {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
    display: block;
}
.cart-page-area .single-grid-product.m-0 {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}
.cart-page-area .product-info.text-center {
    text-align: start !important;
}
.cart-page-area .product-name { font-size: 1.4rem; margin: 0; }
.cart-page-area .product-link { color: #222; font-weight: 600; }
.cart-page-area .product-link:hover { color: var(--primary-color); }

/* Price cell */
.cart-page-area .regular-price {
    font-size: 1.3rem;
    color: #aaa;
    text-decoration: line-through;
    margin: 0 0 2px;
}
.cart-page-area .price { font-size: 1.6rem; font-weight: 700; color: #222; margin: 0; }

/* Qty controls in table */
.cart-page-area .cart-quantity.input-group {
    width: 116px !important;
    border: 1.5px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    gap: 0;
    flex-wrap: nowrap;
}
/* Hide theme's ::before pseudo-icon — we use FA icons in HTML instead */
.cart-page-area .cart-page-item .qtybutton.dec::before,
.cart-page-area .cart-page-item .qtybutton.inc::before { content: none !important; display: none !important; }
.cart-page-area .increase-btn.qtybutton {
    width: 36px;
    height: 42px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #f5f5f5 !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 1.2rem !important;
    color: #555 !important;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
    position: relative;
}
.cart-page-area .increase-btn.qtybutton:hover { background: var(--primary-color) !important; color: #fff !important; }
.cart-page-area .qty-input {
    flex: 1;
    height: 42px !important;
    text-align: center;
    border: none !important;
    border-inline: 1px solid #e5e5e5 !important;
    font-size: 1.4rem !important;
    font-weight: 600;
    background: #fff !important;
    padding: 0 !important;
}
.cart-page-area .cart-table-item-total {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    white-space: nowrap;
}

/* Delete button */
.cart-page-area .delet-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}
.cart-page-area .delet-btn:hover { background: #fee2e2; }
.cart-page-area .delet-btn img { width: 14px; height: 14px; }

/* Summary box */
.cart-page-sub-total-box {
    border: 1px solid #eee !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.cart-page-sub-total-box .sub-total-inner-box {
    padding: 1.1rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.cart-page-sub-total-box .sub-total-inner-box:last-of-type { border-bottom: none; }
.cart-page-sub-total-box .bottom-box-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}
.cart-page-sub-total-box .cart-page-final-total { color: var(--primary-color) !important; font-size: 1.8rem !important; }
.cart-page-sub-total-box .proceed-to-checkout-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1.4rem;
    margin-top: 1.6rem;
    background: var(--primary-color) !important;
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
    border: none;
    width: 100%;
    cursor: pointer;
    height: auto !important;
}
.cart-page-sub-total-box .proceed-to-checkout-btn:hover {
    background: var(--hover-color) !important;
    background-color: var(--hover-color) !important;
    color: #fff !important;
}

/* ── Cart page RTL ── */
.direction-rtl .cart-page-area .table { direction: rtl; }
.direction-rtl .cart-page-area .table thead th { text-align: right; }
.direction-rtl .cart-page-area .single-grid-product.m-0 { flex-direction: row-reverse; }
.direction-rtl .cart-page-area .product-info { text-align: right !important; }
.direction-rtl .cart-page-area .product-name { text-align: right; }
.direction-rtl .cart-page-area .cart-quantity.input-group { flex-direction: row-reverse; }
.direction-rtl .cart-page-area .product-price { direction: rtl; text-align: center; }
.direction-rtl .cart-page-area .cart-table-item-total { text-align: right; }
/* direction: rtl on parent already reverses flex row → label on right, value on left */
/* do NOT also add flex-direction: row-reverse — that double-reverses back to LTR */
.direction-rtl .cart-page-sub-total-box { direction: rtl; text-align: right; }
.direction-rtl .cart-page-sub-total-box .sub-total-inner-box { direction: rtl; }
.direction-rtl .cart-page-sub-total-box .bottom-box-title { font-size: 1.5rem; }
.direction-rtl .cart-page-sub-total-box .proceed-to-checkout-btn { direction: rtl; }

/* ═══════════════════════════════════════════════════════════════════════════
   END CART
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   CHECKOUT PAGE  (.chk-*)
═══════════════════════════════════════════════════════════════════════════ */

.chk-page { padding-top: 5rem; padding-bottom: 6rem; background: #f7f8fa; }

/* ── Payment card ── */
.chk-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    overflow: hidden;
}
.chk-card__header {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 2rem 2.4rem;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}
.chk-card__header-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(239,27,39,0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}
.chk-card__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin: 0;
}
.chk-card__body { padding: 2.4rem; }

/* ── Payment options ── */
.chk-pay-options { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.chk-pay-label {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 1.4rem 1.8rem;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}
.chk-pay-label:has(.chk-pay-radio:checked) {
    border-color: var(--primary-color);
    background: rgba(239,27,39,0.03);
}
.chk-pay-radio { flex-shrink: 0; accent-color: var(--primary-color); width: 18px; height: 18px; }
.chk-pay-info { display: flex; align-items: center; gap: 1.2rem; flex: 1; }
.chk-pay-logo { height: 28px; width: auto; object-fit: contain; }
.chk-pay-name { font-size: 1.5rem; font-weight: 600; color: #333; }
.chk-pay-check {
    position: absolute;
    inset-inline-end: 1.6rem;
    font-size: 1.6rem;
    color: #ddd;
    transition: color 0.2s;
}
.chk-pay-label:has(.chk-pay-radio:checked) .chk-pay-check { color: var(--primary-color); }

/* ── Stripe element ── */
.chk-stripe-box {
    background: #f9f9f9;
    border: 1.5px solid #e5e5e5;
    border-radius: 10px;
    padding: 1.6rem;
    margin-bottom: 1.6rem;
}
.chk-stripe-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 1rem;
}
.chk-stripe-element {
    background: #fff;
    border: 1.5px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.2rem;
}

/* ── Bank details ── */
.chk-bank-box {
    background: #f9f9f9;
    border: 1.5px dashed #ddd;
    border-radius: 10px;
    padding: 1.6rem;
    margin-bottom: 1.6rem;
}
.chk-bank-field { margin-bottom: 1.2rem; }
.chk-bank-field label { font-size: 1.4rem; font-weight: 600; color: #444; margin-bottom: 6px; display: block; }
.chk-bank-details { background: #fff; border-radius: 8px; padding: 1.2rem; border: 1px solid #eee; }
.chk-bank-detail-row { font-size: 1.3rem; color: #555; margin: 0 0 6px; }
.chk-bank-detail-row span { font-weight: 600; color: #333; }
.chk-bank-detail-row:last-child { margin-bottom: 0; }

/* ── Terms ── */
.chk-terms {
    padding: 1.6rem;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    margin-bottom: 2rem;
}
.chk-terms .form-check-label { font-size: 1.3rem; color: #555; }
.chk-terms-link { color: var(--primary-color); font-weight: 600; }
.chk-terms .form-check-input { accent-color: var(--primary-color); }

/* ── Place order button ── */
.chk-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 1.5rem;
    background: var(--primary-color);
    color: #fff !important;
    border: none;
    border-radius: 10px;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    min-height: 52px;
    transition: background 0.2s, transform 0.1s;
}
.chk-order-btn:hover { background: var(--hover-color); color: #fff !important; }
.chk-order-btn:active { transform: scale(0.99); }
.chk-order-btn--sm { width: auto; padding: 1rem 2.4rem; font-size: 1.4rem; min-height: 40px; }

/* Razorpay modal */
.chk-razor-modal { border-radius: 12px; border: none; }
.chk-razor-modal .modal-header { border-bottom: 1px solid #f0f0f0; }
.chk-razor-modal .modal-title { font-size: 1.6rem; font-weight: 700; }

/* ── Order summary panel ── */
.chk-summary {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    overflow: hidden;
    position: sticky;
    top: 1.6rem;
}
.chk-summary__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.4rem;
    border-bottom: 3px solid var(--primary-color);
    background: #fafafa;
}
.chk-summary__header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.chk-summary__header-left .fas {
    font-size: 1.8rem;
    color: var(--primary-color);
}
.chk-summary__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin: 0;
}
.chk-summary__edit-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}
.chk-summary__edit-link:hover { color: var(--primary-color); }

/* Items list */
.chk-summary__items {
    padding: 1.6rem 2.4rem;
    border-bottom: 1px solid #f0f0f0;
    max-height: 240px;
    overflow-y: auto;
}
.chk-summary__items::-webkit-scrollbar { width: 4px; }
.chk-summary__items::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }
.chk-summary__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px dashed #f0f0f0;
}
.chk-summary__item:last-child { border-bottom: none; padding-bottom: 0; }
.chk-summary__item-qty {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    background: var(--primary-color);
    border-radius: 4px;
    padding: 1px 6px;
    flex-shrink: 0;
    line-height: 1.6;
}
.chk-summary__item-name {
    flex: 1;
    font-size: 1.4rem;
    color: #444;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.chk-summary__item-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Totals rows */
.chk-summary__rows { padding: 1.4rem 2.4rem; border-bottom: 1px solid #f0f0f0; }
.chk-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
}
.chk-summary__row-label { font-size: 1.4rem; color: #666; }
.chk-summary__row-val { font-size: 1.4rem; font-weight: 600; color: #333; }
.chk-summary__row--discount .chk-summary__row-label,
.chk-summary__row--discount .chk-summary__row-val { color: #16a34a; }

/* Grand total */
.chk-summary__grand-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.6rem 2.4rem;
    background: #f9f9f9;
}
.chk-summary__grand-label { font-size: 1.6rem; font-weight: 700; color: #222; }
.chk-summary__grand-val { font-size: 2rem; font-weight: 800; color: var(--primary-color); }

/* Secure badge */
.chk-summary__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 1.2rem;
    font-size: 1.2rem;
    color: #999;
    border-top: 1px solid #f0f0f0;
}
.chk-summary__secure .fas { color: #16a34a; }

/* ── Checkout RTL ── */
.direction-rtl .chk-card__header { flex-direction: row-reverse; }
.direction-rtl .chk-pay-label { flex-direction: row-reverse; }
.direction-rtl .chk-pay-info { flex-direction: row-reverse; }
.direction-rtl .chk-stripe-label { flex-direction: row-reverse; }
.direction-rtl .chk-bank-detail-row { direction: rtl; }
.direction-rtl .chk-order-btn { flex-direction: row-reverse; }
.direction-rtl .chk-summary__header { flex-direction: row-reverse; }
.direction-rtl .chk-summary__header-left { flex-direction: row-reverse; }
.direction-rtl .chk-summary__edit-link { flex-direction: row-reverse; }
.direction-rtl .chk-summary__item { flex-direction: row-reverse; }
.direction-rtl .chk-summary__item-name { text-align: right; }
.direction-rtl .chk-summary__row { flex-direction: row-reverse; }
.direction-rtl .chk-summary__grand-total { flex-direction: row-reverse; }
.direction-rtl .chk-summary__secure { flex-direction: row-reverse; }
.direction-rtl .chk-terms .form-check { direction: rtl; }

/* ── Subscription checkout extras (.chk-sub-*) ── */

/* Secure payment info strip */
.chk-sub-pay-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 1.2rem 1.6rem;
    font-size: 1.4rem;
    color: #166534;
    margin-bottom: 2rem;
}
.chk-sub-pay-info .fas { color: #16a34a; font-size: 1.6rem; flex-shrink: 0; }

/* Cannot proceed block */
.chk-sub-blocked {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 1.6rem;
    text-align: center;
    color: #991b1b;
    font-size: 1.4rem;
}
.chk-sub-blocked .fas { font-size: 2.4rem; margin-bottom: 0.8rem; display: block; }

/* Renew/upgrade warning banner */
.chk-sub-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    padding: 1.2rem 1.6rem;
    font-size: 1.3rem;
    color: #92400e;
    font-weight: 600;
    margin: 0 2.4rem 1.6rem;
}
.chk-sub-warning .fas { color: #f97316; flex-shrink: 0; margin-top: 2px; }

/* Plan card */
.chk-sub-plan {
    margin: 0 2.4rem;
    background: #f8faff;
    border: 1.5px solid #e0e7ff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
}
.chk-sub-plan__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 1.6rem;
    background: #fff;
    border-bottom: 1px solid #e0e7ff;
}
.chk-sub-plan__header .fas { color: #f59e0b; font-size: 1.4rem; flex-shrink: 0; }
.chk-sub-plan__name { flex: 1; font-size: 1.5rem; font-weight: 700; color: #222; }
.chk-sub-plan__price { font-size: 1.6rem; font-weight: 800; color: var(--primary-color); white-space: nowrap; }
.chk-sub-plan__meta {
    padding: 1.2rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.chk-sub-plan__meta-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.3rem;
    color: #555;
}
.chk-sub-plan__meta-item .fas { color: #999; font-size: 1.2rem; flex-shrink: 0; }
.chk-sub-plan__meta-item--warn { color: #b91c1c; font-weight: 600; }
.chk-sub-plan__meta-item--warn .fas { color: #ef4444; }

/* Info cards (Product Info / Entered Info) */
.chk-sub-info {
    margin: 1.6rem 2.4rem 0;
    border: 1.5px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.chk-sub-info__header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.1rem 1.6rem;
    background: #f8f9fa;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
}
.chk-sub-info__header .fas { color: var(--primary-color); font-size: 1.3rem; }
.chk-sub-info__body { padding: 0.4rem 0; }
.chk-sub-info__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.7rem 1.6rem;
    border-bottom: 1px solid #f9f9f9;
}
.chk-sub-info__row:last-child { border-bottom: none; }
.chk-sub-info__label { font-size: 1.3rem; color: #888; flex-shrink: 0; }
.chk-sub-info__value { font-size: 1.3rem; color: #333; font-weight: 600; text-align: end; }
.chk-sub-info__value--serial {
    font-family: 'Courier New', monospace;
    background: #f0f4ff;
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 5px;
    border: 1px solid #dbeafe;
    font-size: 1.2rem;
}
.chk-sub-info__link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.3rem;
    text-decoration: none;
}
.chk-sub-info__link:hover { text-decoration: underline; }

/* RTL extras */
.direction-rtl .chk-sub-pay-info  { flex-direction: row-reverse; }
.direction-rtl .chk-sub-warning   { flex-direction: row-reverse; text-align: right; }
.direction-rtl .chk-sub-plan__header { flex-direction: row-reverse; }
.direction-rtl .chk-sub-plan__meta-item { flex-direction: row-reverse; }
.direction-rtl .chk-sub-info__header { flex-direction: row-reverse; }
.direction-rtl .chk-sub-info__row { flex-direction: row-reverse; }
.direction-rtl .chk-sub-info__value { text-align: start; }
.direction-rtl .chk-sub-info__link { flex-direction: row-reverse; }

/* ── Responsive ── */
@media (max-width: 767px) {
    .chk-page { padding-top: 3rem; }
    .chk-card__body { padding: 1.6rem; }
    .chk-summary { position: static; }
    .chk-summary__items { max-height: 180px; }
    .chk-sub-plan { margin: 0 1.6rem; }
    .chk-sub-warning { margin: 0 1.6rem 1.6rem; }
    .chk-sub-info { margin: 1.2rem 1.6rem 0; }
}

/* ── Maintenance checkout extras (.chk-maint-*) ── */

/* Override icon colour for maintenance header */
.chk-card__header-icon--maint {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

/* Info banner inside the maintenance card */
.chk-maint-banner {
    display: flex;
    gap: 1.6rem;
    align-items: flex-start;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 2rem;
}
.chk-maint-banner__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #ea580c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}
.chk-maint-banner__body { flex: 1; }
.chk-maint-banner__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #7c2d12;
    margin: 0 0 0.5rem;
}
.chk-maint-banner__sub {
    font-size: 1.35rem;
    color: #9a3412;
    margin: 0 0 1rem;
    line-height: 1.6;
}
.chk-maint-banner__ref {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #fed7aa;
    border-radius: 6px;
    padding: 0.4rem 1rem;
    font-size: 1.3rem;
    color: #7c2d12;
}
.chk-maint-banner__ref .fas { color: #f97316; }
.chk-maint-banner__ref strong { color: #c2410c; }

/* Maintenance line item in summary */
.chk-maint-item {
    background: #fff7ed;
    border-radius: 8px;
    padding: 1.2rem 1.6rem !important;
    gap: 1rem !important;
}
.chk-maint-item__icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
}

/* RTL */
.direction-rtl .chk-maint-banner { flex-direction: row-reverse; }
.direction-rtl .chk-maint-banner__body { text-align: right; }
.direction-rtl .chk-maint-banner__ref { flex-direction: row-reverse; }

@media (max-width: 576px) {
    .chk-maint-banner { flex-direction: column; align-items: center; text-align: center; }
    .chk-maint-banner__ref { margin: 0 auto; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END CHECKOUT
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   WISHLIST PAGE  (.wl-*)
═══════════════════════════════════════════════════════════════════════════ */

.wl-page { padding-top: 5rem; padding-bottom: 6rem; background: #f7f8fa; }

/* ── Card grid ── */
.wl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2.4rem;
}

/* ── Product card ── */
.wl-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.25s, transform 0.25s;
    display: flex;
    flex-direction: column;
}
.wl-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    transform: translateY(-3px);
}

/* Remove button */
.wl-card__remove {
    position: absolute;
    top: 1rem;
    inset-inline-end: 1rem;
    z-index: 2;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: 1.5px solid #eee;
    color: #aaa;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    backdrop-filter: blur(4px);
}
.wl-card__remove:hover { background: #fee2e2; border-color: var(--primary-color); color: var(--primary-color); }

/* Thumb */
.wl-card__thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}
.wl-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.wl-card:hover .wl-card__thumb img { transform: scale(1.06); }

.wl-card__badge {
    position: absolute;
    top: 1rem;
    inset-inline-start: 1rem;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Body */
.wl-card__body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.8rem;
}
.wl-card__name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    transition: color 0.2s;
}
.wl-card__name:hover { color: var(--primary-color); }

.wl-card__rating { line-height: 1; }
.wl-card__rating .review-star i { font-size: 1.2rem; }

.wl-card__pricing {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: auto;
}
.wl-card__old-price {
    font-size: 1.3rem;
    color: #aaa;
    text-decoration: line-through;
}
.wl-card__price {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* Add to cart button — green to match theme's CTA convention */
.wl-card__add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: #fff !important;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    min-height: 44px;
    margin-top: auto;
}
.wl-card__add-btn:hover { background: transparent; color: var(--primary-color) !important; }

/* ── Empty state ── */
.wl-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem;
}
.wl-empty__icon {
    font-size: 6rem;
    color: #eee;
    margin-bottom: 2rem;
}
.wl-empty__title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1rem;
}
.wl-empty__text {
    font-size: 1.5rem;
    color: #888;
    margin-bottom: 2.4rem;
    max-width: 380px;
    line-height: 1.6;
}
.wl-empty__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1.2rem 3rem;
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.wl-empty__cta:hover { opacity: 0.88; }

/* ── RTL overrides ── */
.direction-rtl .wl-card__body { direction: rtl; }
.direction-rtl .wl-card__name { text-align: right; }
.direction-rtl .wl-card__pricing { flex-direction: row-reverse; }
.direction-rtl .wl-card__add-btn { flex-direction: row-reverse; }
.direction-rtl .wl-empty { direction: rtl; }

/* ── Responsive ── */
@media (max-width: 1199px) {
    .wl-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .wl-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
    .wl-page { padding-top: 3rem; }
}
@media (max-width: 479px) {
    .wl-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END WISHLIST
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER USER DROPDOWN  (.usr-menu)
═══════════════════════════════════════════════════════════════════════════ */

.usr-menu { position: relative; }

.usr-menu__trigger {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    border-radius: 3rem;
    transition: background 0.2s;
}
.usr-menu__trigger:hover { background: rgba(239,27,39,0.06); }

.usr-menu__avatar {
    width: 3.4rem !important;
    height: 3.4rem !important;
    min-width: 3.4rem !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 2px solid var(--primary-color) !important;
    display: block !important;
    padding: 0 !important;
}
.usr-menu__avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
}

.usr-menu__name-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    max-width: 11rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    text-decoration: none !important;
}

.usr-menu__chevron {
    font-size: 1.1rem;
    color: #888;
    transition: transform 0.25s;
    flex-shrink: 0;
}
.usr-menu:hover .usr-menu__chevron { transform: rotate(180deg); }

/* Dropdown panel */
.usr-menu .account-list.usr-menu__panel {
    display: block !important;
    position: absolute !important;
    top: calc(100% + 1rem) !important;
    right: 0 !important;
    inset-inline-end: 0 !important;
    left: auto !important;
    background: #fff !important;
    border-radius: 1.4rem !important;
    box-shadow: 0 8px 36px rgba(0,0,0,0.14) !important;
    min-width: 23rem !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 9999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-1rem) !important;
    transition: opacity 0.22s, visibility 0.22s, transform 0.22s !important;
    overflow: hidden !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    list-style: none !important;
}
.usr-menu:hover .account-list.usr-menu__panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* User info header inside panel */
.usr-menu__user-head {
    display: flex !important;
    align-items: center !important;
    gap: 1.2rem !important;
    padding: 1.6rem !important;
    background: linear-gradient(135deg,rgba(239,27,39,.06) 0%,rgba(239,27,39,.02) 100%) !important;
    border-bottom: 1px solid rgba(0,0,0,0.07) !important;
}
.usr-menu__head-avatar {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    flex-shrink: 0;
}
.usr-menu__head-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.usr-menu__head-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}
.usr-menu__head-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.usr-menu__head-role {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(239,27,39,.09);
    padding: 0.2rem 0.8rem;
    border-radius: 2rem;
    display: inline-block;
    white-space: nowrap;
}

.usr-menu__panel .single-lang { list-style: none !important; }
.usr-menu__panel-links { padding: 0.6rem 0; }

.usr-menu__link {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 1rem 1.8rem !important;
    font-size: 1.4rem !important;
    font-weight: 500 !important;
    color: #444 !important;
    text-decoration: none !important;
    transition: background 0.17s, color 0.17s !important;
}
.usr-menu__link:hover {
    background: rgba(239,27,39,.05) !important;
    color: var(--primary-color) !important;
    text-decoration: none !important;
}
.usr-menu__link i {
    width: 1.8rem;
    text-align: center;
    font-size: 1.3rem;
    color: #aaa;
    flex-shrink: 0;
    transition: color 0.17s;
}
.usr-menu__link:hover i { color: var(--primary-color); }
.usr-menu__link--logout { color: #c33 !important; }
.usr-menu__link--logout i { color: #c33 !important; }
.usr-menu__link--logout:hover { background: rgba(200,0,0,.05) !important; color: #a00 !important; }
.usr-menu__link--logout:hover i { color: #a00 !important; }

/* RTL */
.direction-rtl .usr-menu .account-list.usr-menu__panel {
    right: auto !important;
    left: 0 !important;
}
.direction-rtl .usr-menu__trigger { flex-direction: row-reverse; }
.direction-rtl .usr-menu__user-head { flex-direction: row-reverse !important; }
.direction-rtl .usr-menu__head-info { text-align: right; align-items: flex-end; }
.direction-rtl .usr-menu__link { flex-direction: row-reverse !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   END HEADER USER DROPDOWN
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   PROFILE SIDEBAR  (.prf-sidebar)
═══════════════════════════════════════════════════════════════════════════ */

.prf-sidebar {
    background: #fff;
    border-radius: 1.6rem;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    overflow: hidden;
}

.prf-sidebar__user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.8rem 2rem 2rem;
    background: linear-gradient(160deg,rgba(239,27,39,.07) 0%,rgba(239,27,39,.02) 100%);
    border-bottom: 1px solid rgba(0,0,0,.07);
    text-align: center;
}
.prf-sidebar__avatar {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
}
.prf-sidebar__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prf-sidebar__name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #222;
    margin: 0;
    line-height: 1.3;
}
.prf-sidebar__role {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(239,27,39,.09);
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    display: inline-block;
}

.prf-sidebar__nav {
    display: flex;
    flex-direction: column;
    padding: 0.8rem 0;
}
.prf-sidebar__link {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.15rem 2rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    border-inline-start: 3px solid transparent;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.prf-sidebar__link:hover {
    background: rgba(239,27,39,.05);
    color: var(--primary-color);
    text-decoration: none;
}
.prf-sidebar__link i {
    width: 1.8rem;
    text-align: center;
    font-size: 1.4rem;
    color: #bbb;
    flex-shrink: 0;
    transition: color 0.18s;
}
.prf-sidebar__link:hover i { color: var(--primary-color); }
.prf-sidebar__link--active {
    background: rgba(239,27,39,.07) !important;
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    border-inline-start-color: var(--primary-color) !important;
}
.prf-sidebar__link--active i { color: var(--primary-color) !important; }
.prf-sidebar__link--logout { color: #c33; }
.prf-sidebar__link--logout i { color: #c33; }
.prf-sidebar__link--logout:hover { background: rgba(200,0,0,.05); color: #a00; }

/* RTL */
.direction-rtl .prf-sidebar__user { direction: rtl; }
.direction-rtl .prf-sidebar__link { text-align: right; }

/* ═══════════════════════════════════════════════════════════════════════════
   END PROFILE SIDEBAR
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   PROFILE VIEW PAGE  (.prf-banner / .prf-info-*)
═══════════════════════════════════════════════════════════════════════════ */

.prf-page { padding-top: 4rem; padding-bottom: 6rem; }

.prf-banner {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: #fff;
    border-radius: 1.6rem;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    padding: 2.4rem 2.8rem;
    margin-bottom: 2.4rem;
    flex-wrap: wrap;
}
.prf-banner__avatar {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
}
.prf-banner__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prf-banner__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.prf-banner__name {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}
.prf-banner__role {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(239,27,39,.09);
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    display: inline-block;
    align-self: flex-start;
}
.prf-banner__about {
    font-size: 1.35rem;
    color: #777;
    margin: 0.2rem 0 0;
    line-height: 1.5;
}
.prf-banner__edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 2rem;
    background: var(--primary-color);
    background-color: var(--primary-color);
    color: #fff !important;
    border-radius: 10rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
    white-space: nowrap;
    margin-inline-start: auto;
}
.prf-banner__edit-btn:hover { opacity: 0.88; color: #fff !important; text-decoration: none; }

.prf-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.prf-info-card {
    background: #fff;
    border-radius: 1.4rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    overflow: hidden;
}
.prf-info-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 1.8rem;
    background: linear-gradient(135deg,rgba(239,27,39,.06) 0%,rgba(239,27,39,.02) 100%);
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.prf-info-card__header i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 2rem;
    text-align: center;
    flex-shrink: 0;
}
.prf-info-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin: 0;
}
.prf-info-card__body { padding: 0.4rem 0; }
.prf-info-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.8rem;
    border-bottom: 1px solid rgba(0,0,0,.05);
}
.prf-info-row:last-child { border-bottom: none; }
.prf-info-row__label {
    font-size: 1.3rem;
    font-weight: 600;
    color: #888;
    white-space: nowrap;
    min-width: 10rem;
    flex-shrink: 0;
}
.prf-info-row__value {
    font-size: 1.4rem;
    color: #333;
    font-weight: 500;
    word-break: break-word;
}

/* RTL */
/* prf-banner: direction:rtl on body flows avatar→right, body→middle, button→left via margin-inline-start:auto.
   row-reverse and the margin overrides would fight that — so none are needed. */
.direction-rtl .prf-info-card__title { text-align: right; }
.direction-rtl .prf-info-row { text-align: right; direction: rtl; }

@media (max-width: 767px) {
    .prf-info-grid { grid-template-columns: 1fr; }
    .prf-banner { flex-direction: column; text-align: center; padding: 2rem; }
    .prf-banner__role { align-self: center; }
    .prf-banner__edit-btn { margin-inline-start: 0; width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END PROFILE VIEW PAGE
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   PROFILE EDIT PAGE  (.prf-edit-*)
═══════════════════════════════════════════════════════════════════════════ */

.prf-edit-wrap {
    background: #fff;
    border-radius: 1.6rem;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    padding: 2.8rem;
}
.prf-edit-tabs.nav-pills {
    gap: 0.8rem;
    border-bottom: 2px solid rgba(0,0,0,.07);
    padding-bottom: 1.6rem;
    margin-bottom: 2.4rem !important;
    flex-wrap: wrap;
}
.prf-edit-tabs .nav-link {
    border-radius: 10rem !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    padding: 0.8rem 2rem !important;
    color: #666 !important;
    background: rgba(0,0,0,.05) !important;
    border: none !important;
    transition: background 0.2s, color 0.2s !important;
}
.prf-edit-tabs .nav-link.active,
.prf-edit-tabs .nav-link:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
}

.prf-edit-avatar-wrap {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(0,0,0,.02);
    border-radius: 1.2rem;
    padding: 2rem;
    margin-bottom: 2.4rem;
    border: 1.5px dashed rgba(0,0,0,.1);
}
.prf-edit-avatar-wrap .profile-image { position: relative; flex-shrink: 0; }
.prf-edit-avatar-wrap .avater-image {
    width: 8rem !important;
    height: 8rem !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid var(--primary-color) !important;
    display: block !important;
}
.prf-edit-avatar-wrap .custom-fileuplode {
    position: absolute;
    bottom: 0;
    right: 0;
}
.prf-edit-avatar-wrap .file-uplode-btn {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: opacity 0.2s;
    margin: 0;
}
.prf-edit-avatar-wrap .file-uplode-btn:hover { opacity: 0.85; }
.prf-edit-avatar-wrap .author-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.prf-edit-fields .form-group { margin-bottom: 1.8rem; }
.prf-edit-fields .form-group label {
    font-size: 1.35rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.6rem;
    display: block;
}
.prf-edit-fields .form-control,
.change-password-form .form-control {
    border-radius: 0.8rem !important;
    border: 1.5px solid rgba(0,0,0,.13) !important;
    padding: 1rem 1.4rem !important;
    font-size: 1.4rem !important;
    transition: border-color 0.2s !important;
}
.prf-edit-fields .form-control:focus,
.change-password-form .form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(239,27,39,.1) !important;
}

.prf-edit-submit { margin-top: 1.6rem; text-align: center; }
.prf-edit-submit .form-btn {
    padding: 1.1rem 3.6rem !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    border-radius: 10rem !important;
    background: var(--primary-color) !important;
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    transition: opacity 0.2s !important;
}
.prf-edit-submit .form-btn:hover { opacity: 0.88 !important; }

/* RTL */
.direction-rtl .prf-edit-wrap { direction: rtl; }
.direction-rtl .prf-edit-fields .form-group label { text-align: right; }
.direction-rtl .prf-edit-avatar-wrap .custom-fileuplode { right: auto; left: 0; }

@media (max-width: 767px) {
    .prf-edit-wrap { padding: 2rem 1.6rem; }
    .prf-edit-avatar-wrap { flex-direction: column; text-align: center; }
    .direction-rtl .prf-edit-avatar-wrap { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END PROFILE EDIT PAGE
═══════════════════════════════════════════════════════════════════════════ */

/* ─── Profile edit: hide native file input (label/camera btn is the trigger) ─── */
.prf-edit-avatar-wrap input[type="file"] { display: none !important; }

/* ─── Header user dropdown: fit content, no extra inherited width ─── */
.account-switcher.usr-menu {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MY ORDERS PAGE  (.ord-*)
═══════════════════════════════════════════════════════════════════════════ */

.ord-list {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    padding-top: 0.4rem;
}

.ord-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    transition: box-shadow 0.2s, transform 0.2s;
}
.ord-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09); transform: translateY(-1px); }

/* Header row */
.ord-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.8rem;
    background: rgba(0,0,0,.02);
    border-bottom: 1px solid rgba(0,0,0,.06);
    gap: 1rem;
    flex-wrap: wrap;
}
.ord-card__meta {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    flex-wrap: wrap;
}
.ord-card__number {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
}
.ord-card__number i { color: var(--primary-color); font-size: 1.1rem; }
.ord-card__date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    color: #888;
}

/* Status badges */
.ord-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    white-space: nowrap;
}
.ord-card__badge--active   { background: rgba(251,191,36,.12); color: #b45309; }
.ord-card__badge--delivered{ background: rgba(34,197,94,.12);  color: #15803d; }
.ord-card__badge--cancelled{ background: rgba(239,27,39,.10);  color: var(--primary-color); }

/* Body row */
.ord-card__body {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    padding: 1.4rem 1.8rem;
    flex-wrap: wrap;
}

/* Overlapping product thumbnails */
.ord-card__thumbs {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-inline-end: 1rem;
}
.ord-card__thumb {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 0.8rem;
    overflow: hidden;
    border: 2px solid #fff;
    margin-inline-end: -1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
    position: relative;
}
.ord-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ord-card__thumb-more {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 0.8rem;
    background: rgba(0,0,0,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #555;
    border: 2px solid #fff;
    margin-inline-end: -1rem;
    position: relative;
}

/* Info block */
.ord-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-inline-start: 1.4rem;
}
.ord-card__items-count { font-size: 1.3rem; color: #888; }
.ord-card__total { font-size: 1.7rem; font-weight: 700; color: #222; }

/* Track / Details button */
.ord-card__track-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.8rem;
    background: var(--primary-color);
    background-color: var(--primary-color);
    color: #fff !important;
    border-radius: 10rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
    white-space: nowrap;
    margin-inline-start: auto;
    flex-shrink: 0;
}
.ord-card__track-btn:hover { opacity: 0.88; color: #fff !important; text-decoration: none; }
.ord-card__track-btn--secondary {
    background: rgba(0,0,0,.07) !important;
    background-color: rgba(0,0,0,.07) !important;
    color: #444 !important;
}
.ord-card__track-btn--secondary:hover { background: rgba(0,0,0,.13) !important; opacity: 1 !important; color: #222 !important; }

/* Empty state */
.ord-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    gap: 1rem;
}
.ord-empty__icon       { font-size: 4rem; color: #ddd; }
.ord-empty__icon--green{ color: rgba(34,197,94,.35); }
.ord-empty__icon--red  { color: rgba(239,27,39,.25); }
.ord-empty__title      { font-size: 1.7rem; font-weight: 700; color: #444; margin: 0; }
.ord-empty__text       { font-size: 1.4rem; color: #999; margin: 0; }
.ord-empty__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.8rem;
    padding: 0.9rem 2rem;
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 10rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.ord-empty__cta:hover { opacity: 0.88; color: #fff !important; }

/* RTL */
.direction-rtl .ord-card__info { text-align: right; }

@media (max-width: 576px) {
    .ord-card__body { flex-direction: column; align-items: flex-start; }
    .direction-rtl .ord-card__body { align-items: flex-end; }
    .ord-card__info { padding-inline-start: 0; }
    .ord-card__track-btn { width: 100%; justify-content: center; margin-inline-start: 0; }
}

/* Tab count badge */
.ord-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.9rem;
    height: 1.9rem;
    padding: 0 0.4rem;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: rgba(255,255,255,.35);
    color: inherit;
    margin-inline-start: 0.5rem;
    line-height: 1;
}
.prf-edit-tabs .nav-link.active .ord-tab-count {
    background: rgba(255,255,255,.3);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════════════
   END MY ORDERS PAGE
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   TRACK ORDER PAGE  (.trk-*)
═══════════════════════════════════════════════════════════════════════════ */

/* ── Order header info card ── */
.trk-header {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-radius: 1.4rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    overflow: hidden;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.trk-header__group {
    flex: 1;
    min-width: 14rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.6rem 2rem;
    border-inline-end: 1px solid rgba(0,0,0,.07);
}
.trk-header__group:last-child { border-inline-end: none; }
.trk-header__label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.trk-header__value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}
.trk-header__value--bold { font-size: 1.7rem; font-weight: 700; color: #111; }

/* Status badge inside header */
.trk-header__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0.35rem 1.1rem;
    border-radius: 2rem;
    align-self: flex-start;
    white-space: nowrap;
}
.trk-header__badge--processing{ background: rgba(251,191,36,.12); color: #b45309; }
.trk-header__badge--shipped   { background: rgba(59,130,246,.10); color: #1d4ed8; }
.trk-header__badge--delivered { background: rgba(34,197,94,.12);  color: #15803d; }
.trk-header__badge--cancelled { background: rgba(239,27,39,.10);  color: var(--primary-color); }
.trk-header__badge--returned  { background: rgba(168,85,247,.10); color: #7e22ce; }
.trk-header__badge--failed    { background: rgba(239,27,39,.10);  color: var(--primary-color); }

/* ── Stepper ── */
.trk-stepper {
    display: flex;
    align-items: flex-start;
    padding: 2.8rem 2rem 2rem;
    margin-bottom: 2rem;
    background: #fff;
    border-radius: 1.4rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.trk-stepper__step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    gap: 0.9rem;
}
/* Connecting line drawn BEFORE each step (except first) */
.trk-stepper__step:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 1.8rem;
    right: 50%;
    width: 100%;
    height: 3px;
    background: #e5e7eb;
    z-index: 0;
    border-radius: 2px;
}
.trk-stepper__step--done:not(:first-child)::before,
.trk-stepper__step--current:not(:first-child)::before {
    background: var(--primary-color);
}
.trk-stepper__step--cancelled:not(:first-child)::before {
    background: #fca5a5;
}

/* Icon circle */
.trk-stepper__circle {
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #9ca3af;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.trk-stepper__step--done .trk-stepper__circle {
    background: var(--primary-color);
    color: #fff;
}
.trk-stepper__step--current .trk-stepper__circle {
    background: var(--primary-color);
    color: #fff;
    animation: trk-pulse 2s ease-in-out infinite;
}
.trk-stepper__step--cancelled .trk-stepper__circle {
    background: #f87171;
    color: #fff;
}
@keyframes trk-pulse {
    0%,100% { box-shadow: 0 0 0 4px rgba(239,27,39,.18); }
    50%      { box-shadow: 0 0 0 9px rgba(239,27,39,.05); }
}

/* Labels */
.trk-stepper__label {
    font-size: 1.25rem;
    font-weight: 600;
    color: #9ca3af;
    line-height: 1.3;
    padding: 0 0.4rem;
}
.trk-stepper__step--done .trk-stepper__label,
.trk-stepper__step--current .trk-stepper__label { color: var(--primary-color); }
.trk-stepper__step--cancelled .trk-stepper__label { color: #f87171; }

/* RTL stepper
   direction:rtl on <body> is inherited, so a flex row already flows
   right-to-left (first child = rightmost). row-reverse would cancel that
   and put Processing back on the LEFT — so we must NOT override flex-direction.
   The connecting line uses left:50% so it extends RIGHTWARD from each step's
   center toward the previous (higher-priority) step on its right. */
.direction-rtl .trk-stepper__step:not(:first-child)::before {
    right: auto;
    left: 50%;
}

@media (max-width: 576px) {
    .trk-stepper { padding: 2rem 0.6rem 1.6rem; }
    .trk-stepper__circle { width: 3rem; height: 3rem; font-size: 1.2rem; }
    .trk-stepper__label  { font-size: 1.1rem; }
    .trk-stepper__step:not(:first-child)::before { top: 1.5rem; }
}

/* ── Products items card ── */
.trk-items-card {
    background: #fff;
    border-radius: 1.4rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    overflow: hidden;
    margin-bottom: 2rem;
}
.trk-items-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 1.8rem;
    background: linear-gradient(135deg,rgba(239,27,39,.06) 0%,rgba(239,27,39,.02) 100%);
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.trk-items-card__header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}
.trk-items-card__header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.trk-item {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 1.4rem 1.8rem;
    border-bottom: 1px solid rgba(0,0,0,.05);
}
.trk-item:last-child { border-bottom: none; }
.trk-item__img {
    width: 6rem;
    height: 6rem;
    border-radius: 0.8rem;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,.07);
}
.trk-item__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.trk-item__name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #222;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.trk-item__meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.trk-item__qty  { font-size: 1.3rem; color: #888; }
.trk-item__price{ font-size: 1.3rem; color: #888; }
.trk-item__subtotal {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    white-space: nowrap;
    flex-shrink: 0;
}
.trk-item__review {
    flex-shrink: 0;
}
.trk-item__review-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    background: var(--primary-color);
    color: #fff !important;
    border: none;
    border-radius: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.trk-item__review-btn:hover { opacity: 0.88; }
.trk-item__review-btn--done {
    background: rgba(0,0,0,.07) !important;
    color: #888 !important;
    cursor: default;
}
.trk-item__review-btn--done:hover { opacity: 1; }

/* ── Order summary card ── */
.trk-summary {
    background: #fff;
    border-radius: 1.4rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    overflow: hidden;
    position: sticky;
    top: 2rem;
}
.trk-summary__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 1.8rem;
    background: linear-gradient(135deg,rgba(239,27,39,.06) 0%,rgba(239,27,39,.02) 100%);
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.trk-summary__header i { font-size: 1.5rem; color: var(--primary-color); }
.trk-summary__header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin: 0;
}
.trk-summary__rows { padding: 0.4rem 0; }
.trk-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.8rem;
    font-size: 1.4rem;
    color: #555;
    border-bottom: 1px solid rgba(0,0,0,.05);
    gap: 1rem;
}
.trk-summary__row:last-child { border-bottom: none; }
.trk-summary__row--discount { color: #15803d; }
.trk-summary__row-val { font-weight: 600; white-space: nowrap; }
.trk-summary__grand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 1.8rem;
    background: rgba(239,27,39,.04);
    border-top: 2px solid rgba(239,27,39,.15);
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    gap: 1rem;
}
.trk-summary__grand-val { color: var(--primary-color); font-size: 1.9rem; white-space: nowrap; }

/* ── Review modal ── */
.trk-review-modal .modal-content {
    border-radius: 1.4rem !important;
    border: none !important;
    overflow: hidden;
}
.trk-review-modal .modal-header {
    background: linear-gradient(135deg,rgba(239,27,39,.06) 0%,rgba(239,27,39,.02) 100%);
    border-bottom: 1px solid rgba(0,0,0,.07);
    padding: 1.6rem 2rem;
}
.trk-review-modal .modal-body { padding: 2rem; }
.trk-review-modal .form-label {
    font-size: 1.35rem;
    font-weight: 600;
    color: #555;
}
.trk-review-modal .form-control,
.trk-review-modal .form-select {
    border-radius: 0.8rem !important;
    border: 1.5px solid rgba(0,0,0,.13) !important;
    font-size: 1.4rem !important;
    padding: 0.9rem 1.2rem !important;
}
.trk-review-modal .form-control:focus,
.trk-review-modal .form-select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(239,27,39,.1) !important;
}
.trk-review-modal textarea { resize: vertical; min-height: 9rem; }
.trk-review-modal .trk-review-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2.4rem;
    background: var(--primary-color);
    background-color: var(--primary-color);
    color: #fff !important;
    border: none;
    border-radius: 10rem;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 0.4rem;
}
.trk-review-modal .trk-review-submit:hover { opacity: 0.88; }

/* RTL */
.direction-rtl .trk-header { direction: rtl; }
.direction-rtl .trk-header__group { text-align: right; }
.direction-rtl .trk-item { direction: rtl; }
.direction-rtl .trk-item__info { text-align: right; }
.direction-rtl .trk-summary__row,
.direction-rtl .trk-summary__grand { direction: rtl; }

@media (max-width: 991px) {
    .trk-summary { position: static; }
}
@media (max-width: 767px) {
    .trk-header__group { min-width: 45%; }
    .trk-item { flex-wrap: wrap; }
    .trk-item__subtotal { margin-inline-start: auto; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END TRACK ORDER PAGE
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   AUTH PAGES  (.auth-*)
═══════════════════════════════════════════════════════════════════════════ */

.auth-page { padding-top: 5rem; padding-bottom: 7rem; }

/* ── Split card (sign-in) ── */
.auth-card {
    display: flex;
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 10px 48px rgba(0,0,0,.12);
    overflow: hidden;
    min-height: 52rem;
}

/* Branding panel */
.auth-card__brand {
    width: 38%;
    flex-shrink: 0;
    padding: 4rem 3.4rem;
    background: linear-gradient(155deg, var(--primary-color) 0%, #b01219 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.4rem;
    position: relative;
    overflow: hidden;
}
.auth-card__brand::before {
    content: '';
    position: absolute;
    top: -5rem;
    inset-inline-end: -5rem;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    pointer-events: none;
}
.auth-card__brand::after {
    content: '';
    position: absolute;
    bottom: -7rem;
    inset-inline-start: -6rem;
    width: 26rem;
    height: 26rem;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    pointer-events: none;
}

.auth-brand__logo-wrap { display: inline-block; margin-bottom: 0.4rem; }
.auth-brand__logo {
    height: 4.4rem;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.auth-brand__title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}
.auth-brand__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.15);
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    border: 1px solid rgba(255,255,255,.2);
    align-self: flex-start;
}
.auth-brand__desc {
    font-size: 1.4rem;
    color: rgba(255,255,255,.8);
    line-height: 1.6;
    margin: 0;
}
.auth-brand__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.auth-brand__features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.35rem;
    color: rgba(255,255,255,.9);
}
.auth-brand__features li i {
    font-size: 1.2rem;
    color: rgba(255,255,255,.7);
    width: 1.6rem;
    text-align: center;
    flex-shrink: 0;
}

/* Form panel */
.auth-card__form {
    flex: 1;
    padding: 4rem 4.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

/* Form header */
.auth-form__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 2.8rem;
}
.auth-form__icon {
    width: 5.2rem;
    height: 5.2rem;
    border-radius: 1.4rem;
    background: rgba(239,27,39,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}
.auth-form__title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #111;
    margin: 0;
    line-height: 1.2;
}
.auth-form__subtitle {
    font-size: 1.4rem;
    color: #888;
    margin: 0;
}

/* ── Shared field styles ── */
.auth-field { margin-bottom: 1.8rem; }
.auth-field__label {
    display: block;
    font-size: 1.35rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 0.7rem;
}
.auth-field__wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-field__icon {
    position: absolute;
    inset-inline-start: 1.4rem;
    font-size: 1.4rem;
    color: #aaa;
    pointer-events: none;
    z-index: 1;
    transition: color 0.2s;
}
.auth-field__input {
    width: 100%;
    height: 5rem;
    border: 1.5px solid rgba(0,0,0,.14);
    border-radius: 1rem;
    padding-block: 0;
    padding-inline: 4.2rem 1.4rem;
    font-size: 1.45rem;
    color: #222;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}
.auth-field__input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(239,27,39,.10);
}
.auth-field__input:focus ~ .auth-field__icon,
.auth-field__wrap:focus-within .auth-field__icon { color: var(--primary-color); }
.auth-field__input--padded-end { padding-inline-end: 4.4rem; }
.auth-field__toggle {
    position: absolute;
    inset-inline-end: 1.2rem;
    background: none;
    border: none;
    padding: 0.4rem;
    cursor: pointer;
    color: #aaa;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    transition: color 0.18s;
    z-index: 2;
}
.auth-field__toggle:hover { color: var(--primary-color); }
.auth-field__error {
    display: block;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 0.4rem;
}

/* Remember me + forgot row */
.auth-form__options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.auth-check {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    user-select: none;
}
.auth-check__input { display: none; }
.auth-check__box {
    width: 1.9rem;
    height: 1.9rem;
    border: 2px solid #ccc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s;
    flex-shrink: 0;
}
.auth-check__input:checked + .auth-check__box {
    background: var(--primary-color);
    border-color: var(--primary-color);
}
.auth-check__input:checked + .auth-check__box::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 1rem;
    color: #fff;
}
.auth-check__label { font-size: 1.35rem; color: #555; }
.auth-form__forgot {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.18s;
}
.auth-form__forgot:hover { opacity: 0.8; text-decoration: underline; }

/* Submit button */
.auth-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    height: 5rem;
    background: var(--primary-color);
    background-color: var(--primary-color);
    color: #fff !important;
    border: none;
    border-radius: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    text-decoration: none;
    margin-bottom: 0.4rem;
}
.auth-submit-btn:hover { opacity: 0.9; transform: translateY(-1px); color: #fff !important; }
.auth-submit-btn i { transition: transform 0.2s; }
.auth-submit-btn:hover i { transform: translateX(3px); }

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.8rem 0;
    color: #bbb;
    font-size: 1.3rem;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0,0,0,.1);
}

/* Alt link (customer/vendor switch) */
.auth-form__alt-link {
    text-align: center;
    font-size: 1.4rem;
    color: #777;
    margin: 0;
}
.auth-form__alt-link a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    margin-inline-start: 0.4rem;
    transition: opacity 0.18s;
}
.auth-form__alt-link a:hover { opacity: 0.8; text-decoration: underline; }

/* ── Simple centered card (forgot / reset) ── */
.auth-simple-card {
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 10px 48px rgba(0,0,0,.10);
    padding: 4rem;
    text-align: center;
}
.auth-simple-card__icon {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: rgba(239,27,39,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--primary-color);
    margin: 0 auto 2rem;
}
.auth-simple-card__title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #111;
    margin: 0 0 0.8rem;
    line-height: 1.2;
}
.auth-simple-card__sub {
    font-size: 1.4rem;
    color: #888;
    margin: 0 0 2.8rem;
    line-height: 1.6;
}
.auth-simple-card .auth-field__label { text-align: start; }
.auth-simple-card .auth-submit-btn { margin-top: 0.4rem; }

/* RTL
   The body has direction:rtl which is inherited by flex containers.
   On a row flex container with direction:rtl, items flow right-to-left,
   so brand (first child) naturally lands on the RIGHT — no flex-direction override needed.
   flex-direction:row-reverse would cancel that out and put brand back on the LEFT (wrong). */
.direction-rtl .auth-card { flex-direction: row; }
.direction-rtl .auth-form__head { text-align: right; }
.direction-rtl .auth-form__alt-link { direction: rtl; }
.direction-rtl .auth-submit-btn i { transform: scaleX(-1); }
.direction-rtl .auth-submit-btn:hover i { transform: scaleX(-1) translateX(3px); }
.direction-rtl .auth-simple-card .auth-field__label { text-align: end; }

/* Responsive */
@media (max-width: 991px) {
    .auth-card__brand { width: 40%; padding: 3rem 2.4rem; }
    .auth-card__form { padding: 3rem 3rem; }
}
@media (max-width: 767px) {
    .auth-card { flex-direction: column; border-radius: 1.6rem; }
    .direction-rtl .auth-card { flex-direction: column; }
    .auth-card__brand {
        width: 100%;
        padding: 2.8rem 2.4rem;
        flex-direction: row;
        align-items: center;
        gap: 1.6rem;
        flex-wrap: wrap;
    }
    .auth-brand__features { display: none; }
    .auth-brand__desc { display: none; }
    .auth-card__form { padding: 2.8rem 2rem; }
    .auth-form__head { align-items: center; text-align: center; }
    .direction-rtl .auth-form__head { align-items: center; }
    .auth-simple-card { padding: 3rem 2rem; }
    .auth-simple-card__title { font-size: 2.2rem; }
    .auth-page { padding-top: 2rem; padding-bottom: 4rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END AUTH PAGES
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   OTP AUTH PAGES
═══════════════════════════════════════════════════════════════════════════ */

/* ── Phone entry ─────────────────────────────────────────── */
.otp-phone-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.otp-code-select {
    flex: 0 0 auto;
    width: 120px;
    height: 5rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 1rem;
    padding: 0 1rem;
    font-size: 1.4rem;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: border-color 0.2s;
    outline: none;
}
.otp-code-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(239,27,39,.12);
}
.otp-phone-input {
    flex: 1;
    height: 5rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 1rem;
    padding: 0 1.6rem;
    font-size: 1.6rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    color: #1a1a1a;
}
.otp-phone-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(239,27,39,.12);
}

/* ── Verification: sent message ──────────────────────────── */
.otp-sent-msg {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0.6rem;
    text-align: center;
}
.otp-phone-badge {
    display: inline-block;
    font-weight: 700;
    font-size: 1.5rem;
    color: #333;
    letter-spacing: 0.5px;
    background: #f3f4f6;
    padding: 0.2rem 1rem;
    border-radius: 0.4rem;
    margin-top: 0.4rem;
}

/* ── Feedback banner ─────────────────────────────────────── */
.otp-feedback {
    min-height: 2rem;
    margin: 0.4rem 0 0.2rem;
    font-size: 1.35rem;
    font-weight: 500;
    text-align: center;
    border-radius: 0.6rem;
    padding: 0;
    transition: all 0.2s;
}
.otp-feedback.error {
    color: #dc3545;
    background: #fff5f5;
    padding: 0.8rem 1.4rem;
}
.otp-feedback.success {
    color: #28a745;
    background: #f0fff4;
    padding: 0.8rem 1.4rem;
}

/* ── 6-box OTP digit group ────────────────────────────────── */
.otp-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.8rem 0 1rem;
}
.otp-digit {
    width: 5rem;
    height: 5.8rem;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    border: 2px solid #dee2e6;
    border-radius: 1rem;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s, background-color 0.18s;
    background: #fff;
    color: #212529;
    caret-color: var(--primary-color);
    -moz-appearance: textfield;
}
.otp-digit::-webkit-inner-spin-button,
.otp-digit::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.otp-digit:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(239,27,39,.13);
}
.otp-digit.filled {
    border-color: #6c757d;
    background: #f8f9fa;
}
.otp-group.has-error .otp-digit {
    border-color: #dc3545 !important;
    background: #fff5f5;
    animation: otpShake 0.38s ease;
}
.otp-group.has-success .otp-digit {
    border-color: #28a745 !important;
    background: #f0fff4;
    color: #28a745;
}
@keyframes otpShake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-7px); }
    40%       { transform: translateX(7px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}

/* ── Shield icon success state ───────────────────────────── */
.auth-simple-card__icon.success {
    background: rgba(40,167,69,.10);
    color: #28a745;
    transition: background-color 0.3s, color 0.3s;
}

/* ── Timer ────────────────────────────────────────────────── */
.otp-timer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.6rem 0 0.2rem;
}
.otp-timer-label { font-size: 1.3rem; color: #888; }
.otp-timer-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 3.8rem;
    display: inline-block;
    text-align: center;
}
.otp-timer-value.expired { color: #adb5bd; }

/* ── Resend ──────────────────────────────────────────────── */
.otp-resend-row {
    text-align: center;
    font-size: 1.4rem;
    color: #666;
    margin: 0.6rem 0 0;
}
.otp-resend-link {
    font-weight: 600;
    color: var(--primary-color) !important;
    margin-inline-start: 0.4rem;
}
.otp-resend-link.disabled {
    color: #adb5bd !important;
    pointer-events: none;
    cursor: default;
}
.otp-resend-countdown {
    font-size: 1.2rem;
    color: #adb5bd;
    font-weight: 400;
    margin-inline-start: 0.2rem;
}

/* ── Spinner ─────────────────────────────────────────────── */
.otp-spinner {
    display: inline-block;
    width: 1.8rem;
    height: 1.8rem;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: otpSpin 0.65s linear infinite;
    vertical-align: middle;
    margin-inline-start: 0.6rem;
}
@keyframes otpSpin { to { transform: rotate(360deg); } }

#otpSubmitBtn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ── RTL ─────────────────────────────────────────────────── */
.direction-rtl .otp-feedback   { text-align: right; }
.direction-rtl .otp-sent-msg   { text-align: right; }
.direction-rtl .otp-timer-row,
.direction-rtl .otp-resend-row { direction: rtl; }

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 480px) {
    .otp-group  { gap: 0.7rem; }
    .otp-digit  { width: 4.2rem; height: 5rem; font-size: 1.8rem; border-radius: 0.8rem; }
}
@media (max-width: 360px) {
    .otp-group  { gap: 0.5rem; }
    .otp-digit  { width: 3.6rem; height: 4.6rem; font-size: 1.6rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END OTP AUTH PAGES
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   PUBLIC ORDER TRACK PAGE  (/order-track)
═══════════════════════════════════════════════════════════════════════════ */

.otk-page { background: #f8f9fb; }

.otk-wrap {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    max-width: 100%;
}

/* ── Track Another Order card ─────────────────────────────── */
.otk-search-again {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: #fff;
    border-radius: 1.4rem;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    padding: 2.2rem 2.8rem;
    margin-top: 0.4rem;
    flex-wrap: wrap;
}
.otk-search-again__icon {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    background: rgba(239,27,39,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}
.otk-search-again__body {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.otk-search-again__label {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    margin: 0;
}
.otk-search-again__form {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    flex-wrap: wrap;
}
.otk-search-again__field {
    position: relative;
    flex: 1;
    min-width: 18rem;
}
.otk-search-again__field-icon {
    position: absolute;
    inset-inline-start: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 1.3rem;
    pointer-events: none;
    z-index: 1;
}
.otk-search-again__input {
    width: 100%;
    height: 4.6rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 0.9rem;
    padding-block: 0;
    padding-inline: 4rem 1.4rem;
    font-size: 1.4rem;
    color: #222;
    background: #f8f9fb;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.otk-search-again__input:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(239,27,39,.10);
}
.otk-search-again__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    height: 4.6rem;
    padding: 0 2.2rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0.9rem;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.18s, transform 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.otk-search-again__btn:hover { opacity: 0.9; transform: translateY(-1px); }
.otk-search-again__btn i { font-size: 1.2rem; }

/* ── RTL ─────────────────────────────────────────────────── */
.direction-rtl .otk-search-again { flex-direction: row-reverse; }
.direction-rtl .otk-search-again__body { flex-direction: row-reverse; }

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 576px) {
    .otk-search-again { padding: 1.8rem; gap: 1.4rem; }
    .otk-search-again__form { flex-direction: column; align-items: stretch; }
    .otk-search-again__field { min-width: 0; }
    .otk-search-again__btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END PUBLIC ORDER TRACK PAGE
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   ENHANCED MEGA MENU  (.nav-mega-*)
═══════════════════════════════════════════════════════════════════════════ */

/* Strip theme's 6rem padding; we control spacing inside */
.header-area .header-bottom .menu-area .main-menu .mega-menu-parent .mega-menu-area,
.header-area-v2 .header-bottom .menu-area .main-menu .mega-menu-parent .mega-menu-area {
    padding: 0 !important;
    border-radius: 0 0 1.6rem 1.6rem;
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 24px 64px rgba(0,0,0,.14) !important;
}

/* ── Inner grid ────────────────────────────────────────────── */
.nav-mega-inner {
    display: flex;
    align-items: stretch;
}

/* ── Column base ──────────────────────────────────────────── */
.nav-mega-col {
    flex: 1;
    padding: 2.8rem 2.4rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.nav-mega-col--brands {
    flex: 0 0 20rem;
    border-inline: 1px solid #f0f0f0;
    padding: 2.8rem 2rem;
}
.nav-mega-col--banner {
    flex: 0 0 28rem;
    padding: 2rem;
    background: #fafafa;
    border-radius: 0 0 1.6rem 0;
}
.direction-rtl .nav-mega-col--banner { border-radius: 0 0 0 1.6rem; }

/* ── Section heading ──────────────────────────────────────── */
.nav-mega-heading {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1.4rem;
    padding-bottom: 1.1rem;
    border-bottom: 1.5px solid rgba(239,27,39,.12);
}
.nav-mega-heading i { font-size: 1.1rem; flex-shrink: 0; }

/* ── Category list ────────────────────────────────────────── */
.nav-mega-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}
.nav-mega-list__item { display: block; }
.nav-mega-list__link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.65rem 0.8rem;
    border-radius: 0.7rem;
    color: #333;
    font-size: 1.35rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s, padding-inline-start 0.15s;
    border-inline-start: 2.5px solid transparent;
    margin-bottom: 0.05rem;
}
.nav-mega-list__link:hover {
    background: rgba(239,27,39,.05);
    color: var(--primary-color);
    border-inline-start-color: var(--primary-color);
    padding-inline-start: 1.2rem;
}
.nav-mega-list__icon {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.6rem;
    background: rgba(239,27,39,.07);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.15rem;
    color: var(--primary-color);
    transition: background 0.15s;
}
.nav-mega-list__link:hover .nav-mega-list__icon { background: rgba(239,27,39,.14); }
.nav-mega-list__name { flex: 1; }
.nav-mega-list__arrow {
    font-size: 0.95rem;
    color: #ccc;
    opacity: 0;
    transition: opacity 0.15s, transform 0.15s;
    flex-shrink: 0;
}
.nav-mega-list__link:hover .nav-mega-list__arrow {
    opacity: 1;
    color: var(--primary-color);
}
.direction-rtl .nav-mega-list__arrow { transform: scaleX(-1); }
.direction-rtl .nav-mega-list__link:hover { padding-inline-start: 0.8rem; padding-inline-end: 1.2rem; }

/* ── View all link ────────────────────────────────────────── */
.nav-mega-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.4rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none !important;
    transition: gap 0.18s;
    padding-inline-start: 0.8rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 1.2rem;
}
.nav-mega-view-all:hover { gap: 1rem; color: var(--primary-color); }
.nav-mega-view-all i { font-size: 1rem; transition: transform 0.18s; }
.nav-mega-view-all:hover i { transform: translateX(3px); }
.direction-rtl .nav-mega-view-all i { transform: scaleX(-1); }
.direction-rtl .nav-mega-view-all:hover i { transform: scaleX(-1) translateX(-3px); }

/* ── Brand list ───────────────────────────────────────────── */
.nav-mega-brand-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}
.nav-mega-brand__item { margin-bottom: 0.1rem; }
.nav-mega-brand__link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.65rem 0.8rem;
    border-radius: 0.7rem;
    color: #444;
    font-size: 1.35rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s;
}
.nav-mega-brand__link:hover {
    background: rgba(239,27,39,.05);
    color: var(--primary-color);
}
.nav-mega-brand__dot {
    font-size: 0.45rem;
    color: #ccc;
    flex-shrink: 0;
    transition: color 0.15s;
}
.nav-mega-brand__link:hover .nav-mega-brand__dot { color: var(--primary-color); }

/* ── Promotional banner ───────────────────────────────────── */
.nav-mega-banner {
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 1.2rem;
    overflow: hidden;
    flex: 1;
    text-decoration: none !important;
    min-height: 26rem;
}
.nav-mega-banner__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.nav-mega-banner:hover .nav-mega-banner__img { transform: scale(1.05); }
.nav-mega-banner__overlay {
    position: relative;
    z-index: 1;
    flex: 1;
    background: linear-gradient(to top, rgba(0,0,0,.80) 0%, rgba(0,0,0,.18) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    gap: 0.7rem;
}
.nav-mega-banner__tag {
    display: inline-block;
    align-self: flex-start;
    background: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 0.4rem;
}
.nav-mega-banner__title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}
.nav-mega-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    align-self: flex-start;
    background: #fff;
    color: #111;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0.65rem 1.6rem;
    border-radius: 10rem;
    transition: background 0.18s, color 0.18s, gap 0.18s;
}
.nav-mega-banner:hover .nav-mega-banner__btn {
    background: var(--primary-color);
    color: #fff;
    gap: 1rem;
}
.nav-mega-banner__btn i { font-size: 1rem; }

/* RTL: flip banner btn arrow + align tag/btn to end */
.direction-rtl .nav-mega-banner__btn i { transform: scaleX(-1); }
.direction-rtl .nav-mega-banner__tag,
.direction-rtl .nav-mega-banner__btn { align-self: flex-end; }
.direction-rtl .nav-mega-banner:hover .nav-mega-banner__btn { gap: 1rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   END ENHANCED MEGA MENU
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   MY SUBSCRIPTIONS PAGE  (.sub-*)
═══════════════════════════════════════════════════════════════════════════ */

.sub-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.sub-page-title { font-size: 2rem; font-weight: 700; color: #222; margin: 0; }

.sub-list { display: flex; flex-direction: column; gap: 1.6rem; padding-top: 0.4rem; }

.sub-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    transition: box-shadow 0.2s, transform 0.2s;
}
.sub-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09); transform: translateY(-1px); }

.sub-card__header {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 1.2rem 1.8rem;
    background: rgba(0,0,0,.02);
    border-bottom: 1px solid rgba(0,0,0,.06);
    flex-wrap: wrap;
}
.sub-card__thumb {
    width: 6rem; height: 6rem;
    border-radius: 0.8rem;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,.08);
}
.sub-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sub-card__title-wrap { flex: 1; min-width: 0; }
.sub-card__product-name {
    font-size: 1.5rem; font-weight: 700; color: #222;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin: 0 0 0.3rem;
}
.sub-card__product-name a { color: inherit; text-decoration: none; }
.sub-card__product-name a:hover { color: var(--primary-color); }
.sub-card__order-num {
    font-size: 1.2rem; color: #888;
    display: flex; align-items: center; gap: 0.4rem;
}
.sub-card__order-num i { color: var(--primary-color); font-size: 1rem; }

.sub-card__badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 1.15rem; font-weight: 600;
    padding: 0.4rem 1.1rem;
    border-radius: 2rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.sub-card__badge--active  { background: rgba(34,197,94,.12);  color: #15803d; }
.sub-card__badge--expired { background: rgba(239,27,39,.10);  color: #b91c1c; }
.sub-card__badge--pending { background: rgba(251,191,36,.12); color: #b45309; }

.sub-card__body { padding: 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 1.2rem; }

.sub-card__plan-row {
    display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap;
}
.sub-card__plan-label { font-size: 1.25rem; color: #888; flex-shrink: 0; }
.sub-card__plan-name {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(0,0,0,.04);
    color: var(--primary-color);
    border-radius: 2rem; padding: 0.3rem 1.1rem;
    font-size: 1.3rem; font-weight: 600;
    border: 1px solid rgba(0,0,0,.07);
}

.sub-card__progress-wrap { display: flex; flex-direction: column; gap: 0.55rem; }
.sub-card__progress-labels {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 1.2rem; color: #888;
}
.sub-card__progress-labels strong { color: #222; font-weight: 700; }
.sub-card__progress-bar {
    height: 0.6rem; border-radius: 1rem;
    background: rgba(0,0,0,.07);
    overflow: hidden;
}
.sub-card__progress-fill {
    height: 100%; border-radius: 1rem;
    background: #22c55e;
    transition: width 0.4s ease;
}
.sub-card__progress-fill--mid { background: #f59e0b; }
.sub-card__progress-fill--low { background: #ef4444; }

.sub-card__details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 0.8rem 2rem;
}
.sub-card__detail { display: flex; flex-direction: column; gap: 0.2rem; }
.sub-card__detail-label { font-size: 1.05rem; color: #aaa; text-transform: uppercase; letter-spacing: 0.04em; }
.sub-card__detail-value { font-size: 1.35rem; font-weight: 600; color: #333; }

.sub-card__footer {
    display: flex; align-items: center; justify-content: flex-end;
    padding: 1rem 1.8rem;
    border-top: 1px solid rgba(0,0,0,.05);
    gap: 0.8rem; flex-wrap: wrap;
}
.sub-card__btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: 0.8rem;
    font-size: 1.3rem; font-weight: 600;
    border: none; cursor: pointer;
    text-decoration: none !important;
    transition: opacity 0.2s, background 0.2s;
}
.sub-card__btn:hover { opacity: 0.85; }
.sub-card__btn--primary { background: var(--primary-color); color: #fff !important; }
.sub-card__btn--ghost   { background: rgba(0,0,0,.06); color: #444 !important; }
.sub-card__btn--warn    { background: rgba(234,179,8,.1); color: #854d0e !important; border: 1px solid rgba(234,179,8,.3); }

/* RTL — direction:rtl on body already makes flex row flow right→left;
   row-reverse would double-cancel that back to LTR, so none are needed here. */
.direction-rtl .sub-card__title-wrap { text-align: right; }
.direction-rtl .sub-card__details { direction: rtl; }
.direction-rtl .sub-card__detail { text-align: right; }

@media (max-width: 576px) {
    .sub-card__header { gap: 1rem; }
    .sub-card__thumb  { width: 5rem; height: 5rem; }
    .sub-card__details { grid-template-columns: 1fr 1fr; }
    .sub-card__footer { justify-content: stretch; }
    .sub-card__btn    { flex: 1; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MY MAINTENANCE PAGE  (.mnt-*)
═══════════════════════════════════════════════════════════════════════════ */

.mnt-list { display: flex; flex-direction: column; gap: 1.6rem; padding-top: 0.4rem; }

.mnt-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    transition: box-shadow 0.2s, transform 0.2s;
}
.mnt-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09); transform: translateY(-1px); }

.mnt-card__header {
    display: flex; align-items: center; gap: 1.4rem;
    padding: 1.2rem 1.8rem;
    background: rgba(0,0,0,.02);
    border-bottom: 1px solid rgba(0,0,0,.06);
    flex-wrap: wrap;
}
.mnt-card__thumb {
    width: 5.6rem; height: 5.6rem;
    border-radius: 0.8rem; overflow: hidden; flex-shrink: 0;
    border: 1px solid rgba(0,0,0,.08);
}
.mnt-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mnt-card__title-wrap { flex: 1; min-width: 0; }
.mnt-card__product-name {
    font-size: 1.5rem; font-weight: 700; color: #222;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0 0 0.3rem;
}
.mnt-card__product-name a { color: inherit; text-decoration: none; }
.mnt-card__product-name a:hover { color: var(--primary-color); }
.mnt-card__order-num { font-size: 1.2rem; color: #888; display: flex; align-items: center; gap: 0.4rem; }
.mnt-card__order-num i { color: var(--primary-color); font-size: 1rem; }

.mnt-card__status {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 1.15rem; font-weight: 600;
    padding: 0.4rem 1.1rem;
    border-radius: 2rem;
    white-space: nowrap; flex-shrink: 0;
}
.mnt-card__status--done     { background: rgba(34,197,94,.12);  color: #15803d; }
.mnt-card__status--pending  { background: rgba(251,191,36,.12); color: #b45309; }
.mnt-card__status--rejected { background: rgba(239,27,39,.10);  color: #b91c1c; }
.mnt-card__status--shipping { background: rgba(99,102,241,.12); color: #3730a3; }
.mnt-card__status--payment  { background: rgba(234,179,8,.12);  color: #854d0e; }

.mnt-card__body {
    padding: 1.6rem 1.8rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.4rem 2rem;
    align-items: start;
}
.mnt-card__details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 0.8rem 2rem;
}
.mnt-card__detail { display: flex; flex-direction: column; gap: 0.2rem; }
.mnt-card__detail-label { font-size: 1.05rem; color: #aaa; text-transform: uppercase; letter-spacing: 0.04em; }
.mnt-card__detail-value { font-size: 1.35rem; font-weight: 600; color: #333; }

.mnt-card__costs { display: flex; flex-direction: column; gap: 0.8rem; }
.mnt-card__cost-item {
    display: flex; flex-direction: column; gap: 0.2rem;
    background: rgba(0,0,0,.025);
    border-radius: 0.8rem; padding: 0.8rem 1.2rem;
    min-width: 13rem; text-align: end;
}
.mnt-card__cost-label { font-size: 1.05rem; color: #aaa; }
.mnt-card__cost-value { font-size: 1.7rem; font-weight: 700; color: #222; }

.mnt-card__footer {
    display: flex; align-items: center; justify-content: flex-end;
    padding: 1rem 1.8rem;
    border-top: 1px solid rgba(0,0,0,.05);
    gap: 0.8rem; flex-wrap: wrap;
}
.mnt-card__btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.65rem 1.6rem;
    border-radius: 0.8rem;
    font-size: 1.3rem; font-weight: 600;
    text-decoration: none !important;
    transition: opacity 0.2s;
}
.mnt-card__btn:hover { opacity: 0.85; }
.mnt-card__btn--details { background: rgba(0,0,0,.06); color: #444 !important; }
.mnt-card__btn--pay     { background: var(--primary-color); color: #fff !important; }

/* RTL */
.direction-rtl .mnt-card__title-wrap { text-align: right; }
.direction-rtl .mnt-card__body      { direction: rtl; }
.direction-rtl .mnt-card__details   { direction: rtl; }
.direction-rtl .mnt-card__detail    { text-align: right; }
.direction-rtl .mnt-card__cost-item { text-align: start; }

@media (max-width: 768px) {
    .mnt-card__body { grid-template-columns: 1fr; }
    .mnt-card__costs { flex-direction: row; flex-wrap: wrap; }
    .mnt-card__cost-item { flex: 1; min-width: 10rem; text-align: center; }
}
@media (max-width: 576px) {
    .mnt-card__header { gap: 1rem; }
    .mnt-card__thumb  { width: 5rem; height: 5rem; }
    .mnt-card__footer { justify-content: stretch; }
    .mnt-card__btn    { flex: 1; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END SUBSCRIPTIONS & MAINTENANCE PAGES
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   MAINTENANCE TRACK PAGE  (.mtrk-*)
   Extends the existing .trk-* system from the order track page
═══════════════════════════════════════════════════════════════════════════ */

/* Page shell – full-width, no sidebar */
.mtrk-page { padding-top: 4rem; padding-bottom: 6rem; }

/* Section card – shared panel chrome */
.mtrk-card {
    background: #fff;
    border-radius: 1.4rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    margin-bottom: 2rem;
    overflow: hidden;
}
.mtrk-card__header {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.4rem 2rem;
    background: linear-gradient(135deg,rgba(239,27,39,.06) 0%,rgba(239,27,39,.02) 100%);
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.mtrk-card__header i { font-size: 1.5rem; color: var(--primary-color); }
.mtrk-card__header h3 { font-size: 1.5rem; font-weight: 700; color: #222; margin: 0; }
.mtrk-card__body { padding: 2rem; }

/* Request meta row (order# + date + status badge) */
.mtrk-meta {
    display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
    padding-bottom: 1.6rem; margin-bottom: 1.6rem;
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.mtrk-meta__item { display: flex; flex-direction: column; gap: 0.2rem; }
.mtrk-meta__label { font-size: 1.05rem; color: #aaa; text-transform: uppercase; letter-spacing: 0.04em; }
.mtrk-meta__value { font-size: 1.4rem; font-weight: 700; color: #222; }

/* Product row */
.mtrk-product {
    display: flex; align-items: flex-start; gap: 1.6rem; flex-wrap: wrap;
    padding-bottom: 1.6rem; margin-bottom: 1.6rem;
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.mtrk-product__thumb {
    width: 7rem; height: 7rem; border-radius: 1rem; overflow: hidden; flex-shrink: 0;
    border: 1px solid rgba(0,0,0,.08);
}
.mtrk-product__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mtrk-product__details { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.mtrk-product__name {
    font-size: 1.6rem; font-weight: 700; color: #222; margin: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mtrk-product__name a { color: inherit; text-decoration: none; }
.mtrk-product__name a:hover { color: var(--primary-color); }
.mtrk-product__attrs { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.mtrk-product__attr { font-size: 1.25rem; color: #666; }
.mtrk-product__attr strong { color: #333; }

/* Cost summary grid */
.mtrk-costs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 1rem;
    padding-bottom: 1.6rem; margin-bottom: 1.6rem;
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.mtrk-cost-box {
    background: rgba(0,0,0,.025);
    border-radius: 1rem; padding: 1.1rem 1.4rem;
    display: flex; flex-direction: column; gap: 0.3rem;
    text-align: center;
}
.mtrk-cost-box__label { font-size: 1.1rem; color: #aaa; text-transform: uppercase; letter-spacing: 0.03em; }
.mtrk-cost-box__value { font-size: 1.9rem; font-weight: 700; color: #222; }
.mtrk-cost-box--total { background: rgba(239,27,39,.06); }
.mtrk-cost-box--total .mtrk-cost-box__value { color: var(--primary-color); }

/* Warranty row */
.mtrk-warranty {
    display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
}
.mtrk-warranty__plan {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(0,0,0,.04); border: 1px solid rgba(0,0,0,.07);
    border-radius: 2rem; padding: 0.4rem 1.1rem;
    font-size: 1.3rem; font-weight: 600; color: var(--primary-color);
}
.mtrk-warranty__meta { font-size: 1.25rem; color: #666; }
.mtrk-warranty__meta strong { color: #333; }

/* Payment action box */
.mtrk-pay-box {
    display: flex; align-items: center; justify-content: space-between; gap: 1.4rem;
    flex-wrap: wrap;
    background: rgba(251,191,36,.06);
    border: 1px solid rgba(251,191,36,.3);
    border-radius: 1rem; padding: 1.4rem 1.8rem;
    margin-top: 1.6rem;
}
.mtrk-pay-box__text { display: flex; flex-direction: column; gap: 0.3rem; }
.mtrk-pay-box__title { font-size: 1.5rem; font-weight: 700; color: #92400e; }
.mtrk-pay-box__sub   { font-size: 1.25rem; color: #b45309; }
.mtrk-pay-btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.8rem 2rem; border-radius: 0.8rem;
    background: var(--primary-color); color: #fff !important;
    font-size: 1.4rem; font-weight: 700;
    border: none; cursor: pointer; text-decoration: none !important;
    transition: opacity 0.2s; white-space: nowrap;
}
.mtrk-pay-btn:hover { opacity: 0.88; }

/* Sign-in prompt */
.mtrk-signin-prompt {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    background: rgba(99,102,241,.05);
    border: 1px solid rgba(99,102,241,.2);
    border-radius: 1rem; padding: 1.4rem 1.8rem;
    margin-top: 1.6rem;
}
.mtrk-signin-prompt__text { font-size: 1.35rem; color: #3730a3; font-weight: 600; }
.mtrk-signin-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.7rem 1.6rem; border-radius: 0.8rem;
    background: #4f46e5; color: #fff !important;
    font-size: 1.3rem; font-weight: 600;
    text-decoration: none !important; transition: opacity 0.2s;
}
.mtrk-signin-btn:hover { opacity: 0.88; }

/* History timeline */
.mtrk-timeline { display: flex; flex-direction: column; gap: 0; }
.mtrk-timeline__item {
    display: flex; align-items: flex-start; gap: 1.4rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(0,0,0,.05);
    position: relative;
}
.mtrk-timeline__item:last-child { border-bottom: none; }
.mtrk-timeline__dot {
    width: 1rem; height: 1rem; border-radius: 50%;
    background: var(--primary-color); flex-shrink: 0;
    margin-top: 0.5rem;
}
.mtrk-timeline__body { flex: 1; min-width: 0; }
.mtrk-timeline__desc { font-size: 1.35rem; font-weight: 600; color: #333; margin: 0 0 0.3rem; }
.mtrk-timeline__meta { font-size: 1.2rem; color: #888; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Status badge variants reused here */
.mtrk-status {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 1.2rem; font-weight: 700;
    padding: 0.4rem 1.1rem;
    border-radius: 2rem; white-space: nowrap;
}
.mtrk-status--done     { background: rgba(34,197,94,.12);  color: #15803d; }
.mtrk-status--pending  { background: rgba(251,191,36,.12); color: #b45309; }
.mtrk-status--rejected { background: rgba(239,27,39,.10);  color: #b91c1c; }
.mtrk-status--shipping { background: rgba(99,102,241,.12); color: #3730a3; }
.mtrk-status--payment  { background: rgba(234,179,8,.12);  color: #854d0e; }

/* RTL */
.direction-rtl .mtrk-meta__item    { text-align: right; }
.direction-rtl .mtrk-product__details { text-align: right; }
.direction-rtl .mtrk-pay-box__text { text-align: right; }
.direction-rtl .mtrk-timeline__body { text-align: right; }

@media (max-width: 576px) {
    .mtrk-card__body { padding: 1.4rem; }
    .mtrk-product__thumb { width: 5.5rem; height: 5.5rem; }
    .mtrk-pay-box { flex-direction: column; align-items: stretch; }
    .mtrk-pay-btn { justify-content: center; }
    .mtrk-signin-prompt { flex-direction: column; }
    .mtrk-signin-btn { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END MAINTENANCE TRACK PAGE
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   SUBSCRIPTION MODALS  (.sub-modal)
   Layered on top of .common-modal to provide a modern card-style modal.
═══════════════════════════════════════════════════════════════════════════ */

.sub-modal .modal-content {
    border-radius: 1.6rem;
    border: none;
    box-shadow: 0 24px 64px rgba(0,0,0,.18);
    overflow: hidden;
}

/* Collapse the standard header — title moves into body */
.sub-modal.common-modal .modal-header {
    padding: 0;
    border-bottom: none;
    position: relative;
}

/* Override common-modal body padding */
.sub-modal.common-modal .modal-body {
    padding: 0;
}

/* ── Close button ── */
.sub-modal__close {
    width: 3.2rem; height: 3.2rem;
    border-radius: 50%;
    background: rgba(0,0,0,.06);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #666; font-size: 1.4rem;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.sub-modal__close:hover { background: rgba(0,0,0,.12); color: #111; }
/* Float variant — serial modal close sits top-right over the banner */
.sub-modal__close--float {
    position: absolute;
    top: 1.2rem;
    inset-inline-end: 1.2rem;
    z-index: 20;
}

/* ── Banner (icon + title + subtitle) ── */
.sub-modal__banner {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 3rem 2.4rem 1.6rem;
    gap: 0.8rem;
}
.sub-modal__icon {
    width: 6.4rem; height: 6.4rem; border-radius: 50%;
    background: linear-gradient(135deg, rgba(239,27,39,.14) 0%, rgba(239,27,39,.06) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.6rem; color: var(--primary-color);
    margin-bottom: 0.4rem;
}
.sub-modal__heading {
    font-size: 2rem; font-weight: 800; color: #111; margin: 0;
    line-height: 1.2;
}
.sub-modal__subtext {
    font-size: 1.3rem; color: #999; margin: 0; line-height: 1.6;
    max-width: 28rem;
}

/* ── Inner form padding ── */
.sub-modal__form-body {
    padding: 0.4rem 2.2rem 2.4rem;
    display: flex; flex-direction: column; gap: 0;
}

/* ── Field ── */
.sub-modal__field { margin-bottom: 1.4rem; }
.sub-modal__label {
    display: block;
    font-size: 1.15rem; font-weight: 700; color: #555;
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 0.65rem;
}

/* Input with prefix icon */
.sub-modal__input-wrap { position: relative; }
.sub-modal__input-icon {
    position: absolute;
    inset-inline-start: 1.3rem; top: 50%; transform: translateY(-50%);
    color: #c0c0c0; font-size: 1.4rem; pointer-events: none;
}
.sub-modal__input {
    width: 100%;
    padding: 1.15rem 1.4rem 1.15rem 4rem;
    border: 1.5px solid rgba(0,0,0,.12);
    border-radius: 1rem;
    font-size: 1.45rem; color: #222;
    background: rgba(0,0,0,.025);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    letter-spacing: 0.03em;
}
.sub-modal__input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(239,27,39,.1);
    background: #fff;
}
.sub-modal__input::placeholder { color: #ccc; font-size: 1.3rem; }

/* Select with custom caret */
.sub-modal__select-wrap { position: relative; }
.sub-modal__select {
    width: 100%;
    padding: 1.1rem 3.4rem 1.1rem 1.4rem;
    border: 1.5px solid rgba(0,0,0,.12);
    border-radius: 1rem;
    font-size: 1.4rem; color: #222;
    background: rgba(0,0,0,.025);
    -webkit-appearance: none; appearance: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none; cursor: pointer;
}
.sub-modal__select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(239,27,39,.1);
    background: #fff;
}
.sub-modal__caret {
    position: absolute;
    inset-inline-end: 1.3rem; top: 50%; transform: translateY(-50%);
    color: #bbb; font-size: 1.1rem; pointer-events: none;
}

/* Hint note */
.sub-modal__hint {
    display: flex; align-items: flex-start; gap: 0.8rem;
    background: rgba(0,0,0,.03);
    border-radius: 0.8rem; padding: 1rem 1.2rem;
    margin-bottom: 1.4rem;
    font-size: 1.2rem; color: #aaa; line-height: 1.55;
}
.sub-modal__hint i { font-size: 1.15rem; color: #ccc; flex-shrink: 0; margin-top: 0.15rem; }

/* Submit / action button */
.sub-modal__submit {
    display: flex; align-items: center; justify-content: center; gap: 0.7rem;
    width: 100%; padding: 1.2rem;
    background: var(--primary-color); color: #fff !important;
    border: none; border-radius: 1rem;
    font-size: 1.5rem; font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    text-decoration: none !important;
    letter-spacing: 0.01em;
}
.sub-modal__submit:hover  { opacity: 0.88; transform: translateY(-1px); }
.sub-modal__submit:active { transform: translateY(0); }

/* ── Plan-upgrade header bar ── */
.sub-modal__plan-header {
    display: flex; align-items: center; gap: 1.2rem;
    padding: 1.8rem 2.2rem;
    background: linear-gradient(135deg, rgba(239,27,39,.07) 0%, rgba(239,27,39,.02) 100%);
    border-bottom: 1px solid rgba(239,27,39,.1);
    position: relative;
}
.sub-modal__plan-icon {
    width: 4.4rem; height: 4.4rem; border-radius: 50%; flex-shrink: 0;
    background: rgba(239,27,39,.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: var(--primary-color);
}
.sub-modal__plan-title { font-size: 1.7rem; font-weight: 800; color: #111; margin: 0 0 0.2rem; }
.sub-modal__plan-sub   { font-size: 1.2rem; color: #888; margin: 0; }

/* RTL overrides */
.direction-rtl .sub-modal__close--float  { inset-inline-end: auto; inset-inline-start: 1.2rem; }
.direction-rtl .sub-modal__banner        { direction: rtl; }
.direction-rtl .sub-modal__input-icon    { inset-inline-start: auto; inset-inline-end: 1.3rem; }
.direction-rtl .sub-modal__input         { padding-inline-start: 1.4rem; padding-inline-end: 4rem; text-align: right; }
.direction-rtl .sub-modal__caret         { inset-inline-end: auto; inset-inline-start: 1.3rem; }
.direction-rtl .sub-modal__select        { padding-inline-start: 3.4rem; padding-inline-end: 1.4rem; text-align: right; }
.direction-rtl .sub-modal__hint          { flex-direction: row-reverse; text-align: right; }
.direction-rtl .sub-modal__plan-header   { flex-direction: row-reverse; }
.direction-rtl .sub-modal__plan-title,
.direction-rtl .sub-modal__plan-sub      { text-align: right; }
.direction-rtl .sub-modal__form-body     { direction: rtl; }
.direction-rtl .sub-modal__submit        { flex-direction: row-reverse; }

/* ═══════════════════════════════════════════════════════════════════════════
   END SUBSCRIPTION MODALS
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   WARRANTY REGISTRATION FORM  (.reg-*)
═══════════════════════════════════════════════════════════════════════════ */

.reg-page { padding-top: 5rem; padding-bottom: 6rem; background: #f7f8fa; }

/* ── Product info card ── */
.reg-product-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    margin-bottom: 2.4rem;
}
.reg-product-thumb {
    width: 180px;
    flex-shrink: 0;
    background: #f7f8fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.6rem;
    border-inline-end: 1px solid #f0f0f0;
}
.reg-product-thumb img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    border-radius: 8px;
}
.reg-product-meta {
    padding: 2rem 2.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
}
.reg-product-meta__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.6rem;
}
.reg-product-meta__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
}
.reg-product-meta__label { color: #888; min-width: 100px; flex-shrink: 0; }
.reg-product-meta__value { color: #333; font-weight: 600; }
.reg-product-meta__value--serial {
    font-family: 'Courier New', monospace;
    background: #f0f4ff;
    color: var(--primary-color);
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 1.3rem;
    border: 1px solid #dbeafe;
}

/* ── Form card ── */
.reg-form-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    overflow: hidden;
}
.reg-form-card__header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7c3aed 100%);
    padding: 2rem 2.4rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: #fff;
}
.reg-form-card__icon {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}
.reg-form-card__title { font-size: 1.8rem; font-weight: 700; margin: 0; color: #fff; }
.reg-form-card__body { padding: 2.4rem; }

/* ── Section divider ── */
.reg-section { margin-top: 2rem; }
.reg-section__divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    color: #888;
}
.reg-section__divider::before,
.reg-section__divider::after { content: ''; flex: 1; height: 1px; background: #e5e7eb; }
.reg-section__badge {
    background: #f3f4f6;
    color: #666;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 1.2rem;
    white-space: nowrap;
    font-weight: 500;
}

/* ── Fields ── */
.reg-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.6rem; margin-bottom: 1.6rem; }
.reg-field { display: flex; flex-direction: column; gap: 6px; }
.reg-field__label { font-size: 1.4rem; font-weight: 600; color: #444; }
.reg-field__label .req { color: #ef4444; margin-inline-start: 2px; }

/* Custom select */
.reg-select-wrap { position: relative; }
.reg-select {
    width: 100%;
    padding: 1rem 3.6rem 1rem 1.4rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1.4rem;
    color: #333;
    background: #fafafa;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s;
}
.reg-select:focus { outline: none; border-color: var(--primary-color); background: #fff; box-shadow: 0 0 0 3px rgba(99,102,241,0.08); }
.reg-select-caret {
    position: absolute;
    inset-inline-end: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 1.2rem;
    pointer-events: none;
}

/* Text input */
.reg-input {
    width: 100%;
    padding: 1rem 1.4rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1.4rem;
    color: #333;
    background: #fafafa;
    transition: border-color 0.2s;
}
.reg-input:focus { outline: none; border-color: var(--primary-color); background: #fff; box-shadow: 0 0 0 3px rgba(99,102,241,0.08); }

/* File upload zone */
.reg-file-zone {
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    padding: 2rem 1.4rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}
.reg-file-zone:hover { border-color: var(--primary-color); background: #f5f3ff; }
.reg-file-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.reg-file-icon { font-size: 2.4rem; color: #bbb; margin-bottom: 0.6rem; }
.reg-file-text { font-size: 1.3rem; color: #666; }
.reg-file-hint { font-size: 1.2rem; color: #aaa; margin-top: 4px; }

/* Validation errors */
.reg-error { font-size: 1.2rem; color: #ef4444; margin-top: 4px; }

/* Submit row */
.reg-submit-row { margin-top: 2.4rem; text-align: center; }
.reg-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 1.4rem 3.6rem;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    min-height: 52px;
}
.reg-submit-btn:hover { background: var(--hover-color); transform: translateY(-1px); }
.reg-submit-btn:active { transform: scale(0.99); }

/* ── RTL ── */
.direction-rtl .reg-product-thumb    { border-inline-end: none; border-inline-start: 1px solid #f0f0f0; }
.direction-rtl .reg-product-meta     { text-align: right; }
.direction-rtl .reg-product-meta__item { flex-direction: row-reverse; }
.direction-rtl .reg-form-card__header { flex-direction: row-reverse; }
.direction-rtl .reg-select           { padding-inline-start: 3.6rem; padding-inline-end: 1.4rem; text-align: right; }
.direction-rtl .reg-select-caret     { inset-inline-end: auto; inset-inline-start: 1.2rem; }
.direction-rtl .reg-section__divider { flex-direction: row-reverse; }
.direction-rtl .reg-submit-btn       { flex-direction: row-reverse; }

/* ── Responsive ── */
@media (max-width: 767px) {
    .reg-page { padding-top: 3rem; }
    .reg-product-card { flex-direction: column; }
    .reg-product-thumb { width: 100%; border-inline-end: none; border-bottom: 1px solid #f0f0f0; padding: 2rem; }
    .reg-product-thumb img { max-height: 180px; }
    .reg-row { grid-template-columns: 1fr; }
    .reg-form-card__body { padding: 1.6rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END WARRANTY REGISTRATION
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   THANK YOU PAGE  (.tku-*)
═══════════════════════════════════════════════════════════════════════════ */

.tku-page {
    padding-top: 6rem;
    padding-bottom: 8rem;
    background: #f7f8fa;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.tku-page .container { width: 100%; }

.tku-card {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.09);
    padding: 4rem 3.6rem;
    text-align: center;
}

/* ── Success icon ── */
.tku-icon-wrap {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.4rem;
    animation: tku-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
@keyframes tku-pop {
    0%   { transform: scale(0); opacity: 0; }
    60%  { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
}
.tku-icon-wrap .fas { font-size: 3.6rem; color: #059669; }

/* ── Text ── */
.tku-title { font-size: 2.4rem; font-weight: 800; color: #111; margin-bottom: 1.2rem; line-height: 1.3; }
.tku-message { font-size: 1.5rem; color: #666; line-height: 1.7; margin-bottom: 3rem; }

/* ── Actions ── */
.tku-actions { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
.tku-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 10px;
    padding: 1.2rem 2.8rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    min-height: 48px;
}
.tku-btn:hover { background: var(--hover-color); color: #fff !important; transform: translateY(-1px); }
.tku-btn--ghost {
    background: transparent;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
}
.tku-btn--ghost:hover { background: var(--primary-color); color: #fff !important; }

/* ── RTL ── */
.direction-rtl .tku-card    { direction: rtl; }
.direction-rtl .tku-actions { flex-direction: row-reverse; }
.direction-rtl .tku-btn     { flex-direction: row-reverse; }

/* ── Responsive ── */
@media (max-width: 575px) {
    .tku-page { padding-top: 3rem; padding-bottom: 5rem; }
    .tku-card { padding: 2.8rem 2rem; border-radius: 14px; }
    .tku-title { font-size: 2rem; }
    .tku-actions { flex-direction: column; align-items: stretch; }
    .tku-btn { justify-content: center; }
}

/* ── Maintenance thank-you variants ── */

/* Orange card top border */
.tku-card--maint { border-top: 4px solid #f97316; }

/* Orange icon circle */
.tku-icon-wrap--maint {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}
.tku-icon-wrap--maint .fas { color: #fff; font-size: 3.2rem; }

/* Orange primary action button */
.tku-btn--maint {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}
.tku-btn--maint:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #fff !important;
    transform: translateY(-1px);
}

/* "What's next" steps row */
.tku-maint-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin: 2.8rem 0 3.2rem;
    flex-wrap: wrap;
    row-gap: 1.6rem;
}
.tku-maint-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 200px;
    flex: 1 1 160px;
}
.tku-maint-step__num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}
.tku-maint-step__title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.4rem;
}
.tku-maint-step__sub {
    font-size: 1.25rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}
/* Connector line between steps */
.tku-maint-step__connector {
    flex: 0 0 40px;
    height: 2px;
    background: linear-gradient(90deg, #f97316, #ea580c);
    align-self: center;
    margin-bottom: 3rem;
    opacity: 0.4;
}

/* RTL */
.direction-rtl .tku-maint-steps    { flex-direction: row-reverse; }
.direction-rtl .tku-maint-step     { direction: rtl; }
.direction-rtl .tku-btn--maint     { flex-direction: row-reverse; }

@media (max-width: 767px) {
    .tku-maint-steps { flex-direction: column; align-items: center; }
    .tku-maint-step  { max-width: 280px; width: 100%; }
    .tku-maint-step__connector { width: 2px; height: 30px; flex: 0 0 30px; margin-bottom: 0; align-self: center; background: linear-gradient(180deg, #f97316, #ea580c); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END THANK YOU PAGE
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   MOYASAR PAYMENT PAGE  (.moy-*)
═══════════════════════════════════════════════════════════════════════════ */

.moy-page { padding-top: 5rem; padding-bottom: 6rem; background: #f7f8fa; }

/* ── Payment form card ── */
.moy-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
}
.moy-card__header {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 2rem 2.4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #7c3aed 100%);
    color: #fff;
}
.moy-card__header-icon {
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}
.moy-card__header-text { flex: 1; }
.moy-card__title  { font-size: 1.9rem; font-weight: 700; margin: 0 0 4px; color: #fff; }
.moy-card__subtitle { font-size: 1.3rem; color: rgba(255,255,255,0.8); margin: 0; }

.moy-card__body { padding: 2.4rem; }

/* Let Moyasar's own form fill the container naturally */
.moy-card__body .mysr-form { width: 100%; }

.moy-card__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
    padding: 1.4rem 2.4rem;
    background: #f8f9fa;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
}
.moy-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
}
.moy-trust-badge .fas { color: #16a34a; font-size: 1.3rem; }

/* ── Order summary card ── */
.moy-summary {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    position: sticky;
    top: 100px;
}
.moy-summary__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.8rem 2.4rem;
    border-bottom: 1px solid #f0f0f0;
}
.moy-summary__header .fas { color: var(--primary-color); font-size: 1.6rem; }
.moy-summary__title { font-size: 1.7rem; font-weight: 700; color: #222; margin: 0; }

.moy-summary__order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 2.4rem;
    background: #fafafa;
    border-bottom: 1px solid #f5f5f5;
}
.moy-summary__order-label { font-size: 1.3rem; color: #888; }
.moy-summary__order-num {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.04em;
}

.moy-summary__desc {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1.4rem 2.4rem;
    font-size: 1.4rem;
    color: #555;
    line-height: 1.5;
    border-bottom: 1px solid #f5f5f5;
}
.moy-summary__desc .fas { color: #aaa; margin-top: 2px; flex-shrink: 0; }

.moy-summary__amount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 2.4rem;
    border-bottom: 1px solid #f0f0f0;
}
.moy-summary__amount-label { font-size: 1.5rem; font-weight: 700; color: #222; }
.moy-summary__amount-val {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.moy-summary__divider { height: 1px; background: #f0f0f0; margin: 0 2.4rem; }

.moy-summary__methods { padding: 1.6rem 2.4rem; }
.moy-summary__methods-label { font-size: 1.2rem; color: #aaa; margin-bottom: 1rem; font-weight: 500; }
.moy-summary__methods-icons {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.moy-method-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 2.2rem;
    color: #555;
    line-height: 1;
}
.moy-method-badge--apple { font-size: 2rem; }

.moy-summary__note {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1.4rem 2.4rem;
    background: #f0fdf4;
    font-size: 1.2rem;
    color: #166534;
    line-height: 1.5;
    border-top: 1px solid #d1fae5;
}
.moy-summary__note .fas { color: #16a34a; flex-shrink: 0; margin-top: 2px; }

/* ── RTL ── */
.direction-rtl .moy-card__header        { flex-direction: row-reverse; }
.direction-rtl .moy-card__header-text   { text-align: right; }
.direction-rtl .moy-card__footer        { flex-direction: row-reverse; }
.direction-rtl .moy-trust-badge         { flex-direction: row-reverse; }
.direction-rtl .moy-summary__header     { flex-direction: row-reverse; }
.direction-rtl .moy-summary__order-row  { flex-direction: row-reverse; }
.direction-rtl .moy-summary__desc       { flex-direction: row-reverse; text-align: right; }
.direction-rtl .moy-summary__amount-row { flex-direction: row-reverse; }
.direction-rtl .moy-summary__methods-icons { flex-direction: row-reverse; }
.direction-rtl .moy-summary__note       { flex-direction: row-reverse; text-align: right; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .moy-summary { position: static; }
}
@media (max-width: 767px) {
    .moy-page { padding-top: 3rem; }
    .moy-card__body { padding: 1.6rem; }
    .moy-card__header { padding: 1.6rem; }
    .moy-card__footer { gap: 1.6rem; padding: 1.2rem; }
    .moy-summary__amount-val { font-size: 1.8rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END MOYASAR PAYMENT PAGE
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT US PAGE  (.abt-*)
═══════════════════════════════════════════════════════════════════════════ */

/* ── Shared label / heading ── */
.abt-label {
    display: inline-block;
    background: #ede9fe;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 1.2rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.abt-heading {
    font-size: 3rem;
    font-weight: 800;
    color: #111;
    line-height: 1.3;
    margin-bottom: 1.6rem;
}
.abt-section-label {
    display: inline-block;
    background: #ede9fe;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.abt-section-title { font-size: 2.8rem; font-weight: 800; color: #111; line-height: 1.3; }
.abt-section-header { text-align: center; margin-bottom: 4.8rem; }

/* ── Intro ── */
.abt-intro { padding: 6rem 0 5rem; background: #fff; }
.abt-intro__img-wrap { position: relative; }
.abt-intro__img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.13);
    display: block;
    object-fit: cover;
}
.abt-intro__content {
    padding-inline-start: 3.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.abt-intro__desc {
    font-size: 1.5rem;
    color: #555;
    line-height: 1.9;
}
.abt-intro__desc p { margin-bottom: 1rem; }

/* ── Services (split full-bleed) ── */
.abt-services { background: #f7f8fa; }
.abt-services__img {
    min-height: 520px;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.abt-services__panel {
    padding: 5rem 4.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3.2rem;
}
.abt-services__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.2rem;
}
.abt-service-card { display: flex; align-items: flex-start; gap: 1.6rem; }
.abt-service-card__icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    padding: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.abt-service-card__body {}
.abt-service-card__title { font-size: 1.7rem; font-weight: 700; color: #222; margin-bottom: 0.5rem; }
.abt-service-card__desc { font-size: 1.4rem; color: #666; line-height: 1.6; }
.abt-service-card__desc p { margin: 0; }

/* ── Features ── */
.abt-features { padding: 6rem 0; background: #fff; }
.abt-feature-card {
    background: #fafafa;
    border-radius: 18px;
    border: 1.5px solid #f0f0f0;
    padding: 3.2rem 2.4rem;
    text-align: center;
    height: 100%;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.abt-feature-card:hover {
    box-shadow: 0 10px 36px rgba(99,102,241,0.12);
    transform: translateY(-5px);
    border-color: #ddd6fe;
    background: #fff;
}
.abt-feature-card__icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin: 0 auto 1.8rem;
    display: block;
}
.abt-feature-card__title { font-size: 1.9rem; font-weight: 700; color: #222; margin-bottom: 1rem; }
.abt-feature-card__desc { font-size: 1.4rem; color: #666; line-height: 1.7; }
.abt-feature-card__desc p { margin: 0; }

/* ── RTL ── */
.direction-rtl .abt-intro__content   { padding-inline-start: 0; padding-inline-end: 3.6rem; }
.direction-rtl .abt-intro__desc      { text-align: right; }
.direction-rtl .abt-service-card__body { text-align: right; }
.direction-rtl .abt-section-header   { direction: rtl; }
.direction-rtl .abt-feature-card     { direction: rtl; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .abt-intro__content { padding-inline-start: 2rem; margin-top: 3rem; }
    .abt-services__panel { padding: 3.6rem 2.4rem; }
    .abt-services__grid { gap: 2.4rem; }
}
@media (max-width: 767px) {
    .abt-intro { padding: 4rem 0; }
    .abt-intro__content { padding-inline-start: 0; }
    .abt-heading { font-size: 2.4rem; }
    .abt-section-title { font-size: 2.2rem; }
    .abt-services__img { min-height: 280px; }
    .abt-services__panel { padding: 3rem 2rem; }
    .abt-services__grid { grid-template-columns: 1fr; gap: 2rem; }
    .abt-feature-card { padding: 2.4rem 1.6rem; }
    .direction-rtl .abt-intro__content { padding-inline-end: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END ABOUT US PAGE
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT US PAGE  (.cnt-*)
═══════════════════════════════════════════════════════════════════════════ */

.cnt-page { padding-top: 5rem; padding-bottom: 7rem; background: #f7f8fa; }

/* ── Info cards ── */
.cnt-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.4rem;
    margin-bottom: 5rem;
}
.cnt-info-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    padding: 3.2rem 2rem;
    text-align: center;
    border: 1.5px solid #f0f0f0;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.cnt-info-card:hover {
    box-shadow: 0 10px 36px rgba(99,102,241,0.1);
    transform: translateY(-4px);
    border-color: #ddd6fe;
}
.cnt-info-card__icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
}
.cnt-info-card__icon { width: 38px; height: 38px; object-fit: contain; }
.cnt-info-card__title { font-size: 1.8rem; font-weight: 700; color: #222; margin-bottom: 0.8rem; }
.cnt-info-card__value { font-size: 1.4rem; color: #555; line-height: 1.7; }
.cnt-info-card__value a { color: var(--primary-color); text-decoration: none; }
.cnt-info-card__value a:hover { text-decoration: underline; }

/* ── Form card ── */
.cnt-form-wrap { max-width: 780px; margin: 0 auto; }
.cnt-form-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 28px rgba(0,0,0,0.09);
    overflow: hidden;
}
.cnt-form-card__header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7c3aed 100%);
    padding: 3rem 3.6rem;
    text-align: center;
}
.cnt-form-card__title { font-size: 2.4rem; font-weight: 800; color: #fff; margin-bottom: 0.8rem; }
.cnt-form-card__subtitle { font-size: 1.5rem; color: rgba(255,255,255,0.85); margin: 0; }
.cnt-form-card__body { padding: 3.2rem; }
.cnt-form-card__body iframe {
    width: 100%;
    border: none;
    display: block;
    border-radius: 10px;
}

/* ── RTL ── */
.direction-rtl .cnt-info-card  { direction: rtl; }
.direction-rtl .cnt-form-card  { direction: rtl; }

/* ── Responsive ── */
@media (max-width: 767px) {
    .cnt-page { padding-top: 3rem; }
    .cnt-info-grid { gap: 1.6rem; }
    .cnt-form-card__header { padding: 2.4rem 2rem; }
    .cnt-form-card__title { font-size: 2rem; }
    .cnt-form-card__body { padding: 2rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END CONTACT US PAGE
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   HOME — MAIN CATEGORIES  (.hcat-*)
═══════════════════════════════════════════════════════════════════════════ */

.hcat-section { padding: 6rem 0 6.4rem; background: #f7f8fa; }

/* ── Header row ── */
.hcat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.6rem;
    margin-bottom: 3.6rem;
}
.hcat-header__left { flex: 1; min-width: 0; }
.hcat-label {
    display: inline-block;
    background: #ede9fe;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.hcat-title { font-size: 2.8rem; font-weight: 800; color: #111; line-height: 1.3; margin: 0; }
.hcat-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 50px;
    padding: 1rem 2.4rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
}
.hcat-view-btn:hover { background: var(--hover-color); color: #fff !important; transform: translateY(-1px); }
.hcat-view-btn .fas { font-size: 1.2rem; }

/* ── Card grid ── */
.hcat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 2rem;
}

/* ── Single card ── */
.hcat-card {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.8rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1.5px solid #f0f0f0;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}
.hcat-card:hover {
    box-shadow: 0 10px 36px rgba(99,102,241,0.13);
    border-color: #c4b5fd;
    transform: translateY(-3px);
    text-decoration: none !important;
}

/* Icon wrap */
.hcat-card__icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s;
}
.hcat-card:hover .hcat-card__icon-wrap {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7c3aed 100%);
}
.hcat-card__icon-wrap img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    transition: filter 0.25s;
}
.hcat-card:hover .hcat-card__icon-wrap img { filter: brightness(0) invert(1); }

/* Text */
.hcat-card__info { flex: 1; min-width: 0; }
.hcat-card__name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}
.hcat-card:hover .hcat-card__name { color: var(--primary-color); }
.hcat-card__desc { font-size: 1.3rem; color: #888; line-height: 1.5; }

/* Arrow */
.hcat-card__arrow {
    font-size: 1.4rem;
    color: #ccc;
    flex-shrink: 0;
    transition: color 0.25s, transform 0.25s;
}
.hcat-card:hover .hcat-card__arrow { color: var(--primary-color); transform: translateX(4px); }

/* ── RTL ── */
/* NOTE: .hcat-header uses flex-direction:row — with dir="rtl" this already flows
   right-to-left, so title lands on the right edge and button on the left edge.
   No row-reverse needed; adding it would cancel out the RTL and put the button back on the right. */
.direction-rtl .hcat-header__left  { text-align: right; }
.direction-rtl .hcat-view-btn .fas { transform: scaleX(-1); }
.direction-rtl .hcat-card__info    { text-align: right; }
.direction-rtl .hcat-card__arrow   { transform: scaleX(-1); }
.direction-rtl .hcat-card:hover .hcat-card__arrow { transform: scaleX(-1) translateX(-4px); }

/* ── Responsive ── */
@media (max-width: 991px) { .hcat-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } }
@media (max-width: 767px) {
    .hcat-section { padding: 4rem 0; }
    .hcat-title { font-size: 2.2rem; }
    .hcat-grid { grid-template-columns: 1fr; gap: 1.4rem; }
    .hcat-header { flex-direction: column; align-items: flex-start; }
    .direction-rtl .hcat-header { align-items: flex-end; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END HOME CATEGORIES
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   HOME — WALL IMAGE  (.hwimg-*)
═══════════════════════════════════════════════════════════════════════════ */

.hwimg-section {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hwimg-section__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: scale(1.04);
    transition: transform 8s ease;
}
.hwimg-section:hover .hwimg-section__bg { transform: scale(1); }
.hwimg-section__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(79, 70, 229, 0.5) 0%,
        rgba(0, 0, 0, 0.38) 100%
    );
}
.hwimg-section__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 5rem 2rem;
    color: #fff;
}
.hwimg-section__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #fff;
    color: var(--primary-color) !important;
    border-radius: 50px;
    padding: 1.2rem 3rem;
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.hwimg-section__cta:hover {
    background: var(--primary-color);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(79,70,229,0.35);
}

/* ── RTL ── */
.direction-rtl .hwimg-section__inner  { direction: rtl; }
.direction-rtl .hwimg-section__cta    { flex-direction: row-reverse; }

/* ── Responsive ── */
@media (max-width: 767px) {
    .hwimg-section { min-height: 300px; }
    .hwimg-section__bg { background-attachment: scroll; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END HOME WALL IMAGE
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER — .ez-footer design system
   Tokens, components, RTL overrides, responsive accordion
═══════════════════════════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
    --ez-footer-bg:          #111827;
    --ez-footer-top-bg:      #1f2937;
    --ez-footer-text:        rgba(255, 255, 255, 0.65);
    --ez-footer-heading:     #ffffff;
    --ez-footer-border:      rgba(255, 255, 255, 0.08);
    --ez-footer-social-size: 36px;
}

/* ── Shell ── */
.ez-footer {
    background: var(--ez-footer-bg);
    color: var(--ez-footer-text);
    font-size: 1.4rem;
    line-height: 1.7;
}

/* ── Top accent bar ── */
.ez-footer__top {
    background: var(--ez-footer-top-bg);
    border-bottom: 1px solid var(--ez-footer-border);
    padding: 1.2rem 0;
}
.ez-footer__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.ez-footer__top-tagline {
    font-size: 1.3rem;
    color: var(--ez-footer-text);
    margin: 0;
}
.ez-footer__top-tagline strong {
    color: var(--ez-footer-heading);
}

/* ── Body ── */
.ez-footer__body {
    padding: 5rem 0 4rem;
}

/* ── Widget titles ── */
.ez-footer__widget-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ez-footer-heading);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 2rem;
    padding-bottom: 1rem;
    position: relative;
}
.ez-footer__widget-title::after {
    content: '';
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 0;
    width: 32px;
    height: 2px;
    background: var(--primary-color, #6c5ce7);
    border-radius: 2px;
}

/* ── Brand / logo column ── */
.ez-footer__brand-logo {
    display: inline-block;
    margin-bottom: 2rem;
}
.ez-footer__brand-logo img {
    max-height: 48px;
    width: auto;
}
.ez-footer__address {
    color: var(--ez-footer-text);
    margin-bottom: 1.6rem;
    line-height: 1.9;
}
.ez-footer__contact-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--ez-footer-text);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}
.ez-footer__contact-row i {
    color: var(--primary-color, #6c5ce7);
    width: 1.4rem;
    flex-shrink: 0;
}
.ez-footer__contact-row a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.ez-footer__contact-row a:hover {
    color: var(--primary-color, #6c5ce7);
}

/* ── Social icons ── */
.ez-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}
.ez-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--ez-footer-social-size);
    height: var(--ez-footer-social-size);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--ez-footer-text);
    font-size: 1.3rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.ez-footer__social-link:hover {
    background: var(--primary-color, #6c5ce7);
    border-color: var(--primary-color, #6c5ce7);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Link lists ── */
.ez-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.ez-footer__link {
    color: var(--ez-footer-text);
    text-decoration: none;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s, padding-inline-start 0.2s;
}
.ez-footer__link::before {
    content: '\203A';
    font-size: 1.6rem;
    line-height: 1;
    color: var(--primary-color, #6c5ce7);
    opacity: 0;
    transition: opacity 0.2s;
}
.ez-footer__link:hover {
    color: var(--primary-color, #6c5ce7);
    padding-inline-start: 0.5rem;
}
.ez-footer__link:hover::before {
    opacity: 1;
}

/* ── Newsletter ── */
.ez-footer__newsletter-text {
    color: var(--ez-footer-text);
    margin-bottom: 1.6rem;
    font-size: 1.4rem;
    line-height: 1.7;
}
.ez-footer__newsletter-form {
    display: flex;
    gap: 0;
}
.ez-footer__newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-inline-end: none;
    border-radius: 4px 0 0 4px;
    color: #fff;
    font-size: 1.4rem;
    padding: 1rem 1.4rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.ez-footer__newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.ez-footer__newsletter-input:focus {
    border-color: var(--primary-color, #6c5ce7);
    background: rgba(255, 255, 255, 0.1);
}
.ez-footer__newsletter-btn {
    background: var(--primary-color, #6c5ce7);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 1rem 1.8rem;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
}
.ez-footer__newsletter-btn:hover {
    background: var(--hover-color, #5549d4);
    transform: translateX(1px);
}

/* ── Bottom bar ── */
.ez-footer__bottom {
    border-top: 1px solid var(--ez-footer-border);
    padding: 1.8rem 0;
}
.ez-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.2rem;
}
.ez-footer__copyright {
    color: var(--ez-footer-text);
    font-size: 1.35rem;
    margin: 0;
}
.ez-footer__payment-icons {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.ez-footer__payment-icon {
    height: 24px;
    width: auto;
    opacity: 0.75;
    transition: opacity 0.2s;
}
.ez-footer__payment-icon:hover {
    opacity: 1;
}

/* ── Mobile accordion (pure CSS — checkbox + label pattern) ── */
.ez-footer__acc-toggle {
    display: none;
}
.ez-footer__acc-label {
    display: none;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ez-footer-heading);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--ez-footer-border);
    margin: 0;
    user-select: none;
}
.ez-footer__acc-label::after {
    content: '\002B';
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    color: var(--primary-color, #6c5ce7);
    transition: transform 0.25s;
}
.ez-footer__acc-toggle:checked + .ez-footer__acc-label::after {
    transform: rotate(45deg);
}

/* On desktop the accordion body is always open */
.ez-footer__acc-body {
    overflow: visible;
    max-height: none;
}

/* Accordion is only closed on mobile */
@media (max-width: 767px) {
    .ez-footer__acc-body {
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease, padding 0.3s;
        padding-top: 0;
    }
    .ez-footer__acc-toggle:checked ~ .ez-footer__acc-body {
        max-height: 600px;
        padding-top: 1.2rem;
    }
}

/* ── RTL ── */
.direction-rtl .ez-footer__widget-title::after { inset-inline-start: 0; }
.direction-rtl .ez-footer__bottom-inner        { flex-direction: row-reverse; }
.direction-rtl .ez-footer__newsletter-input    { border-inline-start: none; border-inline-end: 1px solid rgba(255,255,255,0.15); border-radius: 0 4px 4px 0; }
.direction-rtl .ez-footer__newsletter-btn      { border-radius: 4px 0 0 4px; }
.direction-rtl .ez-footer__newsletter-btn:hover { transform: translateX(-1px); }
.direction-rtl .ez-footer__link:hover          { padding-inline-start: 0.5rem; }
.direction-rtl .ez-footer__social              { flex-direction: row-reverse; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .ez-footer__body { padding: 4rem 0 3rem; }
}

@media (max-width: 767px) {
    .ez-footer__acc-label    { display: flex; }
    .ez-footer__widget-title { display: none; }
    .ez-footer__acc-body     { padding-bottom: 0.4rem; }

    .ez-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    .ez-footer__payment-icons { justify-content: center; }

    .direction-rtl .ez-footer__bottom-inner { flex-direction: column; }
}

/* Ensure proper horizontal padding inside footer containers */
.ez-footer .container-fluid {
    padding-inline-start: max(2.4rem, env(safe-area-inset-left));
    padding-inline-end:   max(2.4rem, env(safe-area-inset-right));
}

/* ═══════════════════════════════════════════════════════════════════════════
   END FOOTER
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT LISTING PAGE — .prd-* namespace
   Cards, toolbar, sidebar filter, empty state
═══════════════════════════════════════════════════════════════════════════ */

/* ── Layout shell ── */
.prd-layout {
    padding: 4rem 0 6rem;
}

/* ── Sidebar ── */
.prd-sidebar {
    position: sticky;
    top: 80px;
}
.prd-sidebar__section {
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.6rem;
}
.prd-sidebar__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1.4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eef0f5;
}
.prd-sidebar__search-wrap {
    position: relative;
}
.prd-sidebar__search-input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.9rem 3.6rem 0.9rem 1.2rem;
    font-size: 1.4rem;
    color: #334155;
    outline: none;
    transition: border-color 0.2s;
}
.prd-sidebar__search-input:focus { border-color: var(--primary-color, #6c5ce7); }
.prd-sidebar__search-btn {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-end: 1rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0;
}
.prd-sidebar__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-height: 260px;
    overflow-y: auto;
}
.prd-sidebar__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}
.prd-sidebar__label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 1.4rem;
    color: #475569;
    flex: 1;
}

/* Custom checkbox */
.prd-sidebar__check {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}
.prd-sidebar__check:checked {
    background: var(--primary-color, #6c5ce7);
    border-color: var(--primary-color, #6c5ce7);
}
.prd-sidebar__check:checked::after {
    content: '';
    position: absolute;
    inset-block-start: 2px;
    inset-inline-start: 4px;
    width: 6px;
    height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-inline-start: none;
    transform: rotate(45deg);
}
.prd-sidebar__count {
    font-size: 1.2rem;
    color: #94a3b8;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 0.1rem 0.7rem;
    white-space: nowrap;
}

/* ── Toolbar ── */
.prd-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 10px;
    padding: 1.2rem 1.8rem;
    margin-bottom: 2.4rem;
}
.prd-toolbar__left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.prd-toolbar__count {
    font-size: 1.4rem;
    color: #64748b;
}
.prd-toolbar__count strong {
    color: #1e293b;
    font-weight: 700;
}
.prd-toolbar__right {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.prd-toolbar__filter-btn {
    display: none;
    align-items: center;
    gap: 0.6rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.7rem 1.2rem;
    font-size: 1.4rem;
    color: #475569;
    cursor: pointer;
}
.prd-toolbar__view-group {
    display: flex;
    gap: 0.4rem;
}
.prd-toolbar__view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    color: #94a3b8;
    background: #f8fafc;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.prd-toolbar__view-btn.active,
.prd-toolbar__view-btn:hover {
    border-color: var(--primary-color, #6c5ce7);
    color: var(--primary-color, #6c5ce7);
    background: rgba(108, 92, 231, 0.06);
}
.prd-toolbar__sort {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.6rem 3rem 0.6rem 1.2rem;
    font-size: 1.4rem;
    color: #475569;
    background: #f8fafc;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
    outline: none;
}
.prd-toolbar__sort:focus { border-color: var(--primary-color, #6c5ce7); }

/* ── Product Card ── */
.prd-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef0f5;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.prd-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.10);
    border-color: rgba(108, 92, 231, 0.15);
}
.prd-card__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f8fafc;
}
.prd-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.2rem;
    transition: transform 0.35s;
}
.prd-card:hover .prd-card__img {
    transform: scale(1.05);
}
.prd-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
}
.prd-card:hover .prd-card__overlay {
    opacity: 1;
}
.prd-card__view-link {
    background: #fff;
    color: var(--primary-color, #6c5ce7);
    font-size: 1.3rem;
    font-weight: 600;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.prd-card__view-link:hover {
    background: var(--primary-color, #6c5ce7);
    color: #fff;
}
.prd-card__wishlist {
    position: absolute;
    inset-block-start: 1rem;
    inset-inline-end: 1rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e11d48;
    font-size: 1.4rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    opacity: 0;
    transition: opacity 0.25s, transform 0.2s;
}
.prd-card:hover .prd-card__wishlist { opacity: 1; }
.prd-card__wishlist:hover { background: #fff; transform: scale(1.15); }

/* Badges */
.prd-card__badges {
    position: absolute;
    inset-block-start: 1rem;
    inset-inline-start: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.prd-card__badge {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    line-height: 1.6;
    letter-spacing: 0.03em;
}
.prd-card__badge--tag {
    background: var(--primary-color, #6c5ce7);
    color: #fff;
}
.prd-card__badge--discount {
    background: #e11d48;
    color: #fff;
}

/* Card body */
.prd-card__body {
    padding: 1.4rem 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.4rem;
}
.prd-card__cat {
    font-size: 1.2rem;
    color: var(--primary-color, #6c5ce7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.prd-card__name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin: 0;
}
.prd-card__name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.prd-card__name a:hover { color: var(--primary-color, #6c5ce7); }
.prd-card__rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.2rem 0;
}
.prd-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.8rem;
}
.prd-card__price-current {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-color, #6c5ce7);
}
.prd-card__price-original {
    font-size: 1.3rem;
    color: #94a3b8;
    text-decoration: line-through;
}
.prd-card__actions {
    margin-top: 1.2rem;
}
.prd-card__add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    background: var(--primary-color, #6c5ce7);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.9rem 1.4rem;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.prd-card__add-btn:hover {
    background: var(--hover-color, #5549d4);
    color: #fff;
    transform: translateY(-1px);
}

/* ── Empty state ── */
.prd-empty {
    text-align: center;
    padding: 6rem 2rem;
    color: #94a3b8;
}
.prd-empty__icon {
    font-size: 5rem;
    margin-bottom: 1.6rem;
    color: #cbd5e1;
}
.prd-empty__title {
    font-size: 2rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.8rem;
}
.prd-empty__text {
    font-size: 1.5rem;
    margin-bottom: 2.4rem;
}
.prd-empty__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--primary-color, #6c5ce7);
    color: #fff;
    border-radius: 50px;
    padding: 1rem 2.8rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.prd-empty__btn:hover { background: var(--hover-color, #5549d4); color: #fff; }

/* ── RTL ── */
.direction-rtl .prd-card__badges        { inset-inline-start: auto; inset-inline-end: 1rem; }
.direction-rtl .prd-card__wishlist      { inset-inline-end: auto; inset-inline-start: 1rem; }
.direction-rtl .prd-toolbar             { flex-direction: row-reverse; }
.direction-rtl .prd-toolbar__right      { flex-direction: row-reverse; }
.direction-rtl .prd-sidebar__check:checked::after { inset-inline-start: auto; inset-inline-end: 4px; transform: rotate(-45deg) scaleX(-1); }
.direction-rtl .prd-card__price         { flex-direction: row-reverse; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .prd-sidebar { position: static; }
    .prd-toolbar__filter-btn { display: flex; }
}
@media (max-width: 767px) {
    .prd-layout { padding: 2rem 0 4rem; }
    .prd-toolbar { padding: 1rem 1.2rem; }
    .prd-card__name { font-size: 1.4rem; }
    .direction-rtl .prd-toolbar { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END PRODUCT LISTING PAGE
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE — .pdp-* namespace
   Gallery, price, variants, actions, tabs, reviews, related
═══════════════════════════════════════════════════════════════════════════ */

/* ── Gallery ── */
.pdp-gallery__main-wrap {
    border-radius: 12px;
    border: 1px solid #eef0f5;
    overflow: hidden;
    background: #f8fafc;
    cursor: zoom-in;
}
.pdp-gallery__main-wrap .slide-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 2rem;
    transition: transform 0.4s;
}
.pdp-gallery__main-wrap:hover .slide-image {
    transform: scale(1.06);
}
.pdp-gallery__thumb-wrap {
    margin-top: 1.2rem;
}
.pdp-gallery__thumb-wrap .single-item {
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
}
.pdp-gallery__thumb-wrap .slick-current .single-item,
.pdp-gallery__thumb-wrap .single-item:hover {
    border-color: var(--primary-color, #6c5ce7);
}
.pdp-gallery__thumb-wrap .single-item-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 0.6rem;
    background: #f8fafc;
}

/* ── Product info ── */
.pdp-info {
    padding-inline-start: 2rem;
}
.pdp-info__cat {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color, #6c5ce7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
}
.pdp-info__name {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 1rem;
}
.pdp-info__rating {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

/* ── Price ── */
.pdp-price {
    display: flex;
    align-items: baseline;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 1.6rem;
    padding: 1.4rem 1.8rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #eef0f5;
}
.pdp-price__current {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color, #6c5ce7);
}
.pdp-price__original {
    font-size: 1.8rem;
    color: #94a3b8;
    text-decoration: line-through;
}
.pdp-price__badge {
    font-size: 1.2rem;
    font-weight: 700;
    background: #e11d48;
    color: #fff;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    align-self: center;
}

/* ── About / short description ── */
.pdp-info__about {
    font-size: 1.5rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.6rem;
}

/* ── Color swatches ── */
.pdp-variants__label {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pdp-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.6rem;
}
.pdp-color-swatch {
    position: relative;
    width: 36px;
    height: 36px;
}
.pdp-color-swatch input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.pdp-color-swatch label {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
}
.pdp-color-swatch input:checked + label {
    border-color: var(--primary-color, #6c5ce7);
    transform: scale(1.12);
    box-shadow: 0 0 0 3px rgba(108,92,231,0.2);
}
.pdp-color-swatch input:checked + label::after {
    content: '\2713';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* ── Size pills ── */
.pdp-size-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.6rem;
}
.pdp-size-pill {
    padding: 0.5rem 1.4rem;
    border-radius: 6px;
    border: 1.5px solid #e2e8f0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    list-style: none;
}
.pdp-size-pill:hover {
    border-color: var(--primary-color, #6c5ce7);
    color: var(--primary-color, #6c5ce7);
}
.pdp-size-pill.activeSize {
    background: var(--primary-color, #6c5ce7);
    border-color: var(--primary-color, #6c5ce7);
    color: #fff;
}

/* ── Quantity + actions ── */
.pdp-qty-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.4rem;
    flex-wrap: wrap;
}
.pdp-qty {
    display: flex;
    align-items: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}
.pdp-qty__btn {
    width: 40px;
    height: 44px;
    background: #f8fafc;
    border: none;
    font-size: 1.8rem;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.pdp-qty__btn:hover { background: var(--primary-color, #6c5ce7); color: #fff; }
.pdp-qty__input {
    width: 52px;
    text-align: center;
    border: none;
    border-inline: 1.5px solid #e2e8f0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    padding: 0;
    height: 44px;
    background: #fff;
}
.pdp-qty__wishlist-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #e11d48;
    font-size: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.pdp-qty__wishlist-btn:hover { background: #fff0f3; border-color: #e11d48; transform: scale(1.08); }

/* ── Action buttons ── */
.pdp-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.pdp-actions__cart {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    background: var(--primary-color, #6c5ce7);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 1.2rem 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.pdp-actions__cart:hover {
    background: var(--hover-color, #5549d4);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108,92,231,0.3);
}
.pdp-actions__buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    background: transparent;
    color: var(--primary-color, #6c5ce7);
    border: 2px solid var(--primary-color, #6c5ce7);
    border-radius: 8px;
    padding: 1.2rem 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}
.pdp-actions__buy:hover {
    background: var(--primary-color, #6c5ce7);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Share area ── */
.pdp-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: 1px solid #eef0f5;
}
.pdp-share__label {
    font-size: 1.3rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}
.pdp-share__links {
    display: flex;
    gap: 0.6rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pdp-share__link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.3rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.pdp-share__link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

/* ── Tabs ── */
.pdp-tabs {
    margin-top: 4rem;
    border-top: 1px solid #eef0f5;
    padding-top: 2rem;
}
.pdp-tabs .nav-tabs {
    border-bottom: 2px solid #eef0f5;
    gap: 0;
}
.pdp-tabs .nav-link {
    font-size: 1.45rem;
    font-weight: 600;
    color: #64748b;
    padding: 1rem 2rem;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    margin-bottom: -2px;
    background: none;
    transition: color 0.2s, border-color 0.2s;
}
.pdp-tabs .nav-link:hover { color: var(--primary-color, #6c5ce7); }
.pdp-tabs .nav-link.active {
    color: var(--primary-color, #6c5ce7);
    border-bottom-color: var(--primary-color, #6c5ce7);
    background: none;
}
.pdp-tabs .tab-content {
    padding: 2.4rem 0;
}
.pdp-tabs .product-description {
    font-size: 1.5rem;
    color: #475569;
    line-height: 1.8;
}

/* ── Reviews ── */
.pdp-reviews__header {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin-bottom: 2.4rem;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid #eef0f5;
    flex-wrap: wrap;
}
.pdp-reviews__score {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color, #6c5ce7);
    line-height: 1;
}
.pdp-reviews__count {
    font-size: 1.3rem;
    color: #94a3b8;
}
.pdp-review-item {
    display: flex;
    gap: 1.4rem;
    padding: 1.8rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.pdp-review-item__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.pdp-review-item__body { flex: 1; }
.pdp-review-item__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}
.pdp-review-item__name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}
.pdp-review-item__date {
    font-size: 1.2rem;
    color: #94a3b8;
}
.pdp-review-item__text {
    font-size: 1.4rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}
.pdp-no-reviews {
    text-align: center;
    padding: 3rem;
    color: #94a3b8;
    font-size: 1.5rem;
}

/* ── Related Products ── */
.pdp-related {
    padding: 5rem 0;
    border-top: 1px solid #eef0f5;
}
.pdp-related__header {
    margin-bottom: 3rem;
}
.pdp-related__sub {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color, #6c5ce7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.pdp-related__title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0.4rem 0 0;
}

/* ── RTL ── */
.direction-rtl .pdp-info                    { padding-inline-start: 0; padding-inline-end: 2rem; }
.direction-rtl .pdp-price                   { flex-direction: row-reverse; }
.direction-rtl .pdp-qty-row                 { flex-direction: row-reverse; }
.direction-rtl .pdp-actions                 { flex-direction: row-reverse; }
.direction-rtl .pdp-reviews__header         { flex-direction: row-reverse; }
.direction-rtl .pdp-review-item             { flex-direction: row-reverse; }
.direction-rtl .pdp-review-item__top        { flex-direction: row-reverse; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .pdp-info { padding-inline-start: 0; margin-top: 2.4rem; }
    .direction-rtl .pdp-info { padding-inline-end: 0; }
}
@media (max-width: 767px) {
    .pdp-info__name { font-size: 2rem; }
    .pdp-price__current { font-size: 2.2rem; }
    .pdp-actions { flex-direction: column; }
    .pdp-actions__cart, .pdp-actions__buy { width: 100%; }
    .pdp-tabs .nav-link { padding: 0.8rem 1.2rem; font-size: 1.3rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END PRODUCT DETAIL PAGE
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   PAGINATION — custom.blade.php (.pagination-page / .pagination-link)
═══════════════════════════════════════════════════════════════════════════ */

.custom-pagination { margin-top: 3.2rem; }

.custom-pagination .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-page { list-style: none; }

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.8rem;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 1.4rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
    line-height: 1;
}

.pagination-link:hover {
    background: rgba(108, 92, 231, 0.06);
    border-color: var(--primary-color, #6c5ce7);
    color: var(--primary-color, #6c5ce7);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(108, 92, 231, 0.15);
}

.pagination-page.active .pagination-link {
    background: var(--primary-color, #6c5ce7);
    border-color: var(--primary-color, #6c5ce7);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(108, 92, 231, 0.35);
    pointer-events: none;
}

.pagination-page.disabled .pagination-link {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #cbd5e1;
    pointer-events: none;
    cursor: default;
}

/* RTL arrow flip already handled by the existing direction-rtl rule */

@media (max-width: 480px) {
    .pagination-link { min-width: 34px; height: 34px; font-size: 1.3rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT LIST VIEW — .prd-list-item (left-sidebar variant)
═══════════════════════════════════════════════════════════════════════════ */

.prd-list-items {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.prd-list-item {
    display: flex;
    gap: 2rem;
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
    align-items: stretch;
}
.prd-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: rgba(108,92,231,0.18);
}

/* Image side */
.prd-list-item__img-wrap {
    position: relative;
    flex-shrink: 0;
    width: 180px;
    background: #f8fafc;
    overflow: hidden;
}
.prd-list-item__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.2rem;
    transition: transform 0.3s;
}
.prd-list-item:hover .prd-list-item__img { transform: scale(1.04); }

/* Badges */
.prd-list-item__badges {
    position: absolute;
    inset-block-start: 0.8rem;
    inset-inline-start: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* Content side */
.prd-list-item__body {
    flex: 1;
    padding: 1.8rem 2rem 1.8rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
}
.prd-list-item__cat {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color, #6c5ce7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.prd-list-item__name {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    margin: 0;
}
.prd-list-item__name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.prd-list-item__name a:hover { color: var(--primary-color, #6c5ce7); }

.prd-list-item__about {
    font-size: 1.4rem;
    color: #64748b;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.prd-list-item__actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.4rem;
    flex-wrap: wrap;
}
.prd-list-item__add-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--primary-color, #6c5ce7);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.prd-list-item__add-btn:hover {
    background: var(--hover-color, #5549d4);
    color: #fff;
    transform: translateY(-1px);
}
.prd-list-item__wish-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #e11d48;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}
.prd-list-item__wish-btn:hover { background: #fff0f3; border-color: #e11d48; }

/* ── RTL ── */
.direction-rtl .prd-list-item                 { flex-direction: row-reverse; }
.direction-rtl .prd-list-item__body           { padding-inline-start: 0; padding-inline-end: 2rem; padding-inline-start: 2rem; }
.direction-rtl .prd-list-item__badges         { inset-inline-start: auto; inset-inline-end: 0.8rem; }
.direction-rtl .prd-list-item__actions        { flex-direction: row-reverse; }

/* ── Responsive ── */
@media (max-width: 767px) {
    .prd-list-item { flex-direction: column; }
    .prd-list-item__img-wrap { width: 100%; height: 220px; }
    .prd-list-item__body { padding: 1.4rem; }
    .direction-rtl .prd-list-item { flex-direction: column; }
    .direction-rtl .prd-list-item__body { padding-inline-end: 1.4rem; padding-inline-start: 1.4rem; }
}
@media (max-width: 480px) {
    .prd-list-item__img-wrap { height: 180px; }
    .prd-list-item__name { font-size: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END PRODUCT LIST VIEW
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE — LAYOUT FIXES
═══════════════════════════════════════════════════════════════════════════ */

/* Force tab area and related products to stack vertically */
.product-single-area { overflow: hidden; }
.pdp-tabs { clear: both; width: 100%; }

.pdp-related {
    clear: both;
    display: block;
    width: 100%;
    padding: 4rem 0 3rem;
    background: #f8fafc;
    margin-top: 3rem;
}
.pdp-related__header { text-align: center; margin-bottom: 2.5rem; }
.pdp-related__sub {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color, #6a0dad);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: .4rem;
}
.pdp-related__title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* ── Additional Information & Description tab content ── */
.product-description {
    padding: 2rem 0;
    overflow: hidden;
}

/*
 * The AdditionalInformation field stores WordPress/Visual Composer HTML with
 * hardcoded float:left, fixed pixel widths, and negative margins on .vc_row.
 * These overrides neutralise the VC layout so the content renders within bounds.
 */
.product-description [class*="vc_"],
.product-description [class*="wpb_"],
.product-description [class*="cz_"] {
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: auto !important;
    position: static !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    box-sizing: border-box !important;
}
/* The outer .vc_row has margin:-15px that bleeds outside the tab panel */
.product-description .vc_row,
.product-description [class*="vc_row"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
}
/* Wrap the whole block in a nice bordered card */
.product-description > div:first-child {
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* Spec labels (h5 produced by Visual Composer) */
.product-description h5 {
    font-size: 1.45rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    background: #f8fafc !important;
    margin: 0 !important;
    padding: 0.85rem 1.6rem !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-top: 1px solid #e2e8f0 !important;
}
.product-description h5:first-of-type { border-top: none !important; }
/* Spec values (p produced by Visual Composer) */
.product-description p {
    font-size: 1.4rem !important;
    color: #475569 !important;
    margin: 0 !important;
    padding: 0.75rem 1.6rem 0.85rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: #fff !important;
}
.product-description p:last-of-type { border-bottom: none !important; }

/* Generic rich-text content (Description tab — not VC HTML) */
.product-description h1,
.product-description h2,
.product-description h3,
.product-description h4 {
    font-weight: 700;
    color: #1e293b;
    margin-top: 1.6rem;
    margin-bottom: 0.8rem;
}
.product-description table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    font-size: 1.45rem;
    margin-bottom: 1rem;
}
.product-description table th,
.product-description table td {
    padding: 0.8rem 1.4rem;
    border: 1px solid #e2e8f0;
    text-align: start;
}
.product-description table th {
    background: #f1f5f9;
    font-weight: 600;
    color: #1e293b;
}
.product-description table tr:nth-child(even) td { background: #f8fafc; }
.product-description dl {
    display: grid;
    grid-template-columns: minmax(140px, 28%) 1fr;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.product-description dt,
.product-description dd {
    padding: 0.8rem 1.4rem;
    margin: 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1.45rem;
}
.product-description dt { font-weight: 600; color: #1e293b; background: #f8fafc; }
.product-description dd { color: #374151; }
.product-description ul,
.product-description ol { padding-inline-start: 1.8rem; margin-bottom: 1rem; }
.product-description li { margin-bottom: 0.4rem; color: #374151; font-size: 1.45rem; }
.product-description img { max-width: 100%; border-radius: 6px; }

/* RTL */
.direction-rtl .product-description { text-align: right; }
.direction-rtl .product-description h5,
.direction-rtl .product-description p { text-align: right !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   END PRODUCT DETAIL PAGE LAYOUT FIXES
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   GALLERY ENHANCEMENT — Themes 1 & 2
   RTL-safe (inset: 0, logical props), object-fit cover, modern hover
═══════════════════════════════════════════════════════════════════════════ */

/* ── Shared gallery item shell ── */
.ez-gal-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #f1f5f9;
}

.ez-gal-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.ez-gal-item:hover .ez-gal-img {
    transform: scale(1.06);
}

/* ── Overlay — inset:0 is RTL-safe (replaces left:0 + top:0 + w/h 100%) ── */
.ez-gal-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 15, 35, 0.48);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ez-gal-item:hover .ez-gal-overlay {
    opacity: 1;
    visibility: visible;
}

/* ── Zoom button ── */
.ez-gal-zoom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    font-size: 2.2rem;
    line-height: 1;
    text-decoration: none;
    transform: scale(0.7);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.ez-gal-item:hover .ez-gal-zoom {
    transform: scale(1);
}

.ez-gal-zoom:hover,
.ez-gal-zoom:focus {
    background: var(--primary-color, #e91e3a);
    border-color: var(--primary-color, #e91e3a);
    color: #fff;
    outline: none;
}

.ez-gal-zoom .flaticon-view {
    position: relative;
    top: 2px;
}

/* ═══════════════════════════════════════════
   THEME 1 — .ez-gal1-wrap / .ez-gal1-grid
═══════════════════════════════════════════ */

/* Outer wrapper: left intro column + right bento grid */
.ez-gal1-wrap {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 16px;
    align-items: stretch;
    min-height: 540px;
}

/* Left column: header text on top, featured image fills remaining height */
.ez-gal1-intro {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.ez-gal1-intro .section-header-area {
    flex: 0 0 auto;
}

.ez-gal1-intro .ez-gal-item--tall {
    flex: 1;
    min-height: 220px;
}

/* Right column: 2-column grid with uniform row heights */
.ez-gal1-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 164px;
    gap: 12px;
}

/* ═══════════════════════════════════════════
   THEME 2 — .ez-gal2-grid
═══════════════════════════════════════════ */

/* 3-column grid: featured item spans top-left 2×2 block */
.ez-gal2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 200px 200px 200px;
    gap: 14px;
    margin-top: 2.8rem;
}

.ez-gal2-grid .ez-gal-item--featured {
    grid-column: span 2;
    grid-row: span 2;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */

@media (max-width: 1199px) {
    .ez-gal1-grid {
        grid-auto-rows: 148px;
    }
    .ez-gal2-grid {
        grid-template-rows: 180px 180px 180px;
    }
}

@media (max-width: 991px) {
    /* Theme 1: stack intro above grid */
    .ez-gal1-wrap {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .ez-gal1-intro .ez-gal-item--tall {
        max-height: 280px;
    }
    .ez-gal1-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 150px;
    }
    /* Theme 2 */
    .ez-gal2-grid {
        grid-template-rows: 160px 160px 160px;
    }
}

@media (max-width: 767px) {
    .ez-gal1-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
    }
    /* Theme 2: featured goes full-width, rest follow */
    .ez-gal2-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 200px 160px 160px;
    }
    .ez-gal2-grid .ez-gal-item--featured {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}

@media (max-width: 480px) {
    .ez-gal1-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 120px;
    }
    .ez-gal2-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .ez-gal2-grid .ez-gal-item,
    .ez-gal2-grid .ez-gal-item--featured {
        height: 200px;
        grid-column: auto;
        grid-row: auto;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END GALLERY ENHANCEMENT
═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   DRIVERS & SOFTWARE PAGE  (drv2- prefix)
═══════════════════════════════════════════════════════════════════════════ */

/* ── Page wrapper ── */
.drv2-page {
    padding-block: 40px;
}

/* ── Two-column grid: sidebar + main ── */
.drv2-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

/* ── Mobile top bar (filter toggle + sort) ── */
.drv2-mobile-bar {
    display: none;
    align-items: center;
    gap: 10px;
    margin-block-end: 16px;
}

.drv2-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}
.drv2-filter-toggle:hover { background: #f8f9fa; }

.drv2-filter-badge {
    display: none;
    position: absolute;
    inset-block-start: -6px;
    inset-inline-end: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4F46E5;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.drv2-filter-badge[data-count]:not([data-count="0"]) {
    display: flex;
}

/* ── Sidebar ── */
.drv2-sidebar {
    position: sticky;
    inset-block-start: 90px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.drv2-sidebar__inner {
    overflow-y: auto;
    max-height: calc(100vh - 120px);
    padding: 20px;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}
.drv2-sidebar__inner::-webkit-scrollbar { width: 4px; }
.drv2-sidebar__inner::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }

.drv2-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-block-end: 16px;
}

.drv2-sidebar__close {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #6b7280;
    line-height: 1;
    padding: 2px 6px;
}
.drv2-sidebar__close:hover { color: #111827; }

/* ── Sidebar sections ── */
.drv2-sb-section {
    margin-block-end: 20px;
    padding-block-end: 20px;
    border-block-end: 1px solid #f3f4f6;
}
.drv2-sb-section:last-child {
    margin-block-end: 0;
    padding-block-end: 0;
    border-block-end: none;
}

.drv2-sb-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-block-end: 10px;
}

/* Sidebar search input */
.drv2-sb-search {
    position: relative;
}
.drv2-sb-search__icon {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 10px;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 13px;
    pointer-events: none;
}
.drv2-sb-search__input {
    width: 100%;
    padding: 8px 10px 8px 32px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    color: #374151;
    background: #f9fafb;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.drv2-sb-search__input:focus {
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79,70,229,.08);
    background: #fff;
}
[dir="rtl"] .drv2-sb-search__icon {
    inset-inline-start: auto;
    inset-inline-end: 10px;
}
[dir="rtl"] .drv2-sb-search__input {
    padding-inline-start: 10px;
    padding-inline-end: 32px;
}

/* Checkbox list */
.drv2-sb-checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}
.drv2-sb-checks::-webkit-scrollbar { width: 4px; }
.drv2-sb-checks::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }

.drv2-sb-check__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    border-radius: 6px;
    padding: 4px 6px;
    transition: background .12s;
    user-select: none;
}
.drv2-sb-check__label:hover { background: #f3f4f6; }

.drv2-cb {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    accent-color: #4F46E5;
    flex-shrink: 0;
    cursor: pointer;
}

/* Clear all button */
.drv2-sb-clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-block-start: 16px;
    padding: 7px 14px;
    width: 100%;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    background: #fff;
    cursor: pointer;
    transition: background .12s, color .12s;
}
.drv2-sb-clear:hover { background: #fee2e2; color: #b91c1c; border-color: #fca5a5; }

/* ── Overlay (mobile drawer backdrop) ── */
.drv2-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1039;
}
.drv2-overlay--visible { display: block; }

/* ── Main content area ── */
.drv2-main {
    min-width: 0;
}

/* Results bar */
.drv2-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-block-end: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.drv2-count {
    font-size: 14px;
    color: #6b7280;
}
.drv2-count strong { color: #111827; }

.drv2-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
}
.drv2-sort-wrap--desktop { display: flex; }

.drv2-sort {
    padding: 6px 28px 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    color: #374151;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E") no-repeat right 10px center;
    background-size: 10px;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    cursor: pointer;
}
.drv2-sort:focus { border-color: #4F46E5; box-shadow: 0 0 0 3px rgba(79,70,229,.08); }

[dir="rtl"] .drv2-sort {
    background-position: left 10px center;
    padding: 6px 10px 6px 28px;
}

/* ── Driver groups ── */
.drv2-group {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-block-end: 12px;
    background: #fff;
}

.drv2-group__hdr {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    cursor: pointer;
    user-select: none;
    background: #f9fafb;
    border-block-end: 1px solid #e5e7eb;
    transition: background .12s;
}
.drv2-group__hdr:hover { background: #f3f4f6; }

.drv2-group__title {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.drv2-group__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: #ede9fe;
    color: #4F46E5;
    font-size: 11px;
    font-weight: 700;
}

.drv2-group__chevron {
    font-size: 12px;
    color: #9ca3af;
    transition: transform .2s;
}
.drv2-group__hdr[aria-expanded="false"] .drv2-group__chevron {
    transform: rotate(-90deg);
}
[dir="rtl"] .drv2-group__hdr[aria-expanded="false"] .drv2-group__chevron {
    transform: rotate(90deg);
}

.drv2-group__body {
    overflow: hidden;
    transition: max-height .25s ease;
}
.drv2-group__body--collapsed {
    max-height: 0 !important;
}

/* ── Individual driver row ── */
.drv2-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-block-end: 1px solid #f3f4f6;
    transition: background .12s;
}
.drv2-row:last-child { border-block-end: none; }
.drv2-row:hover { background: #f9fafb; }

.drv2-row__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #ede9fe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4F46E5;
    font-size: 15px;
    flex-shrink: 0;
}

.drv2-row__name {
    flex: 1;
    min-width: 0;
}
.drv2-row__name strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.drv2-row__name span {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-block-start: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drv2-row__device {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    min-width: 80px;
    text-align: end;
}

.drv2-row__size {
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
    min-width: 56px;
    text-align: end;
}

/* Download button */
.drv2-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1.5px solid #4F46E5;
    border-radius: 8px;
    background: #fff;
    color: #4F46E5;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .15s, color .15s;
}
.drv2-dl-btn:hover { background: #4F46E5; color: #fff; }
.drv2-dl-btn.loading { opacity: .65; pointer-events: none; }
.drv2-dl-btn.loading .drv2-dl-btn__txt::before { content: '...'; }

/* ── Empty state ── */
.drv2-empty {
    text-align: center;
    padding: 60px 20px;
    display: none;
}
.drv2-empty--filter { display: block; }

.drv2-empty__icon {
    font-size: 48px;
    color: #d1d5db;
    margin-block-end: 16px;
}

.drv2-empty__title {
    font-size: 18px;
    font-weight: 700;
    color: #374151;
    margin-block-end: 8px;
}

.drv2-empty__message {
    font-size: 14px;
    color: #6b7280;
    margin-block-end: 20px;
}

.drv2-empty__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 8px;
    background: #4F46E5;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background .15s;
}
.drv2-empty__btn:hover { background: #4338ca; }

/* ── Tablet: sidebar becomes a slide-in drawer ── */
@media (max-width: 768px) {
    .drv2-layout {
        grid-template-columns: 1fr;
    }

    .drv2-mobile-bar {
        display: flex;
    }

    .drv2-sort-wrap--desktop {
        display: none;
    }

    .drv2-sidebar {
        position: fixed;
        inset-block: 0;
        inset-inline-start: 0;
        width: min(300px, 85vw);
        z-index: 1040;
        border-radius: 0;
        transform: translateX(-100%);
        transition: transform .28s ease;
        border: none;
        box-shadow: 4px 0 24px rgba(0,0,0,.12);
        overflow-y: auto;
    }

    .drv2-sidebar--open {
        transform: translateX(0);
    }

    [dir="rtl"] .drv2-sidebar {
        inset-inline-start: auto;
        inset-inline-end: 0;
        transform: translateX(100%);
    }
    [dir="rtl"] .drv2-sidebar--open {
        transform: translateX(0);
    }

    .drv2-sidebar__inner {
        max-height: 100%;
        padding: 20px;
    }

    .drv2-sidebar__close {
        display: block;
    }
}

/* ── Mobile: compact rows ── */
@media (max-width: 480px) {
    .drv2-row__device,
    .drv2-row__size {
        display: none;
    }

    .drv2-dl-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .drv2-row {
        padding: 10px 14px;
        gap: 10px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   END DRIVERS & SOFTWARE PAGE
═══════════════════════════════════════════════════════════════════════════ */
