/* Add custom CSS styles below */ 

/* ===================================================
   1. أزرار الحدود (Outline Buttons)
   =================================================== */
.btn--outline {
    border-color: #18488a;
    color: #18488a;
    transition: all 0.25s ease; /* إضافة تأثير ناعم عند التمرير */
}
.btn--outline:hover {
    background-color: #18488a;
    color: #ffffff;
}

/* ===================================================
   2. فوتر تعريف المتجر (Footer About Column)
   =================================================== */
.footer-about-col {
    display: flex;
    flex-direction: column;
}
.footer-about-col img {
    max-width: 140px !important;
    max-height: 56px !important;
    width: auto !important;
    height: auto !important;
}
.footer-about-col p {
    font-size: 13px;
    line-height: 1.7;
}

/* ===================================================
   3. عرض المنتج نافد الكمية بألوانه الأصلية وشريط مميز
   =================================================== */
/* إرجاع الألوان الأصلية وإلغاء التعتيم في سلة */
.s-product-card-out-of-stock .s-product-card-image-cover,
.s-product-card-out-of-stock .s-product-card-image img {
    filter: none !important;
    opacity: 1 !important;
}

/* قص الشريط الزائد وضمان التموضع الصحيح */
.s-product-card-out-of-stock .s-product-card-image {
    position: relative !important;
    overflow: hidden !important;
}

/* شريط "نفدت الكمية" أحمر شفاف زجاجي */
.s-product-card-out-of-stock .s-product-card-image::after {
    content: "نفدت الكمية";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    transform: translate(-50%, -50%) rotate(-35deg);
    
    /* ألوان شفافة مع تأثير التغبيش الزجاجي */
    background: rgba(185, 28, 28, 0.75); /* درجة الشفافية 75% */
    backdrop-filter: blur(4px); /* تغبيش بسيط خلف الشريط */
    -webkit-backdrop-filter: blur(4px); /* لدعم متصفح Safari في الآيفون */
    
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    padding: 6px 0;
    text-align: center;
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
/* حركة تفاعلية لزر السلة في بطاقات المنتجات */
.s-product-card-content-sub .s-button-wrap button,
.s-product-card-btn {
    transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.s-product-card-content-sub .s-button-wrap button:hover,
.s-product-card-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}
/* تحسين شارة نسبة الخصم على صور المنتجات في سلة */
.s-product-card-promotion-title {
    background: linear-gradient(135deg, #e11d48, #b91c1c) !important;
    color: #ffffff !important;
    font-weight: bold !important;
    border-radius: 20px !important;
    padding: 3px 10px !important;
    font-size: 11px !important;
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.3) !important;
}
/* تأثير النبض لزر التواصل */
@keyframes zamilPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 81, 129, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(0, 81, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 81, 129, 0); }
}

.zamil-fab-main {
    animation: zamilPulse 2.5s infinite !important;
}
/* ===================================================
   شارة "متوفر بخيارات" على صورة المنتج
   =================================================== */
.zamil-options-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(24, 72, 138, 0.88); /* كحلي الهوية زجاجي */
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* في الشاشات الصغيرة */
@media (max-width: 768px) {
    .zamil-options-badge {
        font-size: 10px;
        padding: 3px 8px;
        bottom: 8px;
        right: 8px;
    }
}