/* =======================================================
   قسم 1: الهيدر والقائمة العلوية (HEADER SECTION)
======================================================= */

/* تنسيق شريط الإعلانات العلوي الصغير */
.top-header, .s-header-top {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* تنسيق الهيدر الرئيسي وجعله ثابت ومريح بصرياً */
.s-header, header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e8e8e8 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02) !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* ضبط حجم ومحاذاة الشعار (اللوجو) */
.s-header__logo img, .logo img {
    max-width: 190px !important;
    height: auto !important;
}

/* روابط القائمة العلوية - تباعد احترافي وطابع فخم */
.s-header-menu__link {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #000000 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
}

/* أيقونات السلة والحساب في الهيدر */
.s-header__actions a, .s-header__btn {
    color: #000000 !important;
}


/* =======================================================
   قسم 2: منتصف الصفحة وشبكة الفساتين (BODY & PRODUCTS)
======================================================= */

/* تصفير وإلغاء كل البراويز الداخلية المشوهة التي ظهرت في التصميم السابق */
.s-product-card *, .product-card * {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0px !important;
    background-color: transparent !important;
}

/* التصميم الخارجي الموحد لكرت الفستان (قطعة واحدة نظيفة) */
.s-product-card, .product-card {
    border: 1px solid #e8e8e8 !important; /* إطار خارجي واحد فقط ونظيف */
    background-color: #ffffff !important;
    padding: 0px !important; /* إلغاء الحشوات الداخلية لتكبير الصورة */
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.3s ease !important;
}

/* عند مرور الماوس على كرت الفستان بالكامل */
.s-product-card:hover, .product-card:hover {
    border-color: #000000 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06) !important;
}

/* تنسيق صورة الفستان لتملأ الكرت بالكامل وبدون حواف دائرية */
.s-product-card__image-wrap, .s-product-card__image {
    width: 100% !important;
    height: auto !important;
    border-bottom: 1px solid #f5f5f5 !important;
}

/* تنسيق نصوص العناوين والأسعار تحت بعضها بنظافة */
.s-product-card__title, .s-product-card__title a {
    color: #000000 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-align: center !important;
    padding: 10px 15px 5px 15px !important;
    line-height: 1.5 !important;
}

.s-product-card__price {
    color: #000000 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding-bottom: 15px !important;
}

/* إصلاح وضبط زر "إضافة للسلة" بالأسفل ليكون ممتداً وكاملاً */
.s-product-card__footer, .s-product-card__btn {
    width: 100% !important;
    background-color: #000000 !important; /* خلفية سوداء بالكامل */
    color: #ffffff !important; /* كتابة بيضاء */
    text-align: center !important;
    padding: 12px 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    display: block !important;
}

/* تأثير زر السلة عند مرور الماوس */
.s-product-card__btn:hover {
    background-color: #1a1a1a !important;
}

/* تنسيق العناوين الرئيسية للأقسام (مثل: أحدث المنتجات) */
.s-block-header__title {
    font-size: 26px !important;
    text-align: center !important;
    color: #000000 !important;
    letter-spacing: 2px !important;
    border-bottom: 2px solid #000000 !important;
    padding-bottom: 10px !important;
    margin: 40px auto !important;
    display: table !important;
}


/* =======================================================
   قسم 3: ذيل الصفحة الفخم (LUXURY FOOTER SECTION)
======================================================= */

/* الفوتر السفلي باللون الأسود الفخم والعميق */
.s-footer, footer {
    background-color: #080808 !important;
    color: #ffffff !important;
    padding-top: 80px !important;
    padding-bottom: 40px !important;
    border-top: 1px solid #151515 !important;
}

/* العناوين داخل الفوتر */
.s-footer h3, .s-footer h4, .s-footer__title {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    margin-bottom: 25px !important;
}

/* روابط الفوتر (سياسة الخصوصية، التواصل، إلخ) */
.s-footer a, .s-footer__link {
    color: #999999 !important;
    font-size: 13px !important;
    transition: color 0.3s ease !important;
}

/* عند مرور الماوس على روابط الفوتر */
.s-footer a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* شريط الحقوق السفلي جداً */
.s-footer__copyrights {
    border-top: 1px solid #151515 !important;
    margin-top: 50px !important;
    padding-top: 25px !important;
    color: #555555 !important;
    font-size: 12px !important;
    text-align: center !important;
}