body{
overflow-x: hidden;
}
/* ===== Header Version 4: Floating Card Header ===== */

#mainnav {
  width: calc(100% - 32px) !important;
  margin: 14px auto 10px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-radius: 28px !important;
  border: 1px solid var(--color-primary) !important;
  box-shadow: 0 18px 45px rgba(142, 145, 105, 0.18) !important;
}
.store-header,
#mainnav,
#mainnav .root-level.has-children,
#mainnav .root-level.has-children .sub-menu {
  z-index: 999999 !important;
}

#mainnav .inner,
#mainnav .container {
  background: transparent !important;
}

#mainnav .navbar-brand {
  background: #fff !important;
  border-radius: 22px !important;
  padding: 4px 10px !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05) !important;
}

#mainnav .navbar-brand img {
  max-height: 58px !important;
  object-fit: contain !important;
}

#mainnav .root-level > a {
  color: #4a4a3a !important;
  font-weight: 600 !important;
  padding: 10px 13px !important;
  border-radius: 16px !important;
  transition: all 0.3s ease !important;
}

#mainnav .root-level > a:hover {
  background: rgba(238, 210, 207, 0.55) !important;
  color: #6f7352 !important;
  transform: translateY(-2px) !important;
}

#mainnav .offers-link {
  background: linear-gradient(135deg, #8e9169, #6f7352) !important;
  color: #fff !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 20px rgba(142, 145, 105, 0.25) !important;
}

#mainnav .offers-link:hover {
  background: linear-gradient(135deg, #eed2cf, #8e9169) !important;
  color: #fff !important;
}

#mainnav .s-user-menu-login-btn,
#mainnav .s-cart-summary-wrapper {
  background: #fff !important;
  color: #8e9169 !important;
  border-radius: 18px !important;
  padding: 10px 12px !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.3s ease !important;
}

#mainnav .s-user-menu-login-btn:hover,
#mainnav .s-cart-summary-wrapper:hover {
  background: #eed2cf !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
}

#mainnav svg,
#mainnav svg path {
  fill: currentColor !important;
}

salla-slider.photos-slider .swiper-slide {
        width: 100%;
        margin: 0;
        padding: 0 0 !important;
        border-radius: 0;
    }
salla-slider.photos-slider .swiper{
  padding:0 !important;
}
    .rounded-md {
        border-radius: 0 !important;
    }
 .s-block{
    margin-top: 0;
   margin-bottom: 10px;
  }
/* إظهار صور البانرات كاملة بدون قص */
.s-block--banners .banner-entry.square-photos {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  overflow: hidden !important;
  border-radius: 25px 25px 0 0 !important;
  background: transparent !important;
  transition: 0.8s ease;
}

/* الصورة نفسها */
.s-block--banners .banner-entry.square-photos .lazy__bg {
  width: 100% !important;
  height: 100% !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.s-block--banners .banner-entry.square-photos:hover{
  transform: scale(1.05);
}
/* ===== Testimonials Version 1: Soft Luxury ===== */


.s-block--testimonials {
   padding: 40px 20px !important;
}
.s-block--testimonials .s-reviews-header-wrapper {
  text-align: center !important;
  margin-bottom: 30px !important;
}

.s-block--testimonials .s-reviews-header {
  color: #6f7352 !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  position: relative !important;
  display: inline-block !important;
}

.s-block--testimonials .s-reviews-header::after {
  content: "" !important;
  width: 70px !important;
  height: 4px !important;
  background: var(--color-primary) !important;
  border-radius: 50px !important;
  position: absolute !important;
  right: 50% !important;
  transform: translateX(50%) !important;
  bottom: -12px !important;
}

.s-block--testimonials .s-reviews-testimonial__inner {
  background: #ffffff !important;
  border-radius: 28px !important;
  padding: 32px !important;
  box-shadow: 0 18px 45px rgba(142, 145, 105, 0.18) !important;
  border: 1px solid var(--color-primary) !important;
  transition: all 0.35s ease !important;
}

.s-block--testimonials .s-reviews-testimonial__inner:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 25px 60px rgba(142, 145, 105, 0.25) !important;
}

.s-block--testimonials .s-reviews-testimonial__avatar img {
  border-radius: 50% !important;
  border: 4px solid #eed2cf !important;
  box-shadow: 0 8px 22px rgba(238, 210, 207, 0.5) !important;
}

.s-block--testimonials .s-reviews-testimonial__text p {
  color: #4a4a3a !important;
  font-size: 17px !important;
  line-height: 1.9 !important;
}

.s-block--testimonials .s-reviews-testimonial__info h2 {
  color: #6f7352 !important;
  font-weight: 800 !important;
}

.s-block--testimonials .s-rating-stars-wrapper svg path {
  fill: #d7a73f !important;
}

.s-block--testimonials .s-reviews-testimonial__icon svg path {
  fill: rgba(142, 145, 105, 0.15) !important;
}

.s-block--testimonials .s-slider-nav-arrow {
  background: #8e9169 !important;
  color: #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 8px 20px rgba(142, 145, 105, 0.25) !important;
}

.s-block--testimonials .s-slider-nav-arrow svg path {
  fill: #fff !important;
}
.s-slider-block__title-right h2{
    font-weight: 800 !important;
  font-size: 30px !important;
  color: #6f7352;
}

.s-slider-block__title-right{
    margin: auto !important;
    padding: 0 !important;
}
    
.s-slider-block__title-left{
display: none;
}
.s-slider-block__title-right h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  margin: 12px auto 0;
  position: relative;
}

.s-slider-block__title-right h2::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(73%);
  width: 14px;
  height: 14px;
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  z-index: 1;
}

/* تأثير اللمعة */
.s-product-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.18) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  z-index: 2;
  transition: left 0.8s ease;
  pointer-events: none;
}

/* الحركة عند الهوفر */
.s-product-card-image:hover::before {
  left: 125%;
}
.s-product-card-image img{
  transition:  0.8s ease;
}
/* زوم خفيف للصورة */
.s-product-card-image:hover img {
  transform: scale(1.05);
}
.s-button-btn:hover{
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border: none !important;
  background-color: #fff !important;
  color: var(--color-primary) !important;
}
.s-products-slider-slider{
    margin-top: 20px;
}

p.custom-paragraph {
  display: flex;
  align-items: center;
  margin: 5px auto;
}

p.custom-paragraph::before,
p.custom-paragraph::after {
  content: "";
  flex: 1;
  border-bottom: 2px solid #ddd;
  margin: 0 15px;
}

.s-product-card-fit-height .s-product-card-image{
  max-height: 33rem;
}

/* Sidebar */
.custom-side-bar {
    position: fixed;
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
    background: var(--color-primary);
    padding: 14px 8px;
    border-radius: 30px;
    z-index: 9999;
    width: 65px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.custom-side-bar.closed {
    padding: 2px;
}

.custom-side-bar button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 10px auto;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-side-bar button:hover {
    background: rgba(255,255,255,0.35);
    transform: scale(1.08);
}

.custom-side-bar i {
    font-size: 20px;
    color: #fff;
    transition: 0.3s;
}

.custom-side-bar.closed button:not(.toggle-btn) {
    opacity: 0;
    transform: translateX(-20px);
    pointer-events: none;
    height: 0;
    margin: 0;
}

.toggle-btn {
    background: #fff !important;
}

.toggle-btn i {
    color: var(--color-primary) !important;
    font-size: 22px;
}
.whatsapp-icon {
  display: none;
}
@media (min-width: 1024px) {
.whatsapp-button{
  display: none !important;
}
.flex.items-center.justify-end.my-2\.5{
  display: none;
}
  .top-navbar{
    display: none
  }
}

@media (max-width: 768px) {
    .custom-side-bar {
        display: none;
    }

  .s-slider-block__title-right h2{
    font-size: medium !important;
}
#photos-0-slider > div.swiper.s-slider-container.swiper-initialized.swiper-horizontal.swiper-rtl.swiper-ios.swiper-backface-hidden{
   padding:0;
}
.s-products-slider-card {
    max-width: 185px;
}
  .s-button-element:not(:disabled):not([loading]) {
    font-size: 11px;
}
  .s-product-card-fit-height .s-product-card-image{
    height: 15rem;
  }
  .whatsapp-button{
    bottom: 40px !important;
  }
    #mainnav {
    width: calc(100% - 20px) !important;
    margin-top: 10px !important;
    border-radius: 22px !important;
  }

  #mainnav .navbar-brand img {
    max-height: 54px !important;
  }

  .s-block--testimonials .container,
  .s-block--testimonials .s-container,
  .s-block--testimonials .s-slider-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

  .whatsapp-icon {
position: fixed;
    display: block;
bottom: 20px;
right: 20px;
background-color: #25D366;
color: white;
font-size: 28px;
padding: 11px;
border-radius: 50%;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease-in-out;
text-align: center;
z-index: 1000000000000;
}

.whatsapp-icon::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 60px;
height: 60px;
background-color: rgba(37, 211, 102, 0.5);
border-radius: 50%;
transform: translate(-50%, -50%);
z-index: -1;
animation: pulse-animation 1.5s infinite;
}

@keyframes pulse-animation {
0% {
transform: translate(-50%, -50%) scale(1);
opacity: 0.7;
}
50% {
transform: translate(-50%, -50%) scale(1.4);
opacity: 0;
}
100% {
transform: translate(-50%, -50%) scale(1);
opacity: 0;
}
}

.whatsapp-icon:hover {
transform: scale(1.1);
}
}


/* ===== Footer Animated Gradient Background ===== */
footer.store-footer,
.store-footer {
  background: linear-gradient(-45deg, #4E2926, #8e9169, #4E2926) !important;
  background-size: 300% 300% !important;
  border-radius: 25px 25px 0 0;
 
}

/* مهم جدًا: منع أي خلفية داخلية من تغطية الحركة */
footer.store-footer .store-footer__inner,
.store-footer .store-footer__inner {
  background: transparent !important;
  position: relative !important;
  z-index: 2 !important;
}

/* نخلي محتوى الفوتر فوق الخلفية */
.store-footer > * {
  position: relative !important;
  z-index: 2 !important;
}

/* لون النصوص والروابط */
.store-footer,
.store-footer h3,
.store-footer p,
.store-footer a,
.store-footer span,
.store-footer li,
.store-footer .s-menu-footer-item,
.store-footer .s-contacts-item,
.store-footer .unicode,
.store-footer .copyright-text,
.store-footer .text-gray-400 {
  color: #fff !important;
}

/* أيقونات السوشيال والتواصل SVG */
.store-footer svg,
.store-footer svg path {
  fill: #fff !important;
}

/* تحسين شكل روابط الفوتر */
.store-footer a {
  transition: all 0.3s ease !important;
}

.store-footer a:hover {
  color: #f5d7ff !important;
  transform: translateX(-3px);
}

/* تحسين بادجات التواصل والسوشيال */
.store-footer .s-social-link a,
.store-footer .s-contacts-item {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 12px !important;
  padding: 8px 10px !important;
}

/* تخفيف خلفية حقوق النشر لو فيه لون افتراضي */
.store-footer .md\:flex,
.store-footer .container {
  background: transparent !important;
}

/* صور وسائل الدفع */
.store-footer .s-payments-list-item {
  background: rgba(255, 255, 255, 0.92) !important;
  border-radius: 8px !important;
  padding: 4px !important;
}


/* =========================================
   استهداف أول سكشن صور مربعة فقط
========================================= */

/* ثوابت */
section[data-testid="store-home-square-photos"]:not(
    section[data-testid="store-home-square-photos"]
    ~ section[data-testid="store-home-square-photos"]
) .banner-entry {
    background: transparent;
}


/* =========================================
   الموبايل: أقل من أو يساوي 780px
========================================= */

@media (max-width: 780px) {

    /* حاوية الصور */
    section[data-testid="store-home-square-photos"]:not(
        section[data-testid="store-home-square-photos"]
        ~ section[data-testid="store-home-square-photos"]
    ) .grid.md\:grid-cols-3.two-row.grid-flow-row {
        display: flex;
        flex-wrap: wrap;

        justify-content: center;
        align-items: center;
        align-content: center;

        /* إلغاء المسافة الرأسية بين الصفين */
        row-gap: 0 !important;

        /* المسافة الأفقية بين الصور */
        column-gap: 3% !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    /* إزالة المارجن من السكشن */
    section[data-testid="store-home-square-photos"]:not(
        section[data-testid="store-home-square-photos"]
        ~ section[data-testid="store-home-square-photos"]
    ) {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* تنسيق كل صورة */
    section[data-testid="store-home-square-photos"]:not(
        section[data-testid="store-home-square-photos"]
        ~ section[data-testid="store-home-square-photos"]
    ) .banner-entry {
        width: 31%;
        height: 100px;

        margin: 0 !important;
        padding: 0 !important;
    }

    /* خلفية الصور */
    section[data-testid="store-home-square-photos"]:not(
        section[data-testid="store-home-square-photos"]
        ~ section[data-testid="store-home-square-photos"]
    ) .banner-entry .lazy__bg {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* إزالة تدوير الحواف عند الحاجة */
    section[data-testid="store-home-square-photos"]:not(
        section[data-testid="store-home-square-photos"]
        ~ section[data-testid="store-home-square-photos"]
    ) .rounded-md {
        border-radius: 0.375rem;
    }

    section[data-testid="store-home-square-photos"]:not(
        section[data-testid="store-home-square-photos"]
        ~ section[data-testid="store-home-square-photos"]
    ) salla-slider.photos-slider .swiper-slide {
        border-radius: 0;
    }

    section[data-testid="store-home-square-photos"]:not(
        section[data-testid="store-home-square-photos"]
        ~ section[data-testid="store-home-square-photos"]
    ) salla-slider.photos-slider .swiper {
        padding: 0;
    }
}


/* =========================================
   التابلت: من 640px
========================================= */

@media (min-width: 640px) {

    section[data-testid="store-home-square-photos"]:not(
        section[data-testid="store-home-square-photos"]
        ~ section[data-testid="store-home-square-photos"]
    ) .two-row .banner-entry:first-child {
        grid-column: span 1 / span 1;
        grid-row: 1 / 1;
    }
}


/* =========================================
   من 768px
========================================= */

@media (min-width: 768px) {

    section[data-testid="store-home-square-photos"]:not(
        section[data-testid="store-home-square-photos"]
        ~ section[data-testid="store-home-square-photos"]
    ) .md\:grid-cols-3 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}


/* =========================================
   الشاشات الأكبر من 781px
========================================= */

@media (min-width: 781px) {

    section[data-testid="store-home-square-photos"]:not(
        section[data-testid="store-home-square-photos"]
        ~ section[data-testid="store-home-square-photos"]
    ) .banner-entry {
        width: 100%;
    }
}