/* Core Styling & Elegant Typography */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #0b0708; /* أسود مخملي دافئ يناسب خطوط النساء الفاخرة */
    color: #f8f9fa;
    overflow-x: hidden;
}

/* 🌸 Luxury Rose Gold Navbar Layout */
.navbar {
    background-color: rgba(11, 7, 8, 0.6) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(224, 169, 175, 0.08);
}

.navbar-brand-women {
    font-family: 'Syncopate', sans-serif;
    letter-spacing: 6px;
    font-size: 1.4rem !important;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none;
}

.navbar-brand-women span {
    font-weight: 300;
    color: #e0a9af; /* لون الذهب الوردي النقي */
    font-size: 1rem;
    letter-spacing: 2px;
}

.nav-link {
    color: #a39f9f !important;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 15px;
    transition: 0.3s ease;
}

.nav-link:hover {
    color: #e0a9af !important;
}

.back-home {
    border: 1px solid rgba(224, 169, 175, 0.2);
    border-radius: 30px;
    padding: 6px 18px !important;
    background: rgba(224, 169, 175, 0.02);
}

/* 🛍️ ستايل الجريد ومربعات العرض المستوحى من كودك القديم المتطور */
.sub-header-tag {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: #e0a9af;
    display: block;
    margin-bottom: 8px;
}

.section-title-women {
    font-family: 'Syncopate', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #fff;
}

.product-wrapper {
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-wrapper:hover {
    transform: translateY(-8px);
}
/* تطوير ستايل الـ Portfolio الخاص بك ليصبح روز غولد فخم جداً */
.protofolio {
    border: 2px solid rgba(224, 169, 175, 0.15) !important; /* تحويل البوردر الأزرق القديم لروز غولد زجاجي */
    padding: 8px;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 24px !important; /* حواف راديوز انسيابية مودرن */
    overflow: hidden;
    transition: all 0.4s ease;
}

.product-wrapper:hover .protofolio {
    border-color: #e0a9af !important;
    box-shadow: 0 20px 40px rgba(224, 169, 175, 0.1);
}

.work-image {
    width: 100%;
    height: 420px; /* طول متناسق وأنيق لعرض تفاصيل الملابس */
    object-fit: cover;
    border-radius: 18px;
}

.product-title-grid {
    font-size: 1.05rem;
    font-weight: 500;
    color: #c7c7cc;
    margin-top: 15px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.product-wrapper:hover .product-title-grid {
    color: #e0a9af;
}

/* 🌟 شاشة النصفين المخصصة لتفاصيل المنتجات (Product Layout) */
.btn-back-gallery {
    background: transparent;
    color: #e0a9af;
    border: 1px solid rgba(224, 169, 175, 0.2);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-back-gallery:hover {
    background: rgba(224, 169, 175, 0.1);
    color: #fff;
}

/* النصف الأول: الصورة الفخمة الكبيرة للمنتج */
.detail-image-box img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    border: 1px solid rgba(224, 169, 175, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* النصف الثاني: بيانات السعر، الوصف، والتقييم */
.detail-info-box {
    padding: 20px;
}

.detail-info-box h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.detail-info-box .price-tag {
    font-size: 1.8rem;
    font-weight: 600;
    color: #e0a9af;
    margin-bottom: 25px;
}

.detail-info-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #a1a1a6;
    font-weight: 300;
    margin-bottom: 30px;
}

.rating-stars {
    color: #ffb703;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.rating-stars span {
    color: #6c757d;
    font-size: 0.9rem;
    margin-left: 10px;
}

.btn-buy-now {
    background: #fff;
    color: #0b0708;
    border: none;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: 0.3s ease;
}

.btn-buy-now:hover {
    background: #e0a9af;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(224, 169, 175, 0.2);
}

/* Footer Styling */
footer {
    background: #0b0708;
    padding: 40px 0;
    border-top: 1px solid rgba(224, 169, 175, 0.05);
}

.copyright-text {
    font-size: 0.8rem;
    color: #434344;
}
/* ==========================================================================
   1. تنسيقات عامة آمنة (لا تؤثر على توزيع كروت اللاب توب)
   ========================================================================== */
body {
    overflow-x: hidden; /* حماية كامل الصفحة من التمرير الأفقي فقط */
}

/* ضبط الفيديو ليكون مرنًا دون تخريب بقية العناصر */
.hero-video-women {
    object-fit: cover;
}

/* ==========================================================================
   2. ميديا كويري للشاشات المتوسطة والصغيرة (التابلت والموبايل فقط)
   (تأثيرها يبدأ فقط عندما تصغر الشاشة عن 991 بكسل)
   ========================================================================== */
@media (max-width: 991.98px) {
    
    /* ضبط مظهر زر الثلاث شُرط المستدعى من Bootstrap */
    .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 6px 10px;
        box-shadow: none !important;
    }

    .navbar-toggler-icon {
        filter: invert(1); /* تحويل الأيقونة للون الأبيض للتناسب مع التصميم */
        width: 1.2em;
        height: 1.2em;
    }

    /* القائمة المنسدلة المفتوحة خلف الشُرط الثلاثة */
    .navbar-collapse {
        background: rgba(11, 11, 11, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        margin-top: 15px;
        padding: 20px 15px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        text-align: center !important; /* توسيط المحتوى داخلياً */
    }

    /* إلغاء الـ ms-auto وتوجيه الروابط للسنتر المطلق */
    .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* رص العناصر عمودياً بالمنتصف */
        justify-content: center !important;
        width: 100% !important;
        margin: 0 auto !important; /* إلغاء التموضع الأيمن */
        padding: 0 !important;
        gap: 12px;
    }

    .nav-item {
        width: 100% !important;
        max-width: 280px; /* العرض الأقصى للزر البيضاوي المتناسق */
        display: flex;
        justify-content: center;
        margin: 0 auto !important;
    }

    .nav-link {
        display: inline-block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 12px 20px !important;
        font-size: 0.95rem;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   3. ميديا كويري لشاشات الموبايل الصغيرة جداً 
   ========================================================================== */
@media (max-width: 575.98px) {
    
    /* تصغير الدائرة الكريستالية والشعار الروز غولد ليناسب شاشة الموبايل فقط */
    .women-circle-badge {
        width: 190px !important;
        height: 190px !important;
        padding: 20px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }
    
    .zara-melting-logo {
        width: 100% !important;
        height: auto !important;
        max-width: 130px !important;
    }

    /* حماية وحفظ العناوين النسائية الكبيرة من الانكسار بشكل عشوائي */
    .women-hero-title {
        font-size: 1.8rem !important;
        letter-spacing: 2px !important;
    }

    .women-tag-line {
        font-size: 0.75rem !important;
        letter-spacing: 3px !important;
    }

    /* تنسيق الفراغات العمودية للأقسام وتقليصها للموبايل فقط */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .pt-5 {
        padding-top: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .product-title-grid {
        font-size: 1.1rem !important;
        margin-top: 10px;
    }

    /* ضبط شاشة تفاصيل المنتج (تحويل النصفين لترتيب عمودي مريح للعين) للموبايل فقط */
    #product-detail-screen .row.g-5 {
        --bs-gutter-y: 2rem !important; 
    }
    
    .detail-info-box {
        text-align: center; /* توسيط نصوص البيانات على الموبايل لتعطي مظهر أفخم */
    }
    
    .detail-info-box h2 {
        font-size: 1.6rem !important;
    }
}
