/* Background */
body {
  background-image: url('https://cdn.salla.sa/form-builder/rk533KyU53V27cR4dzHLiBBXHkBc1qE3LCpTQEE7.png');
}

/* Photos Slider Block */
section.s-block.s-block--photos-slider salla-slider.photos-slider .swiper-slide {
  position: relative;
  margin-left: 0;
  margin-right: 0;
  height: auto;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
}

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: 0;
}

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

/* Hide arrows */
section.s-block.s-block--photos-slider .s-slider-block__title-nav,
.s-slider-v-centered .s-slider-block__title-nav {
  display: none !important;
}

.s-slider-v-centered .s-slider-block__title-nav {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 94%;
  margin: 0;
  transform: translate(-50%, -50%)
              rotate(var(--tw-rotate))
              skewX(var(--tw-skew-x))
              skewY(var(--tw-skew-y))
              scaleX(var(--tw-scale-x))
              scaleY(var(--tw-scale-y));
  justify-content: space-between;
}

/* Navigation */
.main-nav-container {
  min-height: 84px;
  background-color: #d7828b;
}

.topnav-link-item:where([dir="rtl"], [dir="rtl"] *) {
  border-left-width: 1px;
  color: #000;
}

.topnav-link-item.right-side:first-child:where([dir="rtl"], [dir="rtl"] *) {
  padding-right: 0;
  color: #000;
}

.topnav-link-item:last-child:where([dir="rtl"], [dir="rtl"] *) {
  border-width: 0;
  padding-left: 0;
  color: #000;
}

/* Main menu */
.main-menu li.root-level > a {
  padding-top: 0;
  padding-bottom: 2rem;
  font-weight: 700;
  color: white;
}

.main-menu li.root-level > a:hover {
  color: #C0475A;
}

.main-menu li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1),
              background-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
              border-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
              text-decoration-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
              fill 300ms cubic-bezier(0.4, 0, 0.2, 1),
              stroke 300ms cubic-bezier(0.4, 0, 0.2, 1),
              opacity 300ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 300ms cubic-bezier(0.4, 0, 0.2, 1),
              filter 300ms cubic-bezier(0.4, 0, 0.2, 1),
              backdrop-filter 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slider - Category Entry */
.slide--cat-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 15rem;
  padding: 0.75rem;
  text-align: center;
  border-radius: 0.375rem;
  border: 1px solid rgba(243, 244, 246, 0);
  background-color: rgba(255, 255, 255, 0);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icons */
[class^="sicon-"], [class*=" sicon-"] {
  font-family: "sallaicons" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: white;
}

/* Utility Classes */
.w-16 {
  width: 10rem;
}

.h-16 {
  height: 10rem;
}

/* Responsive */
@media (min-width: 1024px) {
  salla-slider .slide--one-sixth {
    width: 25%;
  }

  section.s-block.s-block--photos-slider salla-slider.photos-slider .swiper-slide {
    width: 100%;
  }

  section.s-block.s-block--photos-slider salla-slider.photos-slider .swiper-slide img {
    width: 100%;
    height: auto;
  }
}

/* التيكست الي في الكارد */

.s-product-card-content-title a {
    display: block;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    --tw-text-opacity: 1;
    color: rgba(31, 41, 55, 1);
    color: rgba(31, 41, 55, var(--tw-text-opacity, 1));
    text-align: center;
}
.s-product-card-content-sub {
    margin-bottom: 1.25rem;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    align-content: center;
    flex-direction: column;
}
img {
  max-width: 100%;
  border-radius: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 0 8px rgba(255, 103, 103, 0.6);
}

/* Hover effect */
.slide--cat-entry img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px 5px rgba(255, 103, 103, 0.9);
  animation: glowPulse 1.5s infinite ease-in-out;
}

/* Animation for pulse effect */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 8px 3px rgba(255, 103, 103, 0.5);
  }
  50% {
    box-shadow: 0 0 20px 8px rgba(255, 103, 103, 0.9);
  }
  100% {
    box-shadow: 0 0 8px 3px rgba(255, 103, 103, 0.5);
  }
}

/* أنيميشن الدخول */
@keyframes slideFadeInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* تنسيق العنوان */
.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
  padding-left: 2rem;
  opacity: 0;
  animation: slideFadeInRight 1s ease-out 0.3s forwards;
  font-weight: 800;
  background: linear-gradient(90deg, #C0475A, #d7828b, #fbb1bd, #C0475A);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ألوان الفوتر فقط */
.footer-is-light .store-footer .store-footer__inner {
  background: linear-gradient(90deg, #C0475A, #d7828b, #fbb1bd, #C0475A) !important;
  background-size: 300% 300% !important;
  padding: 50px 20px !important;
  border-radius: 30px 30px 0 0 !important;
  text-align: center !important;
  color: #fff !important;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.2) !important;
  font-family: 'El Messiri', sans-serif !important;
  position: relative !important;
  overflow: hidden !important;
}

/* نصوص وروابط الفوتر */
.footer-is-light .store-footer .store-footer__inner a,
.footer-is-light .store-footer .store-footer__inner p,
.footer-is-light .store-footer .store-footer__inner span {
  color: #fff !important;
  font-size: 14px !important;
  opacity: 0.95 !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  z-index: 1;
}

.footer-is-light .store-footer .store-footer__inner a:hover {
  color: #ffe1e6 !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

/* Responsive fixes */
@media (min-width: 1024px) {
    .lg\:grid-cols-6 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }        
    .s-button-btn, .s-price-range-number-input {
        border-radius: .75rem;
        box-shadow: 4px 4px;
    }
}
.store-footer .flex {
  display: flex;
  justify-content: center;
}

.store-footer .s-contacts-item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  line-height: 1;
  justify-content: center;
}