/* Add custom CSS styles below */ 
/* تحميل خط Cairo */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* تطبيق خط Cairo على الموقع بالكامل */
html,
body,
body *,
button,
input,
select,
textarea,
a,
p,
span,
div,
label,
h1,
h2,
h3,
h4,
h5,
h6,
.s-button-element,
.s-product-card-entry,
salla-button,
salla-product-card,
salla-modal,
salla-search,
salla-cart-summary {
    font-family: "Cairo", sans-serif !important;
}

i,
[class^="sicon-"],
[class*=" sicon-"],
.fa,
.fas,
.far,
.fab {
    font-family: inherit;
}
section.s-block.s-block--photos-slider {
    margin: 0;
}
salla-slider.photos-slider .swiper-slide {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding:0;
}
salla-slider.photos-slider .swiper:where([dir=rtl],[dir=rtl] *) {
    padding-left: 0;
}
section#about-1 {
    margin: 0;
}
a.btn.group.bg-primary.text-primary-reverse.h-12.\!px-6.mt-8.gap-2.\!rounded-none.anime-item {
    border-radius: 30px !important;
}
.container.anime-item {
    max-width: 100% !important;
    padding: 0 !important;
}
.banners-slider__inner.container.anime-item {
    max-width: 1440px !important;
}
iframe.s-block--map__element.mb-\[-12\%\].rounded-xl.shadow-2xl.ring-1.ring-gray-900\/10.h-\[350px\].md\:h-\[700px\] {
    margin-bottom: 50px;
}
em {
    font-style: normal !important;
}
p.ql-direction-rtl.ql-align-center {
    margin-bottom: 0 !important;
}
.footer-badges.flex.justify-center.items-center.anime-item {
    margin-top: 20px;
}
.store-footer:not(.basic-footer) .enhanced_links {
    margin: 0 auto;
    width: 90%;
    text-align: right;
}
p.ql-direction-rtl.ql-align-center {
    margin-bottom: 0 !important;
}
.store-footer:not(.basic-footer) .enhanced_links li {
    margin-bottom: 0;
}
.store-footer h3 {
    text-align: right;
}
/* تصميم فوتر ترندنا */
footer.store-footer {
    position: relative !important;
    overflow: hidden !important;
    margin-top: 70px !important;

    border-radius: 55px 55px 0 0 !important;

    background:
        linear-gradient(
            rgba(7, 27, 53, 0.15),
            rgba(7, 27, 53, 0.28)
        ),
        url("https://cdn.files.salla.network/other/741418982/9b275f81-d988-48a5-be5a-8ef7a9b317b3-original.webp")
        center center / cover no-repeat !important;

    color: #ffffff !important;
}

/* الجزء الرئيسي من الفوتر */
footer.store-footer .store-footer__inner {
    background: transparent !important;
    padding-top: 55px !important;
    padding-bottom: 35px !important;
}

/* الجزء السفلي */
footer.store-footer .footer-bottom {
    background: rgba(8, 24, 45, 0.38) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* جعل النصوص بيضاء */
footer.store-footer,
footer.store-footer h1,
footer.store-footer h2,
footer.store-footer h3,
footer.store-footer h4,
footer.store-footer p,
footer.store-footer a,
footer.store-footer span,
footer.store-footer li,
footer.store-footer i {
    color: #ffffff !important;
}

/* تحسين عناوين الفوتر */
footer.store-footer h3,
footer.store-footer h4 {
    font-weight: 800 !important;
}

/* روابط الفوتر */
footer.store-footer a {
    transition: color 0.3s ease, transform 0.3s ease !important;
}

footer.store-footer a:hover {
    color: #f25b1f !important;
    transform: translateY(-2px);
}

/* تحويل لوجو الفوتر للأبيض */
footer.store-footer [data-selia="footer-logo-link"] img {
    filter: brightness(0) invert(1) !important;
}

/* أيقونات التواصل */
footer.store-footer .social-link,
footer.store-footer .social-links a {
    border-color: rgba(255, 255, 255, 0.7) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}
/* استبدال لوجو الفوتر باللوجو الأبيض */
footer.store-footer
[data-selia="footer-brand-column"]
a.footer-logo img {
    content: url("https://cdn.files.salla.network/other/741418982/f073d1ad-fae3-4784-b317-66ae0eeac355-original.webp") !important;

    filter: brightness(0) invert(1) !important;

    width: auto !important;
    height: 75px !important;
    max-width: 230px !important;
    object-fit: contain !important;
}

/* الجوال */
@media (max-width: 768px) {
    footer.store-footer {
        margin-top: 45px !important;
        border-radius: 30px 30px 0 0 !important;
        background-position: center top !important;
    }

    footer.store-footer .store-footer__inner {
        padding-top: 40px !important;
        padding-bottom: 25px !important;
    }
}
@media(max-width : 760px){
  salla-slider.photos-slider .swiper:where([dir=rtl],[dir=rtl] *) {
        padding-right: 0;
    }
  .py-32 {
    padding-bottom: 1rem;
    padding-top: 2rem;
}
.store-footer:not(.basic-footer) .enhanced_links {
    text-align: center;
}
.store-footer h3 {
    text-align: center;
}
}

/* تنسيق الفوتر على الموبايل والتابلت فقط */
@media (max-width: 768px) {

    /* شبكة الفوتر */
    footer.store-footer .store-footer__grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px 12px !important;
    }

    /* قسم بيانات المتجر واللوجو */
    footer.store-footer
    [data-selia="footer-brand-column"] {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* توسيط اللوجو */
    footer.store-footer
    [data-selia="footer-brand-column"]
    .footer-logo {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 auto 15px !important;
    }

    /* حجم اللوجو */
    footer.store-footer
    [data-selia="footer-brand-column"]
    .footer-logo img {
        display: block !important;
        width: auto !important;
        height: 72px !important;
        max-width: 230px !important;
        margin: auto !important;
    }

    /* توسيط النصوص الموجودة تحت اللوجو */
    footer.store-footer
    [data-selia="footer-brand-column"] p,
    footer.store-footer
    [data-selia="footer-brand-column"] div,
    footer.store-footer
    [data-selia="footer-brand-column"] strong {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* توسيط السجل التجاري */
    footer.store-footer
    [data-selia="footer-brand-column"]
    .ql-align-center {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
    }

    /* قسم روابط مهمة في صف كامل */
    footer.store-footer .store-footer__links-column {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        margin: 15px 0 0 !important;
    }

    /* عنوان روابط مهمة */
    footer.store-footer
    .store-footer__links-column
    .footer-title {
        width: 100% !important;
        margin-bottom: 18px !important;
        text-align: center !important;
    }

    /* توزيع الروابط في عمودين */
    footer.store-footer
    .store-footer__links-column
    .footer-list {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 24px !important;
        row-gap: 14px !important;
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        direction: rtl !important;
    }

    /* وضع النص بجوار النقطة البيضاء مباشرة */
    footer.store-footer
    .store-footer__links-column
    .footer-list li {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 7px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: right !important;
        direction: rtl !important;
    }

    footer.store-footer
    .store-footer__links-column
    .footer-list li a {
        display: inline-block !important;
        flex: 0 1 auto !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: right !important;
    }

    /* ضبط النقطة البيضاء */
    footer.store-footer
    .store-footer__links-column
    .footer-list li::before {
        position: static !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    /* تواصل معنا في صف كامل */
    footer.store-footer .store-footer__contacts-column {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 15px 0 0 !important;
    }

    /* عنوان تواصل معنا */
    footer.store-footer
    .store-footer__contacts-column
    .footer-title {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 12px !important;
    }

    /* أزرار التواصل في المنتصف */
    footer.store-footer
    .store-footer__contacts-column
    salla-contacts,
    footer.store-footer
    .store-footer__contacts-column
    .enhanced_rounded_contacts {
        width: 100% !important;
    }

    footer.store-footer
    .store-footer__contacts-column
    .enhanced_rounded_contacts {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
    }

    /* قسم منصة الأعمال */
    footer.store-footer .store-footer__grid > .grid-item {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: 5px !important;
    }
}

/* تعديل أقسام الفوتر على الشاشات الأكبر من التابلت */
@media (min-width: 769px) {
    footer.store-footer .store-footer__grid {
        display: grid !important;

        /* بيانات المتجر | روابط مهمة | تواصل معنا | منصة الأعمال */
        grid-template-columns: 2fr 1.5fr 0.75fr 0.75fr !important;

        gap: 20px !important;
        align-items: start !important;
    }

    /* إلغاء تقسيم ثيم سيليا الافتراضي */
    footer.store-footer .store-footer__grid > * {
        grid-column: auto !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    /* توسيع قسم روابط مهمة */
    footer.store-footer .store-footer__links-column {
        width: 100% !important;
    }

    /* عرض الروابط في عمودين */
    footer.store-footer
    .store-footer__links-column
    .footer-list {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 20px !important;
        row-gap: 0px !important;
    }

    /* تصغير قسم التواصل ومنصة الأعمال */
    footer.store-footer .store-footer__contacts-column,
    footer.store-footer .store-footer__grid > .grid-item {
        font-size: 14px !important;
    }
}