:root {
    --bg: #fff;
    --header-bg: #fff;
    --header-color: #000;
    --feat-bg: #fff;
    --feat-color: #000;
    --footer-bg: #1E1210;
}

body {
    background-color: var(--bg) !important;
}

@media (min-width: 1280px) {
    .container {
        max-width: 1400px;
    }
}

.topnav-is-dark .top-navbar {
    background-color: var(--color-primary);
}

/* Floating Navbar */
.header-search { padding: 12px; order: -1; display: flex; align-items: center; width: 100%; }
salla-search { width: 100%; }
.main-nav-container .inner .container>div:first-child { flex-wrap: wrap!important; }
.main-nav-container .inner .container>div:first-child>div:first-child { order: -1; }
@media(max-width:768px) { .header-search { order: 2!important; } }
.navbar-brand img {
    max-height: 5rem;
    max-width: 70px;
}

.main-nav-container.fixed-pinned .navbar-brand img {
    max-height: 70px;
}

/* Carousel */
.s-block:nth-of-type(1) {
    margin-top: 0 !important;
}

.s-slider-block__title-nav {
    display: none !important;
}

.s-block--photos-slider .s-slider-block__title-nav {
    display: none !important;
}

.s-block--photos-slider * {
    margin: 0 !important;
    padding: 0 !important;
    height: auto;
    border-radius: 0 !important;
}

.s-block--photos-slider .swiper-slide {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

.banner-entry, .banner--fixed img {
    background-color: transparent !important;
    margin-top: 20px;
}


section[component-id="1209484194"] .banner--fixed {
    position: relative !important;
    display: block !important;
}

section[component-id="1209484194"] .banner--fixed::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://cdn.files.salla.network/other/374247005/267e93ba-e20e-4465-afc7-e93894fbc5b9-original.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg);
    animation: css-auto-slider 6s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 2;
}

@keyframes css-auto-slider {
    0%, 35% { opacity: 0; visibility: hidden; }
    65%, 100% { opacity: 1; visibility: visible; }
}


/* Categories */
.s-block--banners .grid {
    grid-template-columns: repeat(auto-fit, minmax(0px, 1fr));
}
.s-block--banners .lazy__bg {
    background-size: contain;
    background-repeat: no-repeat;
}
.s-block--banners .banner-entry {
    height: 300px;
}
@media (max-width: 992px) {
    .s-block--banners .banner-entry {
        height: 200px;
    }
}
@media (max-width: 480px) {
    .s-block--banners .banner-entry {
        height: 100px;
    }
}
@media (min-width: 640px) {
    .two-row .banner-entry:first-child {
        grid-row: span 1 / span 1;
    }
}

@media (min-width: 768px) {
  .s-block--categories .swiper-slide a {
    padding: 0;
  }
  .square-photos-grid--featured-3, .square-photos-grid--featured-5 {
      grid-auto-rows: unset;
  }
  .square-photos-grid--featured-3>.banner-entry:first-child, .square-photos-grid--featured-5>.banner-entry:first-child {
      grid-row: unset;
  }
}

.s-block--categories .swiper-slide a {border: none!important;}
.s-block--categories .swiper-slide img { width: 13rem; height: 13rem; }
.s-block--categories .swiper-wrapper { justify-content: center; }
.banner-entry.square-photos { background: transparent!important; }
@media (max-width: 767px) {
    .s-block--categories .swiper-wrapper {
        justify-content: right; 
    }
}

.s-slider-block__title-left {
    margin-right: auto !important;
}

/* Transparent Banner */
.banner-entry,
.banner--fixed img {
    background-color: transparent !important;
    margin-top: 20px;
}

/* Products */
@media (min-width: 640px) {
    .s-product-card-content {
        padding: 1.25rem 0.5rem;
    }
}

@media (min-width: 992px) {
  .s-product-card-content {
    flex-direction: column !important; 
  }

  .s-product-card-content-main {
    width: 100% !important;
  }

  .s-product-card-content-sub {
    width: 100% !important; 
    order: 2 !important; 
    margin-bottom: 12px !important; 
  }

  .s-product-card-content-footer {
    width: 100% !important; 
    order: 3 !important; 
  }
}

@media (min-width: 768px) {
  .s-product-card-vertical
    .s-product-card-wishlist-btn:where([dir="rtl"], [dir="rtl"] *) {
    right: 0.5rem;
    left: auto !important;
  }
}

.s-product-card-entry {
    background-color: transparent !important;
    border-radius: 0.5rem !important;
    border: 1px solid rgba(0,0,0,0.1);
}
.s-product-card-image {
    background-color: transparent !important;
}
.s-product-card-entry:hover img {
    scale: 1.2;
}
.s-product-card-entry img {
    transition: all 0.3s;
}
.slider-bannars-moving h2,
.s-product-card-content-title {
    text-align: center !important;
}
.s-product-card-content-sub {
    display: flex;
    justify-content: center;
    align-items: center !important; 
    flex-direction: column-reverse;
}
.s-product-card-content-title a {
    color: #000 !important;
}
body:not(body.product-single)
    .s-button-element:not(.s-product-card-wishlist-btn) {
    background: var(--color-primary);
    color: #fff !important;
    border-radius: 0.5rem;
}
.s-product-card-vertical .s-product-card-wishlist-btn button:hover {
    background-color: var(--color-primary) !important;
}
.s-product-card-vertical
    .s-product-card-wishlist-btn
    button:hover
    .sicon-heart {
    color: #fff !important;
}
@media (max-width: 600px) {
    .s-products-slider-card {
        width: 55%;
    }
}

@media (min-width: 992px) {
    salla-products-slider .swiper-wrapper,
    salla-products-list .s-grid,
    .s-block--products-slider .swiper-wrapper,
    .s-block--products .s-grid {
        justify-content: center !important;
    }
}
@media (max-width: 991px) {
    salla-products-slider .swiper-wrapper,
    .s-block--products-slider .swiper-wrapper {
        justify-content: flex-start !important;
    }
}

/* Features (Salla native block) */
.s-block--features__item .feature-icon,
.s-block--features__item {
    background-color: transparent;
}

.s-block--features__item .feature-icon i {
    color: var(--feat-color) !important;
}

section.s-block.s-block--features.container {
    background: #F7F3EE;
}

/* Footer */
.store-footer,
.store-footer__inner {
    background-color: #020617 !important;
}

footer a.flex.items-center.m-0 h3 {
  font-size: 0 !important;
}

footer a.flex.items-center.m-0 h3:after {
  filter: brightness(0) INVERT(1);
  content: url(https://i.ibb.co/rKNTfK7B/803ce30c-8b61-45c6-a6ed-2b092ecda98b-original-1.png);
}

@media (min-width: 1024px) {
    footer .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.copyright-text p {
    color: #fff !important;
}

@media (max-width: 769px) {
    footer * {
        margin: 0 auto;
        text-align: center;
    }
}

.store-footer, 
.store-footer p, 
.store-footer a, 
.store-footer span,
.store-footer b,
.s-trust-badges-label,
.s-trust-badges-number { 
    color: #94A3B8 !important; 
}

.store-footer h3 { 
    color: #fff !important; 
}

/* Special Heading */
.s-slider-block__title, 
.s-block__title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 60px !important;
    margin-bottom: 20px !important;
    position: relative !important;
}

.s-slider-block__title-right, 
.s-block__title-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    width: auto !important;
}

.s-slider-block__title h2, 
.s-block__title h2 {
    color: #0F172A !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    line-height: 1.5 !important;
}

.s-slider-block__title-left {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
}

.s-slider-block__display-all {
    color: #0284C7;
    text-decoration: none;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .s-slider-block__title h2,
    .s-block__title h2 {
        font-size: 20px !important;
    }
}

.s-slider-block__title h2::before,
.s-slider-block__title h2::after,
.s-block__title h2::before,
.s-block__title h2::after {
    display: none !important;
}

.s-slider-block__subtitle,
.s-block__subtitle,
.s-slider-block__title p,
.s-block__title p {
    display: none !important;
}

/* Categories */
.s-block--categories .s-slider-block__title,
.s-block--categories .s-block__title {
    justify-content: center !important;
}

.s-block--categories .s-slider-block__title-right,
.s-block--categories .s-block__title-right {
    width: 100% !important;
    justify-content: center !important;
}

.s-block--categories .s-slider-block__title h2,
.s-block--categories .s-block__title h2 {
    text-align: center !important;
}

/* Hover Effect */
.banner-entry > div {
    background-repeat: no-repeat;
    display: inline-block;
    transition: 0.3s;
}

.banner-entry > div:after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    opacity: 0;
    transform: rotate(30deg);
    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.13) 0%,
        rgba(255, 255, 255, 0.13) 77%,
        rgba(255, 255, 255, 0.5) 92%,
        rgba(255, 255, 255, 0) 100%
    );
}

.banner-entry > div:hover:after {
    opacity: 1;
    left: 130%;
    transition-property: left, top, opacity;
    transition-duration: 0.7s, 0.7s, 0.15s;
    transition-timing-function: ease;
}

.banner-entry > div:active:after {
    opacity: 0;
}

/* Quick links */
.s-block--categories {
    background-color: transparent !important;
    padding: 40px 0 !important; 
    margin-top: 0 !important;
}


section[component-id="1553478993"] .s-slider-block__title-right h2 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

section[component-id="1553478993"] .s-slider-block__title-right h2::after {
    content: "اكتشف مجموعتنا المتنوعة من أحدث المنتجات" !important;
    display: block !important;
    font-size: 14px !important;
    color: #64748B !important; 
    font-weight: 400 !important;
    margin-top: 5px !important;
    text-align: center !important;
    width: 100% !important;
}


section[component-id="1244172892"] .s-slider-block__title-right h2 {
    display: block !important;
    text-align: right !important;
}

section[component-id="1244172892"] .s-slider-block__title-right h2::after {
    content: "اكتشف أحدث الإضافات التي اخترناها لك" !important;
    display: block !important;
    font-size: 14px !important;
    color: #64748B !important; 
    font-weight: 400 !important;
    margin-top: 5px !important;
    text-align: right !important; 
    width: 100% !important;
}

.slide--cat-entry {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100% !important;
    width: 90% !important;
    margin: 0 auto !important;
    text-decoration: none !important;
    background-color: transparent !important;
    border-radius: 18px !important;
    padding: 0px !important;
    aspect-ratio: 1 / 1 !important;
    box-sizing: border-box !important;
}

.slide--cat-entry h2,
.slide--cat-entry h3,
.slide--cat-entry h4,
.slide--cat-entry p,
.slide--cat-entry span,
.slide--cat-entry .s-category-card__title {
    display: none !important;
}

.slide--cat-entry img {
    border-radius: 10px !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    margin: 0 !important;
    display: block !important;
    background-color: transparent !important;
}

section[component-id="1171898776"].s-block--categories .carousel-slider .s-slider-block__title-left{
    position: absolute;
    top: 50%;
    min-width: 100%;
} 

section[component-id="1171898776"].s-block--categories .carousel-slider .s-slider-block__title-nav{
    display: none !important;
}

.s-block--categories .swiper-slide a {
    padding: 0;
}

@media (min-width: 992px) {
    .s-block--categories .swiper {
        background: linear-gradient(90deg, #2db6fa 0%, #6ab7fc 100%) !important;
        border-radius: 40px !important;
        padding: 25px 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .s-block--categories .swiper-wrapper {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        transform: none !important;
    }
    .s-block--categories .swiper-slide {
        width: 20% !important;
        background-color: transparent !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
    }
}

@media (max-width: 991px) {
    .s-block--categories .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }
    
    .s-block--categories .swiper-slide {
        width: 45% !important;
        background-color: transparent !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 20px 0 !important;
    }

    .s-block--categories salla-slider[type]:not(.hydrated) > div:where([dir="rtl"], [dir="rtl"] *), 
    .s-block--categories salla-slider[type]:not(.hydrated) .swiper > div > div:where([dir="rtl"], [dir="rtl"] *), 
    .s-block--categories .carousel-slider .swiper:where([dir="rtl"], [dir="rtl"] *) {
        padding: 5px !important;
        background: linear-gradient(90deg, #2db6fa 0%, #6ab7fc 100%) !important;
        border-radius: 0 !important;
    }
}

/* Loading Screen */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
  width: 100%;
  height: 100%;
  background: #ffffff url('https://i.ibb.co/rKNTfK7B/803ce30c-8b61-45c6-a6ed-2b092ecda98b-original-1.png') no-repeat center / 90px !important;
  animation: logobg 3s forwards;
  pointer-events: none;
}

@keyframes logobg {
    0% {
        opacity: 1;
        visibility: visible;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
        z-index: -1;
    }
}

/* WHY US */

.custom-why-us-section {
    padding: 40px 15px;
    background-color: transparent;
    font-family: inherit;
}

.why-us-container {
    background-color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.why-us-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.why-us-header h2 {
    font-size: 32px;
    color: #0F172A;
    font-weight: 800;
    margin-bottom: 15px;
}

.why-us-header h2 span {
    color: #0284C7;
}

.why-us-header p {
    color: #64748B;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.feature-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon {
    width: 90px;
    height: 90px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><polygon points="50 4, 96 27, 96 73, 50 96, 4 73, 4 27" fill="%23F0F9FF" stroke="%23BAE6FD" stroke-width="2"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    filter: drop-shadow(0px 10px 20px rgba(2, 132, 199, 0.15));
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: #0284C7;
}

.feature-box h3 {
    font-size: 18px;
    color: #0F172A;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 13px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
    padding: 0 10px;
}

.bg-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    background-image: radial-gradient(circle, transparent 20%, #f0f9ff 20%, #f0f9ff 21%, transparent 21%, transparent 34%, #f0f9ff 34%, #f0f9ff 35%, transparent 35%, transparent 50%, #e0f2fe 50%, #e0f2fe 51%, transparent 51%);
    background-size: 100px 100px;
    opacity: 0.4;
    z-index: 1;
}

.dec-right {
    top: -50px;
    right: -50px;
}

.dec-left {
    bottom: -50px;
    left: -50px;
}

@media (max-width: 991px) {
    .why-us-container {
        padding: 40px 20px;
        border-radius: 20px;
    }
    
    .why-us-header h2 {
        font-size: 24px;
    }
    
    .why-us-header p {
        font-size: 14px;
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 15px;
    }

    .feature-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 15px;
    }

    .feature-icon svg {
        width: 26px;
        height: 26px;
    }

    .feature-box h3 {
        font-size: 15px;
    }

    .feature-box p {
        font-size: 12px;
        padding: 0 5px;
    }
}

@media (max-width: 380px) {
    .why-us-grid {
        gap: 20px 10px;
    }
    .feature-box h3 {
        font-size: 14px;
    }
    .feature-box p {
        font-size: 11px;
        padding: 0;
    }
}