/* =========================================


/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
.mobile-nav {
    background-size: 100%;
    position: relative;
    z-index: 101;
    background-color: #28245 !important;
    background-image: linear-gradient(42deg, #34236fba 0%, transparent 71%);
    border: 2px solid #ffffff1f !important;
    -webkit-backdrop-filter: blur(9px); /* Support for Safari/iOS */
    backdrop-filter: blur(9px);
}

.dark .mobile-nav {
    background-color: #ffffff21 !important;
    background-image: linear-gradient(42deg, #ffffff4a 0%, transparent 71%);
    border: 2px solid #ffffff1f !important;
}

.top-navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.top {
    margin-top: 1rem;
}

/* Corrected generic selector instead of long path */
.s-block--banners.home-sec-0 {
    margin-top: 1rem;
}

.dark .s-user-menu-dropdown {
    background: #1b1239;
}

.dark .s-user-menu-dropdown-item a {
    color: #fff;
}

.header-is-dark #mainnav {
    border-radius: 20px;
}

.s-user-menu-toggler.opened .s-user-menu-dropdown {
    border-radius: 12px;
}
.store-header , #app.header-is-dark .store-header{
  background: transparent !important;
}
.store-header .inner {
    border-radius: 0px 0px 25px 25px !important;
    border-bottom: 3px solid #6658f1;
    position: relative;
    background: linear-gradient(228deg, #4e32ab 0px, #33226a 82%);
    background-image: 
        url(https://cdn.files.salla.network/homepage/796446091/8570cd5a-06df-48d2-8cbb-185755c5afda.webp),
        url(https://cdn.files.salla.network/homepage/796446091/3f4083d8-042b-4db0-9642-98f97e135caa.webp),
        linear-gradient(228deg, #4e32ab 0px, #33226a 82%);
    background-size: 16%, 16%, 100%;
    background-repeat: no-repeat;
    background-position: left top, right top;
}

#app .s-cart-summary-count, 
.header-wishlist-count i.icon-heart::after {
    background-color: #e90000 !important;
    --cart-count-bg: #e90000;
}

.btn--rounded-gray {
    background-color: var(--signInBtn-bg-color) !important;
    border-radius: 12px;
}

.header-signInBtn {
    border-radius: 12px;
}

[dir="rtl"] .header-innerLeft salla-cart-summary {
    margin-right: 0;
}

.s-cart-summary-wrapper .cart-sum-icon {
    transform: scale(1);
}

.header-signInBtn .i-icon-user:before {
    font-size: 24px !important;
    top: -1px;
}

[dir="rtl"] .s-cart-summary-count {
    right: auto;
    left: -8px;
}

.store-header .px-2 {
    padding-left: 0px;
    padding-right: 10px;
}

/* =========================================
   3. CUSTOM ICONS
   ========================================= */
.sicon-moon:before, .sicon-right:before, .sicon-search:before, 
.sicon-user:before, .sicon-shopping:before, .dm-toggler i svg, 
.sicon-home:before, .sicon-list:before {
    color: transparent;
    font-size: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.sicon-home:before { background-image: url(https://cdn.salla.sa/form-builder/jq0tFedmr7ndj2BVqvMK8aoAJcx5A2GZpnK4C2We.png); }
.sicon-moon:before { background-image: url(https://cdn.salla.sa/form-builder/IypqHx9Jdc2uOUNty8ykajUCaEBwyamb3LxbmP9F.png); }
.dm-toggler i svg { background-image: url(https://cdn.salla.sa/form-builder/GtB2SZ4riKUBgTkjqtBjr71OGSVeO6urPjWdAbSs.png); }
.sicon-right:before, .sicon-list:before { background-image: url(https://cdn.salla.sa/form-builder/xx6pafkBp0CxZZjJwsZ63QDix7o6yjJqs6K5Xaw5.png); }
.sicon-search:before { background-image: url(https://cdn.salla.sa/form-builder/x1ll2WApyTuJ4r87ChIDIQPufUttNshi1rc4Ekwp.png); }
.sicon-user:before { background-image: url(https://cdn.salla.sa/form-builder/UNrpyXENQG6igFDSSMskI1G3BFWc55G7La8WR7X1.png); }
.sicon-shopping:before { background-image: url(https://cdn.salla.sa/form-builder/lbWOogWsL4x9YxU1RPZQzhztYPARZ6I53J4hxePS.png); }

.store-header .sicon-shopping:before {
    font-size: 25px;
    top: -1px;
    position: relative;
}

.dm-toggler i.mode-sun svg {
    transform: scale(1.05);
}

/* =========================================
   4. BANNERS & BLOCKS
   ========================================= */
.s-block--features+.s-block--features, 
.s-block--fixed-banner+.s-block--fixed-banner, 
.s-block--banners+.s-block--banners {
    margin-top: 1em;
}

.sq-awesome-banners .grid:not(.s-multiple-bundle-product-options-modal-slider .s-slider-thumbs-container .swiper-slide) {
    column-gap: 0px;
}

/* =========================================
   5. PRODUCTS & CARDS
   ========================================= */
body.atc-btn-bag .product-block .aaliicon-add-to-cart-outer .s-button-text:before {
    color: transparent !important;
    font-size: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(https://cdn.salla.sa/form-builder/qOjgqmSlDyxtDBcIXIQz3WbiATbScRHUs43txiUm.png);
    margin: -1px 0px 0px 4px;
}

.p-card-centered .product-block .product-block__info {
    text-align: center;
    gap: 10px;
}

#app salla-add-product-button button[product-id].s-button-primary {
    background-color: #33226a !important;
    background: linear-gradient(16deg, #6658f1c4, transparent);
    text-align: center;
    border-radius: 15px;
    height: 32px;
    line-height: 32px;
    border: 2px solid #6658f1;
    box-shadow: inset 0px 0px 9px -2px #6658f1, 0px 0px 15px -2px #6658f1;
    position: relative;
}

/* Add to cart icon decoration - Right */
#app salla-add-product-button button[product-id].s-button-primary:before {
    content: "";
    background-image: url(https://cdn.files.salla.network/homepage/796446091/3d8b1002-1b73-417d-9d21-169189009b68.webp);
    background-size: contain;
    width: 18px;
    height: 18px;
    display: block;
    position: absolute;
    top: 6px;
    right: 10px;
    z-index: 1;
}

/* Add to cart icon decoration - Left */
#app salla-add-product-button button[product-id].s-button-primary:after {
    content: "";
    background-image: url("https://cdn.files.salla.network/homepage/796446091/27074ffa-ebe1-49c1-b50a-d124f933f780.webp");
    background-size: contain;
    width: 18px;
    height: 18px;
    display: block;
    position: absolute;
    top: 6px;
    left: 10px;
    z-index: 1;
}

.sticky-product-bar { margin-top: 14px; }
.sm\:pb-0 { padding-bottom: 18px; }

.s-products-list-wrapper {
    margin-bottom: 0rem;
    display: grid;
}

.s-product-options-wrapper {
    border-radius: 16px;
    background-color: var(--lm-bg-sec);
}

salla-slider.details-slider .swiper-slide {
    border-radius: 16px;
    overflow: hidden;
}

.is-sticky-product-bar.product-single .store-footer {
    padding-bottom: 0;
}

.product-single salla-slider.details-slider.image-slider .s-slider-container {
    border-color: transparent;
}

.btn--collapse {
    border-radius: 12px;
    background-color: #fff;
}

.rounded-md {
    border-radius: 16px !important;
}

/* Ensure 5 columns only on large screens */
@media (min-width: 1024px) {
    .s-products-list-vertical-cards {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.action-btns-small:not(.cls-btn46) salla-add-product-button button[product-id] {
    height: 2rem;
    font-size: 14px;
    padding-bottom: 5px;
    font-weight: 100;
    color: #fff4ea !important;
}

body#app.hide-img-btm-rad.p-border-on custom-salla-product-card.product-block .product-block__thumb:not(.s-product-card-image) img {
    border-radius: 12px;
}

.p-pay-m-wrapper.mt-4.mb-4 {
    background: #fff1e5b8;
    padding: 10px;
    justify-content: center;
    display: flex;
    border-radius: 16px;
}

.dark .p-pay-m-wrapper.mt-4.mb-4 {
    background: var(--dm-bg-sec);
}

.dark #app.product-card-bg-on custom-salla-product-card {
    background-color: var(--dm-bg-sec);
}

.s-slider-nav-arrow {
    background: #fcf4e8;
    height: 32px;
    border-radius: 12px;
}

#app {
    --lm-bg-sec: #fff1e5b8;
}

/* =========================================
   6. COMMENTS
   ========================================= */
.single-comment-wrapper {
    background: #ffffff;
    padding: 13px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.dark .single-comment-wrapper {
    background: #15121c;
}

.nested-comment {
    background: #fef4e8;
    padding: 14px 64px 14px 14px;
    border-radius: 12px;
}

.dark .nested-comment {
    background: var(--dm-bg-sec);
}

salla-infinite-scroll.s-infinite-scroll-container.hydrated {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 15px;
}

.product-single .s-comments-product,
.dark .product-single .s-comments-product {
    background-color: transparent !important;
}

.s-comments-product .container {
    background: #000;
    background-color: var(--lm-bg-sec);
    border-radius: 12px;
    padding: 20px;
}

.dark .s-comments-product .container {
    background-color: var(--dm-bg-sec);
}

/* =========================================
   7. FEATURES SECTION
   ========================================= */
.enhanced-features .grid > .items-center {
    text-align: center;
    padding: 48px 10px 10px 10px;
}

#app .enhanced-features .feature-icon:before {
    display: flex;
    content: "";
    height: 18px;
    top: -5px;
    position: absolute;
    width: 100%;
    clip-path: polygon(100% 100%,100% 100%,99.917% 93.561%,99.675% 87.351%,99.282% 81.435%,98.75% 75.879%,98.087% 70.746%,97.303% 66.102%,96.408% 62.011%,95.412% 58.539%,94.324% 55.75%,93.154% 53.71%,57.714% 5.161%,57.714% 5.161%,56.191% 3.289%,54.655% 1.832%,53.108% 0.792%,51.554% 0.168%,49.996% -0.04%,48.437% 0.168%,46.88% 0.792%,45.329% 1.832%,43.786% 3.289%,42.255% 5.161%,6.846% 53.71%,6.846% 53.71%,5.676% 55.794%,4.588% 58.617%,3.592% 62.113%,2.697% 66.218%,1.913% 70.867%,1.25% 75.995%,0.718% 81.537%,0.325% 87.428%,0.083% 93.604%,0% 100%,100% 100%);
    z-index: -1;
    background: #352377;
}

.s-block--features {
    margin-top: 3rem !important;
    padding-top: 0px;
}

#app .enhanced-features .feature-icon {
    background-color: #352377 !important;
    border-radius: 50% 50% 0px 0px / 13px 13px 0px 0px;
    border-bottom-right-radius: 14px;
    border-bottom-left-radius: 14px;
}

.s-block--features__item p {
    font-size: 13px;
    line-height: 20px;
}

.s-block--features__item h4 {
    font-size: 15px;
}

/* =========================================
   8. ANIMATIONS & TITLES
   ========================================= */
@keyframes up-down {
    0% { transform: translateY(-7px); }
    50% { transform: translateY(7px); }
    100% { transform: translateY(-7px); }
}

.title h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px !important;
    font-weight: 100;
    line-height: 35px !important;
    height: 35px;
    z-index: 0;
    background: linear-gradient(16deg, #6658f1c4, transparent);
    background-color: #33226a;
    text-align: center;
    border-radius: 25px;
    border: 2px solid #6658f1;
    box-shadow: inset 0px 0px 9px -2px #6658f1, 0px 0px 15px -2px #6658f1ed;
    position: relative;
    width: calc(50% + 20px);
    margin-inline: auto;
    margin-block: 14px;
  margin-block-start:15px; 
}

.title h3:before {
    content: "";
    background-image: url(https://cdn.files.salla.network/homepage/796446091/3d8b1002-1b73-417d-9d21-169189009b68.webp);
    background-size: contain;
    width: 18px;
    height: 18px;
    display: block;
    position: absolute;
    top: 6px;
    right: 10px;
    z-index: 1;
}

.title h3:after {
    content: "";
    background-image: url(https://cdn.files.salla.network/homepage/796446091/27074ffa-ebe1-49c1-b50a-d124f933f780.webp);
    background-size: contain;
    width: 18px;
    height: 18px;
    display: block;
    position: absolute;
    top: 6px;
    left: 10px;
    z-index: 1;
}

/* =========================================
   9. FAQ & MISC
   ========================================= */
.faq-item .faq-inner .faq-icon {
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 6px;
}

.faqs-section .faq-item {
    border: 0px;
    background-color: #f2f2f2;
    border-radius: 40px;
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
}

.question.dm-text-main {
    line-height: 24px;
    height: 20px;
    font-size: 13px;
}

body .s-design-before { display: none; }

.mb-4 {
    margin-bottom: 10px;
    text-align: right;
}

/* =========================================
   10. FOOTER STYLING
   ========================================= */


.store-footer {
    background: #100b20;
    position: relative;
    overflow: visible;
    padding-top: 0px;
    margin-top: 10rem;
    border-radius: 50% 50% 0 0 / 40px 40px 0 0;
    z-index: 1;
}

.border-t-2 { border-top-width: 0px; }
.border-t-\[0\.5px\] { border-top-width: 0.5px; border-color: transparent; }

.footer-is-dark .store-footer__inner {
    color: #fff;
    background: #282454;
    background-image: url(https://cdn.salla.sa/form-builder/Rfju4r7yUB8bkdRSHXDSSa5Z8mZdFsF4mKF4KRTw.png), url(https://cdn.files.salla.network/homepage/796446091/b4627e55-4669-42fb-8f4f-47b0bb0aea48.webp), linear-gradient(#393188 0px, #211c49 82%);
    background-size: 21% ,21% , 100%;
    background-repeat: no-repeat;
    background-position: left bottom, right bottom;
    border: 0;
    overflow: visible;
    padding-top: 0px;
    border-radius: 0px;
    padding-bottom: 0;
}

/* Wave shape above footer */
.store-footer:before {
    display: flex;
    content: "";
    height: 68px;
    top: -67px;
    position: absolute;
    width: 100%;
    clip-path: polygon(100% 100%,100% 100%,99.917% 93.561%,99.675% 87.351%,99.282% 81.435%,98.75% 75.879%,98.087% 70.746%,97.303% 66.102%,96.408% 62.011%,95.412% 58.539%,94.324% 55.75%,93.154% 53.71%,57.714% 5.161%,57.714% 5.161%,56.191% 3.289%,54.655% 1.832%,53.108% 0.792%,51.554% 0.168%,49.996% -0.04%,48.437% 0.168%,46.88% 0.792%,45.329% 1.832%,43.786% 3.289%,42.255% 5.161%,6.846% 53.71%,6.846% 53.71%,5.676% 55.794%,4.588% 58.617%,3.592% 62.113%,2.697% 66.218%,1.913% 70.867%,1.25% 75.995%,0.718% 81.537%,0.325% 87.428%,0.083% 93.604%,0% 100%,100% 100%);
    z-index: -1;
    background: #383086;
}

.block { display: block; }

.mt-8 { margin-top: 1rem; margin-bottom: 1rem; }
.footer-contact { margin-bottom: 2.5rem; }

.store-footer h3 {
    background: linear-gradient(16deg, #6658f1c4, transparent);
    text-align: center;
    border-radius: 15px;
    height: 32px;
    line-height: 32px;
    border: 2px solid #6658f1;
    box-shadow: inset 0px 0px 9px -2px #6658f1, 0px 0px 15px -2px #6658f1;
    margin-bottom: 21px;
    position: relative;
}

.store-footer h3:before {
    content: "";
    background-image: url(https://cdn.files.salla.network/homepage/796446091/3d8b1002-1b73-417d-9d21-169189009b68.webp);
    background-size: contain;
    width: 18px;
    height: 18px;
    display: block;
    position: absolute;
    top: 5px;
    right: 7px;
    z-index: 1;
}

.store-footer h3:after {
    content: "";
    background-image: url(https://cdn.files.salla.network/homepage/796446091/27074ffa-ebe1-49c1-b50a-d124f933f780.webp);
    background-size: contain;
    width: 18px;
    height: 18px;
    display: block;
    position: absolute;
    top: 5px;
    left: 7px;
    z-index: 1;
}

.footer-hide-social-title .store-footer .footer-social-item a {
    border-width: 1px;
    height: 35px;
    width: 35px;
    justify-content: center;
    background: #00000069;
    border: 0;
}

span.text-sm.opacity-75.lg\:text-center.px-4.block.my-2:after {
    content: "";
    height: 60px;
    background-color: #352377;
    border-radius: 0px 0px 35px 35px;
    position: absolute;
    z-index: -1;
    width: 100%;
    bottom: 90px;
    right: 0;
}

span.text-sm.opacity-75.lg\:text-center.px-4.block.my-2:before {
    content: "";
    height: 60px;
    width: 100%;
    background: #fec830;
    position: absolute;
    z-index: -1;
    bottom: 78px;
    right: 0;
}

.opacity-75 { opacity: 1; }

.footer-container {
    order: 2;
    background-color: transparent;
    border-radius: 0px 0px 25px 25px;
    position: relative;
    z-index: 0;
    border: 0;
    padding-top: 0 !important;
    padding-bottom: 20px !important;
}

.my-4 {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.footer_logo { display:none; }
.store-footer__inner:before {
    background-position: bottom;
    display: flex;
    content: "";
    height: 130px !important;
    margin-top: 0px;
    width: 100%;
    background-image: url(https://cdn.files.salla.network/homepage/197520808/1ad85af6-4e91-48da-a55e-f9f23498ef25.gif);
    background-size: contain;
    background-repeat: no-repeat;
}



.s-trust-badges-label, .s-trust-badges-number {
    font-size: 12px !important;
    text-align: right !important;
    line-height: 9px;
}

.s-trust-badges-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.s-trust-badges-image, .sbc-icon {
    background: #fff;
    border-radius: 25px;
    height: 40px;
    width: auto;
    padding: 5px;
}

.sbc-wrapper, salla-trust-badges.flex.justify-start.gap-2.s-trust-badges-wrapper.hydrated {
    display: flex;
    justify-content: center;
    background: #ffffff21;
    background-image: linear-gradient(42deg, #ffffff4a 0%, transparent 71%);
    border: 2px solid #ffffff1f !important;
    padding: 0px 0px 0px 15px;
    border-radius: 24px;
    margin: 0px;
}

.footer-bottom__inside-footer-top.items-center.justify-between.py-2 {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.footer-bottom__inside-footer-top {
    padding-bottom: 2.5rem;
}

.s-trust-badges-label { line-height: 20px !important; }

.store-footer.icons-rounded-md .s-social-link a, 
.store-footer.icons-rounded-md .s-contacts-icon {
    border-radius: 12px;
    background: #100b20;
    border: 0;
    height: 36px;
    width: 36px;
}

/* =========================================
   11. MEDIA QUERIES (DESKTOP)
   ========================================= */
@media (min-width: 1024px) {
    .footer_logo { display:none; }
    
    .mb-6 { margin-bottom: 0rem; }
    .footer_top { grid-column: span 3 !important; }
    .footer-contact { grid-column: span 2 !important; }
    .footer-links { grid-column: span 2 !important; }
    
    .footer_top { order: 3; }
    .new-container { grid-column: span 3 !important; }
    .footer-links { order: 2; }
    .footer-bottom { order: 4; }
    .footer-links { order: 3; }
    .footer-app-links { order: 2; }
    .my-4 { margin-top: 0rem; margin-bottom: 1rem; }
    
    .footer-list__item { margin-bottom: 10px; }
    .footer-bottom__inside-footer-top.items-center.justify-between.py-2 { gap: 20px; }
    .s-trust-badges-image, .sbc-icon { border-radius: 14px; }
    .footer-bottom__inside-footer-top { padding-bottom: 0.5rem; }
    .sbc-wrapper, salla-trust-badges.flex.justify-start.gap-2.s-trust-badges-wrapper.hydrated { padding: 7px 7px 7px 15px; }
    .store-footer__inner:before { height: 50px; margin-bottom: 35px; }
    
    .footer-hide-social-title .store-footer .footer-social-item a {
        border-width: 1px;
        height: 35px;
        width: 35px;
        justify-content: center;
    }
    
    .footer-tax-wrapper.flex.rtl\:space-x-reverse.space-x-2.items-end.my-2 {
        width: auto !important;
        max-width: 200px;
        margin-inline: auto;
        background: #111117;
        padding: 10px;
        display: flex;
        justify-content: center;
        border-radius: 14px;
    }
    
    .new-container {
        order: 1;
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    
    #app .footer-container {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
    }
    
    .footer_top .grid-cols-4 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    
    .footer_top .grid {
        display: grid;
        justify-items: center;
    }
    
    .lg\:rtl\:mr-0:where([dir="rtl"], [dir="rtl"] *) {
        margin-right: auto;
        text-align: center;
    }
    
    .footer-bottom .justify-start { justify-content: center; }
    .footer-bottom:before { display: none; }
    
    .lg\:rtl\:mr-2:where([dir="rtl"], [dir="rtl"] *) { margin-right: 0; }
    
    span.text-sm.opacity-75.lg\:text-center.px-4.block.my-2 {
        margin-inline: -15px;
        background: #fec830;
        position: relative;
        overflow: visible;
        z-index: 0;
        margin-top: 40px;
        padding-inline: 15px;
        padding-bottom: 15px;
        padding-top: 15px;
        margin-bottom: 0;
    }
    
    .store-footer__inner {
        border-bottom-width: 0px;
        padding-bottom: 0rem;
    }
    
    .border-t-\[0\.5px\] { border-top-width: 0px; }
    
    .footer-bottom {
        margin-inline: 0px;
        background: transparent;
        position: relative;
        overflow: visible;
        z-index: 0;
        margin-top: 0rem;
        border-radius: 50% 50% 0 0 / 40px 40px 0 0;
        padding-inline: 0px;
    }
    
    .rtl\:lg\:pl-20:where([dir="rtl"], [dir="rtl"] *) { padding-left: 0rem; }
    
    p.max-w-sm.leading-6.mb-6 {
        font-size: 17px;
        line-height: 33px;
        max-width: 100%;
        font-weight: 700;
    }
    
    .footer_top p {
        font-size: 20px;
        font-weight: 700;
        text-align: center;
        line-height: 30px;
    }
    
    .footer_top {
        margin-bottom: 40px;
    }
}