﻿<style >
/* =========================
       GENERAL
    ========================= */
:root {
    --blue-main: #1E88E5; /* الأزرق الأصلي */
    --purple-main: #6A1B9A; /* البنفسجي الأنيق */
    --lavender: #F3E5F5; /* بنفسجي فاتح */
    --dark: #111827;
}


/* =========================
       FAVORITE
    ========================= */
.fav-btn {
    cursor: pointer;
    user-select: none;
    transition: transform .2s;
}

    .fav-btn:hover {
        transform: scale(1.2);
    }

.fav-btn {
    color: var(--blue-main);
}

    .fav-btn.active,
    .fav-btn:hover {
        color: var(--purple-main);
    }

/* =========================
       HERO / SLIDER
    ========================= */
.shein-hero-slider {
    width: 100%;
    height: 360px;
    border-radius: 16px;
    overflow: hidden;
}

.hero-slide {
    display: flex;
    align-items: center;
}

.hero-content {
    width: 100%;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.hero-text {
    max-width: 45%;
}

    .hero-text h1 {
        font-size: 48px;
        font-weight: 900;
    }

    .hero-text p {
        font-size: 18px;
    }

.hero-btn {
    margin-top: 15px;
    padding: 12px 30px;
    background: #fff;
    color: #000;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
}

.hero-products {
    display: flex;
    gap: 15px;
}

.hero-product {
    background: #fff;
    padding: 10px;
    border-radius: 14px;
    width: 150px;
    position: relative;
}

    .hero-product img {
        width: 100%;
        border-radius: 10px;
    }

/* =========================
       SUB CATEGORIES
    ========================= */

.subcategory-swiper {
    padding: 10px 0 25px;
}

    .subcategory-swiper .swiper-slide {
        width: 90px !important;
        display: flex;
        justify-content: center;
    }

.subcategory-item {
    text-align: center;
    text-decoration: none;
    color: #000;
}

.subcategory-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f3f3;
    margin: 0 auto;
}

    .subcategory-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.subcategory-name {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
}

/* =========================
       PRODUCT CARD
    ========================= */
.product-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eee;
    transition: .3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image-box {
    height: 240px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

    /* أهم 3 أسطر في الحل */
    .product-image-box .swiper,
    .product-image-box .swiper-wrapper,
    .product-image-box .swiper-slide {
        height: 100%;
    }

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* ❗ هذا هو المفتاح */
    display: block;
}



.promo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--purple-main);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    padding: 5px 10px;
    border-radius: 10px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(106, 27, 154, 0.35);
}


.product-info {
    padding: 8px 10px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    gap: 6px; /* ⭐ هذا هو الفراغ بين السطور */
}
/* فراغ بين صفوف البطاقات */
.row > [class*="col-"] {
    margin-bottom: 20px;
}

.product-category {
    color: #888;
    font-size: 13px;
}

.product-title {
    font-weight: bold;
    font-size: 14px;
    height: 32px;
    overflow: hidden;
}

.product-desc {
    display: none; /* مثل SHEIN */
}

/* =========================
       PRICE
    ========================= */
.price-box {
    display: flex;
    gap: 8px;
    align-items: center;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
}

.promo-price {
    color: var(--purple-main);
    font-size: 18px;
    font-weight: 900;
}


.normal-price {
    font-size: 17px;
    font-weight: 700;
}

/* =========================
       SWIPER
    ========================= */
.swiper-button-next,
.swiper-button-prev {
    color: #000;
    transform: scale(.7);
}

.swiper-pagination-bullet-active {
    background: #000 !important;
}

/* =========================
       📱 MOBILE (SHEIN STYLE)
    ========================= */
@media (max-width: 768px) {
    /* البانر */
    .shein-hero-slider {
        height: 260px;
    }
    /* تقسيم البانر */
    .hero-content {
        direction: rtl;
        display: grid;
        grid-template-columns: 1fr 1fr; /* نص | منتجات */
        align-items: center;
        padding: 16px;
        gap: 14px;
    }
    /* النص */
    .hero-text {
        text-align: right;
        max-width: 100%;
    }

        .hero-text h1 {
            font-size: 20px;
            margin-bottom: 6px;
        }

        .hero-text p {
            font-size: 14px;
            margin-bottom: 8px;
        }

    .hero-btn {
        padding: 8px 18px;
        font-size: 14px;
    }
    /* المنتجات */
    .hero-products {
        display: flex;
        flex-direction: row; /* ✅ جنب بعض */
        gap: 10px;
        justify-content: flex-end;
        align-items: flex-start;
    }

    .hero-product {
        width: 100px;
        background: #fff;
        border-radius: 14px;
        padding: 6px;
        text-align: center;
    }

        .hero-product img {
            width: 100%;
            height: 80px;
            object-fit: contain;
            border-radius: 10px;
        }
        /* السعر */
        .hero-product .normal-price,
        .hero-product .promo-price {
            font-size: 13px;
            font-weight: bold;
            color: #000;
            display: block;
            margin-top: 4px;
        }

        .hero-product .old-price {
            font-size: 11px;
            color: #999;
            text-decoration: line-through;
        }
}


</style > 
/* =========================
   GLOBAL
========================= */
body {
    margin: 0;
    padding: 0;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}
/* ===== Navbar Logo ===== */
.navbar-logo img {
    height: 34px; /* موبايل */
    width: auto;
    display: block;
}

@media (min-width: 768px) {
    .navbar-logo img {
        height: 40px; /* ديسكتوب */
    }
}

/* محاذاة وسط */
.navbar-brand {
    display: flex;
    align-items: center;
}

/* =========================
   DESKTOP NAVBAR (Bootstrap)
========================= */

.navbar {
    border: none;
    margin-bottom: 0;
}

.navbar-inverse {
    background: linear-gradient(90deg, #4f9cff, #ff8ec7);
}

    .navbar-inverse .navbar-brand,
    .navbar-inverse .navbar-nav > li > a {
        color: #fff !important;
        font-weight: 600;
    }

        .navbar-inverse .navbar-nav > li > a:hover {
            opacity: 0.85;
        }

.navbar-inner {
    max-width: 1200px;
    margin: auto;
}

.navbar-logo {
    height: 38px;
}

/* =========================
   DESKTOP SIDE CART
========================= */

#sideCart {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100%;
    background: #fff;
    z-index: 10000;
    transition: right .4s ease;
    display: flex;
    flex-direction: column;
}

/* =========================
   PAGE CONTENT
========================= */
/* =========================
   GLOBAL
========================= */
body {
    margin: 0;
    padding: 0;
}

/* =========================
   DESKTOP ONLY
========================= */
@media (min-width: 769px) {
    body {
        padding-top: 120px; /* الهيدر الديسكتوب فقط */
    }
}

/* =========================
   📱 MOBILE FIX
========================= */
@media (max-width: 768px) {

    /* إلغاء أي فراغ */
    body {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .shein-mobile-nav {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .shein-categories {
        margin-top: 0 !important;
    }
}



/* =========================
   📱 MOBILE
========================= */

@media (max-width: 768px) {

    /* show / hide */
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    /* =========================
       SHEIN MOBILE NAVBAR
    ========================= */

    .shein-mobile-nav {
        position: fixed;
        top: 0;
        width: 100%;
        background: linear-gradient(180deg, var(--lavender), #ffffff);
        border-bottom: 1px solid #E1BEE7;
        z-index: 9999;
    }


    .shein-top-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 12px;
    }

    .menu-btn {
        font-size: 22px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .shein-logo {
        font-size: 20px;
        font-weight: 900;
        letter-spacing: 3px;
    }

    .shein-icons {
        display: flex;
        gap: 14px;
        font-size: 20px;
        position: relative;
    }

        .shein-icons a,
        .shein-icons span {
            color: #000;
            text-decoration: none;
            position: relative;
        }

        .shein-icons .badge {
            position: absolute;
            top: -6px;
            right: -8px;
            background: red;
            color: #fff;
            font-size: 10px;
            padding: 2px 5px;
            border-radius: 50%;
            line-height: 1;
        }

    /* =========================
       MOBILE SEARCH
    ========================= */

    #mobileSearchBox {
        border-top: 1px solid #eee;
        background: #fff;
    }

    /* =========================
       MOBILE CATEGORIES
    ========================= */

    .shein-categories {
        display: flex;
        gap: 22px;
        padding: 10px 12px;
        overflow-x: auto;
        white-space: nowrap;
    }

        .shein-categories a {
            font-size: 15px;
            font-weight: 700;
            color: #000;
            text-decoration: none;
            padding-bottom: 6px;
        }

            .shein-categories a.active {
                border-bottom: 3px solid var(--purple-main);
                color: var(--purple-main);
            }


    /* =========================
       MOBILE SIDE CART
    ========================= */

    #sideCart {
        top: 64px;
        height: calc(100% - 64px);
        width: 100%;
    }

    /* =========================
       PAGE CONTENT MOBILE
    ========================= */

   
}

/* ===== YOUMI BRAND – LUXE STYLE ===== */
.youmi-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

/* النص */
.brand-text {
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 18px;
    text-transform: uppercase;
}

    /* قبل اللوقو */
    .brand-text.before {
        color: #111;
    }

    /* بعد اللوقو */
    .brand-text.after {
        color: var(--main-color);
    }

/* اللوقو */
.brand-logo {
    height: 28px;
    width: auto;
    transform: translateY(-1px);
}

/* ===== Desktop ===== */
@media (min-width: 768px) {
    .brand-text {
        font-size: 22px;
        letter-spacing: 4px;
    }

    .brand-logo {
        height: 34px;
    }
}

@media (max-width: 768px) {

    .product-card {
        background: #ffffff;
    }
}

/* ===== Mobile (مثل SHEIN) ===== */
@media (max-width: 768px) {
    .brand-text {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .brand-logo {
        height: 26px;
    }

    body {
        background-color: #F3E5F5;
    }
}

@media (max-width: 768px) {

    .product-card {
        background-color: #fafcfc;
        border-radius: 18px;
        box-shadow: 0 6px 16px rgba(0,0,0,0.08);
        border: 1px solid #F1DCDC;
    }

        .product-card:active {
            transform: scale(0.98);
        }
    /* خلفية الصورة داخل البطاقة */
    .product-image-box {
        background-color: #fafcfc;
    }
}

@media (max-width: 768px) {

    /* الخلفية تحت الاسم والسعر */
    .product-card .product-info {
        background: linear-gradient(180deg, #E3F2FD, #F3E5F5);
        border-radius: 0 0 18px 18px;
        padding: 12px 10px;
    }

    /* اسم المنتج */
    .product-card .product-title {
        color: #F48FB1;
        font-weight: 700;
    }

    /* التصنيف */
    .product-card .product-category {
        color: #C98AA5;
    }

    /* السعر الجديد */
    .product-card .promo-price,
    .product-card .normal-price {
        color: #c90213;
        font-weight: 900;
    }

    /* السعر القديم */
    .product-card .old-price {
        color: #000708;
    }

}
/* ===== FIX WHITE GAP BETWEEN MOBILE BARS ===== */
@media (max-width: 768px) {

    /* الشريط العلوي */
    .shein-mobile-nav {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* شريط التصنيفات */
    .shein-categories {
        margin-top: 0 !important;
    }
}

/*@media (max-width: 768px) {

    body {
        background-color: var(--lavender);
    }
}
/*@media (max-width: 768px) {

    html,
    body {
        background-color: #e6f5f7 !important; /* أزرق الهيدر */
/* }

    .container,
    .body-content {
        background-color: transparent !important;
    }
}
*/ 
