/* unset  */
section.s-block.s-block--fixed-banner.wide-placeholder,  .banner--fixed img, .banner-entry {
    background-color: unset;
}
/*--------------------*/






/* --- Skylexa Store: Extraordinary Theme --- */

:root {
    --sky-blue: #665f9b;
    --sky-gray: #419ea8;
    --grid:4;
    --gridmob:3;
}

.s-products-slider-card {
    height: 100% !important;
}
/* Slider */
section.s-block.s-block--photos-slider salla-slider.photos-slider .swiper-slide,
 [dir=rtl] salla-slider.photos-slider .swiper,
 salla-slider.photos-slider .swiper:where([dir=rtl],[dir=rtl] *),
 section.s-block.s-block--photos-slider:first-of-type
 {
    width: 100%;
    margin: 0;
    padding:0;
}
/*--------------------*/

/* unset  */
section.s-block.s-block--fixed-banner.wide-placeholder,  .banner--fixed img, .banner-entry {
    background-color: unset;
}
/*--------------------*/

/* grid */
.two-row .banner-entry:first-child {
    grid-column: span 1/span 1;
    grid-row: 1/2;
}

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

.banner-entry {
    height: 225px;
}

section.s-block.s-block--banners.container .lazy__bg.lazy.entered.loaded {
    background-size: contain;
    background-repeat: no-repeat;
}
/*--------------------*/
/* unset  */
section.s-block.s-block--fixed-banner.wide-placeholder,  .banner--fixed img, .banner-entry {
    background-color: unset;
}
/*--------------------*/

/*center*/
.flex.mb-6, .s-product-card-content-sub, .store-footer a, .s-product-card-content-title a, .store-footer .contact-social ul {
    text-align: center!important;
    justify-content: center !important;

}
/*--------------------*/

/* --- 1. Modern Dotted "Tech" Background --- */
/* .app-inner, main#main-content, body {
    background-color: #f4f7f8 !important;
    background-image: radial-gradient(rgba(27, 169, 186, 0.15) 1px, transparent 1px) !important;
    background-size: 24px 24px !important;
} */

/* --- 2. Unified Glassmorphism & WebKit Scroll Bug Fix --- */

/* Force transparency and KILL the browser transform bug on scroll */
header.s-header,
header.s-header.fixed-pinned,

.s-header-wrapper {
    background-color: white !important;
    background: white !important;
    z-index: 100 !important;
    transform: none !important; /* Prevents the glass from turning invisible */
    animation: none !important;
}

/* The Glass Container */
.main-nav-container {
    background-color: transparent !important;
    background: transparent !important;
    border-bottom: 2px solid var(--sky-blue) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    position: relative !important;
    z-index: 100 !important;
    isolation: isolate !important; 
    transform: none !important;
    !backdrop-filter: blur(0px) !important;
   
    
   
}


/* The Frosted Glass Layer */
.main-nav-container::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    z-index: -1 !important;
    pointer-events: none !important; 
}

/* Keep PC Dropdowns on Top */
.dropdown-menu,
.s-dropdown-menu,
salla-user-menu,
.s-user-menu-container {
    z-index: 999999 !important;
}

/* --- 3. Floating Custom Product Cards --- */
custom-salla-product-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid rgba(126, 126, 126, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    padding: 8px !important;
    margin: 15px 0 !important; 
    display: block; 
}

custom-salla-product-card:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 20px 40px rgba(27, 169, 186, 0.15) !important;
    border-color: var(--sky-blue) !important;
}

/* --- 4. Vibrant "Add to Cart" Buttons --- */
custom-salla-product-card .s-button-btn {
    background: linear-gradient(45deg, var(--sky-blue), #128a99) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(27, 169, 186, 0.3) !important;
    transition: all 0.3s ease !important;
}

custom-salla-product-card .s-button-btn:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(27, 169, 186, 0.5) !important;
}

/* --- 5. Typography Enhancements --- */
.s-product-card-price {
    color: var(--sky-blue) !important;
    font-weight: 900 !important;
    font-size: 1.25rem !important;
}

.s-product-card-content-title a {
    color: var(--sky-gray) !important;
    font-weight: 700 !important;
    transition: color 0.2s ease !important;
}

.s-product-card-content-title a:hover {
    color: var(--sky-blue) !important;
}

/* --- 6. Mobile Title Truncation (3 Lines) --- */
custom-salla-product-card .s-product-card-content-title {
    min-height: 66px !important; 
    max-height: 66px !important; 
    overflow: hidden !important;
    margin-bottom: 8px !important;
}

custom-salla-product-card .s-product-card-content-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important; 
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 22px !important; 
    white-space: normal !important;
    word-break: break-word !important;
}
.store-footer__inner {
    background-color: #7c71cd !important;
}


#app > div.app-inner.flex.flex-col.min-h-full > footer {
    margin-top: 0;
}
@media (max-width: 768px) {
      .banner-entry {
    height: 114px;

    }
    custom-salla-product-card .s-product-card-content-title a {
        font-size: 0.9rem !important;
    }
}

/* --- 7. The Ultimate Mobile Menu Trap Fix --- */
salla-mobile-menu,
salla-drawer,
.s-drawer,
.s-offcanvas,
.mobile-menu {
    position: fixed !important;
    z-index: 2147483647 !important; 
}

.s-drawer-backdrop,
.offcanvas-backdrop {
    position: fixed !important;
    z-index: 2147483646 !important; 
}

/* --- 8. Floating WhatsApp Button (Native Icon Font) --- */
.skylexa-whatsapp-btn {
    position: fixed !important;
    bottom: 30px !important;
    left: 30px !important; 
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(45deg, #25D366, #128C7E) !important; 
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
    z-index: 9999 !important; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-decoration: none !important;
}

.skylexa-whatsapp-btn:hover {
    transform: scale(1.1) translateY(-6px) !important;
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6) !important;
}

.skylexa-whatsapp-btn i {
    font-size: 34px !important;
    color: #ffffff !important;
    line-height: 0 !important;
    background: transparent !important; 
}
.swiper.s-slider-container.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
    padding: 0;
    margin: 0px;
}

@media (max-width: 768px) {
  .s-products-slider-card.swiper-slide {
    width: 57% ;
}
    .skylexa-whatsapp-btn {
        bottom: 20px !important;
        left: 20pximportant;
        width: 50px !important;
        height: 50px !important;
    }
    .skylexa-whatsapp-btn i {
        font-size: 28px !important;
    }
}
#app > div.app-inner.flex.flex-col.min-h-full > footer > div.store-footer__inner > div > div:nth-child(2) {
      text-align: center !important;
}
#app > div.app-inner.flex.flex-col.min-h-full > footer > div.store-footer__inner > div > div:nth-child(3) {
      text-align: center !important;
}
.store-footer__inner {
    background-color: #7c71cd !important;
}
.inner.bg-inherit.w-full {
    background-color: #f9fafb;
}

.s-products-slider-card {
    height: 100% !important;
}
button.s-infinite-scroll-btn.s-button-btn.s-button-primary {
    margin: 6px;
}
.max-w-sm.leading-6.mb-6 {
    text-align: center !important;
}
.flex.gap-4 {
    margin: auto;
    width: fit-content !important;
}