        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Cairo', sans-serif;
            background-color: #f8f8f8;
            color: #222;
            line-height: 1.6;
        }

        header {
            background-color: #ff5722;
            box-shadow: 0 2px 10px rgba(255, 87, 34, 0.4);
        }

        .header-container {
            max-width: 1200px;
            margin: auto;
            padding: 10px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo-title {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-title img {
            height: 50px;
            border-radius: 25px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        .logo-title h1 {
            color: white;
            font-size: 24px;
            font-weight: 700;
            font-family: 'Cairo', sans-serif;
            margin: 0;
        }

        nav.nav-links {
            display: flex;
            gap: 20px;
        }

        nav.nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-family: 'Cairo', sans-serif;
            transition: opacity 0.3s ease;
        }

        nav.nav-links a:hover {
            opacity: 0.8;
        }

        .menu-toggle {
            display: none;
            font-size: 28px;
            color: white;
            background: none;
            border: none;
            cursor: pointer;
        }

        /* ريسبونسيف */
        @media (max-width: 768px) {
            nav.nav-links {
                position: fixed;
                top: 0;
                height: 100%;
                width: 150px;
                background-color: #ff5722;
                flex-direction: column;
                padding-top: 70px;
                transition: transform 0.3s ease;
                box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
                z-index: 999;
            }

            /* إذا كانت الصفحة بالعربية (rtl): القائمة من اليمين */
            :dir(rtl) nav.nav-links {
                right: 0;
                transform: translateX(100%);
                box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
            }

            :dir(rtl) nav.nav-links.show {
                transform: translateX(0);
            }

            /* إذا كانت الصفحة بالإنجليزية (ltr): القائمة من اليسار */
            :dir(ltr) nav.nav-links {
                left: 0;
                transform: translateX(-100%);
            }

            :dir(ltr) nav.nav-links.show {
                transform: translateX(0);
            }

            nav.nav-links a {
                padding: 15px 20px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            }

            .menu-toggle {
                display: block;
            }
        }


        .search-box {
            margin: 20px auto;
            text-align: center;
        }

        .search-box input {
            padding: 10px 15px;
            width: 90%;
            max-width: 400px;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 16px;
        }

        .products-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 24px;
            padding: 20px;
            max-width: 1200px;
            margin: auto;
        }

        @media (max-width: 600px) {
            .products-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .product-card {
            background: #fff;
            border: 1px solid #eee;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
            transition: transform 0.2s ease;
            max-width: 280px;
            width: 100%;
            margin: auto;
        }

        @media (max-width: 480px) {
            .product-card {
                max-width: 95%;
            }
        }

        .product-card:hover {
            transform: translateY(-5px);
        }

        .product-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .product-info {
            padding: 15px;
            text-align: center;
        }

        .product-info h3 {
            font-size: 18px;
            margin-bottom: 10px;
            color: #333;
        }

        .product-info p {
            margin: 5px 0;
            color: #666;
        }

        .product-info .price {
            font-weight: bold;
            color: #ff5722;
        }

        .product-info button {
            margin-top: 12px;
            background-color: #ff5722;
            color: #fff;
            border: none;
            padding: 10px 15px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 15px;
            transition: background 0.3s ease;
        }

        .product-info button:hover {
            background-color: #e64a19;
        }

        .reserved {
            color: white;
            background-color: red;
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 12px;
        }


        footer {
            background-color: #fff;
            text-align: center;
            padding: 15px;
            margin-top: 30px;
            border-top: 1px solid #eee;
        }

        footer .social-icons {
            margin-top: 10px;
        }

        footer .social-icons a {
            margin: 0 10px;
            display: inline-block;
        }

        footer .social-icons img {
            width: 28px;
            height: 28px;
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }

        footer .social-icons img:hover {
            opacity: 1;
        }

        .reserved-badge {
            background-color: red;
            color: white;
            text-align: center;
            padding: 6px;
            font-weight: bold;
            border-radius: 0 0 10px 10px;
            font-size: 14px;
        }

        .spinner {
            display: flex;
            justify-content: center;
            margin: 30px auto;
        }

        .spinner div {
            width: 12px;
            height: 12px;
            margin: 0 4px;
            background: #ff5722;
            border-radius: 50%;
            animation: spinner-bounce 0.6s infinite alternate;
        }

        .spinner div:nth-child(2) {
            animation-delay: 0.2s;
        }

        .spinner div:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes spinner-bounce {
            from {
                transform: translateY(0);
            }

            to {
                transform: translateY(-10px);
            }
        }

        img.lazy-image {
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        img:not(.lazy-image) {
            opacity: 1;
        }

        .language-switcher {
            margin-right: 15px;
        }

        @media (max-width: 768px) {
            .language-switcher {
                margin-right: 0;
                margin-top: 10px;
            }
        }

        #languageSelect {
            background-color: #fff;
            border: 1px solid #ddd;
            color: #333;
            font-family: 'Cairo', sans-serif;
            font-size: 14px;
            padding: 6px 10px;
            border-radius: 6px;
            outline: none;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        #languageSelect:hover {
            border-color: #ff5722;
            box-shadow: 0 0 5px rgba(255, 87, 34, 0.3);
        }

        #languageSelect:focus {
            border-color: #ff5722;
            box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.3);
        }

        body.dark-mode {
            background-color: #121212;
            color: #e0e0e0;
        }

        body.dark-mode header {
            background-color: #1e1e1e;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
        }

        body.dark-mode nav.nav-links {
            background-color: #1e1e1e;
        }

        body.dark-mode .product-card {
            background-color: #1c1c1c;
            border: 1px solid #333;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        body.dark-mode .product-info h3,
        body.dark-mode .product-info p {
            color: #ddd;
        }

        body.dark-mode .product-info .price {
            color: #ff8a50;
        }

        body.dark-mode footer {
            background-color: #1e1e1e;
            color: #ccc;
            border-top: 1px solid #333;
        }

        body.dark-mode .reserved-badge {
            background-color: #b71c1c;
        }

        body.dark-mode #contactModal {
            background: rgba(0, 0, 0, 0.8);
        }

        body.dark-mode select,
        body.dark-mode input {
            background-color: #2a2a2a;
            color: #eee;
            border-color: #444;
        }

        .size-filter {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
        }

        .size-box {
            background-color: #ffffff00;
            border: 1px solid #ff5722;
            color: #ff5722;
            padding: 8px 16px;
            font-size: 14px;
            font-weight: bold;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .size-box:hover,
        .size-box.active {
            background-color: #ff5722;
            color: #fff;
        }

        img.lazy-image {
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        img.lazy-image.loaded {
            opacity: 1;
        }

        .product-image-container {
            position: relative;
            width: 100%;
            overflow: hidden;
            border-radius: 8px;
        }

        .product-image-container img {
            width: 100%;
            display: block;
            border-radius: 8px;
        }

        .new-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: #ff5722;
            color: white;
            padding: 4px 10px;
            font-size: 12px;
            font-weight: bold;
            border-radius: 5px;
            font-family: 'Cairo', sans-serif;
            z-index: 5;
            box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
        }

        [dir="rtl"] .new-badge {
            right: auto;
            left: 10px;
        }

        #backToTop {
            display: none;
            position: fixed;
            bottom: 40px;
            left: 20px;
            z-index: 999;
            background-color: #ff5722;
            border: none;
            border-radius: 50%;
            padding: 10px;
            cursor: pointer;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
            transition: opacity 0.3s ease;
        }

        #backToTop img {
            display: block;
            width: 30px;
            height: 30px;
        }

        #backToTop:hover {
            background-color: #e64a19;
        }

        #contactBtn {
            background: rgb(173, 0, 0);
            border: none;
            color: white;
            cursor: pointer;
            font-weight: 600;
            font-family: 'Cairo', sans-serif;
            padding: 6px 12px;
            font-size: 20px;
            transition: all 0.3s ease;
        }

        #contactBtn:hover {
            color: #ff5722;
            text-decoration: underline;
        }

        .top-banner {
            background-color: #ff5722;
            color: white;
            text-align: center;
            padding: 10px 0;
            font-family: 'Cairo', sans-serif;
            font-size: 14px;
            font-weight: bold;
            position: sticky;
            top: 0;
            z-index: 9999;
        }

        .related-products {
            margin-top: 40px;
            padding: 20px;
            background-color: #f9f9f9;
            border-top: 1px solid #ddd;
        }

        .related-item {
            width: 150px;
            text-align: center;
            font-family: 'Cairo', sans-serif;
            background-color: white;
            border: 1px solid #eee;
            border-radius: 6px;
            overflow: hidden;
            transition: box-shadow 0.3s ease;
        }

        .related-item:hover {
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        .related-item img {
            width: 100%;
            height: auto;
            display: block;
        }

        .related-item .name {
            font-size: 15px;
            font-weight: bold;
            margin: 8px 0 4px;
        }

        .related-item .price {
            color: #ff5722;
            font-size: 14px;
            margin-bottom: 8px;
        }