/* 1. ??????? ?? ???? ???????? (Cairo) */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');

/* ????? ???? ??? ???? ?????? ?????? */
* {
    font-family: 'Cairo', sans-serif !important;
}

/* 2. ????? ?????? (???? ?????? ??????) - ????? ?????? ????? (Glassmorphism) */
.main-header, .main-header-container, .s-header {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(15px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
    transition: all 0.4s ease !important;
}

/* 3. ?????? ???????? - ????? Premium ?? ??????? 3D ????? ??? ??????? */
.s-product-card-entry {
    border: 1px solid rgba(0,0,0,0.04) !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; /* ????? ?????? ???? */
    overflow: hidden !important;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) !important;
}

/* ???? ??????? ??????? ??? ????? ?????? */
.s-product-card-entry:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg) translateY(-12px) !important;
    box-shadow: 0 20px 40px rgba(30, 60, 114, 0.12) !important;
    border-color: rgba(30, 60, 114, 0.2) !important;
}

/* ???? ?????? - ??? ???? ??? ??????? */
.s-product-card-entry:hover .s-product-card-image img {
    transform: scale(1.08) !important;
    transition: transform 0.6s ease !important;
}

.s-product-card-image img {
    transition: transform 0.6s ease !important;
}

/* ?????? ???????? */
.s-product-card-title {
    font-weight: 700 !important;
    color: #111827 !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
}

/* ??? ?????? - ????? ???? ????? ????? ???? */
.s-product-card-price {
    color: #2563eb !important; /* ??? ???? ???? ???? */
    font-weight: 800 !important;
    font-size: 18px !important;
    background: rgba(37, 99, 235, 0.08) !important;
    padding: 4px 12px !important;
    border-radius: 8px !important;
    display: inline-block !important;
}

/* 4. ??????? (????? ?????? ????) - ??????? ???????? ???? (Neumorphism / Glow) */
.s-button-element, .s-button-btn, .btn, .btn-primary, .s-button-primary-outline {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

/* ????? ????? (Shine effect) ??? ??? ???? ??? ?????? ???? */
.s-button-element::before, .s-button-btn::before, .btn::before, .btn-primary::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent) !important;
    transition: left 0.6s ease !important;
    z-index: -1 !important;
}

.s-button-element:hover::before, .s-button-btn:hover::before, .btn:hover::before, .btn-primary:hover::before {
    left: 100% !important;
}

.s-button-element:hover, .s-button-btn:hover, .btn:hover, .btn-primary:hover, .s-button-primary-outline:hover {
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 12px 25px rgba(59, 130, 246, 0.5) !important;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%) !important;
}

/* 5. ????? ??????? (Footer) - ??? ???? ???? */
.main-footer {
    background: linear-gradient(to top, #020617, #0f172a) !important;
    color: #e2e8f0 !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2) !important;
}

/* ????? ??????? - ???? ????? */
.s-menu-footer-item {
    color: #94a3b8 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    display: inline-block !important;
}

/* ?? ???? ??? ?????? ??? ??????? (Underline Animation) */
.s-menu-footer-item::after {
    content: '' !important;
    position: absolute !important;
    width: 0 !important;
    height: 2px !important;
    bottom: -4px !important;
    left: 0 !important;
    background-color: #3b82f6 !important;
    transition: width 0.3s ease !important;
}

.s-menu-footer-item:hover {
    color: #ffffff !important;
    transform: translateX(8px) !important;
}

.s-menu-footer-item:hover::after {
    width: 100% !important;
}

/* 6. ???? ????? (Scrollbar) ???? ?????? ?????/???? */
::-webkit-scrollbar {
    width: 10px !important;
}
::-webkit-scrollbar-track {
    background: #f8fafc !important; 
    border-left: 1px solid #e2e8f0 !important;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #93c5fd, #3b82f6) !important; 
    border-radius: 12px !important;
    border: 2px solid #f8fafc !important; /* ???? ????? ????? ???? ?????? */
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #60a5fa, #2563eb) !important; 
}

/* 7. ??????? ?????? ??????? ??????? ?????? ?????? */
.s-block {
    margin-bottom: 40px !important;
}

/* ????? ??????? ????? ??????? ?? ?????? */
.s-footer-social-link {
    background: rgba(255,255,255,0.05) !important;
    border-radius: 50% !important;
    padding: 10px !important;
    transition: all 0.4s ease !important;
}

.s-footer-social-link:hover {
    background: #3b82f6 !important;
    transform: rotate(360deg) scale(1.1) !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6) !important;
}
/* 8. تصميم نموذج تسجيل الدخول (Login Modal) - تصميم فاخر ومميز */
salla-login-modal, .s-auth-container {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(200%) !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255,255,255,0.5) inset !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    padding: 2.5rem !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* عنوان تسجيل الدخول */
.s-auth-title, salla-login-modal h2, salla-login-modal .title {
    font-weight: 800 !important;
    font-size: 28px !important;
    color: #0f172a !important;
    margin-bottom: 10px !important;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-align: center !important;
}

/* النص الفرعي تحت العنوان */
.s-auth-sub-title, salla-login-modal p, salla-login-modal .subtitle {
    font-size: 15px !important;
    color: #64748b !important;
    text-align: center !important;
    margin-bottom: 30px !important;
}

/* حاوية إدخال رقم الجوال */
salla-tel-input, .s-tel-input, .s-tel-input-wrapper {
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02) inset !important;
    padding: 5px !important;
    display: flex !important;
    align-items: center !important;
}

/* تأثير التحديد (Focus) على الحقل كله */
salla-tel-input:focus-within, .s-tel-input:focus-within {
    border-color: #3b82f6 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 4px 15px rgba(59, 130, 246, 0.1) !important;
    transform: translateY(-2px) !important;
}

/* حقل إدخال الأرقام نفسه */
salla-tel-input input, .s-tel-input input, input[name="phone"] {
    background: transparent !important;
    border: none !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    letter-spacing: 2px !important;
    padding: 12px 15px !important;
    box-shadow: none !important;
}

salla-tel-input input::placeholder, .s-tel-input input::placeholder {
    color: #cbd5e1 !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
}

/* كود الدولة بجانب الرقم */
.s-tel-input-country, .iti__flag-container {
    background: transparent !important;
    border-left: 2px solid #e2e8f0 !important; /* الخط الفاصل بين رمز الدولة والرقم */
    padding: 0 15px !important;
    border-radius: 0 12px 12px 0 !important;
}

salla-tel-input:focus-within .s-tel-input-country {
    border-left-color: rgba(59, 130, 246, 0.3) !important;
}

/* زر تسجيل الدخول الأساسي داخل المودال */
salla-login-modal button[type="submit"], .s-auth-container .s-button-element {
    margin-top: 25px !important;
    width: 100% !important;
    padding: 16px !important;
    font-size: 18px !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* حركة الزر عند تمرير الماوس */
salla-login-modal button[type="submit"]:hover, .s-auth-container .s-button-element:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.6) !important;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%) !important;
}