 :root {
            --deep-blue: #0C68AD;
            --sky-blue: #46ADF9;
            --soft-sky-blue: #74B3CE;
            --davinci-grey: #383838;
            --white: #FFFFFF;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        html, body {
            background-color: #f9fbfd;
            width: 100%;
            overflow-x: hidden;
            color: var(--davinci-grey);
            line-height: 1.6;
        }
        
        
        /* قسم الفئات */
        .categories {
            padding: 5rem 5%;
            background: #f5f9fc;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            color: var(--deep-blue);
            font-size: 2.5rem;
            position: relative;
        }
        
        .section-title:after {
            content: "";
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, var(--deep-blue), var(--sky-blue));
            border-radius: 2px;
        }
        
        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }
        
        .category-card {
            border-radius: 15px;
            overflow: hidden;
            position: relative;
            height: 350px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            transform: scale(0.95);
            opacity: 0;
        }
        
        .category-card.animated {
            transform: scale(1);
            opacity: 1;
        }
        
        .category-card:hover {
            transform: scale(1.03) !important;
        }
        
        .category-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s ease;
        }
        
        .category-card:hover img {
            transform: scale(1.1);
        }
        
        .category-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(12, 104, 173, 0.8), transparent);
            padding: 2rem 1.5rem;
            color: white;
            transform: translateY(100%);
            transition: all 0.5s ease;
        }
        
        .category-card:hover .category-overlay {
            transform: translateY(0);
        }
        
        .category-overlay h3 {
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
        }

        /* قسم المنتجات لكل فئة */
        .category-products {
            margin-bottom: 4rem;
        }
        
        .category-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding: 0 10px;
        }
        
        .category-header h3 {
            color: white;
            font-size: 1.8rem;
        }
        
        .view-all {
            color: var(--sky-blue);
            text-decoration: none;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: all 0.3s ease;
        }
        
        .view-all:hover {
            transform: translateX(-5px);
        }
        
        .products-slider {
            position: relative;
            padding: 0 20px;
        }
        
        .swiper-container {
            overflow: hidden;
        }
        
        .product-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            margin: 10px;
            position: relative;
            display: flex;
            flex-direction: column;
            height: 100%;
            transform: translateY(20px);
            opacity: 0;
        }
        
        .product-card.animated {
            transform: translateY(0);
            opacity: 1;
        }
        
        .product-card:hover {
            box-shadow: 0 15px 30px rgba(12, 104, 173, 0.1);
            transform: translateY(-5px) !important;
        }
        
        .product-image {
            width: 100%;
            aspect-ratio: 1/1; 
            position: relative;
            overflow: hidden;
            background: #f9fbfd;
            flex-shrink: 0;
        }
        
        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s ease;
        }
        
        .product-card:hover .product-image img {
            transform: scale(1.05);
        }
        
        .product-tag {
            position: absolute;
            top: 15px;
            left: 15px;
            background: var(--sky-blue);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            z-index: 2;
            transition: all 0.3s ease;
        }
        
        .product-card:hover .product-tag {
            transform: translateY(-5px);
        }
        
        .wishlist-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(255, 255, 255, 0.8);
            color: #ff4757;
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.1rem;
            z-index: 2;
        }
        
        .wishlist-btn:hover {
            background: #ff4757;
            color: white;
            transform: scale(1.1);
        }
        
        .wishlist-btn.active {
            background: #ff4757;
            color: white;
        }
        
        .product-info {
            padding: 1.5rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .product-info h3 {
            color: var(--deep-blue);
            margin-bottom: 0.5rem;
            font-size: 1.3rem;
            min-height: 50px;
        }
        
        .product-price {
            color: var(--davinci-grey);
            font-weight: 600;
            font-size: 1.2rem;
            margin-bottom: 1rem;
        }
        
        
        .action-tooltip {
            position: absolute;
            bottom: -30px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--davinci-grey);
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.7rem;
            opacity: 0;
            transition: all 0.3s ease;
            white-space: nowrap;
            pointer-events: none;
        }
        
        .action-btn:hover .action-tooltip {
            opacity: 1;
            bottom: -40px;
        }
        
        
        .swiper-button-next, .swiper-button-prev {
            color: var(--sky-blue) !important;
            background: rgba(255, 255, 255, 0.8);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }
        
        .swiper-button-next:hover, .swiper-button-prev:hover {
            transform: scale(1.1);
        }
        
        .swiper-button-next:after, .swiper-button-prev:after {
            font-size: 1.2rem !important;
            font-weight: bold;
        }
        
        /* مودال تتبع الشحنة */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .tracking-modal {
            background: white;
            border-radius: 15px;
            width: 90%;
            max-width: 500px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transform: translateY(20px);
            transition: all 0.3s ease;
        }
        
        .modal-overlay.active .tracking-modal {
            transform: translateY(0);
        }
        
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .modal-header h3 {
            color: var(--deep-blue);
            font-size: 1.5rem;
        }
        
        .close-modal {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--davinci-grey);
            transition: all 0.3s ease;
        }
        
        .close-modal:hover {
            transform: rotate(90deg);
            color: var(--sky-blue);
        }
        
        .tracking-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .form-group label {
            font-weight: 500;
            color: var(--davinci-grey);
        }
        
        .form-group input {
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .form-group input:focus {
            border-color: var(--sky-blue);
            box-shadow: 0 0 0 2px rgba(70, 173, 249, 0.3);
        }
        
        .track-submit {
            background: linear-gradient(to right, var(--deep-blue), var(--sky-blue));
            color: white;
            border: none;
            padding: 15px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 1rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .track-submit:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.5s;
        }
        
        .track-submit:hover:before {
            left: 100%;
        }
        
        .track-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(12, 104, 173, 0.3);
        }
        
        
        .value-item {
            background: var(--white);
            border-radius: 10px;
            padding: 1.5rem;
            width: 180px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            transform: translateY(20px);
            opacity: 0;
        }
        
        .value-item.animated {
            transform: translateY(0);
            opacity: 1;
        }
        
        .value-item:hover {
            transform: translateY(-5px) !important;
            box-shadow: 0 10px 25px rgba(12, 104, 173, 0.1);
        }
        
        .value-item i {
            font-size: 2.5rem;
            color: var(--sky-blue);
            margin-bottom: 1rem;
            transition: all 0.3s ease;
        }
        
        .value-item:hover i {
            transform: scale(1.2);
        }
        
        .value-item h4 {
            color: var(--deep-blue);
        }
        
        /* الفوتر */
        footer {
            background: linear-gradient(135deg, var(--deep-blue) 0%, var(--sky-blue) 100%);
            color: white;
            padding: 4rem 5% 2rem;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .footer-column h3 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-column h3:after {
            content: "";
            position: absolute;
            bottom: 0;
            right: 0;
            width: 50px;
            height: 3px;
            background: var(--white);
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column ul li {
            margin-bottom: 0.8rem;
        }
        
        .footer-column ul li a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .footer-column ul li a:after {
            content: '';
            position: absolute;
            bottom: -2px;
            right: 0;
            width: 0;
            height: 1px;
            background: var(--white);
            transition: width 0.3s ease;
        }
        
        .footer-column ul li a:hover:after {
            width: 100%;
            left: 0;
            right: auto;
        }
        
        .footer-column ul li a:hover {
            color: var(--white);
            padding-right: 5px;
        }
        
        .social-icons {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        
        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: var(--white);
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }
        
        .social-icons a:hover {
            background: var(--white);
            color: var(--deep-blue);
            transform: translateY(-5px);
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
        }
        
        /* تصميم متجاوب - تحسينات للشاشات الصغيرة */
        @media (max-width: 1200px) {
            .product-image {
                height: 280px;
            }
        }
        
        @media (max-width: 992px) {
            .nav-links {
                display: none;
            }
            
            .product-image {
                height: 250px;
            }
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        @media (max-width: 768px) {
            .search-box input {
                width: 180px;
            }
            
            .action-icons {
                gap: 15px;
            }
            
            .product-image {
                height: 220px;
            }
        }
        
        @media (max-width: 576px) {
            .top-bar {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .user-actions {
                margin-top: 1rem;
                width: 100%;
                justify-content: space-between;
            }
            
            .search-box {
                width: 80%;
            }
            
            .search-box input {
                width: 100%;
            }
            
            .action-icons {
                gap: 10px;
            }
            
            .action-icon {
                font-size: 1.3rem;
            }
            
            .shipping-progress {
                flex-direction: column;
                align-items: flex-start;
                padding-left: 30px;
            }
            
            .shipping-progress:before {
                top: 0;
                left: 12px;
                width: 4px;
                height: 100%;
            }
            
            .progress-bar {
                top: 0;
                left: 12px;
                width: 4px;
                height: 65%;
            }
            
            .progress-step {
                display: flex;
                align-items: center;
                gap: 15px;
                margin-bottom: 20px;
                text-align: left;
            }
            
            .step-icon {
                margin: 0;
                flex-shrink: 0;
            }
            
            .product-image {
                height: 200px;
            }
        }
        
        /* تحسينات لعرض المنتجات على الشاشات الكبيرة */
        @media (min-width: 1200px) {
            .swiper-container {
                overflow: visible !important;
            }
            
            .swiper-wrapper {
                display: grid !important;
                grid-template-columns: repeat(4, 1fr);
                gap: 20px;
                transform: none !important;
            }
            
            .swiper-slide {
                width: auto !important;
                height: auto !important;
                margin: 0 !important;
            }
            
            .swiper-button-next, 
            .swiper-button-prev {
                display: none !important;
            }
            
            .products-slider {
                padding: 0 !important;
            }
        }

        /* أنيميشن للعناصر عند التمرير */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* أنيميشن للنبض */
        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
            100% {
                transform: scale(1);
            }
        }

        .btn-animate {
            animation: pulse 2s infinite;
        }
        
        .subtle-motion-banner {
            width: 100%;
            height: 300px;
            margin-bottom: 40px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        }
        
        .subtle-motion-banner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            animation: subtleZoom 20s infinite alternate;
        }
        
        @keyframes subtleZoom {
            0% {
                transform: scale(1);
            }
            100% {
                transform: scale(1.03);
            }
        }
        
        @media (max-width: 768px) {
            .subtle-motion-banner {
                height: 200px;
            }
        }
/* تنسيقات أساسية للهيرو */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 1200px;
    display: flex;
    overflow: hidden;
    padding: 0 5%;
    background: linear-gradient(45deg, rgba(12, 104, 173, 0.05) 0%, rgba(70, 173, 249, 0.05) 100%);
}

.hero-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.text-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

        
        .image-container {
            flex: 0 0 40%;
            position: relative;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .hero-image {
            width: 100%;
            height: 85%;
            object-fit: cover;
            border-radius: 20px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
            transform: perspective(1000px) rotateY(-10deg);
            transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 15px solid white;
            filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
        }
        
        .image-container:hover .hero-image {
            transform: perspective(1000px) rotateY(0deg);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
        }
        
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-content {
    width: 50%;
    padding: 40px;
    z-index: 2;
}

        .carousel-slide h1 {
            font-size: 4rem;
            margin-bottom: 20px;
            color: var(--deep-blue);
            line-height: 1.2;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .carousel-slide h1 span {
            color: var(--sky-blue);
            position: relative;
            display: inline-block;
        }
        
        .carousel-slide h1 span:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 5px;
            background: var(--gold);
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.8s ease;
        }
        
        .carousel-slide.active h1 span:after {
            transform: scaleX(1);
            transform-origin: left;
        }
        
.carousel-slide p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: var(--davinci-grey);
    line-height: 1.8;
    max-width: 90%;
}
       button {
    cursor: pointer;
    border: none;
    background: none;
}
 
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--deep-blue), var(--sky-blue));
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(235, 235, 235, 0.3);
}
        
        .cta-button:before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 0%;
            height: 100%;
            background: linear-gradient(45deg, var(--sky-blue), var(--deep-blue));
            transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
            z-index: -1;
        }
        
        .cta-button:hover:before {
            width: 100%;
            right: auto;
            left: 0;
        }
        
        .cta-button:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(255, 255, 255, 0.4);
        }
        
.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--sky-blue);
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.4s ease;
}

.indicator.active {
    opacity: 1;
    transform: scale(1.3);
    background: var(--deep-blue);
}

/* تأثيرات الديكور */
.hero-decoration {
    position: absolute;
    z-index: 1;
}
                
.decoration-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--sky-blue), var(--deep-blue));
    opacity: 0.1;
    animation: float 8s infinite ease-in-out;
}

.decoration-2 {
    bottom: 20%;
    right: 10%;
    width: 80px;
    height: 80px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(45deg, var(--gold), #ff9d00);
    opacity: 0.1;
    animation: rotate 20s infinite linear;
}

.decoration-3 {
    top: 30%;
    right: 15%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff4757, #ff6b81);
    opacity: 0.1;
    animation: pulse 3s infinite alternate;
}
        
.water-effect {
    position: absolute;
    bottom: -150px;
    left: 0;
    width: 100%;
    height: 300px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230C68AD" fill-opacity="0.1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    z-index: 0;
    animation: wave 12s infinite linear;
}
        
/* التصميم المتجاوب */
@media (max-width: 1200px) {
    .carousel-slide h1 {
        font-size: 3rem;
    }
    
    .carousel-slide p {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .carousel-slide {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    
    .slide-content {
        width: 100%;
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .image-container {
        width: 80%;
        height: 50%;
        order: -1;
        margin-bottom: 30px;
    }
    
    .carousel-slide h1 {
        font-size: 2.5rem;
    }
    
    .carousel-slide p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
    
    .carousel-slide h1 {
        font-size: 2rem;
    }
    
    .carousel-slide p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .image-container {
        width: 90%;
        height: 40%;
    }
    
    .decoration-1, 
    .decoration-2, 
    .decoration-3 {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 450px;
        padding: 0 15px;
    }
    
    .carousel-slide h1 {
        font-size: 1.8rem;
    }
    
    .image-container {
        height: 35%;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* أنيميشنز */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.1; }
    100% { transform: scale(1.2); opacity: 0.15; }
}

@keyframes wave {
    0% { background-position-x: 0; }
    100% { background-position-x: 1000px; }
}
.discount-percentage {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4757;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(255, 71, 87, 0.3);
}

.cart-items-container {
    margin: 20px 0;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-left: 15px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #0C68AD;
    font-weight: 700;
}

.cart-item-actions {
    display: flex;
    align-items: center;
}

.quantity-control {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.quantity-btn {
    background: #f5f5f5;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
}

.quantity-value {
    margin: 0 10px;
    min-width: 20px;
    text-align: center;
}

.remove-item {
    background: #ff4757;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
}

.cart-summary {
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-price {
    font-size: 18px;
    font-weight: 700;
}

.cart-total {
    color: #0C68AD;
    margin-right: 10px;
}

.checkout-btn {
    background: #0C68AD;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.empty-cart-message {
    text-align: center;
    padding: 40px 0;
    color: #777;
}
        .checkout-container {
            max-width: 1200px;
            margin: 30px auto;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        
        .checkout-header {
            text-align: center;
            padding: 20px 0;
            border-bottom: 1px solid #eee;
        }
        
        .checkout-header h1 {
            color: #f1f9ff;
            margin-bottom: 10px;
        }
        
        .checkout-steps {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
        }
        
        .step {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0 30px;
            position: relative;
        }
        
        .step-number {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #ddd;
            color: #666;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-bottom: 10px;
            z-index: 2;
        }
        
        .step.active .step-number {
            background-color: #0C68AD;
            color: white;
        }
        
        .step.completed .step-number {
            background-color: #4CAF50;
            color: white;
        }
        
        .step-title {
            color: #666;
            font-size: 14px;
        }
        
        .step.active .step-title {
            color: #0C68AD;
            font-weight: bold;
        }
        
        .step.completed .step-title {
            color: #4CAF50;
        }
        
        .step::after {
            content: '';
            position: absolute;
            top: 20px;
            right: -30px;
            width: 60px;
            height: 2px;
            background-color: #ddd;
            z-index: 1;
        }
        
        .step:last-child::after {
            display: none;
        }
        
        .checkout-content {
            display: flex;
            gap: 30px;
        }
        
        .checkout-form {
            flex: 2;
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .section-title {
            font-size: 20px;
            margin-bottom: 20px;
            color: #0C68AD;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }
        
        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
            transition: border 0.3s;
        }
        
        .form-control:focus {
            border-color: #0C68AD;
            outline: none;
        }
        
        .form-row {
            display: flex;
            gap: 15px;
        }
        
        .form-row .form-group {
            flex: 1;
        }
        
        .checkout-summary {
            flex: 1;
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            height: fit-content;
        }
        
        .order-summary-title {
            font-size: 18px;
            margin-bottom: 20px;
            color: #0C68AD;
        }
        
        .order-items {
            margin-bottom: 20px;
            max-height: 300px;
            overflow-y: auto;
        }
        
        .order-item {
            display: flex;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid #eee;
        }
        
        .order-item-img {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 5px;
            margin-left: 15px;
        }
        
        .order-item-details {
            flex: 1;
        }
        
        .order-item-name {
            font-weight: 500;
            margin-bottom: 5px;
        }
        
        .order-item-price {
            color: #0C68AD;
            font-weight: bold;
        }
        
        .order-item-quantity {
            color: #666;
            font-size: 14px;
        }
        
        .order-totals {
            border-top: 1px solid #eee;
            padding-top: 20px;
        }
        
        .order-total-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }
        
        .order-total-label {
            color: #666;
        }
        
        .order-total-value {
            font-weight: bold;
        }
        
        .order-grand-total {
            font-size: 18px;
            color: #0C68AD;
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid #eee;
        }
        
        .checkout-btn {
            background: #0C68AD;
            color: white;
            border: none;
            padding: 15px;
            width: 100%;
            border-radius: 5px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            margin-top: 20px;
            transition: background 0.3s;
        }
        
        .checkout-btn:hover {
            background: #095a94;
        }
        
        .payment-methods {
            margin-top: 30px;
        }
        
        .payment-method {
            display: flex;
            align-items: center;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .payment-method:hover {
            border-color: #0C68AD;
        }
        
        .payment-method.selected {
            border-color: #0C68AD;
            background-color: #f0f8ff;
        }
        
        .payment-method input {
            margin-left: 10px;
        }
        
        .payment-method-label {
            display: flex;
            align-items: center;
            width: 100%;
        }
        
        .payment-method-icon {
            margin-right: 15px;
            font-size: 24px;
            color: #666;
        }
        
        .payment-method-info {
            flex: 1;
        }
        
        .payment-method-title {
            font-weight: 500;
            margin-bottom: 5px;
        }
        
        .payment-method-desc {
            color: #666;
            font-size: 14px;
        }
        
        @media (max-width: 768px) {
            .checkout-content {
                flex-direction: column;
            }
            
            .checkout-steps {
                flex-wrap: wrap;
            }
            
            .step::after {
                display: none;
            }
        }
        .product-details {
            padding: 50px 5%;
            background: #f9fbfd;
        }
        .product-container {
            display: flex;
            gap: 40px;
            margin-bottom: 50px;
        }
        .product-gallery {
            flex: 1;
            position: relative;
        }
        .main-image {
            width: 100%;
            border-radius: 15px;
            margin-bottom: 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .thumbnail-container {
            display: flex;
            gap: 10px;
        }
        .thumbnail {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.3s ease;
        }
        .thumbnail:hover, .thumbnail.active {
            border-color: #0C68AD;
        }
        .product-info {
            flex: 1;
        }
        .product-title {
            color: #0C68AD;
            font-size: 2.2rem;
            margin-bottom: 15px;
        }
        .product-meta {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
            color: #666;
        }
        .product-price {
            margin: 20px 0;
        }
        .discounted-price {
            font-size: 2rem;
            color: #0C68AD;
            font-weight: 700;
        }
        .original-price {
            font-size: 1.5rem;
            text-decoration: line-through;
            color: #999;
            margin-right: 15px;
        }
        .normal-price {
            font-size: 2rem;
            color: #0C68AD;
            font-weight: 700;
        }
        .discount-percentage {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #ff4757;
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 1rem;
            font-weight: 500;
            z-index: 2;
            box-shadow: 0 3px 10px rgba(255, 71, 87, 0.3);
        }
        .quantity-selector {
            display: flex;
            align-items: center;
            border: 1px solid #ddd;
            border-radius: 8px;
            overflow: hidden;
        }
        .quantity-btn {
            background: #f5f5f5;
            border: none;
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
            cursor: pointer;
        }
        .quantity-input {
            width: 60px;
            height: 40px;
            text-align: center;
            border: none;
            border-left: 1px solid #ddd;
            border-right: 1px solid #ddd;
        }
        .wishlist-btn {
            background: #f5f5f5;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1.2rem;
            color: #ff4757;
            transition: all 0.3s ease;
        }
        .wishlist-btn.active {
            background: #ff4757;
            color: white;
        }
        .product-tabs {
            margin-top: 50px;
        }
        .tab-header {
            display: flex;
            border-bottom: 1px solid #ddd;
        }
        .tab-btn {
            padding: 15px 25px;
            background: none;
            border: none;
            cursor: pointer;
            font-weight: 600;
            color: #666;
            position: relative;
        }
        .tab-btn.active {
            color: #0C68AD;
        }
        .tab-btn.active:after {
            content: '';
            position: absolute;
            bottom: -1px;
            right: 0;
            width: 100%;
            height: 3px;
            background: #0C68AD;
        }
        .tab-content {
            padding: 30px 0;
            display: none;
        }
        .tab-content.active {
            display: block;
        }
        .related-products {
            padding: 50px 5%;
            background: #f5f9fc;
        }
        .section-title {
            text-align: center;
            margin-bottom: 40px;
            color: #0C68AD;
            font-size: 2rem;
            position: relative;
        }
        @media (max-width: 992px) {
            .product-container {
                flex-direction: column;
            }
        }
        /* إضافة تنسيق نسبة الخصم */
        .discount-percentage {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #ff4757;
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            z-index: 2;
            box-shadow: 0 3px 10px rgba(255, 71, 87, 0.3);
        }
        
        .original-price {
            text-decoration: line-through;
            color: #999;
            margin-left: 10px;
            font-size: 0.9em;
        }
        
        .discounted-price {
            color: #0C68AD;
            font-weight: 700;
            font-size: 1.2rem;
        }
        
        .normal-price {
            color: #0C68AD;
            font-weight: 700;
            font-size: 1.2rem;
        }

        /* تنسيقات المودال */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .product-modal {
            background: white;
            border-radius: 10px;
            width: 90%;
            max-width: 900px;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            padding: 30px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        }
        
        .close-modal {
            position: absolute;
            top: 15px;
            left: 15px;
            font-size: 1.5rem;
            background: none;
            border: none;
            cursor: pointer;
            color: #333;
        }
        
        .modal-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }
        
        .modal-product-image {
            width: 100%;
            height: 400px;
            object-fit: contain;
            border-radius: 10px;
            background: #f9f9f9;
        }
        
        .modal-product-info {
            padding: 20px;
        }
        
        .modal-product-title {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: #333;
        }
        
        .modal-product-price {
            font-size: 1.5rem;
            margin: 20px 0;
            color: #0C68AD;
            font-weight: 700;
        }
        
        .modal-product-desc {
            line-height: 1.8;
            color: #555;
            margin-bottom: 20px;
        }
        
        @media (max-width: 768px) {
            .modal-content {
                grid-template-columns: 1fr;
            }
            
            .modal-product-image {
                height: 300px;
            }
        }
        /* تنسيقات عامة للهيدر */
        header {
            background: linear-gradient(135deg, var(--deep-blue) 0%, var(--sky-blue) 100%);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .header-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* الجزء العلوي من الهيدر - سطر واحد على الشاشات الكبيرة */
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
        }
        
        .logo-container {
            flex: 0 0 auto;
        }
        
        .logo-image {
            height: 50px;
            transition: all 0.3s ease;
        }
        
        /* شريط البحث */
        .search-box {
            position: relative;
            flex: 1;
            max-width: 500px;
            margin: 0 20px;
        }
        
        .search-icon {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #0C68AD;
        }
        
        .search-input {
            width: 100%;
            padding: 12px 40px 12px 15px;
            border-radius: 30px;
            border: none;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .search-input:focus {
            outline: none;
            box-shadow: 0 0 0 2px rgba(70, 173, 249, 0.5);
        }
                .cart-icon {
            color: white !important;
        }

        .action-icons {
            display: flex;
            align-items: center;
            gap: 15px;
            flex: 0 0 auto;
        }
        
        .action-icon {
            position: relative;
            color: white;
            font-size: 1.3rem;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .action-icon:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .action-tooltip {
            position: absolute;
            top: 100%;
            right: 50%;
            transform: translateX(50%);
            background: #333;
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.8rem;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            pointer-events: none;
        }
        
        .action-icon:hover .action-tooltip {
            opacity: 1;
            visibility: visible;
            top: 120%;
        }
        
        .cart-count {
            position: absolute;
            top: -5px;
            left: -5px;
            background: white;
            color: #0C68AD;
            font-size: 0.7rem;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }
        
        /* القائمة للشاشات الكبيرة */
        .desktop-nav {
            display: block;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .nav-links {
            display: flex;
            justify-content: center;
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .nav-links li {
            margin: 0 15px;
        }
        
        .nav-links a {
            color: white;
            text-decoration: none;
            font-size: 1.1rem;
            padding: 12px 0;
            display: block;
            position: relative;
            transition: all 0.3s ease;
        }
        
        .nav-links a:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 0;
            height: 2px;
            background: white;
            transition: width 0.3s ease;
        }
        
        .nav-links a:hover:after {
            width: 100%;
            left: 0;
        }
        
        /* زر القائمة للجوال */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 5px;
            margin-right: 10px;
        }
        
        /* القائمة المنسدلة للجوال */
        .mobile-nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .mobile-nav {
            position: fixed;
            top: 0;
            right: -100%;
            width: 90%;
            max-width: 350px;
            height: 100vh;
            background: white;
            z-index: 1000;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
        }
        
        .mobile-nav-header {
            display: flex;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .mobile-search {
            flex: 1;
            margin: 0;
        }
        
        .close-mobile-menu {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: #333;
            margin-right: 10px;
            cursor: pointer;
        }
        
        .mobile-nav-links {
            list-style: none;
            padding: 0;
            margin: 0;
            flex: 1;
            overflow-y: auto;
        }
        
        .mobile-nav-links li a {
            display: block;
            padding: 15px 20px;
            color: #333;
            text-decoration: none;
            border-bottom: 1px solid #eee;
            transition: all 0.3s ease;
        }
        
        .mobile-nav-links li a:hover {
            background: #f5f5f5;
            color: #0C68AD;
        }
        
        .mobile-actions {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            padding: 15px;
            border-top: 1px solid #eee;
        }
        
        .mobile-actions .action-icon {
            color: #333;
            background: #f5f5f5;
            width: auto;
            height: auto;
            padding: 10px;
            border-radius: 8px;
            flex-direction: column;
            font-size: 1rem;
        }
        
        .mobile-actions .action-icon i {
            margin-bottom: 5px;
            font-size: 1.2rem;
        }
        
        .mobile-actions .action-icon span {
            font-size: 0.9rem;
        }
        
        .mobile-actions .cart-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #000000;
            text-decoration: none;
            position: relative;
        }
        
        .mobile-actions .cart-count {
            top: 0;
            left: 50%;
            transform: translateX(50%);
        }
        
        /* حالة القائمة المفتوحة */
        .mobile-nav.active {
            right: 0;
        }
        
        .mobile-nav-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        /* التصميم المتجاوب */
        @media (max-width: 1200px) {
            .search-box {
                max-width: 400px;
            }
        }
        
        @media (max-width: 992px) {
            .desktop-nav,
            .action-icons {
                display: none;
            }
            
            .mobile-menu-toggle {
                display: block;
            }
            
            .header-top {
                padding: 10px 0;
            }
            
            .logo-image {
                height: 40px;
            }
        }
        
        @media (max-width: 768px) {
            .search-box {
                margin: 0 10px;
            }
            
            .search-input {
                padding: 10px 35px 10px 15px;
            }
        }
        
        @media (max-width: 576px) {
            .header-container {
                padding: 0 15px;
            }
            
            .logo-image {
                height: 35px;
            }
            
            .mobile-menu-toggle {
                font-size: 1.3rem;
            }
            
            .mobile-nav {
                width: 85%;
            }
        }
        
        /* تنسيقات مودال تسجيل الدخول */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .login-modal {
            background: white;
            border-radius: 15px;
            width: 90%;
            max-width: 500px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transform: translateY(20px);
            transition: all 0.3s ease;
        }
        
        .modal-overlay.active .login-modal {
            transform: translateY(0);
        }
        
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .modal-header h3 {
            color: var(--deep-blue);
            font-size: 1.5rem;
        }
        
        .close-modal {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--davinci-grey);
            transition: all 0.3s ease;
        }
        
        .close-modal:hover {
            transform: rotate(90deg);
            color: var(--sky-blue);
        }
        
        .login-form {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .form-group label {
            font-weight: 500;
            color: var(--davinci-grey);
        }
        
        .form-group input {
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .form-group input:focus {
            border-color: var(--sky-blue);
            box-shadow: 0 0 0 2px rgba(70, 173, 249, 0.3);
        }
        
        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: -0.5rem 0;
        }
        
        .remember-me {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
        }
        
        .forgot-password {
            color: var(--sky-blue);
            font-size: 0.9rem;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .forgot-password:hover {
            text-decoration: underline;
        }
        
        .login-submit {
            background: linear-gradient(to right, var(--deep-blue), var(--sky-blue));
            color: white;
            border: none;
            padding: 15px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 1rem;
            transition: all 0.3s ease;
        }
        
        .login-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(12, 104, 173, 0.3);
        }
        
        .register-link {
            text-align: center;
            margin-top: 1rem;
            font-size: 0.9rem;
        }
        
        .register-link a {
            color: var(--sky-blue);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .register-link a:hover {
            text-decoration: underline;
        }
        /* إضافة تنسيق نسبة الخصم */
        .discount-percentage {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #ff4757;
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            z-index: 2;
            box-shadow: 0 3px 10px rgba(255, 71, 87, 0.3);
        }
        
        .original-price {
            text-decoration: line-through;
            color: #999;
            margin-left: 10px;
            font-size: 0.9em;
        }
        
        .discounted-price {
            color: #0C68AD;
            font-weight: 700;
            font-size: 1.2rem;
        }
        
        .normal-price {
            color: #0C68AD;
            font-weight: 700;
            font-size: 1.2rem;
        }

        /* تنسيقات المودال */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .product-modal {
            background: white;
            border-radius: 10px;
            width: 90%;
            max-width: 900px;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            padding: 30px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        }
        
        .close-modal {
            position: absolute;
            top: 15px;
            left: 15px;
            font-size: 1.5rem;
            background: none;
            border: none;
            cursor: pointer;
            color: #333;
        }
        
        .modal-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }
        
        .modal-product-image {
            width: 100%;
            height: 400px;
            object-fit: contain;
            border-radius: 10px;
            background: #f9f9f9;
        }
        
        .modal-product-info {
            padding: 20px;
        }
        
        .modal-product-title {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: #333;
        }
        
        .modal-product-price {
            font-size: 1.5rem;
            margin: 20px 0;
            color: #0C68AD;
            font-weight: 700;
        }
        
        .modal-product-desc {
            line-height: 1.8;
            color: #555;
            margin-bottom: 20px;
        }
        
        @media (max-width: 768px) {
            .modal-content {
                grid-template-columns: 1fr;
            }
            
            .modal-product-image {
                height: 300px;
            }
        }
        /* تنسيقات مخصصة للصفحة */
        .category-header {
            background: linear-gradient(135deg, var(--deep-blue) 0%, var(--sky-blue) 100%);
            color: white;
            padding: 30px;
            border-radius: 15px;
            margin-bottom: 40px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(12, 104, 173, 0.2);
        }
        
        .category-header h1 {
            margin: 0;
            font-size: 2.5rem;
            font-weight: 700;
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .product-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            position: relative;
        }
        
        .product-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(12, 104, 173, 0.2);
        }
        
        .product-image {
            width: 100%;
            height: 280px;
            position: relative;
            overflow: hidden;
            background: #f9fbfd;
        }
        
        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 20px;
            transition: transform 0.5s ease;
        }
        
        .product-card:hover .product-image img {
            transform: scale(1.05);
        }
        
        .discount-percentage {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #ff4757;
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            z-index: 2;
            box-shadow: 0 3px 10px rgba(255, 71, 87, 0.3);
        }
        
        .product-tag {
            position: absolute;
            top: 15px;
            left: 15px;
            background: var(--sky-blue);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            z-index: 2;
        }
        
        .product-info {
            padding: 20px;
            border-top: 1px solid #eee;
        }
        
        .product-info h3 {
            margin: 0 0 10px;
            font-size: 1.2rem;
            color: var(--davinci-grey);
            min-height: 60px;
        }
        
        .product-price {
            margin: 15px 0;
        }
        
        .original-price {
            text-decoration: line-through;
            color: #999;
            margin-left: 10px;
            font-size: 1rem;
        }
        
        .discounted-price {
            color: var(--deep-blue);
            font-weight: 700;
            font-size: 1.4rem;
        }
        
        .normal-price {
            color: var(--deep-blue);
            font-weight: 700;
            font-size: 1.4rem;
        }
        
        
        .category-banner {
            width: 100%;
            height: 300px;
            object-fit: fill;
            border-radius: 15px;
            margin-bottom: 40px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .no-products {
            text-align: center;
            padding: 60px;
            font-size: 1.3rem;
            color: #666;
            grid-column: 1 / -1;
        }
        
        @media (max-width: 768px) {
            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
                gap: 20px;
            }
            
            .category-header h1 {
                font-size: 2rem;
            }
            
            .product-image {
                height: 240px;
            }
        }
        .products-page {
            padding: 50px 5%;
            background: #f9fbfd;
        }
        
        .page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .page-title {
            color: #0C68AD;
            font-size: 2rem;
            margin: 0;
        }
        
        .search-filter-container {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }
        
        .search-box {
            position: relative;
            min-width: 250px;
        }
        
        .search-box input {
            padding: 10px 15px 10px 40px;
            border-radius: 30px;
            border: 1px solid #ddd;
            outline: none;
            width: 100%;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .search-box input:focus {
            border-color: #0C68AD;
            box-shadow: 0 0 0 2px rgba(12, 104, 173, 0.3);
        }
        
        .search-box i {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
        }
        
        .filter-select {
            padding: 10px 15px;
            border-radius: 30px;
            border: 1px solid #ddd;
            outline: none;
            font-size: 1rem;
            background: white;
            cursor: pointer;
            min-width: 180px;
        }
        
        .filter-select:focus {
            border-color: #0C68AD;
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 25px;
            margin-bottom: 50px;
        }
        
        .product-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(12, 104, 173, 0.1);
        }
        
        .product-image {
            width: 100%;
            aspect-ratio: 1/1;
            position: relative;
            overflow: hidden;
            background: #f9fbfd;
        }
        
        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s ease;
        }
        
        .product-card:hover .product-image img {
            transform: scale(1.05);
        }
        
        .product-tag {
            position: absolute;
            top: 15px;
            left: 15px;
            background: #46ADF9;
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            z-index: 2;
        }
        
        .wishlist-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(255, 255, 255, 0.8);
            color: #ff4757;
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.1rem;
            z-index: 2;
        }
        
        .wishlist-btn:hover {
            background: #ff4757;
            color: white;
            transform: scale(1.1);
        }
        
        .wishlist-btn.active {
            background: #ff4757;
            color: white;
        }
        
        .product-info {
            padding: 1.5rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .product-info h3 {
            color: #0C68AD;
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
            min-height: 50px;
        }
        
        .product-category {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 10px;
        }
        
        .product-price {
            margin-top: auto;
        }
        
        .discounted-price {
            color: #0C68AD;
            font-weight: 700;
            font-size: 1.2rem;
        }
        
        .original-price {
            text-decoration: line-through;
            color: #999;
            margin-left: 10px;
            font-size: 0.9rem;
        }
        
        .normal-price {
            color: #0C68AD;
            font-weight: 700;
            font-size: 1.2rem;
        }
        
        .discount-percentage {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #ff4757;
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            z-index: 2;
            box-shadow: 0 3px 10px rgba(255, 71, 87, 0.3);
        }
        
        
        .pagination {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 30px;
        }
        
        .page-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: white;
            color: #0C68AD;
            text-decoration: none;
            font-weight: 600;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }
        
        .page-link:hover, .page-link.active {
            background: #0C68AD;
            color: white;
            transform: translateY(-3px);
        }
        
        .page-link.disabled {
            opacity: 0.5;
            pointer-events: none;
        }
        
        .no-products {
            text-align: center;
            padding: 50px 0;
            grid-column: 1 / -1;
        }
        
        .no-products i {
            font-size: 3rem;
            color: #ddd;
            margin-bottom: 20px;
        }
        
        .no-products p {
            color: #666;
            font-size: 1.2rem;
        }
        
        @media (max-width: 768px) {
            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
                gap: 15px;
            }
            
            .page-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .search-filter-container {
                width: 100%;
            }
            
            .search-box, .filter-select {
                flex-grow: 1;
            }
        }
        
        @media (max-width: 480px) {
            .products-grid {
                grid-template-columns: 1fr 1fr;
            }
            
            .product-info h3 {
                font-size: 1rem;
                min-height: 40px;
            }
        }
    /* أنماط القائمة المنسدلة للمستخدم */
    .user-profile {
        position: relative;
        display: flex;
        align-items: center;
    }
    
    .user-greeting {
        padding: 8px 15px;
        border-radius: 20px;
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
    }
    
    .user-greeting:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    .user-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        width: 200px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        transform: translateY(10px);
    }
    
    .user-profile:hover .user-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .dropdown-item {
        display: block;
        padding: 10px 15px;
        color: var(--davinci-grey);
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .dropdown-item:hover {
        background-color: #f5f5f5;
        color: var(--deep-blue);
    }
    
    .dropdown-item i {
        margin-left: 8px;
    }
    
    /* أنماط الجوال */
    .user-profile-mobile {
        width: 100%;
    }
    
    .user-greeting-mobile {
        padding: 10px 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--davinci-grey);
        border-bottom: 1px solid #eee;
    }
    
    .mobile-user-menu {
        display: none;
    }
    
    .mobile-user-menu.show {
        display: block;
    }
    
    .mobile-menu-item {
        display: block;
        padding: 12px 20px;
        color: var(--davinci-grey);
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-item:hover {
        background-color: #f5f5f5;
        color: var(--deep-blue);
    }
    
    .mobile-menu-item i {
        margin-left: 8px;
    }
/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.cart-btn {
    background-color: #0C68AD;
    color: white;
    animation: pulse 2s infinite;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

        .product-details-container {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            padding: 40px 5%;
        }
        
        .product-gallery {
            flex: 1;
            min-width: 300px;
        }
        
        .product-info {
            flex: 1;
            min-width: 300px;
        }
        
        .main-image {
            width: 100%;
            border-radius: 8px;
            margin-bottom: 15px;
        }
        
        .product-title {
            font-size: 28px;
            margin-bottom: 15px;
            color: #2c3e50;
        }
        
        .product-meta {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
            color: #666;
            font-size: 14px;
        }
        
        .product-price {
            margin: 20px 0;
        }
        
        .discounted-price {
            font-size: 24px;
            font-weight: bold;
            color: #e74c3c;
        }
        
        .original-price {
            text-decoration: line-through;
            color: #999;
            margin-right: 10px;
        }
        
        .discount-badge {
            background: #e74c3c;
            color: white;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 14px;
        }
        
        .product-description {
            line-height: 1.6;
            margin: 25px 0;
        }
        
        
        @media (max-width: 768px) {
            .product-details-container {
                flex-direction: column;
            }
            
        }
button {
    cursor: pointer;
    border: none;
    background: none;
}
.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: space-between;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48%;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
}

.add-to-cart {
    background: linear-gradient(to right, #0C68AD, #46ADF9);
    color: white;
    border: none;
    box-shadow: 0 2px 5px rgba(12, 104, 173, 0.2);
    flex: 1;
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(12, 104, 173, 0.3);
}

.add-to-cart:active {
    transform: translateY(0);
    box-shadow: 0 2px 3px rgba(12, 104, 173, 0.3);
}

.view-details {
    background: white;
    color: #0C68AD;
    border: 1px solid #0C68AD;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    flex: 1;
}

.view-details:hover {
    background: rgba(12, 104, 173, 0.05);
    transform: translateY(-2px);
}

.view-details:active {
    transform: translateY(0);
}

.action-btn i {
    margin-left: 5px;
}

/* حالة عدم وجود منتجات */
.no-products {
    text-align: center;
    padding: 30px 0;
    grid-column: 1 / -1;
}

.no-products i {
    font-size: 2.5rem;
    color: #ddd;
    margin-bottom: 15px;
}

.no-products p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 15px;
}
/* تنسيقات عداد الكمية */
.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    height: 40px;
}

.quantity-btn {
    width: 30px;
    height: 100%;
    background: #f5f5f5;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #e0e0e0;
}

.quantity-btn:active {
    background: #d0d0d0;
}

.quantity-value {
    width: 40px;
    text-align: center;
    font-weight: 600;
}

/* التكيف مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .product-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .quantity-control {
        width: 100%;
    }
    
    .product-actions .btn {
        width: 100%;
    }
}