/* تحريك الشعار فقط */
.navbar-brand img {
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}


/* ==========================================
   FAHD ALARWBAH STORE
   FEATURES SECTION - RESPONSIVE
   Desktop: 4 | Tablet: 2 | Mobile: 2
   ========================================== */

/* 1. إعدادات القسم */
.s-block--features {
    --fhd-feature-gap: 20px;
    --fhd-feature-radius: 100px;
    --fhd-feature-icon-size: 70px;

    width: 100%;
}

/* 2. الحاوية الرئيسية */
.s-block--features > .container {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
}

/* 3. شبكة المميزات - الكمبيوتر */
.s-block--features .grid {
    display: grid !important;
    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;

    gap: var(--fhd-feature-gap) !important;
    align-items: stretch;
}

/* 4. بطاقات المميزات */
.s-block--features
.s-block--features__item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;

    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 105px;

    margin: 0 !important;
    padding: 12px 18px !important;
    gap: 12px;

    background: transparent;

    border: 1px solid rgba(255,255,255,0.16)
        !important;

    border-radius:
        var(--fhd-feature-radius) !important;

    box-shadow: none !important;
    box-sizing: border-box;
}

/* 5. الأيقونات الدائرية */
.s-block--features .feature-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;

    flex: 0 0 var(--fhd-feature-icon-size);

    width: var(--fhd-feature-icon-size);
    height: var(--fhd-feature-icon-size);
    min-width: var(--fhd-feature-icon-size);

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 50% !important;

    border: 3px solid rgba(255,255,255,0.85)
        !important;

    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;

    overflow: hidden;
    box-sizing: border-box;
}

/* 6. صور الأيقونات */
.s-block--features .feature-icon img {
    display: block;
    width: 100%;
    height: 100%;

    border-radius: 50%;
    object-fit: cover;
}

/* 7. عنوان الميزة */
.s-block--features
.s-block--features__item h2 {
    flex: 1;
    min-width: 0;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.6;

    text-align: center;
    overflow-wrap: anywhere;
}

/* 8. وصف الميزة */
.s-block--features
.s-block--features__item p {
    margin: 0 !important;
    padding: 0 !important;

    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere;
}

/* ==========================================
   TABLET - 2 COLUMNS
   ========================================== */

@media (min-width: 768px)
and (max-width: 1023px) {

    .s-block--features {
        --fhd-feature-gap: 14px;
        --fhd-feature-icon-size: 55px;
    }

    .s-block--features .grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .s-block--features
    .s-block--features__item {
        min-height: 85px;
        padding: 10px 14px !important;
        gap: 10px;
    }

    .s-block--features
    .s-block--features__item h2 {
        font-size: 14px !important;
    }
}

/* ==========================================
   MOBILE - 2 COLUMNS
   ========================================== */

@media (max-width: 767px) {

    .s-block--features {
        --fhd-feature-gap: 10px;
        --fhd-feature-icon-size: 42px;
    }

    /* بطاقتان في كل صف */
    .s-block--features .grid {
        display: grid !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: var(--fhd-feature-gap) !important;
    }

    /* البطاقة */
    .s-block--features
    .s-block--features__item {
        width: 100%;
        min-width: 0;
        min-height: 70px;

        padding: 7px 8px !important;
        gap: 6px;

        border-radius: 60px !important;
    }

    /* الأيقونة */
    .s-block--features .feature-icon {
        border-width: 2px !important;
    }

    /* العنوان */
    .s-block--features
    .s-block--features__item h2 {
        font-size: 11px !important;
        line-height: 1.4;
    }

    /* الوصف */
    .s-block--features
    .s-block--features__item p {
        font-size: 10px;
        line-height: 1.4;
    }
}

/* ==========================================
   SMALL MOBILE - 2 COLUMNS
   ========================================== */

@media (max-width: 380px) {

    .s-block--features {
        --fhd-feature-gap: 7px;
        --fhd-feature-icon-size: 36px;
    }

    .s-block--features
    .s-block--features__item {
        min-height: 62px;
        padding: 6px !important;
        gap: 5px;
    }

    .s-block--features
    .s-block--features__item h2 {
        font-size: 10px !important;
    }
}


/* ==================================================
   FAHD ALARWBAH
   CLEAN RESPONSIVE FOOTER
   ================================================== */

/* 1. الألوان والإعدادات العامة */
.store-footer {
    --footer-bg: #f2f2f4;
    --footer-card: #ffffff;
    --footer-text: #171717;
    --footer-muted: #555555;
    --footer-orange: #ffa110;
    --footer-border: #e2e2e7;

    position: relative;
    margin-top: 30px;
    padding-top: 25px;

    background: var(--footer-bg) !important;
    color: var(--footer-text) !important;

    border-top: 2px solid var(--footer-orange);
    border-radius: 24px 24px 0 0;
}

/* 2. الحاوية الرئيسية */
.store-footer__inner {
    background: transparent !important;
}

.store-footer__inner > .container {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
}

/* 3. إلغاء التموضع القديم للعناصر */
.store-footer .s-social-list {
    position: static !important;
    inset: auto !important;
    transform: none !important;
}

.store-footer .s-contacts-list {
    position: static !important;
    margin: 0 !important;
}

/* 4. عناوين الفوتر */
.store-footer h3 {
    width: 100% !important;
    height: auto !important;

    margin: 0 0 15px !important;
    padding: 0 0 10px !important;

    background: transparent !important;
    color: var(--footer-text) !important;

    border: 0 !important;
    border-bottom: 2px solid
        var(--footer-orange) !important;
    border-radius: 0 !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.6;
    text-align: right;
}

/* 5. وصف المتجر */
.store-footer p {
    color: var(--footer-muted);
    line-height: 1.8;
}


/* ==================================================
   6. الروابط المهمة
   ================================================== */

.store-footer .footer-list a,
.store-footer .s-user-menu a {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 38px;

    margin: 0 0 6px !important;
    padding: 8px 12px !important;

    float: none !important;
    position: relative;

    background: var(--footer-card) !important;
    color: var(--footer-text) !important;

    border: 1px solid var(--footer-border);
    border-radius: 10px;

    font-size: 13px !important;
    line-height: 1.5;

    box-sizing: border-box;

    transition:
        border-color .2s ease,
        background-color .2s ease;
}

.store-footer .footer-list a:hover,
.store-footer .s-user-menu a:hover {
    background: #fff8ed !important;
    color: #bd7000 !important;
    border-color: var(--footer-orange);

    transform: none !important;
}


/* ==================================================
   7. قسم التواصل
   ================================================== */

.store-footer .s-contacts-list,
.store-footer .s-contacts-list-vertical {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    width: 100% !important;
    gap: 10px !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* صف التواصل */
.store-footer .s-contacts-list a,
.store-footer .s-contacts-list-vertical a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;
    min-width: 0;
    min-height: 48px;

    margin: 0 !important;
    padding: 8px 12px !important;
    gap: 12px !important;

    background: #ffffff !important;
    color: var(--footer-text) !important;

    border: 1px solid var(--footer-border);
    border-radius: 14px;

    font-size: 14px !important;
    text-decoration: none !important;

    box-sizing: border-box;
}

/* إظهار النصوص والأرقام */
.store-footer .s-contacts-list a span,
.store-footer .s-contacts-list-vertical a span {
    color: var(--footer-text) !important;
    opacity: 1 !important;
    visibility: visible !important;

    width: auto !important;
    max-width: 100%;

    font-size: inherit;
    overflow-wrap: anywhere;
}

/* أيقونات التواصل */
.store-footer .s-contacts-list a i,
.store-footer .s-contacts-list-vertical a i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 36px;
    height: 36px;

    margin: 0 !important;

    background: #fff3df;
    color: var(--footer-orange) !important;

    border-radius: 10px;
}


/* ==================================================
   8. أيقونات منصات التواصل الاجتماعي
   ================================================== */

.store-footer .s-social-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;

    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    gap: 10px !important;

    margin: 18px 0 !important;
    padding: 0 !important;
}

/* الشكل العام */
.store-footer .s-social-link a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 44px !important;
    height: 44px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    color: #171717 !important;

    border: 1px solid var(--footer-border);
    border-radius: 12px !important;

    box-shadow: none !important;

    transition:
        background-color .2s ease,
        border-color .2s ease;
}

/* حجم الأيقونات */
.store-footer .s-social-link a svg {
    width: 21px !important;
    height: 21px !important;
}

/* YouTube */
.store-footer .s-social-link
a[href*="youtube"] {
    background: #ff0033 !important;
    border-color: #ff0033 !important;
    color: #ffffff !important;
}

/* Instagram */
.store-footer .s-social-link
a[href*="instagram"] {
    background: linear-gradient(
        45deg,
        #feda75,
        #fa7e1e,
        #d62976,
        #962fbf,
        #4f5bd5
    ) !important;

    border-color: #d62976 !important;
    color: #ffffff !important;
}

/* TikTok */
.store-footer .s-social-link
a[href*="tiktok"] {
    background: #010101 !important;
    border-color: #010101 !important;
    color: #ffffff !important;
}

/* X */
.store-footer .s-social-link
a[href*="twitter"],
.store-footer .s-social-link
a[href*="x.com"] {
    background: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

/* WhatsApp */
.store-footer .s-social-link
a[href*="whatsapp"],
.store-footer .s-social-link
a[href*="wa.me"] {
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: #ffffff !important;
}

/* ألوان SVG */
.store-footer .s-social-link
a[href*="youtube"] svg,
.store-footer .s-social-link
a[href*="instagram"] svg,
.store-footer .s-social-link
a[href*="tiktok"] svg,
.store-footer .s-social-link
a[href*="twitter"] svg,
.store-footer .s-social-link
a[href*="x.com"] svg,
.store-footer .s-social-link
a[href*="whatsapp"] svg,
.store-footer .s-social-link
a[href*="wa.me"] svg {
    fill: currentColor !important;
}


/* ==================================================
   9. وسائل الدفع
   ================================================== */

.store-footer .s-payments-list {
    display: flex !important;
    flex-wrap: wrap !important;

    align-items: center;
    justify-content: flex-start;

    gap: 8px;
}

/* بطاقات الدفع */
.store-footer .s-payments-list li {
    position: static !important;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;
    margin: 0;
    padding: 5px 7px;

    background: #ffffff;
    border: 1px solid var(--footer-border);
    border-radius: 8px;
}

/* صور الدفع */
.store-footer .s-payments-list img {
    display: block !important;

    width: auto;
    max-width: 100%;
    max-height: 26px;

    opacity: 1 !important;
    object-fit: contain;
}

/* إلغاء الصور البديلة القديمة */
.store-footer
.s-payments-list li:last-child a::before {
    content: none !important;
}


/* ==================================================
   10. الجزء السفلي
   ================================================== */

.store-footer .copyrights {
    border-top: 1px solid var(--footer-border);
    color: var(--footer-muted);
}


/* ==================================================
   11. TABLET
   ================================================== */

@media (min-width: 768px)
and (max-width: 1023px) {

    .store-footer {
        padding-top: 24px;
    }

    .store-footer h3 {
        font-size: 15px !important;
    }

    .store-footer .s-social-link a {
        width: 42px !important;
        height: 42px !important;
    }
}


/* ==================================================
   12. MOBILE
   ================================================== */

@media (max-width: 767px) {

    .store-footer {
        margin-top: 20px;
        padding-top: 20px;

        border-radius: 20px 20px 0 0;
    }

    .store-footer__inner > .container {
        padding-inline: 15px;
    }

    /* العناوين */
    .store-footer h3 {
        margin-bottom: 12px !important;
        font-size: 15px !important;
    }

    /* الروابط */
    .store-footer .footer-list a,
    .store-footer .s-user-menu a {
        min-height: 36px;
        font-size: 12px !important;
    }

    /* وسائل التواصل */
    .store-footer .s-contacts-list,
    .store-footer .s-contacts-list-vertical {
        gap: 8px !important;
    }

    .store-footer .s-contacts-list a,
    .store-footer .s-contacts-list-vertical a {
        min-height: 46px;
        padding: 8px 10px !important;

        font-size: 13px !important;
    }

    /* أيقونات المنصات */
    .store-footer .s-social-list {
        justify-content: center !important;
        gap: 8px !important;

        margin: 15px 0 !important;
    }

    .store-footer .s-social-link a {
        width: 42px !important;
        height: 42px !important;
    }

    /* وسائل الدفع */
    .store-footer .s-payments-list {
        justify-content: center;
        gap: 6px;
    }

    .store-footer .s-payments-list li {
        padding: 4px;
    }
}


/* ==========================================
   FAHD ALARWBAH
   CONTACT SECTION FIX
   ========================================== */

/* حاوية التواصل */
.store-footer .s-contacts-list {
    display: flex !important;
    gap: 10px !important;
    width: 100% !important;
}

/* الكمبيوتر: ترتيب عمودي */
.store-footer .s-contacts-list-vertical {
    flex-direction: column !important;
    align-items: stretch !important;
}

/* بطاقات التواصل */
.store-footer .s-contacts-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 12px !important;
    min-height: 52px !important;
    width: 100% !important;

    margin: 0 !important;
    padding: 8px 12px !important;

    background: #ffffff !important;
    color: #171717 !important;

    border: 1px solid #e2e2e7 !important;
    border-radius: 14px !important;

    text-decoration: none !important;
    box-sizing: border-box;
}

/* الأرقام والنصوص */
.store-footer .s-contacts-item .unicode {
    display: inline-block !important;
    flex: 1 1 auto !important;

    width: auto !important;
    height: auto !important;

    color: #171717 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;

    opacity: 1 !important;
    visibility: visible !important;

    text-align: right !important;
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
}

/* الأيقونات */
.store-footer .s-contacts-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid #e2e2e7;
    border-radius: 11px;

    background: #f8f8fa;
    color: #171717 !important;
}

/* منع تطبيق تنسيق النصوص على الأيقونات */
.store-footer .s-contacts-icon span,
.store-footer .s-contacts-icon svg {
    color: inherit;
}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 767px) {

    /* الجوال: بطاقات رأسية */
    .store-footer .s-contacts-list-horizontal {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }

    .store-footer .s-contacts-item {
        width: 100% !important;
        min-height: 48px !important;
        padding: 6px 10px !important;
    }

    .store-footer .s-contacts-item .unicode {
        font-size: 13px !important;
    }

    .store-footer .s-contacts-icon {
        flex-basis: 36px !important;
        width: 36px !important;
        height: 36px !important;
    }
}


/* الشعار المتحرك في الفوتر دون تكرار */

/* إلغاء الشعار الإضافي */
.store-footer__inner .container
> div:nth-of-type(1)::before {
    content: none !important;
}

/* استبدال صورة الشعار الأصلي */
.store-footer .footer-logo img {
    content: url("https://i.ibb.co/ZgdStDq/min.gif");
    object-fit: contain;
}









/* =====================================================
   تنسيق المسافات بين الصور والبنرات
   + مسافة علوية واضحة فوق كل البنرات ما عدا الأول
   ===================================================== */


/* =========================
   اللابتوب
   ========================= */

body.index .s-block--banners .grid {
    gap: 14px !important;
    row-gap: 14px !important;
    column-gap: 14px !important;
}

body.index .s-block--banners {
    margin-bottom: 14px !important;
}

/* مسافة علوية واضحة للبنرات */
body.index .s-block--banners:not(:first-of-type) {
    margin-top: 30px !important;
}


/* =========================
   الجوال
   ========================= */

@media (max-width: 767px) {

    /* المسافة بين الصور */
    body.index .s-block--banners .grid {
        gap: 10px !important;
        row-gap: 10px !important;
        column-gap: 10px !important;
    }

    /* تنسيق أقسام البنرات */
    body.index .s-block--banners {
        margin-bottom: 12px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* ==========================================
       مسافة علوية واضحة فوق البنرات
       ما عدا البنر الأول
       ========================================== */

    body.index .s-block--banners:not(:first-of-type) {
        margin-top: 32px !important;
    }

    /* في حالة البنرات المتتالية */
    body.index .s-block--banners + .s-block--banners {
        margin-top: 32px !important;
    }

    /* إزالة المسافات الداخلية غير المطلوبة */
    body.index .s-block--banners .grid > * {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* الحاوية */
    body.index .s-block--banners .container {
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }

    /* الصور */
    body.index .s-block--banners img {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* البنر عندما يأتي بعد قسم آخر */
    body.index section + .s-block--banners {
        margin-top: 32px !important;
    }
}







/* ==========================================
   FAHD ALARWBAH
   توحيد خلفية جميع بطاقات المميزات
   Desktop / Tablet / Mobile
   ========================================== */

.s-block--features
.s-block--features__item {
    background-color: #D3D3D3 !important;
    background-image: none !important;
}

/* توحيد لون العناوين */
.s-block--features
.s-block--features__item h2 {
    color: #000000 !important;
}

/* الحفاظ على اللون عند المرور بالماوس */
.s-block--features
.s-block--features__item:hover {
    background-color: #D3D3D3 !important;
}