    /* ========================================
   ROOT VARIABLES & RTL SUPPORT
======================================== */
    :root {
        --primary-color: #4169E1;
        --secondary-color: #ff6b35;
        --text-primary: #1f2937;
        --text-secondary: #6b7280;
        --text-muted: #9ca3af;
        --border-color: #e5e7eb;
        --bg-primary: #ffffff;
        --bg-secondary: #fafafa;
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
        --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
        --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
        --radius-sm: 8px;
        --radius-md: 12px;
        --radius-lg: 16px;
        --radius-xl: 20px;
    }

    /* RTL Support */
    [dir="rtl"] .filter-btn i,
    [dir="rtl"] .smart-add-btn i {
        transform: scaleX(-1);
    }

    [dir="rtl"] .mega-sale-overlay {
        background: linear-gradient(270deg,
                rgba(0, 0, 0, 0.85) 0%,
                rgba(0, 0, 0, 0.40) 50%,
                rgba(0, 0, 0, 0.10) 100%);
    }

    /* ========================================
   MEGA SALE SECTION
======================================== */
    .mega-sale-section {
        padding: 40px 20px;
        background: var(--bg-primary);
    }

    .mega-sale-banner {
        position: relative;
        border-radius: var(--radius-xl);
        overflow: hidden;
        min-height: 400px;
        display: flex;
        align-items: center;
        background-color: #1a1a1a;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    }

    .mega-sale-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.6);
    }

    .mega-sale-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,
                rgba(0, 0, 0, 0.85) 0%,
                rgba(0, 0, 0, 0.40) 50%,
                rgba(0, 0, 0, 0.10) 100%);
    }

    .mega-sale-content {
        position: relative;
        z-index: 10;
        color: #ffffff;
        padding: 40px 50px;
        max-width: 650px;
    }

    .weekly-old-price {
        font-size: 12px;
        color: var(--text-muted);
        text-decoration: line-through;
    }

    [dir="rtl"] .mega-sale-content {
        margin-right: auto;
        margin-left: 0;
    }

    .mega-sale-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 20px;
        border-radius: 50px;
        background: var(--primary-color);
        color: #fff;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin-bottom: 16px;
    }

    .mega-sale-title {
        font-size: clamp(32px, 6vw, 72px);
        font-weight: 700;
        line-height: 1.1;
        color: #fff;
        margin: 0 0 12px 0;
        text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.5);
    }

    .mega-sale-subtitle {
        font-size: clamp(16px, 2vw, 20px);
        font-weight: 400;
        color: #e5e7eb;
        margin: 0 0 24px 0;
        line-height: 1.4;
    }

    .mega-sale-timer-wrapper {
        margin-bottom: 28px;
    }

    .mega-sale-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 16px 40px;
        border-radius: var(--radius-md);
        background: var(--primary-color);
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(65, 105, 225, 0.4);
        transition: all 0.3s ease;
    }

    .mega-sale-btn:hover {
        background: #3154c4;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(65, 105, 225, 0.5);
        color: #fff;
    }

    /* ========================================
   FILTER BAR
======================================== */
    .smart-watches-section {
        background: var(--bg-secondary);
        padding: 2rem 0;
    }

    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .smart-title {
        color: #FB2C36;

        font-family: "SF Pro";
        font-size: 32px;
        font-style: normal;
        font-weight: 590;
        line-height: 30px;
    }

    .filter-bar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-bottom: 20px;
        width: 100%;
    }

    [dir="rtl"] .filter-bar {
        direction: rtl;
    }

    .filter-dropdown {
        position: relative;
    }

    .filter-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        border-radius: 999px;
        border: 1px solid var(--border-color);
        background: #f9fafb;
        color: var(--text-primary);
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .filter-btn:hover {
        background: #f3f4f6;
        border-color: var(--text-muted);
    }

    .filter-btn i {
        font-size: 10px;
        color: var(--text-secondary);
    }

    .clear-all-btn {
        background: var(--bg-primary);
        border-color: var(--secondary-color);
        color: var(--secondary-color);
    }

    .clear-all-btn:hover {
        background: var(--secondary-color);
        color: #fff;
    }

    .filter-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        min-width: 200px;
        background: var(--bg-primary);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-md);
        padding: 8px;
        z-index: 100;
        display: none;
    }

    [dir="rtl"] .filter-menu {
        left: auto;
        right: 0;
    }

    .filter-menu.active {
        display: block;
    }

    .filter-option {
        padding: 10px 12px;
        border-radius: var(--radius-sm);
        font-size: 13px;
        color: var(--text-primary);
        cursor: pointer;
        transition: all 0.15s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .filter-option:hover {
        background: #f9fafb;
    }

    .filter-option.active {
        background: var(--primary-color);
        color: #fff;
    }

    .stars-preview {
        display: flex;
        gap: 2px;
        font-size: 11px;
    }

    [dir="rtl"] .stars-preview {
        flex-direction: row-reverse;
    }

    .stars-preview i {
        color: var(--border-color);
    }

    .stars-preview i.active {
        color: #fbbf24;
    }

    .color-dot {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        border: 2px solid #fff;
        box-shadow: 0 0 0 1px var(--border-color);
    }

    .price-menu {
        min-width: 260px;
    }

    .price-inputs {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 12px;
    }

    .price-input-group {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .price-input-group label {
        font-size: 12px;
        color: var(--text-secondary);
        font-weight: 500;
    }

    .price-input {
        padding: 8px 12px;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        font-size: 13px;
        width: 100%;
        direction: ltr;
    }

    .price-input:focus {
        outline: none;
        border-color: var(--primary-color);
    }

    .apply-price-btn {
        width: 100%;
        padding: 8px;
        background: var(--primary-color);
        color: #fff;
        border: none;
        border-radius: var(--radius-sm);
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .apply-price-btn:hover {
        background: #3154c4;
    }

    .all-filters-menu {
        min-width: 250px;
    }

    .all-filters-notice {
        padding: 16px;
        text-align: center;
        font-size: 12px;
        color: var(--text-muted);
    }


    /* ========================================
   CUSTOM PAGINATION
======================================== */
    .custom-pagination-wrapper {
        display: flex;
        justify-content: center;
        padding: 20px 0;
    }

    .custom-pagination {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    [dir="rtl"] .custom-pagination {
        flex-direction: row-reverse;
    }

    .custom-pagination-arrow,
    .custom-pagination-number {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .custom-pagination-arrow {
        background: var(--bg-primary);
        border: 2px solid var(--border-color);
        color: var(--text-muted);
    }

    .custom-pagination-arrow:hover:not(.disabled) {
        border-color: #ff7a00;
        color: #ff7a00;
        transform: scale(1.05);
    }

    .custom-pagination-arrow.next {
        border-color: #ff7a00;
        color: #ff7a00;
    }

    .custom-pagination-arrow.next:hover:not(.disabled) {
        background: #ff7a00;
        color: #ffffff;
    }

    .custom-pagination-arrow.disabled {
        opacity: 0.4;
        cursor: not-allowed;
        pointer-events: none;
    }

    .custom-pagination-number {
        background: #dde1e7;
        color: #ffffff;
    }

    .custom-pagination-number:hover:not(.active) {
        background: #c5cad1;
        transform: scale(1.05);
        color: #ffffff;
    }

    .custom-pagination-number.active {
        background: #ff7a00;
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
    }

    /* ========================================
   RESPONSIVE DESIGN
======================================== */

    /* Large Tablets & Small Desktops */
    @media (max-width: 1024px) {
        .mega-sale-content {
            padding: 35px 40px;
            max-width: 550px;
        }

        .smart-grid {
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        }
    }

    /* Tablets */
    @media (max-width: 768px) {
        .mega-sale-section {
            padding: 20px 16px;
        }

        .mega-sale-banner {
            min-height: 350px;
        }

        .mega-sale-content {
            padding: 30px 25px;
        }

        .mega-sale-badge {
            font-size: 10px;
            padding: 8px 16px;
        }

        .mega-sale-subtitle {
            font-size: 16px;
        }

        .mega-sale-btn {
            padding: 14px 32px;
            font-size: 14px;
        }

        .filter-bar {
            gap: 6px;
        }

        .filter-btn {
            font-size: 12px;
            padding: 7px 14px;
        }

        .smart-grid {
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 0.75rem;
        }

        .smart-card {
            padding: 14px;
        }

        .smart-image-wrapper {
            height: 150px;
        }

        .smart-name {
            font-size: 13px;
        }

        .smart-price {
            font-size: 16px;
        }

        .custom-pagination-arrow,
        .custom-pagination-number {
            width: 40px;
            height: 40px;
            font-size: 14px;
        }

        .custom-pagination {
            gap: 8px;
        }
    }

    /* Mobile Devices */
    @media (max-width: 480px) {
        .mega-sale-section {
            padding: 16px 12px;
        }

        .mega-sale-banner {
            min-height: 300px;
            border-radius: var(--radius-md);
        }

        .mega-sale-content {
            padding: 24px 20px;
        }

        .mega-sale-badge {
            font-size: 9px;
            padding: 6px 12px;
            letter-spacing: 1px;
        }

        .mega-sale-btn {
            padding: 12px 28px;
            font-size: 13px;
        }

        .filter-bar {
            gap: 5px;
            justify-content: flex-start;
        }

        .filter-btn {
            font-size: 11px;
            padding: 6px 12px;
        }

        .filter-menu {
            min-width: 180px;
        }

        .smart-watches-section {
            padding: 1.5rem 0;
        }

        .smart-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 0.5rem;
        }

        .smart-card {
            padding: 12px;
        }

        .smart-discount-badge {
            font-size: 10px;
            padding: 4px 8px;
            top: 8px;
            left: 8px;
        }

        [dir="rtl"] .smart-discount-badge {
            left: auto;
            right: 8px;
        }

        .smart-like-btn {
            width: 28px;
            height: 28px;
            font-size: 14px;
            top: 8px;
            right: 8px;
        }

        [dir="rtl"] .smart-like-btn {
            right: auto;
            left: 8px;
        }

        .smart-image-wrapper {
            height: 130px;
        }

        .smart-name {
            font-size: 12px;
        }

        .smart-brand {
            font-size: 11px;
        }

        .smart-rating .stars {
            font-size: 10px;
        }

        .smart-rating-count {
            font-size: 10px;
        }

        .smart-price {
            font-size: 15px;
        }

        .smart-old-price {
            font-size: 11px;
        }

        .smart-add-btn {
            font-size: 11px;
            padding: 7px 12px;
        }

        .custom-pagination-arrow,
        .custom-pagination-number {
            width: 35px;
            height: 35px;
            font-size: 12px;
        }

        .custom-pagination {
            gap: 6px;
        }
    }

    /* Extra Small Devices */
    @media (max-width: 360px) {
        .mega-sale-content {
            padding: 20px 16px;
        }

        .smart-grid {
            grid-template-columns: 1fr;
        }

        .filter-bar {
            width: 100%;
        }

        .filter-btn {
            flex: 1;
            min-width: auto;
            justify-content: center;
        }

        .custom-pagination {
            gap: 4px;
        }

        .custom-pagination-arrow,
        .custom-pagination-number {
            width: 32px;
            height: 32px;
            font-size: 11px;
        }
    }

    /* WEEKLY POPULAR PRODUCTS SECTION */
    .weekly-popular-section {
        background: #fff;
        padding: 3rem 0;
    }

    /* عنوان القسم */
    .weekly-title {
        color: #ff3b30;
        /* أحمر قوي قريب من التصميم */
        font-size: 24px;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 24px;
        text-align: start;
        /* يعمل مع LTR و RTL */
    }

    /* Grid */
    .weekly-products-wrapper {
        position: relative;
    }

    .weekly-products-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        /* 4 أعمدة ثابتة مثل الصورة */
        gap: 24px;
    }

    /* كارت المنتج */
    .weekly-product-card {
        position: relative;
        background: #ffffff;
        border-radius: 12px;
        border: 1px solid #f0f0f0;
        padding: 16px 16px 14px;
        transition: box-shadow 0.2s ease, transform 0.2s ease;
        display: flex;
        flex-direction: column;
    }

    .weekly-product-card:hover {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
        transform: translateY(-3px);
    }

    /* Badge الخصم (مستطيل صغير أحمر) */
    .weekly-discount-badge {
        position: absolute;
        inset-block-start: 10px;
        /* top */
        inset-inline-start: 10px;
        /* left في LTR / right في RTL */
        background: #ff3b30;
        color: #ffffff;
        font-size: 11px;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 4px;
        z-index: 5;
    }

    /* زر القلب في دائرة بيضاء */
    .weekly-like-btn {
        position: absolute;
        inset-block-start: 10px;
        inset-inline-end: 10px;
        /* right في LTR / left في RTL */
        border: none;
        background: #ffffff;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
        cursor: pointer;
        font-size: 16px;
        color: #9ca3af;
        transition: all 0.2s ease;
        z-index: 5;
    }

    .weekly-like-btn:hover {
        color: #ff3b30;
        transform: scale(1.05);
    }

    /* صورة المنتج */
    .weekly-image-wrapper {
        width: 100%;
        height: 185px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 14px;
        background: #f9fafb;
        border-radius: 10px;
    }

    .weekly-image-wrapper img {
        max-height: 90%;
        max-width: 90%;
        object-fit: contain;
    }

    /* نصوص المنتج */
    .weekly-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
    }

    .weekly-name {
        font-size: 13px;
        font-weight: 600;
        color: #111827;
        margin: 0 0 4px 0;
        text-align: start;
    }

    .weekly-brand {
        font-size: 11px;
        color: #9ca3af;
        margin: 0 0 8px 0;
        text-align: start;
    }

    /* Rating */
    .weekly-rating {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 8px;
    }

    .weekly-rating .stars {
        display: flex;
        gap: 2px;
        font-size: 12px;
        color: #fbbf24;
    }

    html[dir="rtl"] .weekly-rating {
        flex-direction: row-reverse;
    }

    /* عدد الريفيو */
    .weekly-rating-count {
        font-size: 11px;
        color: #9ca3af;
    }

    /* السعر */
    .weekly-price-wrapper {
        margin-bottom: 8px;
    }

    .weekly-price {
        font-size: 14px;
        font-weight: 700;
        color: #ff6b35;
        /* برتقالي السعر */
    }

    /* زر add to cart أبيض بحافة رمادي */
    .weekly-add-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 8px 14px;
        border-radius: 999px;
        border: 1px solid #e5e7eb;
        background: #ffffff;
        color: #374151;
        font-size: 12px;
        font-weight: 500;
        text-transform: lowercase;
        cursor: pointer;
        transition: all 0.2s ease;
        /* مهم: نشيل العرض الكامل */
        width: auto;
        align-self: flex-start;
        /* يخليه يبدأ من بداية الكارت */
    }


    .weekly-add-btn i {
        font-size: 14px;
    }

    .weekly-add-btn:hover {
        background: #ff6b35;
        border-color: var(--text-primary);
        color: #ffffff;
    }

    /* Responsive */
    @media (max-width: 992px) {
        .weekly-products-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 20px;
        }
    }

    @media (max-width: 768px) {
        .weekly-products-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }
    }

    @media (max-width: 480px) {
        .weekly-products-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

        .weekly-product-card {
            padding: 12px;
        }
    }

    .results-info {
        padding: 12px 0;
        border-top: 1px solid var(--border-color);
        margin-bottom: 20px;
    }

    .smart-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .smart-card {
        position: relative;
        border-radius: var(--radius-lg);
        border: 1px solid var(--border-color);
        background: var(--bg-primary);
        padding: 16px;
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .smart-card:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-4px);
    }

    .smart-discount-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        background: #FB2C36;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        padding: 5px 10px;
        border-radius: 20px;
        z-index: 5;
    }

    [dir="rtl"] .smart-discount-badge {
        left: auto;
        right: 12px;
    }

    .smart-like-btn {
        position: absolute;
        top: 12px;
        right: 12px;
        border: none;
        background: var(--bg-primary);
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--shadow-sm);
        cursor: pointer;
        font-size: 16px;
        color: var(--text-muted);
        transition: all 0.2s ease;
        z-index: 5;
    }

    [dir="rtl"] .smart-like-btn {
        right: auto;
        left: 12px;
    }

    .smart-like-btn:hover {
        color: var(--secondary-color);
        transform: scale(1.1);
    }

    .smart-image-wrapper {
        width: 100%;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 12px;
        background: var(--bg-secondary);
        border-radius: var(--radius-md);
        overflow: hidden;
    }

    .smart-image-wrapper img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }

    .smart-info {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .smart-name {
        font-size: 15px;
        font-weight: 600;
        color: var(--text-primary);
        margin: 0 0 6px 0;
        line-height: 1.4;
        min-height: 42px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .smart-brand {
        font-size: 12px;
        color: var(--text-muted);
        margin: 0 0 8px 0;
    }

    .smart-rating {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 10px;
    }

    [dir="rtl"] .smart-rating {
        flex-direction: row-reverse;
        justify-content: flex-end;
    }

    .smart-rating .stars {
        display: flex;
        gap: 2px;
        font-size: 12px;
        color: #fbbf24;
    }

    [dir="rtl"] .smart-rating .stars {
        flex-direction: row-reverse;
    }

    .smart-rating-count {
        font-size: 11px;
        color: var(--text-muted);
    }

    .smart-footer {
        margin-top: auto;
        padding-top: 12px;
        border-top: 1px solid var(--border-color);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
    }

    .smart-price-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .smart-price {
        font-size: 18px;
        font-weight: 700;
        color: var(--secondary-color);
    }

    .smart-old-price {
        font-size: 12px;
        color: var(--text-muted);
        text-decoration: line-through;
    }

    .smart-add-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        border-radius: 50px;
        border: 1px solid var(--border-color);
        background: var(--bg-primary);
        color: var(--text-primary);
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .smart-add-btn i {
        font-size: 14px;
    }

    .smart-add-btn:hover {
        background: #ff7a00;
        color: #fff;
        border-color: var(--text-primary);
    }


