/* @import url('assets/css/color.css');
@import url('assets/css/image.css');
@import url('assets/css/font.css');
@import url('assets/css/card.css');
@import url('assets/css/link.css');
@import url('assets/css/header.css');
@import url('assets/css/footer.css');
@import url('assets/css/general.css');
@import url('assets/css/block.css');
@import url('assets/css/responsive.css'); */


/* --- Global Variables & Reset --- */
        @import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');

        :root {
            --primary-blue: #1a338c;
            --text-dark: #0f172a;
            --text-muted: #64748b;
            --bg-white: #ffffff;
            --transition: all 0.3s ease;
            --font-main: 'Almarai', sans-serif;
        }
        body {
            font-family: var(--font-main);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Ensures the search bar and buttons also use Almarai */
        h1,h2,h3,h4,h5,h6,p,span,td,tr,button, input, select, textarea, optgroup {
            font-family: var(--font-main);
        }

        .dir-rtl {
            direction: rtl;
        }

        /* --- Reusable Section Wrapper --- */
        .header-wrapper {
            padding: 15px 0;
            z-index: 1050;
        }

        /* --- Navigation --- */
        .navbar-nav a {
            color: var(--primary-blue) !important;
            font-weight: 700;
            font-size: 1.1rem;
            padding: 0 !important;
            text-decoration: none;
            transition: var(--transition);
        }

        .navbar-nav a:hover, 
        .navbar-nav .current-menu-item a {
            color: var(--text-dark) !important;
        }

        /* --- Search Bar --- */
        .search-container {
            max-width: 500px;
        }

        .search-input-custom {
            background-color: var(--primary-blue) !important;
            color: #ffffff !important;
            border: none;
            border-radius: 8px;
            padding: 12px 20px;
            padding-left: 50px; /* Space for icon */
            font-size: 0.95rem;
        }

        .search-input-custom::placeholder {
            color: rgba(255, 255, 255, 0.8);
        }

        .search-btn-custom {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #ffffff;
            border: none;
            font-size: 1.1rem;
        }

        /* --- Icons & Actions --- */
        .icon-circle {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            border: 1px solid #e2e8f0;
            border-radius: 50%;
            color: var(--text-dark);
            text-decoration: none;
            transition: var(--transition);
        }

        .icon-circle:hover {
            background-color: #f8fafc;
        }

        .cart-badge-dot {
            position: absolute;
            top: -2px;
            right: -2px;
            width: 21px;
            height: 21px;
            display: flex;
            background-color: #991b1b;
            border: 2px solid #fff;
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
        }

        .login-link {
            color: var(--text-dark);
            font-weight: 600;
            white-space: nowrap;
        }

        .header-logo {
            height: auto;
            width: 125px;
        }

        /* Responsive adjustments for the border-start (RTL logic) */
        [direction="rtl"] .border-start {
            border-right: 1px solid #dee2e6 !important;
            border-left: 0 !important;
        }

        /* --- Global Updates --- */
        :root {
            --primary-blue: #1a338c;
            --accent-orange: #f36f21;
            --text-body: #4b5563;
            --light-gray: #f9fafb;
        }

        /* --- Reusable Components --- */
        .section-wrapper {
            padding: 60px 0;
            background-color: var(--bg-white);
        }

        .section-desc {
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
            line-height: 1.8;
            max-width: 500px;
            margin-left: 0;

        }

        .btn-custom-outline {
            border: 1.5px solid var(--primary-blue);
            color: var(--primary-blue);
            background: transparent;
            border-radius: 12px;
            font-weight: 700;
            transition: var(--transition);
        }

        .btn-custom-outline:hover {
            background-color: var(--primary-blue);
            color: #fff;
        }

        /* --- Hero Specific Styles --- */
        .hero-section {
            background-color: var(--light-gray);
            overflow: hidden;
        }

        .hero-brand-img {
            max-width: 140px;
        }

        .hero-title {
            font-size: 3rem;
            font-weight: 800;
        }

        .text-accent-orange {
            color: var(--accent-orange);
        }

        .text-primary-blue {
            color: var(--primary-blue);
        }

        /* --- Slick Slider Styling --- */
        .slider-controls-wrapper {
            display: flex;
            justify-content: center;
            margin-top: 30px;
        }

        /* Custom Dots Style: Thin Rectangular */
        .hero-dots-container .slick-dots {
            display: flex !important;
            list-style: none;
            padding: 0;
            margin: 0;
            gap: 10px;
        }

        .hero-dots-container .slick-dots li {
            width: 40px; /* Thin rectangular width */
            height: 6px; /* Thin height */
            background-color: #d1d5db; /* Default gray */
            border-radius: 10px;
            cursor: pointer;
            transition: var(--transition);
        }

        .hero-dots-container .slick-dots li button {
            display: none; /* Hide default buttons */
        }

        .hero-dots-container .slick-dots li.slick-active {
            background-color: var(--accent-orange); /* Active orange */
            width: 50px; /* Slightly expand active dot */
        }

        /* RTL Adjustment for Slider */
        .hero-slide-item {
            direction: rtl;
        }

        /* --- Global Updates --- */
        .bg-light-gray {
            background-color: #f1f3f5; /* Light neutral background from design */
        }

        /* --- Reusable Components --- */
        .section-title {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--text-dark);
        }

        .view-all-link {
            color: var(--text-dark);
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: var(--transition);
        }

        .view-all-link:hover {
            color: var(--primary-blue);
        }

        .btn-white-sm {
            background-color: #ffffff;
            color: var(--text-dark);
            padding: 8px 30px;
            border-radius: 4px;
            font-size: 0.9rem;
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
        }

        .btn-white-sm:hover {
            background-color: var(--primary-blue);
            color: #ffffff;
        }

        /* --- Category Card Specifics --- */
        .category-card {
            position: relative;
            border-radius: 0; /* Square edges as per design */
            overflow: hidden;
            height: 450px;
        }

        .category-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .category-card:hover .category-img {
            transform: scale(1.05);
        }

        .category-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.1); /* Subtle dark overlay for text contrast */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .category-content {
            text-align: center;
            color: #ffffff;
        }

        .category-name {
            font-size: 3.5rem; /* Large impact font */
            font-weight: 800;
            margin-bottom: 20px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }

        /* --- New Reusable Component: Circle Card --- */

        .circle-card-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            transition: var(--transition);
        }

        .circle-card-img {
            width: 100%;
            aspect-ratio: 1 / 1; /* Ensures perfect circle */
            border-radius: 50%;
            border: 8px solid #ffffff; /* Thick white border from design */
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 20px;
            transition: var(--transition);
        }

        .circle-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .circle-card-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-dark);
            margin: 0;
            text-align: center;
        }

        /* Hover Effects */
        .circle-card-wrapper:hover .circle-card-img {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .circle-card-wrapper:hover .circle-card-img img {
            transform: scale(1.1);
        }

        .circle-card-wrapper:hover .circle-card-title {
            color: var(--primary-blue);
        }

        /* Responsive adjustments */
        @media (max-width: 576px) {
            .circle-card-title {
                font-size: 1rem;
            }
            .circle-card-img {
                border-width: 5px; /* Thinner border on mobile */
            }
        }

        /* --- Reusable Components (New) --- */

        /* .card-custom: A modular product card base */
        .card-custom {
            background: #fff;
            border-radius: 8px;
            border: 1px solid #f1f3f5;
            overflow: hidden;
            transition: var(--transition);
            height: 100%;
            box-shadow: 0px 0px 16px 0px #00000040;
        }

        .card-custom:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        }

        .card-img-wrapper {
            width: 100%;
            aspect-ratio: 0.9; /* Standard fashion aspect ratio */
            overflow: hidden;
        }

        .card-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* .btn-custom: Standard filled primary button */
        .btn-custom {
            background-color: var(--primary-blue);
            color: #fff;
            padding: 10px 20px;
            border-radius: 6px;
            font-weight: 600;
            border: none;
            transition: var(--transition);
            width: 93%;
            margin-bottom: 10px;
        }

        .btn-custom:hover {
            background-color: var(--text-dark);
            color: #fff;
        }

        /* --- Product Specific Typography --- */
        .product-title {
            font-size: 1rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 10px;
            /* Limit to one line for grid consistency */
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .product-price-wrapper {
            font-weight: 700;
            color: var(--text-dark);
            font-size: 1.1rem;
        }

        .product-price-wrapper .currency {
            font-size: 0.9rem;
            margin-left: 4px;
        }

        /* --- Promo Banner Specific Styles --- */

        .promo-banner-card {
            background-color: var(--primary-blue);
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            /* Subtle pattern overlay as seen in design */
            background-image: radial-gradient(circle at 90% 10%, rgba(255,255,255,0.05) 0%, transparent 20%),
                            radial-gradient(circle at 85% 80%, rgba(255,255,255,0.05) 0%, transparent 25%);
        }

        .promo-img-container {
            height: 100%;
            min-height: 400px;
            display: flex;
            align-items: center;
        }

        .promo-main-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            max-height: 70vh;
        }

        .promo-header {
            color: #ffffff;
            font-size: 2.8rem;
            font-weight: 800;
        }

        /* The tilted orange box from the design */
        .promo-accent-box {
            background-color: var(--accent-orange);
            padding: 25px 40px;
            width: fit-content;
            transform: perspective(500px) rotateY(-5deg) skewX(-5deg);
            margin-right: -20px; /* Slight bleed to the right for design effect */
            box-shadow: 10px 10px 20px rgba(0,0,0,0.1);
        }

        .promo-description {
            color: #ffffff;
            font-size: 1.2rem;
            font-weight: 500;
            line-height: 1.6;
            transform: skewX(5deg); /* Counter-steer the text so it's readable */
        }

        /* Reusable Pill Button for Dark Backgrounds */
        .btn-white-pill {
            background-color: #ffffff;
            color: var(--primary-blue);
            padding: 12px 45px;
            border-radius: 50px;
            font-weight: 700;
            text-decoration: none;
            transition: var(--transition);
            display: inline-block;
        }

        .btn-white-pill:hover {
            background-color: var(--accent-orange);
            color: #ffffff;
            transform: translateY(-3px);
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .promo-header { font-size: 2rem; }
            .promo-accent-box { 
                transform: none; 
                margin-right: 0;
                width: 100%;
            }
            .promo-description { transform: none; }
        }

        /* --- Filter Tabs Component --- */

        .filter-btn {
            padding: 8px 30px;
            border-radius: 50px;
            border: 1px solid #dee2e6;
            background-color: #ffffff;
            color: var(--text-muted);
            font-weight: 600;
            transition: var(--transition);
        }

        .filter-btn:hover {
            border-color: var(--primary-blue);
            color: var(--primary-blue);
        }

        .filter-btn.active {
            background-color: var(--primary-blue);
            color: #ffffff;
            border-color: var(--primary-blue);
            box-shadow: 0 4px 10px rgba(26, 51, 140, 0.2);
        }

        /* --- Modifier for the Accessories Banner Tilt --- */

        /* Reversing the transform for this specific design variant */
        .promo-accent-box-reversed {
            transform: perspective(500px) rotateY(5deg) skewX(5deg) !important;
            margin-right: 0 !important;
            margin-left: -20px; /* Bleed to the left for this version */
        }

        .promo-accent-box-reversed .promo-header {
            transform: skewX(-5deg); /* Counter-steer text back to upright */
        }

        /* New Floating Badge Utility (if needed separately from image) */
        .discount-badge-float {
            position: absolute;
            bottom: 20px;
            left: 20px;
            color: var(--accent-orange);
            font-size: 3rem;
            font-weight: 900;
            text-shadow: 2px 2px 0px #fff;
            z-index: 2;
        }

        /* Ensuring layout stays tight on small screens */
        @media (max-width: 768px) {
            .promo-accent-box-reversed {
                transform: none !important;
                margin-left: 0 !important;
                width: 100%;
                text-align: center;
            }
            .promo-accent-box-reversed .promo-header {
                transform: none;
            }
        }

        /* --- Features Section Specific Styles --- */

        .bg-primary-dark {
            background-color: var(--primary-blue);
            color: #ffffff;
        }

        /* Subtle border to separate from previous blue promo sections if stacked */
        .border-top-light {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .feature-item {
            transition: var(--transition);
        }

        .feature-item:hover {
            transform: translateY(-3px);
        }

        .feature-icon-wrapper {
            font-size: 2.2rem;
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .feature-label {
            font-weight: 700;
            font-size: 1.1rem;
            white-space: nowrap;
        }

        .feature-subtext {
            font-size: 0.85rem;
            opacity: 0.8;
            white-space: nowrap;
        }

        /* Responsive adjustments for mobile text alignment */
        @media (max-width: 576px) {
            .feature-item {
                justify-content: center;
                text-align: center;
                flex-direction: column;
                gap: 10px !important;
            }
        }

        /* --- Footer Specific Styles --- */

        img.footer-logo {
            max-width: 120px;
        }

        .footer-about-text {
            color: var(--text-body);
            font-size: 0.95rem;
            line-height: 1.8;
        }

        .footer-heading {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-dark);
        }

        .footer-links-list {
            list-style: none;
            padding: 0;
        }

        .footer-links-list li {
            margin-bottom: 12px;
        }

        .footer-links-list a {
            color: var(--text-body);
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-links-list a:hover {
            color: var(--primary-blue);
            padding-right: 5px; /* Subtle movement on hover */
        }

        .icon-blue {
            color: var(--primary-blue);
            font-size: 1.1rem;
        }

        /* Social Circles */
        .social-icon-circle {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background-color: #000; /* As per screenshot black circles */
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: var(--transition);
        }

        .social-icon-circle:hover {
            background-color: var(--primary-blue);
            color: #fff;
            transform: translateY(-3px);
        }

        /* Payment Icons Grid */
        .payment-methods-grid {
            display: flex;
            flex-direction: column;
            gap: 15px;
            align-items: flex-start;
        }

        img.payment-img {
            height: 25px;
            object-fit: contain;
            filter: grayscale(0.2);
            transition: var(--transition);
        }

        .payment-img:hover {
            filter: grayscale(0);
        }

        /* Responsive Footer adjustment */
        @media (max-width: 768px) {
            .footer-section { text-align: center; }
            .dir-rtl { justify-content: center; }
            .payment-methods-grid, .social-links-wrapper {
                justify-content: center;
                align-items: center;
            }
        }

        /* Note: Reusing .card-custom, .btn-custom, .product-title, and .product-price-wrapper from previous sections */

        /* Responsive adjustment for tablet/mobile */
        @media (max-width: 768px) {
            .category-name {
                font-size: 2.2rem;
            }
            .category-card {
                height: 300px;
            }
        }

    /* --- women-page --- */

    /* --- Lifestyle Variant Overrides --- */

    /* Removing the radial patterns for this specific clean version */
    .lifestyle-variant {
        background-image: none !important;
        background-color: var(--primary-blue);
        border-radius: 15px; /* Matching the softer corners in this frame */
    }

    .promo-header-large {
        color: #ffffff;
        font-size: 3.5rem;
        font-weight: 800;
        line-height: 1.2;
    }

    .text-accent {
        color: var(--accent-orange);
    }

    .promo-body-text {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.2rem;
        line-height: 1.8;
        max-width: 550px;
    }

    /* Specific adjustment for this image layout */
    @media (max-width: 992px) {
        .promo-header-large {
            font-size: 2.5rem;
        }
    }

    @media (max-width: 768px) {
        .promo-header-large {
            font-size: 2rem;
        }
        .lifestyle-variant .promo-img-container {
            min-height: 300px;
        }
    }
    .page {
       /* margin-top: 50px; */
    }

    /* --- Women's Collection Specific Overrides --- */

    /* Utility for products that need to be contained rather than cover 
    (Common for cosmetics with white/transparent backgrounds) */
    .contain-img {
        object-fit: contain !important;
        padding: 10px;
    }

    /* Ensuring text description has nice spacing */
    .lh-lg {
        line-height: 2 !important;
        color: var(--text-muted);
    }

    /* Reusing .filter-btn active state from Kids section */
    /* Reusing .card-custom from Bestsellers section */
    /* Reusing .btn-custom for the primary blue button */

    .card-custom.bg-white {
        background-color: #ffffff;
        /* Added a slightly softer shadow for the cosmetics grid */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    /* --- Who We Are Header Styles --- */

    .who-we-are-header {
        background-color: #e5e5e5; /* Light gray background from image */
        padding: 60px 0;
        min-height: 250px;
        display: flex;
        align-items: center;
    }

    .header-title {
        color: var(--primary-blue); /* */
        font-weight: 800;
        font-size: 2.5rem;
        margin-bottom: 10px;
        position: relative;
        z-index: 2;
    }

    .header-underline {
        width: 60px;
        height: 5px;
        background-color: var(--accent-orange); /* */
        margin: 0 auto;
        border-radius: 10px;
    }

    /* Decorative Background Elements */
    .bg-circle {
        position: absolute;
        width: 120px;
        height: 120px;
        background-color: var(--accent-orange); /* */
        border-radius: 50%;
        z-index: 1;
    }

    .circle-top-right {
        top: -40px;
        right: -30px;
    }

    .circle-bottom-left {
        bottom: -40px;
        left: -30px;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .header-title {
            font-size: 2rem;
        }
        .bg-circle {
            width: 80px;
            height: 80px;
        }
    }
    /* --- About Us Section Styles --- */

    .about-us-section .container {
        background-color: var(--primary-blue); /* Using your variable */
        padding: 40px 0;
        margin-top: 40px;
        margin-bottom: 40px;
        border-radius: 20px;
        direction: rtl; /* Match the design flow */
    }

    .about-title {
        font-size: 2.8rem;
        font-weight: 800;
    }

    .about-content p {
        font-size: 1.25rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
        opacity: 0.95;
    }

    /* The Orange Stats Bar */
    .customers-stats-wrapper {
        max-width: 800px;
    }

    .stats-box {
        background-color: var(--accent-orange);
        color: white;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .custom-progress-bar {
        height: 10px;
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 20px;
        position: relative;
        overflow: hidden;
    }

    .progress-fill {
        height: 100%;
        background-color: var(--primary-blue);
        border-radius: 20px;
    }

    /* Image Styling */
    .about-img-card {
        border-radius: 15px;
        overflow: hidden;
        height: 300px;
    }

    .about-img-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .about-img-card:hover img {
        transform: scale(1.08);
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .about-title {
            font-size: 2rem;
        }
        .about-content p {
            font-size: 1.1rem;
        }
        .about-img-card {
            height: 200px;
        }
    }

    /* Popup modal */
    .auth-modal {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.6);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }

    .auth-modal-content {
        background: var(--bg-white);
        padding: 2rem;
        border-radius: 10px;
        width: 100%;
        max-width: 400px;
        font-family: var(--font-main);
        position: relative;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }

    /* Close button */
    .auth-close {
        position: absolute;
        top: 10px; right: 15px;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--text-muted);
    }

    /* Tabs */
    .auth-tabs { display: flex; justify-content: space-around; margin-bottom: 1rem; }
    .auth-tab { flex:1; padding:0.5rem 0; cursor:pointer; border-bottom:2px solid transparent; transition:var(--transition); text-align:center; }
    .auth-tab.active { border-color: var(--primary-blue); color: var(--primary-blue); }

    /* Forms */
    .auth-form { display:none; flex-direction:column; }
    .auth-form.active { display:flex; }
    .auth-form input { padding:0.7rem 1rem; margin-bottom:1rem; border-radius:6px; border:1px solid #ccc; font-size:0.9rem; transition:var(--transition); }
    .auth-form input:focus { border-color: var(--primary-blue); outline:none; }
    .btn-submit { padding:0.7rem; background:var(--primary-blue); color:var(--bg-white); border:none; border-radius:6px; cursor:pointer; font-weight:bold; }
    .btn-submit:hover { background:#122060; }
    .auth-link { font-size:0.85rem; color:var(--primary-blue); text-align:center; cursor:pointer; margin-top:0.5rem; }

    /* Hover Sign Out for logged in */
    .login-wrapper { position: relative; }
    .logout-popup {
        top: 100%; right: 0;
        background: var(--bg-white);
        border-radius: 8px;
        padding: 0.5rem;
        min-width: 150px;
        display: flex;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    .login-wrapper:hover .logout-popup {
        opacity: 1;
        visibility: visible;
    }
    .btn-logout {
        width: 100%;
        padding: 0.5rem 0;
        background: var(--primary-blue);
        color: var(--bg-white);
        text-decoration: none;
        font-weight: bold;
        border-radius: 6px;
        text-align: center;
        transition: var(--transition);
    }
    .btn-logout:hover { background: #122060; }

    .login-link.sign-out{
        pointer-events: none;
    }

    #fkcart-floating-toggler{
        display: none;
    }

    .single-product .product {
        display: flex;
        flex-direction: row-reverse;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 30px;
    }
    .single-product .woocommerce-product-gallery{
        border-radius: 10px;
    }
    .woocommerce div.product div.images .flex-control-nav.flex-control-thumbs{
        margin-top: 10px;
        display: flex;
        gap: 10px;
    }
    .woocommerce-product-gallery img{
        border-radius: 10px;
    }
    .single-product .summary.entry-summary{
        direction: rtl;
    }
    .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price{
        color: var(--primary-blue);
    }
    .custom-related-wrapper{
        margin-bottom: 30px;
    }

    /* review */
    .cr-all-reviews-shortcode .cr-summaryBox-wrap{
        direction: rtl;
        background: transparent;
        display: flex;
        border: 1px solid #c0c0c0;
        padding: 20px;
        border-radius: 15px;
    }
    .cr-all-reviews-shortcode .cr-summaryBox-wrap.cr-summaryBox-add-review .cr-summary-separator{
        display: none;
    }
    .crstar-rating-svg .cr-rating-icon-frnt{
        right: 0;
        left: unset;
    }
    .ivole-meter{
        transform: rotateY(-180deg);
        height: 9px;
        box-shadow: none;
        background: #D9D9D9;
        border-radius: 10px;
    }
    .ivole-meter .ivole-meter-bar{
        box-shadow: none;
        background-color: #FEBC2F;
    }
    .ivole-meter .ivole-meter-bar:before{
        display: none;
    }
    .cr-all-reviews-shortcode .cr-ajax-search{
        display: none;
    }
    .cr-all-reviews-shortcode .cr-summaryBox-wrap.cr-summaryBox-add-review .cr-add-review-wrap{
        width: 100%;
        margin-top: 30px;
        button{
            background-color: var(--primary-blue);
            color: #fff;
            padding: 10px 20px;
            border-radius: 6px;
            font-weight: 600;
            border: 1px solid var(--primary-blue);
            transition: var(--transition);
            &:hover{
                background-color: transparent;
                color: var(--primary-blue);
                border: 1px solid var(--primary-blue);
            }
        }
    }
    .cr-all-reviews-shortcode ol.commentlist{
        direction: rtl;
    }
    .cr-reviews-ajax-reviews .cr-reviews-ajax-comments .cr-ajax-reviews-list .comment_container .cr-comment-text, .cr-all-reviews-shortcode ol.commentlist li .cr-comment-text {
        margin: 0 70px 0 0px;
    }
    .cr-all-reviews-shortcode ol li.review .comment_container .cr-avatar{
        left: unset;
        right: 0;
    }
    .cr-all-reviews-shortcode ol li.review .comment_container .cr-avatar-check{
        left: unset;
        right: 37px;
    }
    .cr-all-reviews-shortcode ol.commentlist li .cr-comment-text p{
        text-align: right;
    }
    .cr-all-reviews-shortcode ol.commentlist li .cr-comment-text .meta .woocommerce-review__verified,.cr-all-reviews-shortcode ol.commentlist li .cr-comment-text .cr-rating-product-name .cr-product-name-picture{
        display: none;
    }
    .cr-all-reviews-shortcode .cr-count-row{
        direction: rtl;
    }

    .woocommerce-notices-wrapper{
        display: none;
    }

    .price{
        display: flex;
        flex-direction: column-reverse;
        gap: 5px;
    }
    .price del{
        color: red;
        font-size: 13px;
    }
    .price ins{
        text-decoration: none;
    }

    /* checkout */

    /* 1. Main Layout Split (Flexbox) */
    form.woocommerce-checkout {
        direction: rtl;
        display: flex;
        flex-direction: row; /* Places billing on right, summary on left for RTL */
        align-items: flex-start;
        gap: 40px;
        margin-top: 30px;
    }

    /* 2. Right Side: Billing & Shipping Fields */
    .col2-set {
        flex: 1;
        width: 60% !important;
        float: none !important;
    }

    .col2-set .col-1, .col2-set .col-2 {
        width: 100% !important;
        float: none !important;
    }

    /* 3. Left Side: Order Details (Sticky/Fixed) */
    #order_review_heading, 
    #order_review {
        width: 35% !important;
        float: none !important;
    }

    #order_review {
        position: -webkit-sticky;
        position: sticky;
        top: 100px; /* Distance from top of screen when scrolling */
        background: #fdfdfd;
        padding: 45px 0 0;
        border: unset;
        border-radius: 12px;
        box-shadow: unset;
    }

    /* 4. Input Field Design (Matching your image) */
    .woocommerce-checkout .form-row input.input-text, 
    .woocommerce-checkout .form-row select,
    .woocommerce-checkout .form-row textarea {
        border: 1px solid #E2E2E2 !important;
        border-radius: 8px !important;
        padding: 12px 15px !important;
        background-color: #fff !important;
        height: 50px;
        font-size: 15px;
    }

    .woocommerce-checkout .form-row label {
        font-weight: 600;
        margin-bottom: 8px;
        display: block;
        color: #333;
    }

    /* 5. Order Table Styling (Left Side) */
    .shop_table.woocommerce-checkout-review-order-table {
        border: none !important;
        background: transparent !important;
    }

    .shop_table.woocommerce-checkout-review-order-table thead {
        display: none; /* Hide header for cleaner look */
    }

    .shop_table tr td, .shop_table tr th {
        border: none !important;
        padding: 15px 0 !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }

    /* 6. Place Order Button */
    #place_order {
        background-color: transparent;
        color: black;
        font-size: 18px;
        border-radius: 10px;
        width: 100%;
        transition: 0.3s ease;
        border: 2px solid #000;
    }

    #place_order:hover {
        background-color: #000 !important;
        color: #fff !important;
    }

    /* 7. RTL Specific Adjustments */
    body.rtl .woocommerce-checkout .form-row-first {
        float: right !important;
        width: 48% !important;
    }

    body.rtl .woocommerce-checkout .form-row-last {
        float: left !important;
        width: 48% !important;
    }

    /* Responsive: Stack on Mobile */
    @media (max-width: 991px) {
        form.woocommerce-checkout {
            flex-direction: column;
        }
        .col2-set, #order_review, #order_review_heading {
            width: 100% !important;
        }
        #order_review {
            position: relative;
            top: 0;
        }
    }

    #order_review_heading,.woocommerce-form-coupon-toggle,.woocommerce-terms-and-conditions-wrapper{
        display: none;
    }
    th.translated-ar {
        text-align: start;
    }

    .shop_table tr td.product-name {
        text-align: justify;
        padding-left: 13px !important;
    }

    .woocommerce-checkout #payment ul.payment_methods li{
        text-align: right;
    }
    .woocommerce-checkout #payment{
        background-color: unset;
    }

    .woocommerce-checkout #payment div.payment_box::before{
        display: none;
    }

    .woocommerce-checkout #payment div.payment_box{
        background-color: rgb(228, 228, 228);
        margin: 5px 0;
        p{
            color: #000;
        }
    }
    .woocommerce-shipping-fields{
        display: none;
    }
    .woocommerce-checkout .form-row label[for="order_comments"]{
        display: none;
        & + span{
            margin-top: 20px;
            display: block;
        }
    }
    .woocommerce-billing-fields h3{
        margin-bottom: 20px;
        color: #000;
    }

    .woocommerce form .form-row {
        margin: 0 0 25px;
    }

    #order_review :is(span,label){
        color: #000;
    }
    .woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th {
        text-align: start;
    }

    .woocommerce form .form-row-first, .woocommerce-page form .form-row-first{
        float: right;
    }
    .woocommerce form .form-row-last, .woocommerce-page form .form-row-last{
        float: left;
    }

    /* --- Thank You Page Container --- */
    .woocommerce-order {
        max-width: 800px;
        margin: 40px auto;
        padding: 30px;
        background: #ffffff;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        direction: rtl; /* Ensures proper Arabic alignment */
    }

    /* Success Message */
    .woocommerce-notice--success {
        background-color: #e6fcf5 !important;
        color: #0ca678 !important;
        padding: 20px !important;
        border-radius: 10px;
        border-right: 5px solid #0ca678; /* Green accent on the right for RTL */
        font-weight: 600;
        margin-bottom: 30px;
        text-align: center;
    }

    /* --- Order Overview Bar (Number, Date, Total) --- */
    .woocommerce-order-overview {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        list-style: none;
        padding: 0;
        margin: 0 0 40px 0;
        border-bottom: 2px dashed #eee;
        padding-bottom: 20px;
    }

    .woocommerce-order-overview li {
        flex: 1;
        min-width: 140px;
        font-size: 14px;
        color: #888;
        text-align: center;
        border-left: 1px solid #eee;
    }

    .woocommerce-order-overview li:last-child {
        border-left: none;
    }

    .woocommerce-order-overview li strong {
        display: block;
        color: #333;
        font-size: 16px;
        margin-top: 5px;
    }

    /* --- Table Styling --- */
    .woocommerce-table--order-details {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
    }

    .woocommerce-table--order-details thead th {
        background: #f8f9fa;
        padding: 15px;
        text-align: right;
        font-weight: 600;
        color: #555;
        border-radius: 8px 8px 0 0;
    }

    .woocommerce-table--order-details td, 
    .woocommerce-table--order-details th {
        padding: 15px;
        border-bottom: 1px solid #eee;
        text-align: right;
    }

    .woocommerce-table--order-details tfoot th {
        color: #888;
        font-weight: 400;
    }

    .woocommerce-table--order-details tfoot td {
        font-weight: 600;
        color: #333;
    }

    .order-total td strong {
        color: #d6336c; /* Color for the total amount */
        font-size: 1.2rem;
    }

    /* --- Address Section --- */
    .woocommerce-columns--addresses {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .woocommerce-column__title {
        font-size: 18px;
        border-bottom: 2px solid #333;
        display: inline-block;
        padding-bottom: 5px;
        margin-bottom: 15px;
    }

    address {
        font-style: normal;
        background: #fdfdfd;
        padding: 20px;
        border: 1px solid #eee;
        border-radius: 10px;
        line-height: 1.8;
        color: #666;
    }

    .woocommerce-column--shipping-address{
        display: none;
    }

    .woocommerce-page .col2-set::before{
        display: none;
    }

    .woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone::before,.woocommerce .woocommerce-customer-details .woocommerce-customer-details--email::before{
        position: relative;
    }

    .woocommerce-thankyou-order-details + p{
        display: none;
    }
    .woocommerce-checkout .bg-image{
        background-position: top;
    }
    .onsale{
        display: none;
    }

    /* Responsive for Mobile */
    @media (max-width: 600px) {
        .woocommerce-order-overview {
            flex-direction: column;
            gap: 15px;
        }
        .woocommerce-order-overview li {
            border-left: none;
            border-bottom: 1px solid #eee;
            padding-bottom: 10px;
        }
        .woocommerce-columns--addresses {
            grid-template-columns: 1fr;
        }
    }
    .added_to_cart{
        display: none;
    }