/* Ra7eeq Hero Slider Base Styles */
.ra7eeq-hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f7f9f8;
  direction: rtl;
}

/* Ra7eeq Hero Slider Track */
.ra7eeq-slider-track {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 360px;
  overflow: hidden;
}

/* Ra7eeq Hero Slide Default State */
.ra7eeq-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity 900ms ease, visibility 900ms ease, transform 1400ms ease;
  z-index: 1;
}

/* Ra7eeq Hero Slide Active State */
.ra7eeq-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

/* Ra7eeq Hero Slide Image */
.ra7eeq-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 0;
}

/* Ra7eeq Hero Slider Arrows */
.ra7eeq-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.94);
  color: #17306e;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(23, 48, 110, 0.16);
  transition: background 250ms ease, color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
  font-size: 42px;
  line-height: 1;
  font-family: Arial, sans-serif;
  padding-bottom: 5px;
}

/* Ra7eeq Hero Slider Arrows Hover */
.ra7eeq-slider-arrow:hover {
  background: linear-gradient(135deg, #2558b8, #0d8bb4, #49be6a);
  color: #ffffff;
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 14px 32px rgba(13, 139, 180, 0.28);
}

/* Ra7eeq Hero Previous Arrow Position */
.ra7eeq-arrow-prev {
  right: 22px;
}

/* Ra7eeq Hero Next Arrow Position */
.ra7eeq-arrow-next {
  left: 22px;
}

/* Ra7eeq Hero Slider Dots */
.ra7eeq-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 6;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Ra7eeq Hero Slider Dot Button */
.ra7eeq-slider-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(23, 48, 110, 0.25);
  cursor: pointer;
  transition: width 250ms ease, background 250ms ease;
}

/* Ra7eeq Hero Slider Active Dot */
.ra7eeq-slider-dots button.is-active {
  width: 28px;
  background: linear-gradient(135deg, #2558b8, #0d8bb4, #49be6a);
}

/* Ra7eeq Hero Slider Mobile Styles */
@media (max-width: 768px) {
  .ra7eeq-slider-track {
    aspect-ratio: 1 / 1;
    min-height: auto;
  }

  .ra7eeq-slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 34px;
  }

  .ra7eeq-arrow-prev {
    right: 10px;
  }

  .ra7eeq-arrow-next {
    left: 10px;
  }

  .ra7eeq-slider-dots {
    bottom: 12px;
  }
}

/* Ra7eeq Three Banners Grid */
.ra7eeq-three-banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Ra7eeq Three Banners Item */
.ra7eeq-three-banners .ra7eeq-banner-item {
  display: block;
  text-decoration: none;
  overflow: hidden;
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ra7eeq Three Banners Item Hover */
.ra7eeq-three-banners .ra7eeq-banner-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Ra7eeq Three Banners Image */
.ra7eeq-three-banners .ra7eeq-banner-item img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

/* Ra7eeq Three Banners Mobile Layout */
@media (max-width: 991px) {
  .ra7eeq-three-banners {
    grid-template-columns: 1fr;
  }
}

/* Ra7eeq Hero Slider To Three Banners Spacing Fix */
.s-block.s-block--bundle-html-content:has(.ra7eeq-hero-slider) {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Ra7eeq Three Banners Wrapper Pull Up */
.s-block.s-block--bundle-html-content:has(.ra7eeq-three-banners) {
  margin-top: -40px !important;
  padding-top: 0 !important;
}

/* Ra7eeq Hero Slider Internal Spacing Reset */
.ra7eeq-hero-slider {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Ra7eeq Hero Slider Track Spacing Reset */
.ra7eeq-hero-slider .ra7eeq-slider-track {
  margin-bottom: 0 !important;
}

/* Ra7eeq Three Banners Internal Spacing Reset */
.ra7eeq-three-banners {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Raheeq Product Cards 1:1 Image Container */
salla-products-slider.product-slider .s-product-card-image,
salla-products-list.s-products-list .s-product-card-image {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  background-color: #ffffff !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

/* Raheeq Product Card Image Link Container */
salla-products-slider.product-slider .s-product-card-image > a,
salla-products-list.s-products-list .s-product-card-image > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  padding: 10px !important;
  background-color: #ffffff !important;
}

/* Raheeq Product Card Image Contain Fit */
salla-products-slider.product-slider .s-product-card-image img.s-product-card-image-cover,
salla-products-list.s-products-list .s-product-card-image img.s-product-card-image-cover {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  background-color: #ffffff !important;
}

/* Raheeq Product Card Overflow Fix */
salla-products-slider.product-slider custom-salla-product-card,
salla-products-list.s-products-list custom-salla-product-card,
salla-products-slider.product-slider .s-product-card-entry,
salla-products-list.s-products-list .s-product-card-entry {
  overflow: visible !important;
}

/* Raheeq Discount Badge Style */
salla-products-slider.product-slider .raheeq-discount-badge,
salla-products-list.s-products-list .raheeq-discount-badge {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 50 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 30px !important;
  padding: 6px 10px !important;
  border-radius: 4px !important;
  background-color: #fde0dc !important;
  color: #d94a42 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  box-shadow: none !important;
}

/* Raheeq Arabic Discount Badge Direction */
html[lang^="ar"] .raheeq-discount-badge {
  direction: rtl !important;
}

/* Raheeq English Discount Badge Direction */
html[lang^="en"] .raheeq-discount-badge {
  direction: ltr !important;
}

/* Raheeq Product Section Header Layout */
.raheeq-products-section-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  width: 100% !important;
  margin-bottom: 18px !important;
  text-align: initial !important;
}

/* Raheeq Product Section Header Title */
.raheeq-products-section-header h1,
.raheeq-products-section-header h2,
.raheeq-products-section-header .blocktitle {
  width: auto !important;
  margin: 0 !important;
  text-align: right !important;
  color: #111827 !important;
}

/* Raheeq Product Section View More Button */
.raheeq-products-view-more {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 9px 18px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #2558b8, #0d8bb4, #49be6a) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

/* Raheeq Product Section View More Button Hover */
.raheeq-products-view-more:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(13, 139, 180, 0.22) !important;
}

/* Raheeq Product List Desktop Grid - 6 Cards */
@media (min-width: 1280px) {
  salla-products-list.s-products-list .s-products-list-wrapper.s-products-list-vertical-cards {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    column-gap: 16px !important;
    row-gap: 30px !important;
  }
}

/* Raheeq Product List Large Tablet Grid - 4 Cards */
@media (min-width: 992px) and (max-width: 1279px) {
  salla-products-list.s-products-list .s-products-list-wrapper.s-products-list-vertical-cards {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: 18px !important;
    row-gap: 28px !important;
  }
}

/* Raheeq Product List Small Tablet Grid - 3 Cards */
@media (min-width: 640px) and (max-width: 991px) {
  salla-products-list.s-products-list .s-products-list-wrapper.s-products-list-vertical-cards {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: 15px !important;
    row-gap: 24px !important;
  }
}

/* Raheeq Product Cards Mobile Adjustments */
@media (max-width: 767px) {
  salla-products-slider.product-slider .s-product-card-image > a,
  salla-products-list.s-products-list .s-product-card-image > a {
    padding: 8px !important;
  }

  salla-products-slider.product-slider .raheeq-discount-badge,
  salla-products-list.s-products-list .raheeq-discount-badge {
    top: 7px !important;
    right: 7px !important;
    min-height: 25px !important;
    padding: 5px 7px !important;
    font-size: 11px !important;
  }

  .raheeq-products-section-header {
    margin-bottom: 14px !important;
  }

  .raheeq-products-view-more {
    min-height: 36px !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
  }
}



/* Ra7eeq Mini Category Products Force Three Equal Items Per Column */
}

/* Ra7eeq Mini Category Products Image Full Width */
.ra7eeq-category-products-grid .ra7eeq-mini-products-list .s-product-card-image {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
}

/* Ra7eeq Mini Category Products Image Link Full Width */
.ra7eeq-category-products-grid .ra7eeq-mini-products-list .s-product-card-image > a {
  width: 100% !important;
  height: 100% !important;
}

/* Ra7eeq Mini Category Products Remove Theme Side Width */
.ra7eeq-category-products-grid .ra7eeq-mini-products-list .s-product-card-content,
.ra7eeq-category-products-grid .ra7eeq-mini-products-list .s-product-card-content-main,
.ra7eeq-category-products-grid .ra7eeq-mini-products-list .s-product-card-content-sub {
  width: 100% !important;
  max-width: 100% !important;
}