* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --black: #000000;
    --gold: #D4AF37;
    --dark-gold: #B8860B;
    --light-gold: #F5E6B3;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #666666;
    --white: #ffffff;
}
html{
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    min-height: 100vh;
    color: var(--white);
    
}

.navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--gold);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--gold), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-links a:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.logo {
    text-align: center;
    margin-top: 120px;
    padding: 2rem;
}

.logo img {
    max-width: 410px;
    height: 300px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    border: 3px solid var(--gold);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 3rem 0;
    background: linear-gradient(45deg, var(--gold), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--light-gold));
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
    border-color: var(--light-gold);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
    border: 2px solid var(--gold);
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.product-price {
    color: var(--light-gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--light-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-sizes {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.size-btn {
    padding: 0.3rem 0.8rem;
    border: 2px solid var(--gold);
    border-radius: 10px;
    background: transparent;
    color: var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.size-btn:hover {
    background: var(--gold);
    color: var(--black);
}

.size-btn.selected {
    background: var(--gold);
    color: var(--black);
    transform: scale(1.1);
}

.order-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, var(--gold), var(--dark-gold));
    color: var(--black);
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    background: linear-gradient(45deg, var(--dark-gold), var(--gold));
}

/* تحديث أنماط قسم التواصل */
.contact-section {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
    margin: 4rem 2rem;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--light-gold));
}

.contact-title {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    color: var(--black);
    text-decoration: none;
    border-radius: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-btn.whatsapp {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.social-btn.telegram {
    background: linear-gradient(45deg, #0088cc, #005580);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #E1306C, #C13584);
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-color: var(--gold);
}

.social-icon {
    flex-shrink: 0;
}

.contact-info {
    margin-top: 2rem;
    color: var(--light-gray);
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 15px;
    display: inline-block;
    border: 1px solid var(--gold);
}

.contact-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .contact-section {
        margin: 2rem 1rem;
        padding: 2rem 1rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-btn {
        width: 20%;
        max-width: 20px;
    }
}

.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .contact-section {
        margin: 2rem 1rem;
        padding: 2rem 1rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-btn {
        width: 100%;
        max-width: 250px;
    }

    .logo {
        margin-top: 140px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .nav-links a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
/* أنماط نموذج الطلب */
.order-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.order-modal.hidden {
    display: none;
}

.order-form-container {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    border: 2px solid var(--gold);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3);
    position: relative;
}

.order-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--light-gold));
}

.order-form-title {
    color: var(--gold);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.order-form {
    display: grid;
    gap: 1rem;
}

.order-form-group {
    display: flex;
    flex-direction: column;
}

.order-form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gold);
    text-align: right;
}

.order-form-group input,
.order-form-group select {
    padding: 0.8rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--dark-gray);
    color: var(--white);
}

.order-form-group input:focus,
.order-form-group select:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.order-form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.submit-order-btn,
.cancel-order-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-order-btn {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
}

.submit-order-btn:hover {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    transform: scale(1.05);
}

.cancel-order-btn {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
}

.cancel-order-btn:hover {
    background: linear-gradient(45deg, #c0392b, #e74c3c);
    transform: scale(1.05);
}

.close-order-modal {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-order-modal:hover {
    background: var(--gold);
    color: var(--black);
}
.order-form-group textarea {
    padding: 0.8rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--dark-gray);
    color: var(--white);
    resize: vertical;
    min-height: 80px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.order-form-group textarea:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.order-form-group textarea::placeholder {
    color: var(--light-gray);
}
/* أنماط معرض الصور الإضافية */
.products-images-gallery {
    position: relative;
    margin-bottom: 1rem;
}

.main-product-image {
    transition: opacity 0.3s ease;
}

.products-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--dark-gray);
    overflow-x: auto;
}

.product-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--gold);
    transform: scale(1.1);
}

.images-count-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--gold);
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}
/* أضف هذا الكود في ملف style.css */

/* تحسينات بطاقة المنتج */
.product-card {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--light-gold));
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
    border-color: var(--light-gold);
}

/* تحسين معرض الصور */
.products-images-gallery {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
}

.main-product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid var(--gold);
}

.products-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin-top: 0.5rem;
    overflow-x: auto;
}

.product-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--gold);
    transform: scale(1.1);
}

.images-count-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--gold);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    backdrop-filter: blur(5px);
}

/* تحسين محتوى البطاقة */
.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-description {
    color: var(--light-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
    flex: 1;
    font-size: 0.95rem;
}

.product-price {
    color: var(--light-gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    background: rgba(212, 175, 55, 0.1);
    padding: 0.5rem;
    border-radius: 10px;
    border: 1px solid var(--gold);
}

/* تحسين أزرار المقاسات والألوان */
.product-sizes {
    margin-bottom: 1rem;
}

.product-sizes strong,
.product-colors strong {
    display: block;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.sizes-container,
.colors-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.size-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--gold);
    border-radius: 10px;
    background: transparent;
    color: var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 50px;
}

.size-btn:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
}

.size-btn.selected {
    background: var(--gold);
    color: var(--black);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
}

.color-btn {
    padding: 0.5rem 1rem;
    border: 2px solid;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.color-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 25px;
}

.color-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.color-btn.selected {
    border-color: var(--gold) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    transform: scale(1.05);
}

/* زر الطلب المحسن */
.order-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, var(--gold), var(--dark-gold));
    color: var(--black);
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.order-btn::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: left 0.5s;
}

.order-btn:hover::before {
    left: 100%;
}

.order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(45deg, var(--dark-gold), var(--gold));
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .product-card {
        padding: 1rem;
    }

    .main-product-image {
        height: 200px;
    }

    .product-thumbnail {
        width: 40px;
        height: 40px;
    }

    .size-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        min-width: 45px;
    }

    .color-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }

    .product-title {
        font-size: 1.1rem;
    }

    .product-price {
        font-size: 1.3rem;
    }
}

/* تأثيرات إضافية */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeIn 0.6s ease-out;
}

/* شريط التمرير للمعرض المصغر */
.products-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.products-thumbnails::-webkit-scrollbar-track {
    background: var(--dark-gray);
    border-radius: 3px;
}

.products-thumbnails::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

.products-thumbnails::-webkit-scrollbar-thumb:hover {
    background: var(--light-gold);
}
/* تحسينات بطاقات المنتجات - النسخة المنظمة */
.product-card {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--light-gold));
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
    border-color: var(--light-gold);
}

/* تحسين معرض الصور */
.products-images-gallery {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    order: 1;
}

.main-product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid var(--gold);
}

.products-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    margin-top: 0.8rem;
    overflow-x: auto;
    justify-content: center;
}

.product-thumbnail {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--gold);
    transform: scale(1.1);
}

.images-count-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.85);
    color: var(--gold);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    backdrop-filter: blur(5px);
    border: 1px solid var(--gold);
}

/* تحسين محتوى البطاقة */
.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    order: 2;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-align: center;
    order: 1;
}

.product-description {
    color: var(--light-gray);
    line-height: 1.6;
    flex: 1;
    font-size: 0.95rem;
    text-align: center;
    order: 2;
    margin-bottom: 0.5rem;
}

.product-price {
    color: var(--light-gold);
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    background: rgba(212, 175, 55, 0.1);
    padding: 0.8rem;
    border-radius: 12px;
    border: 1px solid var(--gold);
    order: 3;
    margin: 0.5rem 0;
}

/* تحسين أقسام المقاسات والألوان */
.product-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    order: 4;
    margin: 1rem 0;
}

.product-sizes,
.product-colors {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.product-sizes strong,
.product-colors strong {
    display: block;
    color: var(--gold);
    margin-bottom: 0.8rem;
    font-size: 1rem;
    text-align: center;
}

.sizes-container,
.colors-container {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
}

.size-btn {
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--gold);
    border-radius: 10px;
    background: transparent;
    color: var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 55px;
}

.size-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.size-btn.selected {
    background: var(--gold);
    color: var(--black);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.color-btn {
    padding: 0.6rem 1rem;
    border: 2px solid;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    min-width: 70px;
}

.color-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 25px;
}

.color-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.color-btn.selected {
    border-color: var(--gold) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    transform: scale(1.08);
}

/* زر الطلب المحسن */
.order-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(45deg, var(--gold), var(--dark-gold));
    color: var(--black);
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    order: 5;
    position: relative;
    overflow: hidden;
}

.order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.order-btn:hover::before {
    left: 100%;
}

.order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
    background: linear-gradient(45deg, var(--dark-gold), var(--gold));
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .product-card {
        padding: 1.2rem;
    }

    .main-product-image {
        height: 220px;
    }

    .product-thumbnail {
        width: 45px;
        height: 45px;
    }

    .product-title {
        font-size: 1.2rem;
    }

    .product-price {
        font-size: 1.4rem;
        padding: 0.7rem;
    }

    .size-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        min-width: 50px;
    }

    .color-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
        min-width: 65px;
    }

    .product-features {
        gap: 1rem;
    }

    .product-sizes,
    .product-colors {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    .product-card {
        padding: 1rem;
    }

    .main-product-image {
        height: 200px;
    }

    .sizes-container,
    .colors-container {
        gap: 0.4rem;
    }

    .size-btn {
        padding: 0.4rem 0.8rem;
        min-width: 45px;
        font-size: 0.8rem;
    }

    .color-btn {
        padding: 0.4rem 0.7rem;
        min-width: 60px;
        font-size: 0.7rem;
    }
}

/* تأثيرات إضافية */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease-out;
}

/* شريط التمرير للمعرض المصغر */
.products-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.products-thumbnails::-webkit-scrollbar-track {
    background: var(--dark-gray);
    border-radius: 3px;
}

.products-thumbnails::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

.products-thumbnails::-webkit-scrollbar-thumb:hover {
    background: var(--light-gold);
}

/* تدرج خلفية الأزرار الملونة */
.color-btn {
    background: linear-gradient(135deg, currentColor 0%, rgba(0, 0, 0, 0.3) 100%);
}
/* تحسينات بطاقات المنتجات - بدون المقاسات والألوان */
.product-card {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--light-gold));
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
    border-color: var(--light-gold);
}

/* تحسين معرض الصور */
.products-images-gallery {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
}

.main-product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid var(--gold);
}

.products-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    margin-top: 0.8rem;
    overflow-x: auto;
    justify-content: center;
}

.product-thumbnail {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--gold);
    transform: scale(1.1);
}

.images-count-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.85);
    color: var(--gold);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    backdrop-filter: blur(5px);
    border: 1px solid var(--gold);
}

/* تحسين محتوى البطاقة */
.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-align: center;
}

.product-description {
    color: var(--light-gray);
    line-height: 1.6;
    flex: 1;
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.product-price {
    color: var(--light-gold);
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    background: rgba(212, 175, 55, 0.1);
    padding: 0.8rem;
    border-radius: 12px;
    border: 1px solid var(--gold);
    margin: 0.5rem 0;
}

/* زر الطلب المحسن */
.order-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(45deg, var(--gold), var(--dark-gold));
    color: var(--black);
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.order-btn:hover::before {
    left: 100%;
}

.order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
    background: linear-gradient(45deg, var(--dark-gold), var(--gold));
}
/* إصلاح تخطيط نموذج الطلب للجوال */
.order-form-container.compact {
    max-width: 500px;
    padding: 1.5rem;
    width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
}

.compact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    width: 100%;
    align-items: flex-start;
}

.order-form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.order-form-group.full-width {
    flex: 0 0 100%;
}

.order-form-group.half-width {
    flex: 1;
    min-width: 0;
}

.order-form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gold);
    text-align: right;
    font-size: 0.9rem;
    white-space: nowrap;
}

.order-form-group input,
.order-form-group select,
.order-form-group textarea {
    padding: 0.8rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--dark-gray);
    color: var(--white);
    width: 100%;
}

.order-form-group input:focus,
.order-form-group select:focus,
.order-form-group textarea:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.order-form-group textarea {
    resize: vertical;
    min-height: 70px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.order-form-buttons.compact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
}

.order-form-buttons button {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .order-form-container.compact {
        margin: 1rem auto;
        padding: 1.5rem;
        width: 95vw;
    }

    .form-row {
        flex-direction: row;
        gap: 0.8rem;
        flex-wrap: nowrap;
        overflow-x: visible;
    }

    .order-form-group.half-width {
        flex: 1;
        min-width: calc(50% - 0.4rem);
    }

    .compact-form {
        gap: 1.2rem;
    }

    .order-form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .order-form-group input,
    .order-form-group select {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }

    .order-form-buttons.compact-buttons {
        flex-direction: row;
        gap: 0.8rem;
    }

    .order-form-buttons button {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .order-form-container.compact {
        margin: 0.5rem auto;
        padding: 1.2rem;
    }

    .form-row {
        gap: 0.6rem;
    }

    .order-form-group.half-width {
        min-width: calc(50% - 0.3rem);
    }

    .order-form-group label {
        font-size: 0.8rem;
    }

    .order-form-group input,
    .order-form-group select {
        padding: 0.6rem 0.7rem;
        font-size: 0.85rem;
    }

    .order-form-group textarea {
        min-height: 60px;
        font-size: 0.85rem;
    }
}

/* تحسينات خاصة لحقول الهاتف */
.order-form-group input[type="tel"] {
    direction: ltr;
    text-align: right;
}

/* إصلاح مشكلة العرض على الشاشات الصغيرة جداً */
@media (max-width: 360px) {
    .form-row {
        flex-direction: column;
        gap: 0.8rem;
    }

    .order-form-group.half-width {
        min-width: 100%;
    }
}

/* تأكد من أن الحقول المخفية لا تأخذ مساحة */
#sizeSelectionGroup[style*="display: none"],
#colorSelectionGroup[style*="display: none"] {
    display: none !important;
}

/* تحسين مظهر النموذج العام */
.order-modal {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-form-container {
    max-height: 85vh;
    overflow-y: auto;
}
/* أنماط القوائم المنسدلة للتواصل */
.contact-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.contact-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(180, 153, 31, 0.4);
    background-color: #ffffff;
}

.contact-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}



.dropdown-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(180, 153, 31, 0.4);
}

/* القوائم المنسدلة */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-gray);
    min-width: 200px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(180, 153, 31, 0.4);
    border: 2px solid var(--gold);
    z-index: 1000;
    margin-top: 0.5rem;
    overflow: hidden;
}

.contact-dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--gold);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--medium-gray);
    direction: ltr;
    text-align: center;
    justify-content: center;
}

.contact-link:last-child {
    border-bottom: none;
}

.contact-link:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
    padding-right: 2rem;
}

.link-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .contact-options {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .dropdown-btn {
        min-width: 200px;
        padding: 0.8rem 1.5rem;
    }

    .dropdown-content {
        min-width: 180px;
    }

    .contact-link {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-options {
        gap: 0.8rem;
    }

    .dropdown-btn {
        min-width: 180px;
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
    }

    .contact-icon {
        width: 25px;
        height: 25px;
    }
}
/* أنماط عرض الأسعار في نموذج الطلب */
.price-summary {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--gold);
    margin: 1rem 0;
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.price-item:last-child {
    border-bottom: none;
}

.price-item.total {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--gold);
    padding-top: 1rem;
    border-top: 2px solid var(--gold);
}

.price-item span:first-child {
    color: var(--light-gray);
}

.price-item span:last-child {
    color: var(--light-gold);
    font-weight: 600;
}

.price-item.total span:last-child {
    color: var(--gold);
    font-size: 1.3rem;
}
/* ===== إدارة الكميات ===== */
.quantities-container {
    background: var(--dark-gray);
    border: 2px solid var(--light-gray);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.quantities-container:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.quantities-display {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    min-height: 60px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px dashed var(--light-gray);
}

.quantity-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--medium-gray);
    padding: 0.8rem 1rem;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.3s ease;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.quantity-item:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.quantity-color-preview {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.quantity-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.quantity-color-name {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.quantity-amount {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: bold;
}

.remove-quantity {
    background: none;
    border: none;
    color: var(--light-gray);
    cursor: pointer;
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-quantity:hover {
    background: #e74c3c;
    color: white;
}

.quantity-input-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.quantity-input-group select,
.quantity-input-group input {
    flex: 1;
    min-width: 120px;
    padding: 0.8rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    background: var(--medium-gray);
    color: var(--white);
    font-size: 1rem;
}

.add-quantity-btn {
    background: linear-gradient(45deg, var(--gold), var(--dark-gold));
    color: var(--black);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.add-quantity-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.empty-quantities-message {
    color: var(--light-gray);
    text-align: center;
    width: 100%;
    padding: 1rem;
    font-style: italic;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .quantity-input-group {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity-input-group select,
    .quantity-input-group input {
        min-width: auto;
    }
}
/* ==== إضافة أنماط الكميات في style.css ==== */

.quantities-container {
    background: var(--dark-gray);
    border: 2px solid var(--light-gray);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.quantities-container:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.quantities-display {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    min-height: 60px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px dashed var(--light-gray);
}

.quantity-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--medium-gray);
    padding: 0.8rem 1rem;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.3s ease;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.quantity-item:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.quantity-color-preview {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.quantity-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.quantity-color-name {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.quantity-amount {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: bold;
}

.remove-quantity {
    background: none;
    border: none;
    color: var(--light-gray);
    cursor: pointer;
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-quantity:hover {
    background: #e74c3c;
    color: white;
}

.quantity-input-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.quantity-input-group select,
.quantity-input-group input {
    flex: 1;
    min-width: 120px;
    padding: 0.8rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    background: var(--medium-gray);
    color: var(--white);
    font-size: 1rem;
}

.add-quantity-btn {
    background: linear-gradient(45deg, var(--gold), var(--dark-gold));
    color: var(--black);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.add-quantity-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.empty-quantities-message {
    color: var(--light-gray);
    text-align: center;
    width: 100%;
    padding: 1rem;
    font-style: italic;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* إضافة إلى style.css */
.contact-icon,
.link-icon {
    font-size: 1.2rem;
    display: inline-block;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(180, 153, 31, 0.4);
    color: white;
    font-weight: 600;
    text-decoration: none;
}

.whatsapp-btn {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.telegram-btn {
    background: linear-gradient(45deg, #0088cc, #005580);
}

.instagram-btn {
    background: linear-gradient(45deg, #E1306C, #C13584);
}

.phone-btn {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
}

.dropdown-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(180, 153, 31, 0.6);
}
/* أنماط منتقي الكمية */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    direction: ltr;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: 2px solid var(--gold);
    background: var(--dark-gray);
    color: var(--gold);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--gold);
    color: var(--black);
    transform: scale(1.1);
}

.quantity-input {
    width: 60px;
    text-align: center;
    padding: 0.5rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    background: var(--dark-gray);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: bold;
}

.quantity-input:focus {
    border-color: var(--gold);
    outline: none;
}
/* أنماط اختيار المقاسات والألوان والكميات */
.size-color-selection {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid var(--light-gray);
}

.size-color-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--gold);
}

.size-color-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.size-color-title {
    font-weight: bold;
    color: var(--gold);
    font-size: 1rem;
}

.remove-size-color {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 0.8rem;
}

.size-color-controls {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 0.8rem;
    align-items: end;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-weight: bold;
}

.quantity-input {
    width: 60px;
    text-align: center;
    background: var(--dark-gray);
    border: 1px solid var(--light-gray);
    color: var(--white);
    border-radius: 5px;
    padding: 0.3rem;
}

.add-more-btn {
    background: linear-gradient(45deg, var(--gold), var(--dark-gold));
    color: var(--black);
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-weight: bold;
    margin-top: 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.add-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* تحسين عرض الأسعار */
.price-summary {
    background: linear-gradient(135deg, var(--dark-gray), var(--medium-gray));
    border-radius: 10px;
    padding: 1.5rem;
    border: 2px solid var(--gold);
    margin-top: 1rem;
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-item.total {
    border-top: 2px solid var(--gold);
    border-bottom: none;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--gold);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.item-details {
    font-size: 0.9rem;
    color: var(--light-gray);
    margin-top: 0.3rem;
}

/* أنماط اختيار المقاسات والألوان والكميات */
.size-color-selection {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid var(--light-gray);
    margin-bottom: 1rem;
}

.size-color-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--gold);
}

.size-color-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.size-color-title {
    font-weight: bold;
    color: var(--gold);
    font-size: 1rem;
}

.remove-size-color {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-color-controls {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 0.8rem;
    align-items: end;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--dark-gold);
}

.quantity-input {
    width: 60px;
    text-align: center;
    background: var(--dark-gray);
    border: 1px solid var(--light-gray);
    color: var(--white);
    border-radius: 5px;
    padding: 0.3rem;
    font-size: 0.9rem;
}

.quantity-input:focus {
    border-color: var(--gold);
    outline: none;
}

.add-more-btn {
    background: linear-gradient(45deg, var(--gold), var(--dark-gold));
    color: var(--black);
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-weight: bold;
    margin-top: 0.5rem;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.add-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* تحسين عرض الأسعار */
.price-summary {
    background: linear-gradient(135deg, var(--dark-gray), var(--medium-gray));
    border-radius: 10px;
    padding: 1.5rem;
    border: 2px solid var(--gold);
    margin-top: 1rem;
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-item.total {
    border-top: 2px solid var(--gold);
    border-bottom: none;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--gold);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.item-details {
    font-size: 0.8rem;
    color: var(--light-gray);
    margin-top: 0.2rem;
}
/* تحسين تخطيط اختيار المقاسات والألوان والكميات */
.size-color-controls {
    display: grid;
    grid-template-columns: 1.8fr 1.8fr 1fr;
    /* تكبير المقاس واللون، تصغير الكمية */
    gap: 0.8rem;
    align-items: end;
}

.size-color-controls .order-form-group {
    margin-bottom: 0;
}

.size-color-controls .order-form-group label {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    display: block;
    color: var(--light-gray);
}

.size-color-controls .form-input {
    width: 100%;
    padding: 0.7rem;
    font-size: 0.95rem;
    height: 42px;
    background: var(--dark-gray);
    border: 1px solid var(--light-gray);
    color: var(--white);
    border-radius: 6px;
}

.size-color-controls .form-input:focus {
    border-color: var(--gold);
    outline: none;
}

/* تصميم مضغوط للكمية */
.quantity-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quantity-section label {
    font-size: 0.85rem;
    color: var(--light-gray);
    margin-bottom: 0.3rem;
}

.quantity-controls-compact {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.quantity-input-compact {
    width: 50px;
    height: 35px;
    text-align: center;
    background: var(--dark-gray);
    border: 1px solid var(--light-gray);
    color: var(--white);
    border-radius: 5px;
    padding: 0.3rem;
    font-size: 0.9rem;
}

.quantity-btn-compact {
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.quantity-btn-compact:hover {
    background: var(--dark-gold);
}
/* أنماط عرض الصورة الكاملة */
.product-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(10px);
}

.product-image-modal.hidden {
    display: none;
}

.product-image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-image-modal img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
    border: 3px solid var(--gold);
}

.product-image-modal-nav {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.product-image-modal-nav button {
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-modal-nav button:hover:not(:disabled) {
    background: var(--light-gold);
    transform: scale(1.1);
}

.product-image-modal-nav button:disabled {
    background: var(--light-gray);
    cursor: not-allowed;
    opacity: 0.5;
}

.product-image-modal-counter {
    color: var(--white);
    font-size: 1.1rem;
    margin-top: 1rem;
    text-align: center;
}

/* تحسين الصورة الرئيسية في البطاقة */
.main-product-image {
    cursor: pointer;
    transition: all 0.3s ease;
}

.main-product-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* الصور المصغرة */
.product-thumbnail {
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-thumbnail:hover {
    transform: scale(1.1);
    border-color: var(--light-gold);
}
/* تحسينات للهواتف */
@media (max-width: 768px) {
    .product-image-modal-content {
        max-width: 95%;
        max-height: 95%;
    }

    .product-image-modal img {
        max-height: 70vh;
    }

    

    .product-image-modal-nav button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .product-image-modal-counter {
        font-size: 1.2rem;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .product-image-modal-content {
        max-width: 98%;
    }

    .product-image-modal img {
        max-height: 60vh;
    }

    .product-image-modal-nav button {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

/* تحسينات للأجهزة التي بها شريط اللمس */
@media (hover: none) and (pointer: coarse) {

    .main-product-image,
    .product-thumbnail {
        cursor: default;
    }

    .main-product-image:active,
    .product-thumbnail:active {
        transform: scale(0.95);
    }
}

/* منع التكبير التلقائي على الهواتف */
.product-image-modal img {
    touch-action: manipulation;
}

/* تحسين أداء اللمس */
.product-image-modal {
    -webkit-overflow-scrolling: touch;
}
/* تحسينات خاصة للهواتف */
@media (max-width: 768px) {

    .main-product-image,
    .product-thumbnail {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        -webkit-user-select: none;
    }

    .product-image-modal {
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .product-image-modal img {
        max-width: 95vw;
        max-height: 70vh;
    }
}

/* تحسين أداء اللمس */
.products-images-gallery {
    touch-action: manipulation;
}

.main-product-image {
    transition: transform 0.2s ease;
}

.main-product-image:active {
    transform: scale(0.98);
}