/*
====================================
  1. المتغيرات والألوان الأساسية (مستوحاة من تصميمك)
====================================
*/
:root {
    --primary-blue: #3b82f6; /* أزرق ساطع وواضح */
    --dark-bg: #111827; /* خلفية رمادي داكن جداً (ليست سوداء تماماً) */
    --secondary-bg: #1f2937; /* لون الكروت وحقل البحث */
    --border-color: #374151; /* لون الحدود الخفيف */
    --text-light: #f9fafb; /* أبيض ناصع للنصوص الرئيسية */
    --text-muted: #9ca3af; /* رمادي فاتح للنصوص الثانوية */

    --font-family-main: "Tajawal", sans-serif; /* الفونت الأساسي */
}
.text-muted {
    color: rgb(255 255 255 / 75%) !important;
}
a {
    text-decoration: none;
}
.row {
    margin: 0;
    padding: 0;
}
/*
====================================
  2. التعديلات العامة (Body & Typography)
====================================
*/
body,
html {
    color: var(--text-light);
    font-family: var(--font-family-main);
    scroll-behavior: smooth;
}

/* للتأكد من تطبيق الفونت على كل شيء */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.btn,
.navbar,
.form-control,
.card-title {
    font-family: var(--font-family-main);
}

/*
====================================
  3. الهيدر والـ Navbar
====================================
*/
.navbar {
    background-color: var(--dark-bg) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.navbar .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 0.5rem;
}
.navbar .nav-link.active {
    font-weight: 700;
    color: var(--primary-blue);
    border-bottom: 3px solid var(--primary-blue);
}
.navbar .nav-link:hover {
    color: var(--primary-blue);
}
.navbar-brand img {
    height: 30px;
}
/* ===== Header الجديد - Premium ===== */
.site-header { z-index:1030; }
.header-top {
    background:#020617;
    border-bottom:1px solid rgba(255,255,255,0.06);
    padding:0.45rem 0;
    font-size:0.82rem;
}
.header-top .top-social {
    width:26px; height:26px; border-radius:50%; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.08);
    display:inline-flex; align-items:center; justify-content:center; color:#94a3b8; font-size:0.75rem; transition:all 0.2s; text-decoration:none;
}
.header-top .top-social:hover { background:var(--primary-blue); color:#fff; border-color:var(--primary-blue); }
.lang-btn {
    padding:0.25rem 0.55rem; font-size:0.72rem; font-weight:700; border-radius:50px; border:1px solid rgba(255,255,255,0.15);
    color:#cbd5e1; text-decoration:none; transition:all 0.2s; background:transparent;
}
.lang-btn.active, .lang-btn:hover { background:#fff; color:#0f172a; border-color:#fff; }
.header-main {
    background:rgba(15,23,42,0.96);
    backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(255,255,255,0.06);
    padding:0.75rem 0;
}
.header-logo { text-decoration:none; }
.header-logo .logo-text { font-weight:800; font-size:1.15rem; color:#f8fafc; letter-spacing:-0.02em; }
.header-nav .nav-link {
    color:#cbd5e1; font-weight:500; font-size:0.9rem; padding:0.45rem 0.9rem; border-radius:50px; transition:all 0.2s; text-decoration:none;
}
.header-nav .nav-link:hover { color:#fff; background:rgba(255,255,255,0.06); }
.header-nav .nav-link.active { color:#fff; background:var(--primary-blue); font-weight:700; }
.action-btn {
    position:relative; width:40px; height:40px; border-radius:12px; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.08);
    display:inline-flex; align-items:center; justify-content:center; color:#e2e8f0; font-size:1rem; transition:all 0.2s; text-decoration:none;
}
.action-btn:hover { background:var(--primary-blue); color:#fff; border-color:var(--primary-blue); transform:translateY(-1px); }
.action-badge {
    position:absolute; top:-6px; right:-6px; min-width:18px; height:18px; border-radius:50px; font-size:0.65rem; font-weight:700;
    display:flex; align-items:center; justify-content:center; padding:0 0.25rem; border:2px solid #0f172a;
}
.user-btn { text-decoration:none; padding:0.3rem 0.6rem; border-radius:50px; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.08); transition:all 0.2s; }
.user-btn:hover { background:rgba(255,255,255,0.1); }
.user-avatar { width:28px; height:28px; border-radius:50%; background:linear-gradient(135deg, #2563eb, #60a5fa); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:0.8rem; }
.mobile-nav-link {
    display:flex; align-items:center; padding:0.75rem 1rem; border-radius:10px; color:#cbd5e1; text-decoration:none; font-weight:500; transition:all 0.2s;
}
.mobile-nav-link:hover, .mobile-nav-link.active { background:rgba(59,130,246,0.1); color:#fff; }
.mobile-nav-link.active { background:var(--primary-blue); color:#fff; }

/*
====================================
  4. الكاروسيل (Carousel)
====================================
*/
.carousel-caption-custom {
    position: absolute;
    right: 15%;
    bottom: 2rem;
    left: 15%;
    padding: 0.5rem;
    color: #fff;
    text-align: center;
    background: rgba(17, 24, 39, 0.2);
    backdrop-filter: blur(2px);
    border-radius: 0.75rem;
    /* border: 1px solid var(--border-color); */
}

/*
====================================
  5. عناوين الأقسام وحقل البحث
====================================
*/
.section-title {
    font-size: 2.5rem; /* حجم كبير وواضح */
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.search-form {
    position: relative;
    max-width: 500px;
    margin: auto;
}
.search-form .form-control {
    height: 50px;
    border-radius: 50px;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding-right: 20px;
    padding-left: 55px; /* مساحة لزر البحث */
}
.search-form .form-control:focus {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
    border-color: var(--primary-blue);
}
.search-form .btn {
    position: absolute;
    left: 5px; /* ليتناسب مع RTL */
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
}

/*
====================================
  6. كارت المنتج (Product Card) - التصميم الجديد
====================================
*/
.product-card-v2 {
    background-color: var(--secondary-bg);
    border: 1px solid transparent;
    border-radius: 1.25rem; /* حواف دائرية أكثر */
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center; /* كل النصوص في المنتصف */
    position: relative; /* لتموضع الزر الدائري */
    padding: 1.25rem;
    height: 100%;
}

.product-card-v2:hover {
    transform: translateY(-10px);
    border-color: var(--border-color);
}

.product-card-v2 .card-img-top {
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.product-card-v2 .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.product-card-v2 .card-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.product-card-v2 .card-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -1px; /* لجعل الأرقام متقاربة بشكل أفضل */
}

/* زر التفاصيل الدائري */
.product-card-v2 .btn-details {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem; /* المكان في التصميم RTL */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0; /* مخفي افتراضيًا */
    transform: scale(0.8);
    text-decoration: none;
}

.product-card-v2:hover .btn-details {
    opacity: 1; /* يظهر عند مرور الماوس */
    transform: scale(1);
}

.product-card-v2 .btn-details:hover {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/*
====================================
  7-8. الفوتر الجديد كلياً - Premium
====================================
*/
.site-footer {
    background: #0f172a;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}
.footer-trust-bar {
    background: linear-gradient(90deg, #1e293b 0%, #1e3a5f 50%, #1e293b 100%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0.75rem 0;
}
.footer-trust-bar .trust-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: #cbd5e1;
}
.footer-trust-bar .trust-items i {
    color: #60a5fa;
    margin-left: 0.4rem;
}
.footer-main {
    padding: 2.75rem 0 1.5rem;
    background: radial-gradient(800px 400px at 80% 0%, rgba(59,130,246,0.08), transparent 60%),
                linear-gradient(180deg, #0f172a 0%, #111827 100%);
}
.footer-brand .brand-text {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-light);
    letter-spacing: -0.02em;
}
.footer-desc {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.8;
    margin: 0;
}
.footer-contact-mini {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
}
.footer-contact-mini a, .footer-contact-mini span {
    color: #94a3b8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}
.footer-contact-mini a:hover { color: var(--primary-blue); }
.footer-contact-mini i { color: #60a5fa; font-size: 0.85rem; width: 16px; }
.footer-heading {
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.1rem;
    position: relative;
    padding-bottom: 0.6rem;
}
.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 28px;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 50px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.footer-links a::before {
    content: "‹";
    opacity: 0;
    transform: translateX(6px);
    transition: all 0.2s;
    color: var(--primary-blue);
    font-weight: 700;
}
.footer-links a:hover { color: #f1f5f9; transform: translateX(-3px); }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }
.footer-social {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.footer-social .social-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all 0.25s ease;
    text-decoration: none;
}
.footer-social .social-icon:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59,130,246,0.3);
}
.footer-social .social-icon.is-whatsapp:hover { background: #25d366; border-color: #25d366; }
.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link:hover { color: var(--primary-blue); text-decoration: none; }
.footer-bottom {
    background: #020617;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: #64748b;
}
.toast-notification {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1050;
    background-color: var(--primary-blue);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
/*
====================================
  9. صفحة الدفع (Checkout Page)
====================================
*/

.checkout-form .form-label-custom {
    position: absolute;
    top: -0.7rem;
    right: 1.5rem;
    background-color: var(--secondary-bg);
    padding: 0 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.checkout-form .form-control {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.25rem 1rem;
    color: var(--text-light);
    font-size: 1rem;
}

.checkout-form .form-control::placeholder {
    color: var(--text-muted);
}

.checkout-form .form-control:focus {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--primary-blue);
    box-shadow: none;
}

.checkout-section {
    background-color: var(--secondary-bg);
    padding: 2.5rem;
    border-radius: 1.5rem; /* حواف دائرية كبيرة */
    position: relative;
    border: 1px solid var(--border-color);
}

.checkout-section-title {
    position: absolute;
    top: -1rem; /* يرفع العنوان ليكون فوق الكارد */
    right: 50%;
    transform: translateX(50%);
    background-color: #273142; /* لون مختلف قليلاً ليميزه */
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--text-light);
    white-space: nowrap; /* لمنع كسر العنوان */
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}
.order-summary-item:last-of-type {
    border-bottom: none;
}
.order-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 1rem;
    color: var(--text-light);
}

.order-summary-total .label {
    font-size: 1.5rem;
    font-weight: 800;
}
.order-summary-total .amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.payment-method-item {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-method-item:has(input:checked) {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-blue);
}
.payment-details {
    background-color: var(--dark-bg); /* لون أغمق قليلاً لتمييزه */
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 0.5rem;
}
.user-select-all {
    user-select: all; /* يجعل الرقم سهل التحديد والنسخ للمستخدم */
}
.search-form input::placeholder {
    color: white !important;
}
@media only screen and (max-width: 992px) {
  #heroCarousel .carousel-caption-custom {
    bottom: 1.25rem;
    padding: 1rem;
  }
  #heroCarousel .carousel-caption-custom h2 {
    font-size: 1.4rem;
  }
  #heroCarousel .carousel-caption-custom .lead {
    font-size: 0.9rem;
  }
  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next {
    display: none;
  }
  .slide-img {
    height: 60vh;
  }
}
/*
====================================
  10. تصميم الموبايل (Mobile Navigation)
====================================
*/
.mobile-header {
    background-color: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
}

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 420px;
    background: rgba(15,23,42,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 6px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.28), 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    gap: 4px;
}

.mobile-bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 4px;
    border-radius: 14px;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.66rem;
    font-weight: 500;
    transition: all 0.25s ease;
    position: relative;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.22rem;
    transition: transform 0.2s ease;
    line-height: 1;
}

.mobile-bottom-nav .nav-item span {
    font-size: 0.64rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.mobile-bottom-nav .nav-item.active {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59,130,246,0.35);
}

.mobile-bottom-nav .nav-item.active i {
    transform: scale(1.05);
}

.mobile-bottom-nav .nav-item:not(.active):hover {
    color: #e2e8f0;
    background: rgba(255,255,255,0.06);
}

.mobile-bottom-nav .nav-badge {
    position: absolute;
    top: 2px;
    right: 18px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(15,23,42,0.96);
    line-height: 1;
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 88px;
    }
    .mobile-bottom-nav {
        display: flex;
    }
}
@media (max-width: 360px) {
    .mobile-bottom-nav { width: calc(100% - 16px); bottom: 12px; padding: 4px; }
    .mobile-bottom-nav .nav-item { padding: 6px 2px; }
    .mobile-bottom-nav .nav-item span { font-size: 0.6rem; }
}

/* تعديل بسيط على زر "اطلب تفصيل" ليتناسب مع الهيدر */
.mobile-header .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

/*
====================================
  11. Scrollbar عصري نحيف (8px)
====================================
*/
* {
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 #111827;
}
*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
*::-webkit-scrollbar-track {
    background: #111827;
}
*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 10px;
    border: 2px solid #111827;
}
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
}
*::-webkit-scrollbar-corner {
    background: #111827;
}
html {
    scrollbar-gutter: stable;
}

/*
====================================
  12. Custom Cursor - دائرة تتبع الماوس (ديسكتوب فقط)
====================================
*/
@media (hover: hover) and (pointer: fine) {
    body.has-custom-cursor {
        cursor: none;
    }
    body.has-custom-cursor a,
    body.has-custom-cursor button,
    body.has-custom-cursor .btn,
    body.has-custom-cursor [role="button"] {
        cursor: none;
    }
}
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.custom-cursor.is-visible {
    opacity: 1;
}
.cursor-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.05s linear;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}
.cursor-ring {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(59, 130, 246, 0.45);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.15s ease-out;
    will-change: transform;
}
.custom-cursor.is-hovering .cursor-ring {
    width: 48px;
    height: 48px;
    border-color: rgba(59, 130, 246, 0.85);
    background: rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(1px);
}
.custom-cursor.is-clicking .cursor-ring {
    transform: translate(-50%, -50%) scale(0.85);
}
@media (max-width: 991.98px), (hover: none) {
    .custom-cursor {
        display: none !important;
    }
    body.has-custom-cursor,
    body.has-custom-cursor a,
    body.has-custom-cursor button {
        cursor: auto !important;
    }
}

/*
====================================
  13. تحسينات الصفحة الرئيسية - Hero & Collection
====================================
*/
.hero-wrapper {
    padding: 1rem;
    background-color: #f5f8fc;
}
@media (min-width: 992px) {
    .hero-wrapper {
        padding: 1.5rem 1.5rem 0;
    }
}
#heroCarousel {
    border-radius: 1.5rem;
    overflow: hidden;
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); */
    position: relative;
}
#heroCarousel .carousel-item {
    position: relative;
}
#heroCarousel .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17,24,39,0.75) 0%, rgba(17,24,39,0.25) 45%, rgba(17,24,39,0.05) 100%);
    pointer-events: none;
    z-index: 1;
}
#heroCarousel .slide-img {
    object-fit: cover;
    object-position: center;
    filter: saturate(1.05) brightness(0.95);
    transform: scale(1.02);
    transition: transform 7s ease;
}
#heroCarousel .carousel-item.active .slide-img {
    transform: scale(1.08);
}
#heroCarousel .carousel-caption-custom {
    z-index: 2;
    bottom: 2.5rem;
    background: rgba(17, 24, 39, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    max-width: 620px;
    margin: 0 auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
}
#heroCarousel .carousel-caption-custom .badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.35);
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}
#heroCarousel .carousel-indicators {
    bottom: 1rem;
    z-index: 3;
    gap: 0.5rem;
}
#heroCarousel .carousel-indicators [data-bs-target] {
    width: 28px;
    height: 4px;
    border-radius: 50px;
    background-color: rgba(255,255,255,0.5);
    border: none;
    opacity: 1;
    transition: all 0.3s ease;
}
#heroCarousel .carousel-indicators .active {
    width: 36px;
    background-color: var(--primary-blue);
}
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    z-index: 3;
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17,24,39,0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}
#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
    opacity: 1;
}
#heroCarousel .carousel-control-prev {
    left: 1.25rem;
}
#heroCarousel .carousel-control-next {
    right: 1.25rem;
}
#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}
.collection-header {
    position: relative;
}
.collection-header .section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 540px;
    margin: 0 auto;
}
.collection-header .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}
.collection-header .section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #60a5fa);
    border-radius: 50px;
}
.features-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}
.features-strip .feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    transition: all 0.2s ease;
}
.features-strip .feature-pill i {
    color: var(--primary-blue);
    font-size: 1rem;
}
.features-strip .feature-pill:hover {
    border-color: rgba(59,130,246,0.35);
    color: var(--text-light);
    transform: translateY(-2px);
}
/* ===== Collection Section - LIGHT ===== */
.collection-section {
    padding: 3.5rem 0 4rem;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    /* border-top: 1px solid #e2e8f0; */
    border-bottom: 1px solid #e2e8f0;
}
.collection-section::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.collection-hero {
    max-width: 720px;
    margin: 0 auto 2.25rem;
    position: relative;
}
.collection-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.18);
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.collection-title {
    display: block;
    font-size: 2.6rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 0.7rem;
}
.collection-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), #60a5fa);
    border-radius: 50px;
}
.collection-subtitle {
    color: #64748b;
    font-size: 0.97rem;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 560px;
}
.collection-search {
    max-width: 540px;
    margin: 1.5rem auto 0;
    position: relative;
}
.collection-search .search-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 2;
}
.collection-search .form-control {
    padding-right: 42px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    box-shadow: 0 4px 16px rgba(15,23,42,0.06);
}
.collection-search .form-control::placeholder { color: #94a3b8; }
.collection-search .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.12), 0 4px 16px rgba(15,23,42,0.06);
    background: #ffffff;
    color: #0f172a;
}
.collection-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #475569;
    box-shadow: 0 2px 8px rgba(15,23,42,0.05);
}
.collection-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding: 0.85rem 1.1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(15,23,42,0.06);
}
.collection-toolbar .toolbar-stats {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: #334155;
    font-weight: 500;
}
.collection-toolbar .toolbar-stats i { color: var(--primary-blue); }
.collection-toolbar .dot {
    width: 4px; height: 4px; border-radius: 50%; background: #cbd5e1; display: inline-block;
}
.features-strip.mini { margin-top: 0; gap: 0.6rem; }
.features-strip.mini .feature-pill {
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #475569;
}
.features-strip.mini .feature-pill:hover {
    background: #ffffff;
    border-color: var(--primary-blue);
    color: #0f172a;
}
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 1.25rem;
    box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}
.empty-state .empty-icon {
    width: 64px; height: 64px; border-radius: 16px;
    background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.15);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: #2563eb; margin-bottom: 1rem;
}
.empty-state h4 { font-weight: 700; color: #0f172a; margin-bottom: 0.4rem; }
.empty-state p { color: #64748b; }
/* كروت المنتجات داخل القسم الفاتح - تبقى داكنة لكن بظل أوضح */
.collection-section .product-card-v2 {
    box-shadow: 0 8px 24px rgba(15,23,42,0.07);
    border-color: transparent;
}
.collection-section .product-card-v2:hover {
    box-shadow: 0 16px 36px rgba(15,23,42,0.12);
    transform: translateY(-6px);
}
@media (max-width: 576px) {
    .collection-title { font-size: 1.9rem; }
    .collection-toolbar { flex-direction: column; align-items: stretch; }
}

/* ===== كارت المنتج الجديد - Light Premium ===== */
.product-card-new {
    background:#ffffff;
    border:1px solid #e2e8f0;
    border-radius:1.25rem;
    overflow:hidden;
    transition:all 0.3s ease;
    text-align:center;
    position:relative;
    height:100%;
    display:flex;
    flex-direction:column;
    box-shadow:0 4px 16px rgba(15,23,42,0.05);
}
.product-card-new:hover {
    transform:translateY(-6px);
    box-shadow:0 16px 32px rgba(15,23,42,0.10);
    border-color:#cbd5e1;
}
.product-card-new .card-image-wrap {
    position:relative;
    overflow:hidden;
    background:#f8fafc;
    aspect-ratio:1;
}
.product-card-new .card-image-wrap img {
    width:100%; height:100%; object-fit:cover; transition:transform 0.5s;
}
.product-card-new:hover .card-image-wrap img { transform:scale(1.05); }
.product-card-new .badge-discount {
    position:absolute; top:10px; right:10px;
    background:#ef4444; color:#fff; font-size:0.72rem; font-weight:700;
    padding:0.3rem 0.6rem; border-radius:50px; z-index:2;
}
.product-card-new .badge-stock {
    position:absolute; top:10px; left:10px;
    background:#0f172a; color:#fff; font-size:0.7rem; font-weight:700;
    padding:0.3rem 0.6rem; border-radius:50px; z-index:2;
}
.product-card-new .badge-stock.out { background:#991b1b; }
.product-card-new .color-dot {
    position:absolute; bottom:10px; right:10px;
    width:14px; height:14px; border-radius:50%; border:2px solid #fff;
    box-shadow:0 2px 6px rgba(0,0,0,0.15); z-index:2;
}
.product-card-new .quick-view {
    position:absolute; bottom:10px; left:10px;
    width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,0.9); border:1px solid #e2e8f0;
    display:flex; align-items:center; justify-content:center; color:#0f172a; font-size:0.85rem;
    opacity:0; transform:translateY(8px); transition:all 0.25s; z-index:2;
}
.product-card-new:hover .quick-view { opacity:1; transform:translateY(0); }
.product-card-new .quick-view:hover { background:var(--primary-blue); color:#fff; border-color:var(--primary-blue); }
.product-card-new .card-info { padding:1rem 1rem 0.75rem; flex-grow:1; display:flex; flex-direction:column; gap:0.35rem; }
.product-card-new .pc-title { font-size:1rem; font-weight:800; color:#0f172a; margin:0; line-height:1.3; }
.product-card-new .pc-subtitle { font-size:0.82rem; color:#64748b; margin:0; }
.product-card-new .pc-price { margin-top:0.5rem; }
.product-card-new .price-row { display:flex; align-items:center; justify-content:center; gap:0.4rem; flex-wrap:wrap; }
.product-card-new .price-row.sale .price-new { color:var(--primary-blue); font-weight:800; font-size:1.15rem; }
.product-card-new .price-new { font-weight:800; color:#0f172a; font-size:1.15rem; }
.product-card-new .price-old { color:#94a3b8; font-size:0.85rem; text-decoration:line-through; }
.product-card-new .price-note { color:#64748b; font-size:0.7rem; display:block; }
.product-card-new .from { color:#64748b; font-size:0.7rem; font-weight:500; }
.product-card-new .btn-details {
    position:absolute; bottom:12px; right:12px; width:42px; height:42px; border-radius:50%;
    background:#0f172a; border:1px solid #0f172a; color:#fff; display:flex; align-items:center; justify-content:center;
    opacity:0; transform:scale(0.8); transition:all 0.3s; text-decoration:none;
}
.product-card-new:hover .btn-details { opacity:1; transform:scale(1); }
.product-card-new .btn-details:hover { background:var(--primary-blue); border-color:var(--primary-blue); }

/* تحسين كارت المنتج - لمعة خفيفة */
.product-card-v2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(59,130,246,0.04) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.6s ease;
    transform: translateX(-100%);
    pointer-events: none;
    border-radius: inherit;
}
.product-card-v2:hover::before {
    opacity: 1;
    transform: translateX(100%);
}