/* الألوان والخطوط */
:root {
    --primary-pink: #F8C8DC; /* الوردي الهادئ */
    --accent-pink: #E4587E;  /* الوردي القوي للأزرار */
    --gold-accent: #D4AF37;  /* لمسة ذهبية خفيفة */
    --soft-bg: #FFF9FA;      /* خلفية مريحة للعين */
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--soft-bg);
    /*padding-top: 140px;*/
}

/* الهيدر  */

.nav-link {
    font-weight: 600;
    color: #444 !important;
}

.nav-left-group {
    order: 1;
}

.navbar-collapse {
    justify-content: flex-end; /* دفع الروابط لليمين */
}

.navbar-nav .nav-link {
    white-space: nowrap; 
    padding-left: 15px !important;
    padding-right: 15px !important;
    color: #333 !important;
}

.navbar-nav .nav-link:hover {
    color: #E4587E !important;
}

/* تنسيق القائمة المنسدلة */
.dropdown-menu {
    border-radius: 15px; /* حواف ناعمة مثل باقي المتجر */
    padding: 10px;
    margin-top: 10px !important;
}

/* ضبط اتجاه القائمة المنسدلة لليمين */
.navbar-nav .dropdown-menu {
    text-align: right !important; /* محاذاة النص لليمين */
    left: auto !important;        /* إلغاء تموضع اليسار */
    right: 0 !important;         /* تثبيت القائمة لتبدأ من اليمين */
}
/* لضمان ظهور الأيقونة (إن وجدت) في الجهة الصحيحة */
.dropdown-item i {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.dropdown-item {

    display: block !important;
    width: 100% !important;
    clear: both !important;
    text-align: right !important; /* البدء من اليمين */
}

.dropdown-item:hover {
    background-color: #fdf2f5; /* لون وردي فاتح عند التأشير */
    color: #E4587E;
    border-radius: 8px;
}

/* إزالة سهم المنسدلة الافتراضي إذا أردتِ مظهراً أنعم */
.dropdown-toggle::after {
    vertical-align: middle;
    margin-right: 5px;
}

/* تنسيق البحث */
.nav-left-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-left-group a {
    color: #333;
    transition: color 0.3s;
}

.nav-left-group a:hover {
    color: #E4587E;
}


/* حاوية البحث - الكبسولة */
.candy-search-container {
    display: flex;
    align-items: center;
    background-color: #f8f9fa; 
    border: 1px solid #eee;
    border-radius: 50px; 
    padding: 5px 15px;
    max-width: 220px;
    transition: all 0.3s ease;
}

.search-icon {
    color: #aaa;
    margin-left: 10px; 
    font-size: 0.9rem;
}

.candy-search-input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.85rem;
    color: #444;
}

.candy-search-container:focus-within {
    background-color: #fff;
    border-color: #E4587E; /* اللون الوردي للهوية */
    box-shadow: 0 0 8px rgba(228, 88, 126, 0.1);
}

/* الكروت (Products) */
.product-card {
    height: 100%; /* يجبر الكارد على ملء كامل ارتفاع العمود */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* يوزع المحتوى بحيث يكون الزر دائماً في الأسفل */
    transition: 0.3s;
    border: none;
    border-radius: 20px;
    background: #fff;
    padding-bottom: 15px; /* مسافة جمالية أسفل الزر */
    border: none;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(228, 88, 126, 0.15);
    transform: translateY(-5px);
}

/* ستايل سكشن الأكثر مبيعاً (الدوائر) */
.bestseller-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--primary-pink);
    overflow: hidden;
    margin: 0 auto 15px;
    background: #fff;
    padding: 15px;
}

.bestseller-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn-candy {
    background-color: var(--accent-pink);
    color: white;
    border-radius: 50px;
    padding: 10px 30px;
    border: none;
}

.btn-candy:hover {
    background-color: #c43d61;
    color: white;
    box-shadow: 0 4px 12px rgba(228, 88, 126, 0.3);
}



/* تنسيقات الهيدر الخاصة */
.navbar {
    border-bottom: 1px solid #f2f2f2;
}

.logo{
    max-height: 125px;
    mix-blend-mode: multiply;
}

.nav-link {
    color: #333 !important;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-pink) !important;
}

/* ستايل أيقونات البحث والحساب */
.bi {
    transition: transform 0.2s;
}

.bi:hover {
    transform: scale(1.1);
    color: var(--accent-pink);
}

.input-group-text, .form-control {
    border-color: #eee;
}

/* ستايل السلايدر */
.carousel-item {
    min-height: 400px; /* لضمان مظهر جيد في الجوال */
}
.carousel-item img {
    width: 100%;
    height: 600px; /* الارتفاع الذي اخترتيه */
    object-fit: cover; /* أهم خاصية: تحافظ على أبعاد العناصر داخل الصورة وتملأ الفراغ */
    object-position: center; /* تجعل التركيز دائماً على وسط الصورة */
}
.text-dark-pink {
    color: var(--accent-pink);
}

.bg-pink {
    background-color: #E4587E;
}

.bg-white-50 {
    background-color: rgba(255, 255, 255, 0.7);
}

/* تنسيق ستايل الأقواس للمنتجات */
.arch-wrapper {
    position: relative;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    overflow: hidden;
    background-color: #fff; /* خلفية بيضاء للصورة */
    padding: 20px;
    transition: all 0.4s ease;
}

.candy-arch {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    object-fit: cover;
    width: 100%;
    aspect-ratio: 3/4; /* لجعل جميع الصور بنفس الطول */
}

.product-card:hover .arch-wrapper {
    box-shadow: 0 15px 30px rgba(228, 88, 126, 0.1);
    transform: translateY(-5px);
}

/* تنسيق ستايل الأكثر مبيعاً */
.gold-circle {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 10px;
    border: 2px solid var(--gold-accent); /* اللون الذهبي المتفق عليه */
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
}

.gold-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.text-gold {
    color: var(--gold-accent);
}

.bestseller-wrapper:hover .gold-circle {
    border-color: var(--accent-pink);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transform: scale(1.05);
}

/* تنسيق بنر العروض */
.offer-banner {
    min-height: 250px;
    background-color: #fff;
}

.offer-banner img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offer-banner:hover img {
    transform: scale(1.05);
}

/* ستايل ملصق الخصم (Sticker) */
.discount-sticker {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #ff4d6d; /* لون أحمر/وردي قوي */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
    transform: rotate(15deg); /* جعل الملصق مائل ليعطي انطباع "Sticker" */
}

/* محتوى العرض فوق الصورة */
.offer-content {
    position: absolute;
    top: 40%;
    left: 15px;
    width: 50%;
    height: 43%;
    background: linear-gradient(to right, rgba(246, 154, 176, 0.62), transparent);
    z-index: 1;
}

/* تنسيق تذييل الموقع */
.footer-section {
    background-color: #fef7f9; /* وردي فاتح جداً للخلفية */
    border-top: 1px solid #fce4ec;
}

/* ستايل الأيقونات الاجتماعية */
.social-icon {
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: #E4587E; /* اللون الوردي الأساسي */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(228, 88, 126, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #E4587E;
    color: #fff;
    transform: translateY(-3px);
}

/* تأثير الروابط */
.link-pink:hover {
    color: #E4587E !important;
    padding-right: 5px;
    transition: all 0.2s ease;
}

.text-pink { color: #E4587E; }
.bg-candy-light { background-color: #fdf2f5; }
.btn-pink { background-color: #E4587E; color: white; transition: 0.3s; }
.btn-pink:hover { background-color: #c94669; color: white; transform: translateY(-2px); }
.text-muted:hover {
    color: #E4587E !important;
    transition: 0.3s;
}
/* تنسيق الصور المصغرة */
.thumb-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}

.thumb-img:hover, .thumb-img.active {
    border-color: #E4587E;
    opacity: 0.8;
}

.leading-relaxed {
    line-height: 1.8;
}

.form-control:focus {
    background-color: #fff !important;
    border-color: #E4587E !important;
    box-shadow: 0 0 0 0.25rem rgba(228, 88, 126, 0.1);
}

.form-check-input:checked {
    background-color: #E4587E;
    border-color: #E4587E;
}

.auth-section {
    background-image: radial-gradient(#E4587E 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    background-color: #fdf2f5;
    opacity: 0.9;
}

a.text-pink:hover {
    color: #c94669 !important;
    text-decoration: underline !important;
}

.cursor-pointer {
    cursor: pointer;
}

hr {
    opacity: 0.1;
}


/* الصفحات الداخلية */
.leading-loose {
    line-height: 2; 
    font-size: 1.1rem;
}

.content-area h3 {
    position: relative;
    padding-bottom: 15px;
}

.content-area h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background-color: #E4587E;
    border-radius: 2px;
}

.policy-list li {
    padding-right: 10px;
    border-right: 2px solid transparent;
    transition: 0.3s;
}

.policy-list li:hover {
    border-right-color: #E4587E;
    padding-right: 15px;
}

.icon-circle i {
    filter: drop-shadow(0 4px 6px rgba(228, 88, 126, 0.2));
}



/* البروفايل */

/* تنسيق القائمة الجانبية */
.profile-nav .list-group-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
}

/* الحالة النشطة (Active) */
.profile-nav .list-group-item.active {
    background-color: #fdf2f5 !important;
    color: #E4587E !important;
    border-right: 4px solid #E4587E !important; /* علامة جانبية للقسم المختار */
}

.profile-nav .list-group-item:hover:not(.active) {
    background-color: #fafafa;
    color: #E4587E;
    padding-right: 30px; /* حركة خفيفة عند المرور */
}

/* تصميم الدائرة الوردية للرقم */
.badge-pink {
    background-color: #E4587E; /* نفس لون هوية كاندي شوب */
    color: white;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 50rem !important; /* بديل لـ rounded-pill */
    font-weight: bold;
    display: inline-block;
    line-height: 1;
    text-align: center;
    vertical-align: baseline;
    margin-right: 10px; /* لإبعادها قليلاً عن النص */
}

/* لضمان محاذاة الرقم في الجهة المقابلة */
.list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bg-success-light { background-color: rgba(25, 135, 84, 0.1); }
.bg-warning-light { background-color: rgba(255, 193, 7, 0.1); }

.order-item {
    transition: 0.3s;
    border: 1px solid #eee !important;
}

.order-item:hover {
    border-color: #E4587E !important;
    transform: translateX(-5px); /* حركة بسيطة لليمين عند التأشير */
}

/* تنسيق القائمة الجانبية */
.custom-sidebar .list-group-item {
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: transparent;
}

.custom-sidebar i {
    font-size: 1.2rem;
    width: 25px; /* توحيد عرض الأيقونات لضمان محاذاة النصوص */
}
/* تنسيق الرقم الوردي (Badge) */
.custom-badge {
    background-color: #E4587E;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}
.custom-sidebar .list-group-item.active {
    background-color: #fff !important; /* أو اللون الذي تفضلينه */
    color: #E4587E !important;
    font-weight: bold;
}


/* الحاوية الأساسية لكل عنصر في القائمة */
.sidebar-item-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

/* لضمان محاذاة الأيقونة مع النص دائماً */
.sidebar-item-wrapper div {
    display: flex;
    align-items: center;
}


/* تنسيق القائمة الجانبية بالكامل */
.list-group-item {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* النص والأيقونة يميناً */
    position: relative;
    gap: 12px; /* مسافة ثابتة بين الأيقونة والنص */
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* دفع الرقم (Badge) إلى أقصى اليسار */
.list-group-item .custom-badge, 
.list-group-item .badge,
.list-group-item span:last-child:not(:first-child) {
    /* margin-right: auto !important;  */
    margin-left: 0 !important;
}

/* توحيد محاذاة الأيقونات لمنع تعرج النصوص */
.list-group-item i {
    width: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* تنسيق دائرة الرقم لتكون متناسقة */
.custom-badge, .badge-pink {
    background-color: #E4587E;
    color: white;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
}

.item-text{
    margin-right: 0 !important;
}


/* ///////////////مودال تفاصيل الطلب////////////////// */

/* تنسيق صف المنتج */
.order-item-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
    direction: rtl; /* ضمان الاتجاه العربي */
}

.order-item-row:last-child {
    border-bottom: none;
}

/* صورة المنتج */
.product-thumb {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #fdf2f5;
    border-radius: 10px;
    margin-left: 15px; /* مسافة بين الصورة والنص */
    flex-shrink: 0;
}

/* تفاصيل المنتج (الوسط) */
.product-details {
    flex-grow: 1;
}

.product-details h6 {
    font-size: 0.9rem !important;
    margin: 0;
}

/* السعر الإجمالي (اليسار) */
.product-total {
    min-width: 80px;
    white-space: nowrap;
}

/* صندوق ملخص الأسعار السفلي */
.price-summary-box {
    background-color: #fdf2f5;
    border-radius: 15px;
    padding: 15px;
    direction: rtl;
}

/* تحسينات عامة للمودال */
.modal-content {
    border: none;
}


/* //////////////////cart/////////// */
/* تنسيقات صفحة السلة */
.cart-item {
    transition: background 0.3s;
}

.cart-item:hover {
    background-color: #fafafa;
}

/* محدد الكمية */
.qty-selector {
    background: #f8f9fa;
}

.qty-selector input {
    background: transparent !important;
    max-width: 40px;
}

.qty-selector .btn:hover {
    background-color: #E4587E;
    color: white;
}
/* تحسين شكل الكوبون */
.input-group .form-control:focus {
    box-shadow: none;
}


/* تغيير كلمة المرور */
/* تنسيق صناديق الإدخال الوردية الناعمة */
.candy-input-group {
    background-color: #f8f9fa; /* لون خلفية المدخلات في صورتك */
    border-radius: 50px; /* جعل الحواف دائرية جداً */
    padding: 5px 15px;
    transition: 0.3s;
}

.candy-input-group:focus-within {
    background-color: #fff;
    box-shadow: 0 0 0 2px #fdf2f5;
}

.candy-input-group .form-control {
    background: transparent;
    font-size: 0.9rem;
}

.candy-input-group .input-group-text {
    color: #E4587E; /* اللون الوردي للأيقونات */
}



/* -----------FAQs--------- */

/* تنسيق قسم الأسئلة الشائعة */
.accordion-item {
    border: none !important;
}

.accordion-button {
    background-color: #fff !important;
    color: #333 !important;
    padding: 20px !important;
    box-shadow: none !important;
    transition: 0.3s;
}

.accordion-button:not(.collapsed) {
    color: #E4587E !important; /* اللون الوردي عند الفتح */
    background-color: #fdf2f5 !important;
}

/* تعديل سهم القائمة ليناسب اللغة العربية */
.accordion-button::after {
    margin-right: auto;
    margin-left: 0;
}

.accordion-body {
    background-color: #fdf2f5;
    line-height: 1.8;
    font-size: 0.95rem;
}

.rounded-4 { border-radius: 20px !important; }

/* ===== avatar ===== */
/* تنسيق الصورة المصغرة في الهيدر */
.user-avatar-nav {
    width: 35px;
    height: 35px;
    background-color: #E4587E; /* اللون الوردي الأساسي للمتجر */
    color: white;
    border-radius: 50%; /* شكل دائرى */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    border: 2px solid #fff;
    transition: 0.3s;
    cursor: pointer;
}

.user-avatar-nav:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(228, 88, 126, 0.2);
    background-color: #c94669;
}

/* ///////////////category//////////// */
/* تنسيق التابات الوردي */
.candy-tabs .nav-link {
    color: #555;
    background-color: #fff;
    border: 1px solid #fdf2f5;
    transition: 0.3s;
    font-weight: bold;
    font-size: 0.9rem;
}

.candy-tabs .nav-link.active {
    background-color: #E4587E !important; /* اللون الوردي الأساسي */
    color: white !important;
    box-shadow: 0 4px 12px rgba(228, 88, 126, 0.2);
}

.candy-tabs .nav-link:hover:not(.active) {
    background-color: #fdf2f5;
    color: #E4587E;
}

/* تنسيق كرت المنتج */
.product-card {
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
}

.product-card img {
    height: 200px;
    object-fit: contain;
    /* background-color: #fdf2f5; */
}

.btn-outline-pink {
    border-color: #E4587E;
    color: #E4587E;
}

.btn-outline-pink:hover {
    background-color: #E4587E;
    color: white;
}

/* تنسيق مبدل اللغة */
.lang-switcher {
    padding: 5px 10px;
    border-radius: 20px;
    transition: 0.3s;
    background-color: #fdf2f5; /* لون وردي خفيف جداً متناسق مع المتجر */
    color: #E4587E !important; /* لون النص الوردي الأساسي */
}

.lang-switcher:hover {
    background-color: #E4587E;
    color: white !important;
    transform: scale(1.05);
}

.lang-switcher i {
    font-size: 0.9rem;
}

/* لضمان تناسق الأيقونات بجانب بعضها */
.nav-left-group .gap-3 {
    gap: 1.2rem !important;
}



/* ==============التقييم-============== */

/* 1. تنسيق الحاوية لضمان ثبات العناصر */
    .product-rating-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 10px 0;
        min-height: 50px;
    }

    /* 2. إخفاء دوائر الراديو بشكل "عدواني" لضمان عدم ظهورها */
    .rating-stars-input {
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
    }

    .rating-stars-input input[type="radio"] {
        position: absolute !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        pointer-events: none !important;
    }

    /* 3. تنسيق النجوم */
    .rating-stars-input label {
        font-size: 1.4rem;
        color: #e0e0e0; /* لون النجوم الرمادي */
        cursor: pointer;
        padding: 0 2px;
        transition: color 0.2s, transform 0.2s;
    }

    /* النجوم في Bootstrap Icons */
    .rating-stars-input label::before {
        content: "\f586"; /* رمز النجمة الممتلئة */
        font-family: "bootstrap-icons" !important;
    }

    /* تأثيرات الألوان عند الاختيار أو التحويم */
    .rating-stars-input label:hover,
    .rating-stars-input label:hover ~ label,
    .rating-stars-input input:checked ~ label {
        color: #ffc107 !important; /* اللون الأصفر الذهبي */
    }

    .rating-stars-input label:hover {
        transform: scale(1.1);
    }

    /* رسالة النجاح */
    .rating-msg {
        height: 15px;
        font-size: 11px;
        color: #28a745;
        font-weight: bold;
        margin-top: 5px;
    }

    .text-back{color: #000}
    .user-avatar-circle {
    width: 80px;  /* نفس عرض الصورة الأصلي */
    height: 80px; /* نفس ارتفاع الصورة الأصلي */
    background-color: #E4587E; /* اللون الوردي المستخرج من رابط الصورة في الكود */
    color: #ffffff; /* لون النص أبيض */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px; /* حجم خط مناسب للدائرة */
    font-weight: bold;
    text-transform: uppercase;
    /* الكلاسات rounded-circle و shadow-sm من بوتستراب ستقوم بالباقي */
}


/* تنسيق حاوية الترقيم الكبرى */
.pagination {
    margin-top: 30px;
    justify-content: center; /* لتوسيط الأرقام في منتصف الصفحة */
}

/* تنسيق الأزرار العادية */
.pagination .page-item .page-link {
    color: #E4587E; /* اللون الوردي للهوية */
    border: none;
    border-radius: 8px;
    margin: 0 4px;
    padding: 8px 16px;
    transition: 0.3s;
}

/* تنسيق الزر النشط (الصفحة الحالية) */
.pagination .page-item.active .page-link {
    background-color: #E4587E !important;
    border-color: #E4587E !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(228, 88, 126, 0.3);
}

/* تأثير التمرير بالماوس */
.pagination .page-item .page-link:hover {
    background-color: #fceef2;
    color: #c43d61;
}

/* إخفاء نص عدد النتائج في الترقيم */
.custom-pagination p {
    display: none !important;
}

/* لضمان بقاء أزرار الأرقام فقط في المنتصف */
.custom-pagination nav > div:first-child {
    display: none !important;
}
.footer-description {
    word-wrap: break-word; /* كسر الكلمات الطويلة */
    overflow-wrap: break-word;
    white-space: normal; /* التأكد من عدم منع التفاف النص */
}


 .error-section {
        min-height: 70vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fdf2f5; /* نفس خلفية صور المنتجات في الموقع */
    }
    .error-card {
        text-align: center;
        padding: 40px;
        background: white;
        border-radius: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        max-width: 500px;
        width: 100%;
    }
    .error-code {
        font-size: 100px;
        font-weight: 900;
        color: #d63384; /* لون الـ Dark Pink المستخدم في الموقع */
        line-height: 1;
        margin-bottom: 10px;
    }
    .error-icon {
        font-size: 50px;
        color: #ff85a2;
        margin-bottom: 20px;
    }
    .btn-pink-gradient {
        background: linear-gradient(45deg, #ff85a2, #d63384);
        border: none;
        color: white;
        padding: 12px 30px;
        border-radius: 50px;
        font-weight: bold;
        transition: 0.3s;
    }
    .btn-pink-gradient:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(214, 51, 132, 0.3);
        color: white;
    }
    
    
    .variant-card:hover {
        border-color: #ffb6c1 !important; /* لون وردي خفيف */
        transform: translateX(-5px); /* إزاحة بسيطة لليمين في المواقع العربية */
        box-shadow: 0 4px 12px rgba(255, 182, 193, 0.2) !important;
    }

    /* تنسيق صورة اللون */
    .variant-img-wrapper img {
        width: 55px;
        height: 55px;
        object-fit: cover;
        transition: transform 0.3s ease;
        cursor: pointer;
    }

    .variant-img-wrapper img:hover {
        transform: scale(1.2); /* تكبير الصورة عند مرور الماوس لرؤية الخامة */
        z-index: 10;
    }
    
    .page-item.active .page-link {
        background-color: #E4587E !important;
        border-color: #E4587E !important;
        color: white !important;
    }
/* //////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////// */

/* تعديلات الجوال */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap; /* للسماح للأرقام بالنزول لسطر جديد إذا كانت كثيرة */
        justify-content: center;
        gap: 5px;
    }
        
    .page-link {
        padding: 8px 12px; /* تصغير حجم الأزرار لتناسب أصابع المستخدم في الجوال */
        font-size: 14px;
        border-radius: 8px !important; /* شكل ناعم يتماشى مع براند كاندي شوب */
    }
    .carousel-item {
        height: 60vh !important;
    }
    .carousel-item h1 {
        font-size: 2rem;
    }
    .carousel-item p {
        font-size: 1rem;
    }
     .carousel-item .w-100 {
        width: 107% !important;
    }
    .offer-content {
        width: 70%;
        text-align: center;
        align-items: center !important;
        top: 55%;
        left: 2%;
    }
    .offer-content .btn {
        align-self: center !important;
    }
    .product-info-header { text-align: center; }
    .price-box { justify-content: center; }
    .arch-wrapper { padding: 0 !important;}
    .candy-arch { aspect-ratio: 0; }
    .product-card img { height: 130px; }
      /* تنسيق صورة اللون */
    .variant-img-wrapper img {
        width: 50px;
        height: 50px;
    }

    .variant-img-wrapper img:hover {
        transform: scale(1.1); /* تكبير الصورة عند مرور الماوس لرؤية الخامة */
    }
}

/* تعديلات الجوال لضمان ظهور منتجين في السطر */
@media (max-width: 576px) {

    .navbar-brand {
        order: 0 !important;
        margin-right: 0 !important;
    }
    .gold-circle {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 767px) {
    .cart-item {
        background: #fff;
        margin-bottom: 15px;
        border-radius: 15px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        border: 1px solid #eee !important;
    }
    .logo { max-height: 85px; }
    
    /* جعل كل سطر يأخذ مساحة كاملة مع توزيع العناصر */
    .cart-item > div {
        border-bottom: 1px dashed #f5f5f5;
        padding: 8px 0;
    }
    
    .cart-item > div:last-child {
        border-bottom: none;
    }

    /* تكبير صورة المنتج قليلاً على الجوال */
    .cart-item img {
        width: 60px;
        height: 60px;
    }
}


/* ضبط اللوجو للموبايل */
@media (max-width: 991px) {
    /*body {*/
            /* في الجوال يكون الارتفاع أصغر عادة، يمكنك تعديله حسب الحاجة */
    /*        padding-top: 100px; */
    /*    }*/
        /* لضمان بقاء الهيدر فوق أي عناصر أخرى */
    /*header.fixed-top {*/
    /*    z-index: 1030; */
    /*}*/
    .nav-left-group, .navbar-collapse {
        width: auto !important;
    }
    .navbar-brand {
        order: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }
    .nav-left-group {
        order: 2;
        margin-left: 10px;
        margin-top: -25px;
        margin-bottom: 10px;
    }
    .navbar {
        padding: 0 !important;
    }
    .profile-nav {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
    }
    .profile-nav .list-group-item {
        border-right: none !important;
        border-bottom: 2px solid transparent;
    }
    .profile-nav .list-group-item.active {
        border-bottom: 2px solid #E4587E !important;
    }
}
@media (min-width: 992px) {
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
}

/* ///////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////
 */

