/* =============================================
   الهوية البصرية — متجر ثريا الطبية (v3 مُصلح)
============================================= */

/* خط عربي احترافي */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

body {
    font-family: 'Tajawal', sans-serif !important;
    background-color: #F8FAFC !important;
    color: #1E293B !important;
}

/* ========== الهيدر ========== */
header {
    background-color: #ffffff !important;
    border-bottom: 2px solid #F0FDFA !important;
    box-shadow: 0 2px 15px rgba(13, 148, 136, 0.06) !important;
}

.top-bar, .top-header {
    background: linear-gradient(135deg, #0D9488 0%, #0F766E 100%) !important;
    color: #ffffff !important;
}

header i, header svg {
    color: #0D9488 !important;
    transition: all 0.3s ease !important;
}
header i:hover, header svg:hover {
    color: #0F766E !important;
}

.cart-badge, .badge-count, .s-cart-summary-count {
    background-color: #E11D48 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

input[type="search"], .s-search-input {
    border-radius: 25px !important;
    border: 2px solid #E2E8F0 !important;
    background-color: #F8FAFC !important;
}
input[type="search"]:focus, .s-search-input:focus {
    border-color: #0D9488 !important;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1) !important;
}

/* ========== السلايدر (بدون إخفاء المحتوى) ========== */
.swiper-pagination-bullet {
    background-color: #CBD5E1 !important;
    opacity: 1 !important;
    width: 10px !important;
    height: 10px !important;
}
.swiper-pagination-bullet-active {
    background-color: #0D9488 !important;
    width: 28px !important;
    border-radius: 5px !important;
}

/* ========== كروت المنتجات ========== */
.s-product-card-entry {
    background-color: #ffffff !important;
    border: 1px solid #F1F5F9 !important;
    border-radius: 16px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
}

.s-product-card-entry:hover {
    border-color: #0D9488 !important;
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.12) !important;
    transform: translateY(-4px) !important;
}

.s-product-card-entry:hover img {
    transform: scale(1.05) !important;
    transition: transform 0.5s ease !important;
}

.s-product-card-entry__title {
    color: #1E293B !important;
    font-weight: 700 !important;
}
.s-product-card-entry:hover .s-product-card-entry__title {
    color: #0D9488 !important;
}

.s-product-card-entry__price {
    color: #0D9488 !important;
    font-weight: 800 !important;
    font-size: 18px !important;
}

.s-product-card-entry__old-price {
    color: #94A3B8 !important;
    text-decoration: line-through !important;
}

.s-product-card-entry__badge {
    background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
}

/* ========== الأزرار ========== */
.btn--primary, .s-button-primary, .btn-primary {
    background: linear-gradient(135deg, #0D9488 0%, #0F766E 100%) !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-family: 'Tajawal', sans-serif !important;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25) !important;
    transition: all 0.3s ease !important;
}

.btn--primary:hover, .s-button-primary:hover, .btn-primary:hover {
    background: linear-gradient(135deg, #0F766E 0%, #115E59 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35) !important;
}

/* المفضلة */
.s-product-card-wishlist-btn:hover {
    color: #E11D48 !important;
}

/* ========== عناوين الأقسام ========== */
.s-block__title {
    color: #0F172A !important;
    font-weight: 800 !important;
    font-family: 'Tajawal', sans-serif !important;
}

.s-block__more {
    color: #0D9488 !important;
    font-weight: 600 !important;
}
.s-block__more:hover {
    color: #0F766E !important;
}

/* ========== الفوتر ========== */
footer {
    background: linear-gradient(180deg, #0F172A 0%, #020617 100%) !important;
    color: #CBD5E1 !important;
    border-top: 3px solid #0D9488 !important;
}

footer h3, footer h4 {
    color: #ffffff !important;
    font-weight: 700 !important;
}

footer a {
    color: #94A3B8 !important;
}
footer a:hover {
    color: #0D9488 !important;
}

/* ========== صفحة المنتج ========== */
.s-product-tabs .nav-link.active {
    color: #0D9488 !important;
    border-bottom-color: #0D9488 !important;
}

/* ========== السلة ========== */
.s-cart-summary {
    background-color: #ffffff !important;
    border: 1px solid #F1F5F9 !important;
    border-radius: 16px !important;
}

/* ========== شريط التمرير ========== */
::-webkit-scrollbar { width: 8px !important; }
::-webkit-scrollbar-track { background: #F1F5F9 !important; }
::-webkit-scrollbar-thumb { background: #0D9488 !important; border-radius: 10px !important; }

/* ========== التوافق مع الجوال ========== */
@media (max-width: 768px) {
    .s-product-card-entry:hover {
        transform: none !important;
    }
    .btn--primary {
        border-radius: 10px !important;
    }
}