/* Add custom CSS styles below */ 
.topnav-link-item {
    color: white;
   }

.top-navbar .s-search-input {
    background-color: rgb(255 255 255);
}
.sicon-user-circle:before {
    content: "\f072";
    color: white;
}
.sicon-menu:before {
    content: "\ed7f";
    color: white;
}
.sicon-shopping-bag:before {
    content: "\ef36";
    color: white;
}

.s-cart-summary-total {
    font-weight: 600;
    --tw-text-opacity: 1;
    color: #000;
    color: rgb(255 255 255);
}
@media only screen and (min-width: 1024px) {
    /* تعديل خاص إذا كانت القائمة داخل .main-menu-row */
    .main-menu-row .main-menu li.root-level > a {
        padding-bottom: 1rem;
    }
}
    /* إعدادات عامة للرابط داخل العناصر الجذرية */
    .main-menu li.root-level > a {
            color:#ffffff;

        padding-top: 0;
        padding-bottom: 2rem;
        font-weight: 700;
    }

    /* روابط القائمة بشكل عام */
    .main-menu li > a {
        display: flex;
        align-items: center;
        justify-content: space-between; /* يمكن تغييرها إلى flex-start حسب رغبتك */
        padding: 0.75rem;
        font-size: 0.875rem;
        line-height: 1.25rem;
transition:
    color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;

    }
.main-menu li.root-level > a:hover {
display: flex;
        align-items: center;
        justify-content: space-between; /* يمكن تغييرها إلى flex-start حسب رغبتك */
        padding: 0.75rem;

        color: #000;
        background-color: #fff;
        transform: translateY(-5px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        border-radius: 3px 3px 0 0;
    }
}

/* تخصيص إضافي خارج الميديا كويري */
.main-menu li > a {
    justify-content: flex-start;
}

/*********/

:root {
  --logo: url("https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/Kjqxmy/stores/logos/uOyI2BC5SZHZH3KznR9B4pXAeYBb1GGYvzEkVlJS.jpg");
}

/* ===== Splash Screen فخم بدون Blur ===== */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999999;
  background-color: #212122;
  background-image: var(--logo);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 260px;
  animation: luxurySplashClean 2.4s ease-in-out forwards;
}
.bg-inherit {
    background-color: #212122;
}
/* ===== أنيميشن نظيف وراقي ===== */
@keyframes luxurySplashClean {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

  25% {
    opacity: 1;
    transform: scale(1);
  }

  55% {
    opacity: 1;
    transform: scale(1.04); /* نبضة فخمة خفيفة */
  }

  75% {
    opacity: 0.9;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(0.92);
    visibility: hidden;
  }
}

/* ===== موبايل ===== */
@media (max-width: 768px) {
  body::after {
    background-size: 200px;
    animation-duration: 2.1s;
  }
}

.top-navbar {
    background-color: black;
    display: flex;
    min-height: 48px;
    padding-bottom: .5rem;
    padding-top: .5rem;
}
/* =============================
   card
============================= */
.s-button-wide {
    width: 100%;
    background-color: black;
    color: white;
}
.s-product-card-entry {
    border-color: #000000;
    border-width: 2px;
    border-style: solid;
    border-radius: 12px;
  }
.s-product-card-content-title a {
    display: flex;
  justify-content: center;
}
.s-product-card-content-sub {
    justify-content: center;
}
/* =============================
block__title 
============================= */

.s-slider-block__title h2 {
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    padding: 0.5rem 1rem;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    z-index: 1;
}
.s-slider-block__title-left {
    align-items: center;
    display: flex;
    display: none;
}
.s-slider-block__title {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 1280px;
}

.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *)::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 12px;
    background: url(https://cdn.files.salla.network/homepage/769210245/874ba138-a508-429f-a98b-9103aeb691d8.webp) no-repeat center / contain;
}

/* =============================
   Slider - Photos
============================= */
section.s-block.s-block--photos-slider salla-slider.photos-slider .swiper-slide {
    width: 100%;
}

section.s-block.s-block--photos-slider .carousel-slider .swiper-wrapper > div {
    padding: 0 !important;
}

section:first-of-type.s-block.s-block--photos-slider {
    margin-top: 0px;
}

[dir="rtl"] salla-slider.photos-slider .swiper {
    padding: 0px;
}

section.s-block.s-block--photos-slider .s-slider-block__title-nav {
    display: none !important;
}
/* =============================
   Footer
============================= */
.store-footer {
    background: transparent!important;
    padding: 30px;
    font-size: 14px;
    text-align: center
}
.s-social-list {
  display: flex;
  gap: 0.625rem;
  justify-content: center;
}

.store-footer__inner {
    background: transparent!important;

    border: none !important; /* إزالة أي حدود أخرى */
    width: 85%; /* تقليل طول الخط */
    margin: 0 auto; /* توسيطه في المنتصف */
    position: relative; /* ضروري لعناصر before و after */
    justify-content: center; 

}

.store-footer__inner .flex {
    justify-content: center
    
}

.store-footer__inner .max-w-sm {
    margin: auto
}

.store-footer h3 {
    color: #ffffff;
    font-size: 1.3rem
}

.store-footer h3:hover {
    color: #ffffff;
    opacity: 1;
    cursor: pointer
}

.footer-list {
    color: #CDAD6B;
}

.store-footer__inner .max-w-sm {
    color: #ffffff;
    font-size:15px;
}

.store-footer a {
    color: #ffffff;
    font-size:15px;
}

.store-footer i {
    color: #ffffff;
    border-color: #CDAD6B;
}
.copyright-text p {
    --tw-text-opacity: 1;
    color: #374151;
    color: rgb(255 255 255);
}

.store-footer__inner {
    text-align: center!important;
}
@media (min-width: 1024px) {
    .lg\:grid-cols-6 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.footer-is-light .store-footer {
    background-color: rgb(0 0 0) !important;
}
.footer-is-light .store-footer {
    border-top-right-radius: 180px;
    border-top-left-radius: 180px;
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
}
.s-contacts-list {
    display: flex
;
    gap: 1rem;
    align-content: center;
    align-items: center;
}
.s-social-list {
    display: flex
;
    gap: 0.625rem;
    justify-content: center;
}
.footer-logo {
    background-color: white;
    display: block;
    margin: 0 auto 20px auto;
    max-width: 80px;
    border-radius: 16px;
    height: auto;
    animation: footerLogoBounce 2s ease-in-out infinite;
}

@keyframes footerLogoBounce {
  0% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.1) translateY(-5px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}
.store-footer__inner .flex {
    justify-content: center;
    color: white;
}

@media (min-width: 1024px) {
    .store-footer__inner {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}