/* Add custom CSS styles below */ 
.gap-3 {
    gap: 0.4rem;
}

.grid-flow-row {
    grid-auto-flow: row; /* تصحيح للعرض العمودي الطبيعي */
}

.bg-white {
    --tw-bg-opacity: 1;
    background-color: #f2f1ef; /* الأبيض الفاتح للمتجر */
}

.top-navbar {
    background-color: #7b40cf; /* أخضر داكن قريب من هوية السقور */
}

.mm-spn.mm-spn--light {
    color: #fff;
    background: #7b40cf; /* أخضر داكن مماثل للهيدر */
}

.footer-is-light .store-footer .store-footer__inner {
    background-color: #f2f1ef;
}

.s-slider-block__title-nav {
    opacity: 0;
}

.s-block--hero-slider .swiper-slide .overlay-bg:after {
    opacity: 0;
}

.store-footer__inner {
    border-bottom-width: 1px;
    border-radius: 30px 30px 0 0 !important;
}

.slide--cat-entry {
    background-color: #f8fafc; /* رمادي فاتح محايد */
}

.bg-gray-100 {
    background-color: #f8fafc;
}

.cta-button {
    background-color: #365553; /* أخضر داكن */
    color: #f2f1ef; /* نص فاتح */
    padding: 6px 22px;
    font-size: 17px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    position: absolute;
    bottom: 161px;
    left: 50%;
    transform: translateX(-50%);
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #c5c6c8; /* رمادي عند التمرير */
    color: #365553;
}

@media (max-width: 768px) {
    .cta-button {
        font-size: 15px;
        bottom: 113px;
    }
}

/*   ==========   HEADER   ==========   */
.navbar-brand img {
    max-width: 124px;
    content: url('') !important;
}

.header-btn {
    color: #f2f1ef;
    background-color: #365553;
    border-radius: 4px;
}

[dir=rtl] .header-btn__icon.icon {
    margin-left: 2px;
}

.s-cart-summary-total {
    display: none;
}

body .unicode {
    display: none;
}

.s-contacts-icon {
    color: #f2f1ef;
    background: #365553;
    border-radius: 8px !important;
    padding: 7px;
    margin: 0 !important;
    font-size: 15px;
}

.s-contacts-list.s-contacts-list-vertical {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

/*   ==========   FOOTER   ==========   */
.s-menu-footer-item {
    text-align: center;
    margin-bottom: 10px;
    color: #365553;
}

.s-menu-footer-list {
    columns: 2;
}

[dir=rtl] .rtl\:ml-4 {
    margin-inline: 8px !important;
    width: auto !important;
}

@media (min-width: 1024px) {
    .store-footer:before {
        display: flex;
        content: "";
        height: 100%;
        position: absolute;
        top: -50px;
        width: 100%;
        background-size: contain;
        background-repeat: no-repeat;
        z-index: -3;
        background-position: center;
    }

    .footer-list .last\:mb-0 {
        width: 100% !important;
        justify-content: center;
        margin-right: 0px !important;
    }

    .block {
        margin-right: 0px !important;
        margin-bottom: 12px !important;
        width: calc(100% - 10px) !important;
        justify-content: center;
    }

    .store-footer .s-user-menu a {
        width: 100% !important;
        margin-bottom: 13px !important;
        margin-right: 20px !important;
        font-size: 13px !important;
        color: #7a3fcc;
    }

    .lg\:grid-cols-7 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .lg\:grid-cols-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:col-span-2 {
        grid-column: span 1 / span 2;
    }

    [dir=rtl] .rtl\:lg\:pl-20 {
        padding-left: 0rem;
    }

    [dir=rtl] .rtl\:lg\:pr-20 {
        padding-right: 0rem;
    }
}

.store-footer__inner:before {
    background-position: bottom;
    display: flex;
    content: "";
    height: 50px;
    margin-bottom: 35px;
    width: 100%;
    background-image: url('https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/YaADo/lXR7hS1CheJjaRTgzBinvIyFCgJMMdaG1MKbdE5c.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.appstore {
    color: #365553;
}

.store-footer h3 {
    color: #fff;
    border-radius: 8px;
    text-align: center;
    border: 0 !important;
    height: 32px;
    font-weight: 700;
    line-height: 34px;
    width: 100%;
    margin-bottom: 15px;
    background: #09aa4b;
}

.space-x-2 {
    justify-content: center;
}

.carousel-slider .swiper:where([dir="rtl"], [dir="rtl"] *) {
    padding-left: 7rem;
}

.header-btn {
    color: #f2f1ef;
    background-color: #00000000;
    border-radius: 4px;
}

.max-w-sm {
  display: flex;
  flex-direction: column;
  justify-content: center;  
  align-items: center;      
  text-align: center;       
  min-height: 120px;       
}

.topnav-is-dark .top-navbar {
    --tw-bg-opacity: 1;
    background-color: #1d1f1f;
    background-color: rgb(120 58 204);
    --tw-text-opacity: 1;
    color: #d1d5db;
    color: rgba(209, 213, 219, var(--tw-text-opacity, 1));
}


.s-user-menu-trigger {
   background-color: rgb(255 255 255 / 0%);
}

/*   ==========   FOOTER   ==========   */

.s-slider-block__title {
    box-shadow: inset 2px 0 0 #199e39, inset 4px 0 0 #f9f9f9;
    background-color: var(--main-color, #f9f9f9); /* استخدم لونك الأساسي أو الافتراضي */
    height: 48px !important;
    width: 100% !important;
    padding: 0 20px !important;
    max-width: 100% !important;
    border-radius: 10px; /* زوايا ناعمة مناسبة للمتاجر */
    color: #199e39; /* لون خط متوافق مع شعارك (الأخضر للصقر الأخضر مثلاً) */
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 16px;
}