/* assets/css/style.css - التصميم الهيلوغرامي المبتكر والفخم (Hologram Neon Theme) */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;700;800&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
    --primary: #00DFD8;          /* نيون سيان */
    --primary-dark: #00A3A0;
    --secondary: #7928CA;        /* بنفسجي سيبراني */
    --neon-pink: #FF007A;        /* وردي متوهج */
    --neon-orange: #FF9D3C;      /* برتقالي دافئ */
    
    --success: #10B981;
    --danger: #FF3D77;
    --warning: #F59E0B;
    --info: #00DFD8;
    
    --bg-color: #030305;         /* أسود عميق للفضاء */
    --text-color: #E2E8F0;       /* رمادي فاتح مائل للأبيض */
    --text-muted: #94A3B8;
    --card-bg: rgba(14, 14, 20, 0.7); /* زجاج مصقول */
    --border-color: rgba(255, 255, 255, 0.08);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px 0 rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 223, 216, 0.1);
    
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 28px;
    
    --font-family: 'Plus Jakarta Sans', 'Tajawal', sans-serif;
}

/* التنسيق العام للخلفية والصفحة */
body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* بقع الإضاءة الهولوجرامية في الخلفية */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.aurora-spot {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.22;
    animation: float-aurora 25s infinite alternate ease-in-out;
}

.aurora-spot-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -10%;
    right: -10%;
    animation-duration: 20s;
}

.aurora-spot-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    bottom: -15%;
    left: -10%;
    animation-duration: 28s;
    animation-delay: -5s;
}

.aurora-spot-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--neon-pink) 0%, transparent 70%);
    top: 40%;
    right: 25%;
    animation-duration: 24s;
    animation-delay: -10s;
}

@keyframes float-aurora {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(60px, 40px) scale(1.15) rotate(180deg);
    }
    100% {
        transform: translate(-40px, -60px) scale(0.9) rotate(360deg);
    }
}

/* شريط التمرير */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* تأثيرات النصوص المتدرجة المضيئة */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #a5f3fc 50%, var(--neon-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 223, 216, 0.2);
}

.text-gradient-purple {
    background: linear-gradient(135deg, #a5f3fc 0%, var(--primary) 30%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* المكونات الزجاجية (Glassmorphism) */
.holographic-card {
    background: var(--card-bg) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.holographic-card:hover {
    border-color: rgba(0, 223, 216, 0.25) !important;
    box-shadow: 0 12px 40px 0 rgba(0, 223, 216, 0.12);
    transform: translateY(-5px);
}

/* تأثير الإطار المضيء الدوار (Holographic Laser Border) */
@property --border-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes border-rotate {
    from { --border-angle: 0deg; }
    to { --border-angle: 360deg; }
}

.holographic-laser-card {
    position: relative;
    border-width: 2.5px !important;
    border-style: solid !important;
    border-color: transparent !important;
    border-radius: var(--radius) !important;
    animation: border-rotate 6s linear infinite !important;
    background: 
      linear-gradient(rgba(10, 10, 14, 0.88), rgba(10, 10, 14, 0.88)) padding-box, 
      linear-gradient(var(--border-angle), var(--primary), var(--secondary), var(--neon-pink), var(--primary)) border-box !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 223, 216, 0.1);
}

/* Navbar زجاجي مضيء */
.navbar {
    background: rgba(5, 5, 8, 0.75) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary) 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-brand i {
    filter: drop-shadow(0 0 8px var(--primary));
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
    background: rgba(0, 223, 216, 0.08);
    text-shadow: 0 0 8px rgba(0, 223, 216, 0.4);
}

/* محرك البحث الزجاجي */
.form-control {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 12px rgba(0, 223, 216, 0.25) !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* الأزرار السيبرانية المضيئة */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #008aff 100%) !important;
    border: none !important;
    color: #030305 !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px;
    box-shadow: 0 0 15px rgba(0, 223, 216, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(0, 223, 216, 0.7);
    transform: translateY(-2px);
    color: #000 !important;
}

.btn-outline-primary {
    border: 1.5px solid var(--primary) !important;
    color: var(--primary) !important;
    background: transparent !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: #030305 !important;
    box-shadow: 0 0 20px rgba(0, 223, 216, 0.5);
    transform: translateY(-2px);
}

/* Hero Section المستقبلية */
.hero-section {
    background: radial-gradient(circle at 50% 50%, rgba(0, 223, 216, 0.1) 0%, rgba(121, 40, 202, 0.05) 50%, transparent 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 5.5rem 2rem;
    box-shadow: var(--shadow), inset 0 0 40px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    margin-top: 2rem;
    margin-bottom: 3.5rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #FFFFFF 30%, #e2e8f0 70%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.btn-light-custom {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
    backdrop-filter: blur(10px);
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-light-custom:hover {
    background: #FFFFFF !important;
    color: #030305 !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.premium-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.2rem;
    background: rgba(14, 14, 20, 0.8) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid transparent !important;
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow);
    overflow: hidden;
    z-index: 1;
}

.backing-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    filter: blur(35px);
    opacity: 0.12;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: -1;
    border-radius: var(--radius);
}

.premium-card:hover .backing-glow {
    opacity: 0.35;
    transform: scale(1.05);
}

.premium-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary) !important;
    box-shadow: 0 15px 40px rgba(0, 223, 216, 0.15), 0 0 15px rgba(0, 223, 216, 0.2);
}

/* التوهج الدائري خلف صورة المنتج */
.product-card-img-wrap {
    position: relative;
    height: 190px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.premium-card:hover .product-card-img-wrap {
    background: rgba(255, 255, 255, 0.04);
}

.product-card-img-wrap img {
    max-height: 140px;
    width: auto;
    object-fit: contain;
    transition: all 0.5s ease;
    z-index: 2;
}

.premium-card:hover .product-card-img-wrap img {
    transform: scale(1.08) rotate(1deg);
}

.product-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.premium-card:hover .product-card-title {
    color: var(--primary);
}

.product-card-price {
    font-size: 1.3rem;
    font-weight: 800;
}

/* الأزرار داخل الكروت والتحويم الذكي */
.product-card-btn {
    width: 100%;
    padding: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.premium-card:hover .product-card-btn {
    background: linear-gradient(135deg, rgba(0, 223, 216, 0.15) 0%, rgba(121, 40, 202, 0.15) 100%);
    border-color: rgba(0, 223, 216, 0.4);
    color: var(--primary);
    box-shadow: 0 0 12px rgba(0, 223, 216, 0.15);
}

.product-card-btn:hover {
    background: var(--primary) !important;
    color: #030305 !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 15px rgba(0, 223, 216, 0.5) !important;
}

/* صناديق الميزات الهولوجرامية */
.feature-box {
    background: rgba(14, 14, 20, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2.2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    opacity: 0;
    transition: all 0.4s ease;
}

.feature-box:hover::before {
    opacity: 0.2;
}

.feature-box:hover {
    border-color: rgba(0, 223, 216, 0.3);
    box-shadow: 0 10px 30px rgba(0, 223, 216, 0.08);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(0, 223, 216, 0.4));
    margin-bottom: 1.25rem;
    display: inline-block;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* تفاصيل صفحة تفاصيل المنتج */
.product-detail-img {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 420px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.product-detail-img img {
    max-height: 340px;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
}

.product-thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.product-thumbnails .thumb {
    width: 80px;
    height: 80px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.01);
    transition: all 0.3s ease;
}

.product-thumbnails .thumb.active, .product-thumbnails .thumb:hover {
    border-color: var(--primary);
    background: rgba(0, 223, 216, 0.05);
    box-shadow: 0 0 10px rgba(0, 223, 216, 0.2);
}

.product-thumbnails .thumb img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

/* التحكم بالكمية الزجاجية */
.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.qty-control input {
    width: 60px;
    text-align: center;
    border: none !important;
    background: transparent !important;
    color: #FFFFFF !important;
    font-weight: 700;
}

.qty-control button {
    border-radius: 0 !important;
    color: var(--primary) !important;
}

.qty-control button:hover {
    background: rgba(0, 223, 216, 0.1) !important;
}

/* التبويبات الزجاجية */
.nav-tabs {
    border-bottom: 1px solid var(--border-color) !important;
}

.nav-tabs .nav-link {
    border: none !important;
    color: var(--text-muted) !important;
    font-weight: 700;
    background: transparent !important;
    padding: 0.85rem 1.5rem !important;
    border-radius: 0 !important;
    position: relative;
}

.nav-tabs .nav-link.active {
    color: var(--primary) !important;
}

.nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* الشريط الجانبي لتصفية المنتجات */
.sticky-top {
    background: rgba(14, 14, 20, 0.7) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

/* ذيل الصفحة الهولوجرامي */
.footer {
    background: rgba(5, 5, 8, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 4.5rem 0 2rem 0;
}

.footer-heading {
    font-weight: 800;
    color: #FFFFFF;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

.footer-link {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
    padding-right: 5px;
    text-shadow: 0 0 8px rgba(0, 223, 216, 0.4);
}

.social-icon {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    color: #030305 !important;
    box-shadow: 0 0 15px rgba(0, 223, 216, 0.6);
    transform: translateY(-3px) scale(1.05);
}

/* شريط السلة السفلي للجوال */
.mobile-sticky-cart {
    background: rgba(5, 5, 8, 0.85) !important;
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.6);
    padding: 0.85rem;
}

.mobile-sticky-cart .btn {
    box-shadow: 0 0 15px rgba(0, 223, 216, 0.4);
}

/* تحسين البطاقات والعناصر الأخرى لتوافق السلة والحساب */
.empty-state {
    background: rgba(14, 14, 20, 0.65) !important;
    border: 1px solid var(--border-color);
    padding: 4rem 2rem;
    text-align: center;
}

.empty-state i {
    font-size: 4rem;
    color: var(--primary);
    filter: drop-shadow(0 0 15px rgba(0, 223, 216, 0.3));
}

.badge.bg-light {
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--text-color) !important;
    border: 1px solid var(--border-color);
}

.dropdown-menu {
    background: rgba(14, 14, 20, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
}

.dropdown-item {
    color: var(--text-color) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(0, 223, 216, 0.08) !important;
    color: var(--primary) !important;
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--primary) !important;
}

.list-group-item {
    background: transparent !important;
    color: var(--text-color) !important;
    border-color: var(--border-color) !important;
}

/* --- إضافات التنسيقات الهولوجرامية لصفحات السلة والحساب والدفع والتسجيل --- */

.auth-card, .profile-card, .orders-card, .cart-card, .checkout-card {
    background: rgba(14, 14, 20, 0.75) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(0, 223, 216, 0.2);
}

.input-group-text {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: var(--text-color) !important;
}

.btn-outline-dark {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.03) !important;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #FFFFFF !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.translate-middle.bg-white {
    background-color: #0A0A0F !important;
    color: var(--text-muted) !important;
}

/* جداول سلة المشتريات والطلبات الهولوجرامية */
.table {
    --bs-table-bg: transparent !important;
    --bs-table-color: var(--text-color) !important;
    border-color: var(--border-color) !important;
}

.table th {
    color: #FFFFFF !important;
    font-weight: 700;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
}

.table td {
    border-bottom: 1px solid var(--border-color) !important;
    vertical-align: middle;
}

/* تنسيق مدخلات سلة المشتريات */
.cart-qty-input {
    width: 60px;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #FFFFFF !important;
    text-align: center;
    border-radius: 8px;
    padding: 0.25rem;
}

/* ألوان التنبيهات */
.alert-info {
    background: rgba(0, 223, 216, 0.1) !important;
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid var(--success) !important;
    color: var(--success) !important;
}

.alert-danger {
    background: rgba(255, 61, 119, 0.1) !important;
    border: 1px solid var(--danger) !important;
    color: var(--danger) !important;
}

/* تخصيص السعر المضيء الأساسي في صفحة تفاصيل المنتج */
.product-price-tag {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--neon-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 223, 216, 0.2);
}

/* تخصيص التصفح (Pagination) السيبراني */
.pagination .page-link {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: var(--border-color) !important;
    color: var(--text-color) !important;
    transition: all 0.3s ease;
}
.pagination .page-link:hover {
    background: rgba(0, 223, 216, 0.1) !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}
.pagination .page-item.active .page-link {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #030305 !important;
    box-shadow: 0 0 10px rgba(0, 223, 216, 0.4) !important;
}
.pagination .page-item.disabled .page-link {
    background: rgba(255, 255, 255, 0.01) !important;
    color: rgba(255, 255, 255, 0.15) !important;
}

/* --- تصحيح ألوان النصوص الغامقة والرمادية الصعبة القراءة --- */

/* 1. الفئات العامة والمساعدة */
.text-muted, .text-secondary {
    color: var(--text-muted) !important;
}

.text-black-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.text-dark {
    color: var(--text-color) !important;
}

/* 2. مسار التنقل (Breadcrumbs) */
.breadcrumb-item {
    color: var(--text-muted) !important;
}

.breadcrumb-item a {
    color: var(--primary) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #FFFFFF !important;
    text-shadow: 0 0 8px rgba(0, 223, 216, 0.4);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.25) !important;
}

/* 3. تفاصيل المنتج ووصفه ومميزاته */
.col-lg-6 h1, .col-lg-6 .fw-bold {
    color: #FFFFFF !important;
}

.col-lg-6 .text-muted {
    color: var(--text-color) !important; /* للوصف القصير */
}

/* النص المشطوب للسعر الأصلي قبل الخصم */
.text-decoration-line-through, .original-price {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* المميزات الصغيرة ومميزات الشحن والضمان */
.col-lg-6 .row .text-muted, 
.col-lg-6 .d-flex.align-items-center {
    color: var(--text-color) !important;
}

/* 4. تبويبات تفاصيل المنتج ومحتواها */
.nav-tabs .nav-link {
    color: var(--text-muted) !important;
    background: transparent !important;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--primary) !important;
    background: rgba(0, 223, 216, 0.05) !important;
}

.nav-tabs .nav-link.active {
    color: var(--primary) !important;
}

.tab-content, .tab-pane, .tab-pane p, .tab-pane ul, .tab-pane li {
    color: var(--text-color) !important;
}

/* 5. ذيل الصفحة (Footer) */
.footer p, .footer span, .footer .text-muted {
    color: var(--text-muted) !important;
}

.footer .text-dark {
    color: #FFFFFF !important;
}

/* زر الواتساب العائم بتأثير متوهج */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 15px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    color: #FFF;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6), 0 0 25px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* التوافق مع شاشات الجوال لتجنب التداخل مع شريط السلة السفلي */
@media (max-width: 767.98px) {
    .whatsapp-float {
        bottom: 90px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}

