html, body {
    max-width: 100%;
    overflow-x: hidden; /* يمنع السكرول الأفقي نهائياً */
    position: relative;
}

/* --- المتغيرات والإعدادات العامة --- */
:root {
    --gold: #c5a059;
    --dark: #121212;
    --gray: #f9f9f9;
    --white: #ffffff;
    --whatsapp: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl; /* لضمان التنسيق العربي الصحيح */
}

/* --- الهيدر (Navigation) --- */
.main-nav {
    padding: 15px 5%;
    background: var(--white);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.logo span { color: var(--gold); }

/* --- قسم الـ Hero (الصفحة الرئيسية) --- */
.hero {
    padding: 40px 5%;
    background: linear-gradient(to bottom, #fff, #fdfcfb);
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-text h1 {
    font-size: clamp(24px, 5vw, 42px);
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-img-box {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.hero-img-box img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
}

/* --- شبكة المنتجات --- */
.products-section {
    padding: 50px 5%;
    background: var(--gray);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--white);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
}

.card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

.card-img {
    width: 100%;
    height: 250px;
    margin-bottom: 15px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- الأزرار العامة --- */
.btn-main, .btn-buy {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-main { background: var(--dark); color: #fff; }
.btn-buy { background: var(--gold); color: #fff; width: 100%; margin-top: 10px; }

/* --- صفحة الطلب (Order Page) --- */
.order-container {
    background: white;
    width: 95%;
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.product-preview img {
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    border-radius: 15px;
    margin-bottom: 10px;
}

.product-preview h2 { text-align: center; font-size: 20px; margin-bottom: 15px; }

/* أزرار الكمية السوداء */
.qty-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.qty-controls button {
    width: 45px;
    height: 45px;
    border: none;
    background: #000;
    color: white;
    border-radius: 12px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.qty-controls button:active { transform: scale(0.9); }

#qtyDisplay { font-size: 20px; font-weight: bold; width: 30px; text-align: center; }

/* تنسيق اختيار الألوان (5 فوق 5) */
.color-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 10px;
}

.picker-circles {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 10px;
    justify-items: center;
    margin-top: 10px;
    width: 100%;
    max-width: 250px; /* يضمن بقاء 5 دوائر في السطر */
}

.color-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ddd;
    transition: 0.2s;
}

.color-circle.active {
    border-color: #000;
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* الاستمارة (Form) */
.order-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    font-size: 14px;
}

.order-form input, .order-form select {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.order-form input:focus { border-color: var(--gold); }

.price-info {
    margin-top: 20px;
    padding: 15px;
    background: #fff9e6;
    border-radius: 10px;
    text-align: center;
}

.final-price { font-size: 20px; font-weight: bold; color: var(--gold); }

#sendOrder {
    width: 100%;
    padding: 16px;
    background: var(--whatsapp);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    cursor: pointer;
    transition: 0.3s;
}

#sendOrder:hover { background: #1eb954; }

/* --- تحسينات الموبايل (Responsive Media Queries) --- */
@media (max-width: 768px) {
    .hero { padding: 30px 5%; }
    .hero-container { flex-direction: column-reverse; }
    .hero-text { margin-top: 20px; }
    .card-img { height: 200px; }
}

@media (max-width: 400px) {
    .order-container { padding: 15px; }
    .qty-controls button { width: 40px; height: 40px; }
    .picker-circles { max-width: 200px; gap: 8px; }
    .color-circle { width: 30px; height: 30px; }
}
/* --- تنسيق قسم الآراء --- */
.reviews-section {
    padding: 60px 5%;
    background-color: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.review-card {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
    transition: 0.3s ease;
    text-align: right;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: var(--gold);
}

.stars {
    color: #FFD700; /* لون ذهبي للنجوم */
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.review-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
    font-style: italic;
}

.customer-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* تحسين للموبايل */
@media (max-width: 480px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}
/* --- تنسيق السلايدر (Slider) --- */
.product-slider {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 15px;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

#mainImg {
    width: 100%;
    display: block;
    height: auto;
    object-fit: contain;
}

/* الأسهم فوق الصورة */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(197, 160, 89, 0.8); /* لون ذهبي شفاف */
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.slider-btn:hover { background: var(--gold); }
.prev { left: 10px; }
.next { right: 10px; }

/* تنسيق اسم اللون ليكون تحت الصور مباشرة */
.image-counter {
    position: relative; /* غيرناه من absolute لـ relative */
    width: 100%;
    background: #ffffff;
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    margin-top: 0px; /* ليلتصق بالـ Swiper */
    z-index: 5;
    display: block;
}

#colorNameDisplay {
    background: var(--dark); /* استعملنا المتغير الأسود اللي عندك */
    color: var(--gold);      /* استعملنا المتغير الذهبي */
    padding: 4px 15px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}
/* --- تنسيق أيقونات الضمان (Trust Badges) --- */
.trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
    background: #fdfdfd;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
}


.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
}

.badge-icon { font-size: 20px; }
.badge p { font-size: 11px; font-weight: bold; color: #555; margin: 0; }

/* --- تنسيق قسم الآراء (Review) في صفحة الطلب --- */
.reviews-section {
    margin-top: 30px;
    padding: 20px 0;
}

.review-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 15px;
}
/* --- تنسيق شريط التنقل الاحترافي --- */
.order-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 15px 5%;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    transition: 0.3s all ease;
    border: 1px solid transparent;
}

/* تأثير عند تمرير الفأرة */
.nav-link:hover {
    background: #fdfaf3; /* خلفية كريمية خفيفة */
    color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.nav-divider {
    width: 1px;
    height: 20px;
    background: #eee;
}

/* تحسين أيقونات الواتساب في الهيدر */
.nav-link[href*="wa.me"] {
    color: #25D366; /* لون الواتساب */
}
.nav-link[href*="wa.me"]:hover {
    background: #e8f9ee;
    border-color: #25D366;
}
/* --- تنسيق شريط العرض المحدود (Timer) --- */
.promo-banner {
    background: linear-gradient(90deg, #1a1a1a, #333); /* تدرج أسود فخم */
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    font-weight: bold;
    border: 2px solid var(--gold);
	border-radius:10px;
	width:100%;
	max-width:500px;
	margin: 10px auto;
	align-items:center;
	top:auto;
	position: relative;

}

#timer {
    display: inline-block;
    background: var(--gold); /* اللون الذهبي الخاص بك */
    color: #000;
    padding: 2px 10px;
    border-radius: 5px;
    margin-right: 8px;
    font-family: 'Courier New', Courier, monospace; /* خط رقمي */
    letter-spacing: 1px;
    animation: pulse-timer 2s infinite; /* تأثير النبض */
}

/* حركة النبض لجذب الانتباه */
@keyframes pulse-timer {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(197, 160, 89, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    }
}

/* تحسين المظهر على الهواتف الصغيرة */
@media (max-width: 400px) {
    .promo-banner {
        font-size: 12px;
        padding: 10px 5px;
    }
    #timer {
        padding: 2px 6px;
    }
}
/* --- تنسيق السعر والتخفيض --- */
.price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.old-price {
    color: #999;
    text-decoration: line-through; /* خط فوق السعر القديم */
    font-size: 14px;
}

.new-price {
    color: var(--dark);
    font-size: 18px;
    font-weight: 800;
}

.discount-tag {
    background: #ff4d4d; /* لون أحمر للتخفيض */
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 5px;
    font-weight: bold;
    animation: flash 1.5s infinite; /* حركة تنبيه */
}

@keyframes flash {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}
.price-info {
    margin-top: 20px;
    padding: 20px;
    background: #fffdf5;
    border: 2px dashed var(--gold); /* إطار متقطع لإعطاء شكل الفاتورة */
    border-radius: 15px;
    text-align: center;
}

.final-price {
    font-size: 24px;
    font-weight: 900;
    color: #000;
    margin-top: 5px;
}

.final-price span {
    color: var(--gold);
}
.product-description {
    background: #fdfaf3;
    border-right: 4px solid var(--gold);
    padding: 15px;
    margin: 15px 0;
    font-size: 14px;
    color: #444;
    line-height: 1.8; /* مسافة مريحة بين الأسطر */
    border-radius: 10px;
    text-align: right;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.02);
}

/* لجعل أول سطر (العنوان) بارزاً قليلاً */
.product-description br + b {
    display: block;
    margin-top: 10px;
}/* تأثير الزجاج والخلفية المضيئة خلف المنتج */
.product-slider {
    background: radial-gradient(circle, rgba(197, 160, 89, 0.05) 0%, rgba(255, 255, 255, 1) 70%);
    border: 1px solid rgba(0,0,0,0.03);
    padding: 20px;
    position: relative;
    transition: all 0.5s ease;
}

/* حركة ناعمة عند تبديل الصور */
#mainImg {
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#mainImg:hover {
    transform: scale(1.05); /* زوم خفيف جداً عند مرور الفأرة */
}

/* تنسيق اسم اللون ليكون "Tag" عصري */
#colorNameDisplay {
    background: var(--dark);
    color: var(--gold);
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.luxury-benefits {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 20px 0;
}
.benefit-item {
    text-align: center;
    flex: 1;
}
.benefit-icon {
    font-size: 20px;
    display: block;
    margin-bottom: 5px;
}
.benefit-item p {
    font-size: 10px;
    font-weight: 700;
    color: #888;
}
.color-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* أو 8px لشكل مربعات أنيق */
    border: 3px solid #fff;
    outline: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.color-circle.active {
    outline: 2px solid var(--gold);
    transform: translateY(-5px) scale(1.1); /* ترتفع للأعلى عند الاختيار */
}.brand-values-section {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 40px 5%;
    background: #fff;
    gap: 20px;
    text-align: center;
}

.value-item {
    flex: 1;
    padding: 15px;
}

.value-icon-wrapper {
    font-size: 30px;
    margin-bottom: 15px;
    background: #fdfaf3; /* لون كريمي خفيف جداً */
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: 0.3s;
}

.value-item h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.value-item p {
    font-size: 13px;
    color: #888;
    line-height: 1.4;
}

/* تأثير عند تمرير الفأرة */
.value-item:hover .value-icon-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.15);
}
/* --- تنسيق قسم مميزات البراند (Index) --- */
.brand-story {
    padding: 60px 5%;
    background-color: #ffffff;
}

.brand-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 20px;
    background: #fdfcfb;
    border: 1px solid #f0f0f0;
    transition: 0.4s all ease;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.08);
}

.value-icon {
    font-size: 35px;
    margin-bottom: 20px;
    display: inline-block;
}

.value-card h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 800;
}

.value-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* تحسين للموبايل */
@media (max-width: 768px) {
    .brand-story { padding: 40px 5%; }
    .brand-values-grid { gap: 15px; }
    .value-card { padding: 20px 15px; }
}
/* --- تنسيق قسم الثقة في الرئيسية --- */
.trust-section-index {
    padding: 80px 5%;
    background-color: #fdfcfb; /* خلفية كريمية خفيفة جداً تكسر بياض الموقع */
    border-top: 1px solid #eee;
}

.brand-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 25px;
    background: #ffffff;
    border: 1px solid transparent;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.value-card:hover {
    transform: translateY(-12px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.1);
}

.value-icon {
    font-size: 40px;
    margin-bottom: 25px;
    display: inline-block;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.1));
}

.value-card h4 {
    font-size: 19px;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 800;
}

.value-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
}
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

/* الألوان الخاصة بكل منصة */
.whatsapp { background: #e8f9ee; color: #25D366; }
.facebook { background: #e7f0ff; color: #1877F2; }
.telegram { background: #e3f2fd; color: #0088cc; }
.share-btn { background: #f4f4f4; color: #333; font-family: 'Cairo', sans-serif; }

.contact-item:hover {
    transform: translateX(-5px);
    filter: brightness(0.95);
}
/* --- Modern Footer Style --- */
.modern-footer {
    background-color: #ffffff;
    padding: 50px 5% 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info .logo {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-info p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

.footer-social h4, .footer-links h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

/* أيقونات التواصل */
.social-icons {
    display: flex;
    gap: 15px;
}

.s-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
}

.whatsapp { background: #e8f9ee; color: #25D366; }
.facebook { background: #e7f0ff; color: #1877F2; }
.telegram { background: #e3f2fd; color: #0088cc; }
.share { background: #f5f5f5; color: #555; }

.s-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: var(--gold);
}

/* شريط الحقوق السفلي */
.footer-copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #999;
    font-size: 13px;
}

.footer-copyright strong {
    color: var(--gold);
}

/* تحسين للموبايل */
@media (max-width: 768px) {
    .footer-content {
        text-align: center;
        gap: 30px;
    }
    .social-icons {
        justify-content: center;
    }
}
/* تنسيق خاص بفوتر صفحة الطلب */
.order-footer {
    background: #fff;
    padding: 30px 5%;
    border-top: 1px solid #eee;
    text-align: center;
    margin-top: 50px;
}

.order-footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.order-footer h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark);
}

/* أيقونة الهوم في الناف بار */
.nav-links a i {
    margin-left: 5px;
    color: var(--gold);
    font-size: 18px;
}

.nav-links a:hover {
    color: var(--gold);
}
/* --- 1. تنسيق شريط الملاحة (Navbar) --- */
.main-nav {
    background-color: #ffffff;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 1px solid #f8f8f8;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    /* لجعل الشعار في الوسط نحتاج لتوزيع متساوي */
    display: grid;
    grid-template-columns: 1fr auto 1fr; 
}

/* الشعار في العمود الأوسط */
.logo {
    grid-column: 2; 
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    color: #1a1a1a;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.logo span {
    color: var(--gold);
}

/* روابط الملاحة في العمود الأيسر (أو الأيمن حسب الترتيب) */
.nav-links {
    grid-column: 1; /* يضع أيقونة الهوم على اليسار */
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: flex-start;
}

.nav-links li a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links li a:hover {
    color: var(--gold);
}

.nav-links li a i {
    font-size: 18px;
    color: var(--gold);
}

/* --- 2. تحسينات للموبايل --- */
@media (max-width: 768px) {
    .main-nav {
        padding: 12px 5%;
    }
    .logo {
        font-size: 18px;
    }
    .nav-links li a span {
        display: none; 
    }
    .nav-links {
        gap: 15px;
    }
}
.color-circle-wrapper {
    position: relative; /* باش الرقم يجي فوق الدائرة */
    display: inline-block;
}

.color-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--dark);
    color: var(--gold);
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    z-index: 5;
}

.color-circle.selected {
    border-color: var(--gold);
    transform: scale(1.1);
}
.order-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); z-index: 2000; display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(5px);
}
.order-box {
    background: #fff; width: 90%; max-width: 380px; padding: 25px; border-radius: 15px;
    direction: rtl; color: #333; font-family: sans-serif;
}
.order-header h3 { color: #c5a059; margin-bottom: 5px; }
.order-header p { font-size: 13px; color: #666; margin-bottom: 20px; }
.order-details { background: #f9f9f9; padding: 15px; border-radius: 10px; }
.detail-item { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; }
.total-row { display: flex; justify-content: space-between; margin-top: 15px; padding-top: 10px; border-top: 2px dashed #ddd; font-weight: bold; font-size: 18px; color: #000; }
.modal-btns { margin-top: 25px; display: flex; flex-direction: column; gap: 10px; }
.confirm-btn { background: #25D366; color: white; border: none; padding: 15px; border-radius: 8px; font-weight: bold; cursor: pointer; }
.cancel-btn { background: transparent; color: #888; border: none; padding: 10px; cursor: pointer; font-size: 13px; text-decoration: underline; }

/* شريط الإعلانات العلوي */
.banner {
    position: fixed;
    top: 0;
    left: 0;
	height:35px;
    width: 100%;
    z-index: 2001; /* لازم يكون هو الأعلى */
    background: #d63031; /* أو اللون لي راك دايرو */
    color: #fff;
    text-align: center;
	display:flex;
	align-items:center;
	justify-content:center;
    padding: 10px 10px;
    font-size: 14px;
    font-weight: bold;
}
/* الهيدر أو الناف بار */
.navbar {
    position: fixed;
    top: 35px; /* هاد القيمة هي ارتفاع شريط الإعلانات باش ما يغطيش عليه */
    left: 0;
    width: 100%;
	padding:5px;
    z-index: 2000;
    background: #ffffff; /* لون الخلفية */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* ظل خفيف باش يبان كي تهبط */
}
body {
    padding-top: 115px; /* عدل هاد القيمة حسب مجموع ارتفاع الـ Navbar و الـ Bar d'annonce */
}
/* --- تصميم قسم الآراء المطور --- */
.reviews-section {
    padding: 40px 15px;
    background-color: #fffaf5; /* لون خلفية ناعم */
    text-align: center;
}

.section-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 25px;
    position: relative;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.review-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f0e6d6;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.review-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: #f1c40f;
    font-size: 14px;
    margin-bottom: 10px;
}

.review-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

/* تنسيق الصورة المضافة في الريفيو */
.review-img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* تحافظ على تناسق الصورة مهما كان حجمها */
    border-radius: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    border: 1px solid #eee;
}

.customer-name {
    font-weight: bold;
    color: #c1a05b;
    font-size: 13px;
    margin-top: auto; /* تدفع الاسم لأسفل الكارت */
}

/* لمسة جمالية للهاتف */
@media (max-width: 480px) {
    .reviews-grid {
        grid-template-columns: 1fr; /* كارت واحد في كل سطر في الموبايل */
    }
    
    .review-img {
        height: 180px;
    }
}

.popup-overlay {
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); 
    display: none; /* يتم تغييره بواسطة JS إلى flex */
    align-items: center; 
    justify-content: center; 
    z-index: 99999; /* رفعت القيمة لتكون فوق كل شيء */
    backdrop-filter: blur(5px);
}

.popup-box {
    background: #fff; width: 90%; max-width: 400px;
    padding: 30px; border-radius: 20px; position: relative;
    text-align: center; border: 3px solid var(--gold);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-popup {
    position: absolute; top: 10px; left: 15px;
    background: none; border: none; font-size: 25px; cursor: pointer; color: #888;
}

.gift-icon { font-size: 50px; display: block; margin-bottom: 10px; }

.popup-content h2 { color: var(--dark); font-size: 20px; margin-bottom: 10px; }

.popup-content p { font-size: 14px; color: #555; margin-bottom: 20px; }

.popup-bag-preview {
    background: #fdf7e8; padding: 10px; border-radius: 10px;
    font-size: 13px; font-weight: bold; color: var(--gold); margin-bottom: 20px;
}

.popup-btn {
    background: var(--dark); color: #fff; border: none;
    padding: 12px 25px; border-radius: 50px; cursor: pointer;
    font-weight: bold; width: 100%; transition: 0.3s;
}

.popup-btn:hover { background: var(--gold); }