/* ==========================================================================
   Polish Layer - لمسات احترافية للمتجر (Desktop + Mobile)
   يُحمَّل بعد style.css/mega-menu.css لإضافة تحسينات مرئية وحركية فقط.
   لا يكسر التصميم القائم — كل القواعد إضافية أو تستخدم تخصيصاً أعلى.
   ========================================================================== */

/* -----------------------------------------------------------
   1) متغيرات تصميم موحَّدة + سلوك أساسي
   ----------------------------------------------------------- */
:root {
    --pol-primary: #667eea;
    --pol-primary-2: #764ba2;
    --pol-accent: #d4af37;
    --pol-success: #16a34a;
    --pol-danger: #ef4444;
    --pol-shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
    --pol-shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
    --pol-shadow-lg: 0 18px 40px rgba(15, 23, 42, .12);
    --pol-radius-sm: 10px;
    --pol-radius: 14px;
    --pol-radius-lg: 20px;
    --pol-ease: cubic-bezier(.2, .8, .2, 1);
}

html { scroll-behavior: smooth; }

::selection {
    background: rgba(102, 126, 234, .22);
    color: #1e1b4b;
}

/* تحسين خط الـscrollbar على الديسكتوب */
@media (hover: hover) {
    ::-webkit-scrollbar { width: 10px; height: 10px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #c7d2fe, #a5b4fc);
        border-radius: 10px;
        border: 2px solid #fff;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #a5b4fc, #818cf8);
    }
}

/* تحسين الـfocus للوصولية */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(102, 126, 234, .35) !important;
    outline-offset: 2px !important;
    border-radius: 8px;
}

/* -----------------------------------------------------------
   2) ظهور تدريجي للصفحات + للعناصر عند التمرير
   ----------------------------------------------------------- */
@keyframes pol-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pol-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes pol-shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

main { animation: pol-fade-in .35s ease-out; }

[data-pol-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s var(--pol-ease), transform .55s var(--pol-ease);
    will-change: opacity, transform;
}
[data-pol-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* -----------------------------------------------------------
   3) رأس الموقع — تأثير زجاجي خفيف عند التمرير
   ----------------------------------------------------------- */
#mainNavbar {
    transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
#mainNavbar.scrolled {
    background-color: rgba(255, 255, 255, .85) !important;
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, .08);
}

.nav-link-modern { position: relative; transition: color .2s ease; }
.nav-link-modern::after {
    content: "";
    position: absolute;
    inset-inline-start: 12px;
    inset-inline-end: 12px;
    bottom: 4px;
    height: 2px;
    background: linear-gradient(90deg, var(--pol-primary), var(--pol-primary-2));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s var(--pol-ease);
}
.nav-link-modern:hover::after,
.nav-link-modern.active::after { transform: scaleX(1); }

.header-icon-link {
    transition: transform .2s var(--pol-ease), color .2s ease;
}
.header-icon-link:hover { transform: translateY(-2px); }

.cart-badge-modern,
.wishlist-badge-modern,
.cart-nav-badge {
    box-shadow: 0 4px 10px rgba(239, 68, 68, .35);
    animation: pol-fade-in .3s ease-out;
}

/* -----------------------------------------------------------
   4) الأزرار — انضغاطة لطيفة + لمعة عند الـhover للأساسية
   ----------------------------------------------------------- */
.btn,
button.btn,
.btn-primary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-cart,
.btn-order {
    transition: transform .15s var(--pol-ease),
                box-shadow .2s var(--pol-ease),
                filter .2s ease,
                background-color .2s ease,
                color .2s ease !important;
}
.btn:hover,
.btn-primary:hover,
.btn-success:hover,
.btn-cart:hover,
.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: var(--pol-shadow-md);
    filter: brightness(1.03);
}
.btn:active,
.btn-primary:active,
.btn-success:active,
.btn-cart:active,
.btn-order:active {
    transform: translateY(0) scale(.98);
    filter: brightness(.97);
}
.btn:disabled,
.btn.disabled { transform: none !important; filter: grayscale(.2) opacity(.7); }

/* لمعة قطرية عند hover للأزرار الأساسية */
.btn-primary,
.btn-order,
.btn-success {
    position: relative;
    overflow: hidden;
}
.btn-primary::before,
.btn-order::before,
.btn-success::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    inset-inline-start: -120%;
    width: 60%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-18deg);
    transition: inset-inline-start .55s ease;
    pointer-events: none;
}
.btn-primary:hover::before,
.btn-order:hover::before,
.btn-success:hover::before { inset-inline-start: 130%; }

/* -----------------------------------------------------------
   5) بطاقات المنتجات — رفع سلس + تكبير الصورة
   ----------------------------------------------------------- */
.product-card,
.product-card-slider,
.pet-category-card,
.feature-card,
.review-card {
    transition: transform .3s var(--pol-ease),
                box-shadow .3s var(--pol-ease),
                border-color .25s ease;
    will-change: transform;
}
.product-card:hover,
.product-card-slider:hover,
.pet-category-card:hover,
.feature-card:hover,
.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--pol-shadow-lg);
}

.product-card img,
.product-card-slider img {
    transition: transform .45s var(--pol-ease), filter .25s ease;
}
.product-card:hover img,
.product-card-slider:hover img {
    transform: scale(1.06);
}

/* شارة العرض/الجديد — نبضة خفيفة */
.product-card .badge,
.product-card-slider .badge,
.discount-badge {
    transition: transform .2s var(--pol-ease);
}
.product-card:hover .badge,
.product-card-slider:hover .badge { transform: scale(1.06); }

/* -----------------------------------------------------------
   6) تحميل الصور — Skeleton shimmer قبل ظهور الصورة
   ----------------------------------------------------------- */
img[loading="lazy"]:not(.is-loaded) {
    background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
    background-size: 800px 100%;
    animation: pol-shimmer 1.4s linear infinite;
}
img.is-loaded { animation: pol-fade-in .35s ease-out; }

/* -----------------------------------------------------------
   7) الحقول والمدخلات — تحسين اللمسة على الموبايل والديسكتوب
   ----------------------------------------------------------- */
.form-control,
.form-select {
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--pol-primary) !important;
    box-shadow: 0 0 0 .2rem rgba(102, 126, 234, .18) !important;
}

/* -----------------------------------------------------------
   8) شريط التنقل السفلي للموبايل — مؤشّر متحرك + Safe Area
   ----------------------------------------------------------- */
.mobile-bottom-nav {
    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, .08);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    background: rgba(255, 255, 255, .92) !important;
}
.bottom-nav-item {
    position: relative;
    transition: color .2s ease, transform .2s var(--pol-ease);
}
.bottom-nav-item i {
    transition: transform .25s var(--pol-ease);
}
.bottom-nav-item.active i {
    transform: translateY(-2px) scale(1.08);
}
.bottom-nav-item.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--pol-primary), var(--pol-primary-2));
    animation: pol-fade-in .25s ease-out;
}
.bottom-nav-item:active { transform: scale(.96); }

/* تجنّب اختفاء المحتوى أسفل الـbottom nav على الموبايل */
@media (max-width: 991.98px) {
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* -----------------------------------------------------------
   9) الـAlerts/Flash — شكل أنعم وحركة دخول
   ----------------------------------------------------------- */
.alert {
    border: none;
    border-radius: var(--pol-radius);
    box-shadow: var(--pol-shadow-sm);
    animation: pol-fade-up .35s var(--pol-ease);
}

/* -----------------------------------------------------------
   10) زرّ "العودة لأعلى" العائم
   ----------------------------------------------------------- */
.pol-scroll-top {
    position: fixed;
    bottom: 88px;            /* فوق شريط الموبايل */
    inset-inline-end: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pol-primary), var(--pol-primary-2));
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(102, 126, 234, .35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s var(--pol-ease), box-shadow .2s ease;
    z-index: 1040;
}
.pol-scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.pol-scroll-top:hover {
    box-shadow: 0 14px 30px rgba(102, 126, 234, .45);
    transform: translateY(-2px);
}
@media (min-width: 992px) {
    .pol-scroll-top { bottom: 24px; width: 48px; height: 48px; font-size: 1.3rem; }
}

/* -----------------------------------------------------------
   11) عناوين الأقسام — خط زخرفي تحت العنوان
   ----------------------------------------------------------- */
.section-title { position: relative; }
.section-title:not(.text-center)::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin-top: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--pol-primary), var(--pol-primary-2));
}
.section-title.text-center::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--pol-primary), var(--pol-primary-2));
}

/* -----------------------------------------------------------
   12) Footer — روابط أنيقة
   ----------------------------------------------------------- */
.footer-links a,
.contact-item-compact {
    transition: color .2s ease, transform .2s var(--pol-ease);
    display: inline-block;
}
.footer-links a:hover,
.contact-item-compact:hover {
    color: var(--pol-primary) !important;
    transform: translateX(-3px); /* RTL: ينزاح يساراً */
}

.social-icon {
    transition: transform .25s var(--pol-ease), background-color .2s ease, color .2s ease;
}
.social-icon:hover {
    transform: translateY(-3px) rotate(-4deg);
}

/* -----------------------------------------------------------
   13) جداول/قوائم في لوحة الحساب — تباين أنعم
   ----------------------------------------------------------- */
.table tbody tr { transition: background-color .15s ease; }
.table tbody tr:hover { background-color: rgba(102, 126, 234, .04); }

/* -----------------------------------------------------------
   14) تحسينات موبايل عامة (≤ 575px)
   ----------------------------------------------------------- */
@media (max-width: 575.98px) {
    .product-card:hover,
    .product-card-slider:hover { transform: translateY(-3px); }

    .btn,
    .btn-primary,
    .btn-order,
    .btn-cart {
        min-height: 44px;     /* لمسة أكبر = راحة استخدام */
        font-weight: 700;
    }

    .form-control,
    .form-select {
        font-size: 16px;      /* يمنع iOS من تكبير الصفحة عند التركيز */
        min-height: 44px;
    }

    .section-title {
        font-size: 1.15rem;
    }
}

/* -----------------------------------------------------------
   15) احترام تفضيل المستخدم: تقليل الحركة
   ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    [data-pol-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   LIVELY LAYER — لمسات حياة وجاذبية (تحفيز شراء)
   ========================================================================== */

/* 16) شريط ثقة علوي متحرك (شحن، استبدال، دفع آمن) */
.pol-trust-bar {
    position: relative;
    background: linear-gradient(90deg, #0f172a, #1e293b);
    color: #e2e8f0;
    font-size: .82rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.pol-trust-bar .pol-trust-track {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    padding: 8px 0;
    animation: pol-trust-scroll 32s linear infinite;
    width: max-content;
}
.pol-trust-bar .pol-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.pol-trust-bar .pol-trust-item i {
    color: #fbbf24;
    font-size: 1rem;
}
.pol-trust-bar:hover .pol-trust-track { animation-play-state: paused; }
@keyframes pol-trust-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (max-width: 575.98px) {
    .pol-trust-bar { font-size: .75rem; }
    .pol-trust-bar .pol-trust-track { gap: 32px; padding: 6px 0; animation-duration: 26s; }
}

/* 17) نبضة جذب على شارات الخصم */
@keyframes pol-pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, .55); }
    70%  { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.discount-badge,
.product-card .badge.bg-danger,
.product-card-slider .badge.bg-danger,
.badge-discount,
.badge.discount {
    animation: pol-pulse-ring 2s ease-out infinite;
    font-weight: 800 !important;
    letter-spacing: .3px;
}

/* 18) شارة "جديد" / "الأكثر مبيعاً" — لمعة متحركة */
@keyframes pol-shine {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.badge.bg-success,
.badge.bg-warning,
.badge-new,
.badge-bestseller {
    background-image: linear-gradient(120deg,
        rgba(255,255,255,0) 30%,
        rgba(255,255,255,.45) 50%,
        rgba(255,255,255,0) 70%) !important;
    background-size: 200% 100%;
    background-repeat: no-repeat;
    animation: pol-shine 2.6s ease-in-out infinite;
}

/* 19) توهج مستمر خفيف على زر "أضف للسلة" / "اطلب الآن" */
@keyframes pol-glow {
    0%, 100% { box-shadow: 0 6px 18px rgba(102, 126, 234, .25); }
    50%      { box-shadow: 0 8px 26px rgba(102, 126, 234, .55); }
}
.btn-cart,
.btn-order,
.btn-buy-now,
.btn-checkout {
    animation: pol-glow 2.8s ease-in-out infinite;
}
.btn-cart:hover,
.btn-order:hover,
.btn-buy-now:hover,
.btn-checkout:hover {
    animation: none;
}

/* 20) النجوم الذهبية — توهج خفيف */
.bi-star-fill,
.rating .bi-star-fill,
.star-rating .filled {
    color: #fbbf24 !important;
    text-shadow: 0 0 6px rgba(251, 191, 36, .35);
}

/* 21) Hero — overlay متحرك + لمعة قطرية تمر كل فترة */
.hero-carousel { position: relative; }
.hero-carousel::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    inset-inline-start: -30%;
    width: 30%;
    background: linear-gradient(120deg,
        transparent,
        rgba(255,255,255,.12),
        transparent);
    transform: skewX(-18deg);
    pointer-events: none;
    animation: pol-hero-sweep 7s ease-in-out infinite;
    z-index: 3;
}
@keyframes pol-hero-sweep {
    0%, 35%   { inset-inline-start: -30%; }
    65%, 100% { inset-inline-start: 130%; }
}

.hero-pills .badge,
.hero-pills span,
.hero-price {
    animation: pol-fade-up .6s var(--pol-ease) both;
}
.hero-price { animation-delay: .15s; }
.hero-desc  { animation: pol-fade-up .6s var(--pol-ease) .25s both; }

/* 22) شارة عائمة "متوفر / يُباع الآن" */
.pol-live-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    font-weight: 700;
    color: #16a34a;
}
.pol-live-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, .6);
    animation: pol-live-pulse 1.6s ease-out infinite;
}
@keyframes pol-live-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, .55); }
    70%  { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* 23) عنصر السلة في الهيدر — اهتزاز خفيف عند الإضافة (يُفعَّل JS) */
@keyframes pol-cart-bump {
    0%   { transform: translateY(0) scale(1); }
    25%  { transform: translateY(-4px) scale(1.12); }
    50%  { transform: translateY(0) scale(.95); }
    100% { transform: translateY(0) scale(1); }
}
.cart-bump,
.cart-bump i,
.cart-nav-badge.cart-bump {
    animation: pol-cart-bump .55s var(--pol-ease);
}

/* 24) كروت الفئات — تدرّج خلفية متحرك خفيف */
.pet-category-card,
.feature-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.pet-category-card::before,
.feature-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: conic-gradient(
        from 0deg,
        rgba(102, 126, 234, 0),
        rgba(102, 126, 234, .25),
        rgba(118, 75, 162, .25),
        rgba(102, 126, 234, 0));
    opacity: 0;
    transition: opacity .35s ease;
    z-index: -1;
    border-radius: inherit;
}
.pet-category-card:hover::before,
.feature-card:hover::before {
    opacity: 1;
    animation: pol-rotate 6s linear infinite;
}
@keyframes pol-rotate {
    to { transform: rotate(360deg); }
}

/* 25) سعر المنتج — حجم بارز + لون نابض خفيف على الخصم */
.price-current,
.product-price-current,
.hero-price strong {
    font-weight: 900 !important;
    background: linear-gradient(90deg, #d4af37, #b8860b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.price-old,
.product-price-old {
    text-decoration: line-through;
    opacity: .6;
    font-size: .9em;
}

/* 26) أيقونة WhatsApp عائمة (احترافية) */
.pol-whatsapp {
    position: fixed;
    bottom: 88px;
    inset-inline-start: 16px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 10px 26px rgba(37, 211, 102, .4);
    z-index: 1040;
    text-decoration: none;
    transition: transform .25s var(--pol-ease), box-shadow .2s ease;
}
.pol-whatsapp::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
    animation: pol-live-pulse 2s ease-out infinite;
}
.pol-whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    color: #fff;
    box-shadow: 0 14px 32px rgba(37, 211, 102, .55);
}
@media (min-width: 992px) {
    .pol-whatsapp { bottom: 84px; width: 58px; height: 58px; font-size: 1.9rem; }
}

/* إخفاء العائمين عند فتح مودال */
body.pol-modal-open .pol-whatsapp,
body.pol-modal-open .pol-scroll-top { opacity: 0 !important; pointer-events: none !important; }

/* 31) Fallback للصور المكسورة — إطار أنيق بدل أيقونة الصورة المعطّلة */
img.pol-img-fallback {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
    object-fit: contain !important;
    padding: 18%;
    opacity: .85;
    animation: none !important;
}

/* 27) إطار مميز للعروض الخاصة */
.product-card.featured,
.product-card[data-featured="true"],
.offer-card {
    border: 2px solid transparent;
    background-image:
        linear-gradient(#fff, #fff),
        linear-gradient(135deg, #d4af37, #f59e0b, #d4af37);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 8px 24px rgba(212, 175, 55, .18);
}

/* 28) إيموجي/أيقونة في عنوان القسم — رفرفة خفيفة */
@keyframes pol-wiggle {
    0%, 100% { transform: rotate(0); }
    25%      { transform: rotate(-6deg); }
    75%      { transform: rotate(6deg); }
}
.section-title i,
.section-title-simple i {
    display: inline-block;
    transform-origin: 50% 80%;
    animation: pol-wiggle 3.5s ease-in-out infinite;
}

/* 29) تحسين سلايدر الكاروسيل — مؤشّرات أكبر وأوضح */
.carousel-indicators [data-bs-target] {
    transition: width .25s ease, background-color .25s ease;
}
.carousel-indicators .active {
    width: 28px !important;
    background-color: #fff !important;
}

/* 30) موبايل — تأثير لمسي (active state) */
@media (hover: none) {
    .product-card:active,
    .product-card-slider:active,
    .pet-category-card:active {
        transform: scale(.98);
        transition: transform .12s ease;
    }
}

/* 31) تحسين وضوح صورة البانر (Hero) على الشاشات الكبيرة
   - رفع الارتفاع لاستغلال شاشات الديسكتوب
   - تخفيف التعتيم فوق الصورة لإظهار التفاصيل
   - ترشيح خفيف للحدّة وزيادة التشبع
   - تحويل overlay من تعتيم كامل إلى تدرّج جانبي خلف صندوق النص فقط
*/
@media (min-width: 992px) {
    .hero-carousel,
    .hero-carousel .carousel-item {
        height: 520px !important;
    }
    .hero-carousel img {
        object-position: center 35% !important;
        filter: saturate(1.08) contrast(1.04);
        image-rendering: -webkit-optimize-contrast;
    }
    /* تخفيف الـ overlay العام فوق الصورة */
    .hero-carousel .carousel-item::after {
        background: linear-gradient(
            90deg,
            rgba(15, 23, 42, 0.55) 0%,
            rgba(15, 23, 42, 0.25) 35%,
            rgba(15, 23, 42, 0.05) 60%,
            rgba(15, 23, 42, 0.00) 100%
        ) !important;
    }
    /* تقوية وضوح صندوق التسمية مع إبقاء الصورة واضحة حوله */
    .hero-carousel .carousel-caption {
        background: rgba(15, 23, 42, 0.72) !important;
        backdrop-filter: blur(18px) saturate(180%);
        -webkit-backdrop-filter: blur(18px) saturate(180%);
    }
}

@media (min-width: 1400px) {
    .hero-carousel,
    .hero-carousel .carousel-item {
        height: 580px !important;
    }
}

