/* ----------------- Public ---------------------*/
:root {
  --logo: url(https://i.ibb.co/8L4PpPGk/YKi8gsu-L5-JXHheel0-Eiz-Vv4-YFFyc-LHWQlm-PFw-RPj-2.png);
  --bg: #fff;
  --bg-img: url();
  --header-bg: #fff;
  --header-color: #000;
  --feat-bg: #fff;
  --feat-color: #000;
  --footer-bg: #F3FEFF;
;
}
body {
  background-color: var(--bg) !important;
}
@media(min-width:1024px){
  .faq-item label {
    font-size: 1.875rem !important;
}
  .faq-answer__content {
    font-size: 1.5rem !important;
}
}
.app-inner {
  background-image: var(--bg-img) !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center bottom;
}
.s-slider-block__title-right:where([dir="rtl"], [dir="rtl"] *) {
    padding-left: 0;
}
.faq-item label {
    border: 1px solid #82cccc;
    border-radius: 1rem;
}
.s-block.s-block--faqs.s-block--full-bg {
    background: transparent;
}
.s-slider-block__title-right {
  display: flex;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.s-slider-block__title-right > h2 {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 16px 20px !important;

  color: #790c45 !important;
  font-size: clamp(28px, 4vw, 44px) !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

/* Underline with a gap in the middle */
.s-slider-block__title-right > h2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    #78cdd0 0 calc(50% - 20px),
    transparent calc(50% - 20px) calc(50% + 20px),
    #78cdd0 calc(50% + 20px) 100%
  );
}

/* Small outlined circle */
.s-slider-block__title-right > h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  box-sizing: border-box;
  width: 11px;
  height: 11px;
  border: 1px solid #31b7bd;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
}
/* ----------------- Header ---------------------*/

/* Flaoting Header
@media(min-width:992px){
  .index #mainnav:not(#mainnav.fixed-pinned) {
    position: absolute;
    z-index: 99;
    width: 100%;
    background: rgba(0,0,0,0.1)!important;
    backdrop-filter: blur(5px) !important;
}
  a.navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
}
*/
.s-block__title .right-side:where([dir=rtl],[dir=rtl] *) {
    padding-left: 0;
}
.navbar-brand img {
  max-height: 6rem;
}
.main-nav-container.fixed-pinned .navbar-brand img {
  max-height: 70px;
}
custom-main-menu {
  min-height: unset;
}
.main-nav-container {
  min-height: 0;
}

.s-user-menu-trigger {
  background-color: transparent;
}
.top-navbar,
#mainnav,
.inner,
.sub-menu {
  background: var(--header-bg) !important;
}
.top-navbar,
#mainnav,
#mainnav i:before,
#mainnav b,
#mainnav a {
  color: var(--header-color) !important;
}
#mainnav a:hover {
  opacity: 0.7;
}
.s-user-menu-login-btn svg {
  fill: var(--header-color) !important;
}

/* Carousel */
.s-block:nth-of-type(1) {
  margin-top: 0 !important;
}
.s-block--photos-slider .s-slider-block__title-nav {
  display: none !important;
}
.s-block--photos-slider * {
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.s-block--photos-slider .swiper-slide {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* -------------------- Categories ---------------------*/
.s-block__title {
    justify-content: center;
}
.s-block--banners .grid {
  grid-template-columns: repeat(auto-fit, minmax(0px, 1fr));
}

.lazy__bg.lazy.entered.loaded {
    background-size: contain;
    background-repeat: no-repeat;
}

.s-block--banners .banner-entry {
  height: 450px;
}

@media (max-width: 992px) {
  .s-block--banners .banner-entry {
    height: 300px;
  }
}
@media (max-width: 480px) {
  .s-block--banners .grid {
    gap: 8px !important;
  }
  .s-block--banners .banner-entry {
    height: 120px;
  }
}
@media (min-width: 640px) {
  .two-row .banner-entry:first-child {
    grid-row: span 1 / span 1;
  }
}
@media (min-width: 768px) {
  .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;
  }
}
/* Transparent Banner */
.banner-entry,
.banner--fixed img {
  background-color: transparent !important;
}

/* -------------- Products -----------------------*/

/* Product Card */
.s-product-card-entry {
  background-color: #fbfbfb;
  border-radius: 0.5rem !important;
  border: 1px solid #dfdfdf;
}
.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 {
  justify-content: center;
}
.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%;
  }
}

/* ----------------------- Features -------------------- */

.s-block--features .md\:grid-cols-\[repeat\(3\2c minmax\(0\2c 1fr\)\)\] {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.s-block--features__item .feature-icon {
  background-color: transparent;
  border-radius: 8px !important;
}
.s-block--features__item .feature-icon i {
  color: var(--color-primary);
}
.s-block--features__item p {
  display: none !important;
}
@media (min-width: 1024px) {
  .s-block--features__item .feature-icon i {
    font-size: 2.875rem;
  }

  .s-block--features__item h2 {
    color: #63421c;
    font-size: 1.5rem;
  }
}
/* ===== Customer reviews section ===== */
.s-block--custom-testimonials {
  --review-accent: #790c45;
  --review-line: #9edbdc;
  --review-background: #f2fcfc;

  padding-top: 32px;
  padding-bottom: 40px;
}

/* ===== Heading and decorative underline ===== */
.s-block--custom-testimonials .s-reviews-header-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  text-align: center;
}

.s-block--custom-testimonials .s-reviews-header {
  position: relative;
  display: inline-block;
  min-width: 260px;
  margin: 0;
  padding: 0 24px 18px;
  color: var(--review-accent);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.5;
}

.s-block--custom-testimonials .s-reviews-header::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    var(--review-line) 0 calc(50% - 16px),
    transparent calc(50% - 16px) calc(50% + 16px),
    var(--review-line) calc(50% + 16px) 100%
  );
}

.s-block--custom-testimonials .s-reviews-header::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid var(--review-line);
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
}

/* ===== Slider spacing: room for overlapping avatars ===== */
.s-block--custom-testimonials .s-slider-container {
  padding-top: 40px !important;
  padding-bottom: 26px !important;
}

.s-block--custom-testimonials .s-reviews-swiper-slide {
  box-sizing: border-box;
  height: auto;
  padding: 0 10px;
}

/* ===== Review card ===== */
.s-block--custom-testimonials .s-reviews-testimonial {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 210px;
  margin: 0 !important;
  padding: 54px 24px 28px !important;

  border: 1px solid #e9f5f5 !important;
  border-radius: 6px !important;
  background: var(--review-background) !important;
  box-shadow: 0 12px 24px rgb(0 0 0 / 5%) !important;
  text-align: center !important;
  overflow: visible !important;
}

/* Remove previous decorative card borders */
.s-block--custom-testimonials .s-reviews-testimonial::before,
.s-block--custom-testimonials .s-reviews-testimonial::after {
  content: none !important;
}

.s-block--custom-testimonials .s-reviews-testimonial__inner {
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* ===== Overlapping circular avatar ===== */
.s-block--custom-testimonials .s-reviews-testimonial__avatar {
  display: block;
  margin-top: -20% !important;
  right: auto !important;
  width: 72px !important;
  height: 72px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
}

.s-block--custom-testimonials .s-reviews-testimonial__avatar img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

/* ===== Name, stars, then review text ===== */
.s-block--custom-testimonials .s-reviews-testimonial__text {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100%;
  margin: 0 !important;
  text-align: center !important;
}

.s-block--custom-testimonials .s-reviews-testimonial__name_wrapper {
  order: -1;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: 100%;
  margin: 0 0 18px !important;
}

.s-block--custom-testimonials .s-reviews-testimonial__info h2 {
  margin: 0 !important;
  color: #171717 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
}

.s-block--custom-testimonials .s-reviews-testimonial__rating {
  display: flex !important;
  justify-content: center !important;
  margin: 0 !important;
}

.s-block--custom-testimonials .s-rating-stars-wrapper {
  display: flex !important;
  justify-content: center !important;
  gap: 2px !important;
}

.s-block--custom-testimonials .s-rating-stars-btn-star {
  width: 15px !important;
  height: 15px !important;
  min-width: 0 !important;
  padding: 0 !important;
}

.s-block--custom-testimonials .s-rating-stars-btn-star svg {
  width: 15px !important;
  height: 15px !important;
  fill: currentColor !important;
}

.s-block--custom-testimonials .s-rating-stars-selected {
  color: #ffbf00 !important;
}

.s-block--custom-testimonials .s-reviews-testimonial__text > p {
  display: block !important;
  margin: 0 !important;
  color: #202020 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  text-align: center !important;
  overflow-wrap: anywhere;
  -webkit-line-clamp: unset !important;
}

/* Hide quotation icon and arrows, as in the screenshot */
.s-block--custom-testimonials .s-reviews-testimonial__icon,
.s-block--custom-testimonials .s-slider-block__title {
  display: none !important;
}

/* ===== Mobile ===== */
@media (max-width: 767px) {
  .s-block--custom-testimonials .s-reviews-header {
    min-width: 220px;
  }

  .s-block--custom-testimonials .s-reviews-swiper-slide {
    padding-inline: 8px;
  }

  .s-block--custom-testimonials .s-reviews-testimonial {
    min-height: 200px;
    padding: 50px 18px 24px !important;
  }

  .s-block--custom-testimonials .s-reviews-testimonial__avatar {
    top: -32px !important;
    width: 64px !important;
    height: 64px !important;
  }
}

/* -------------------- Footer ----------------------- */
.store-footer,
.store-footer .store-footer__inner {
  background: var(--footer-bg) !important;
}
footer a.flex.items-center.m-0 h3:after {
  content: var(--logo);
}

.s-social-link a,
.s-contacts-icon {
  background: #fff;
  height: 2.5rem;
  width: 2.5rem;
  border-width: 0;
}
.s-social-link a svg,
.s-contacts-icon svg {
  height: 1.2rem;
  width: 1.2rem;
  fill: var(--color-primary);
}
footer a.flex.items-center.m-0 h3 {
  font-size: 0 !important;
}
@media (min-width: 1024px) {
  footer .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 769px) {
  footer * {
    margin: 0 auto;
    text-align: center;
  }
}

/* ------------------- Special Heading ------------------------- */

.s-block__title h2:after {
  content: "تصفح منتجاتنا الراقية عالية الجودة";
  display: block;
  font-size: 20px;
  color: #38AEAE;
  font-weight: 500;
  margin-top: 8px;
}

.s-reviews-header-wrapper {
  display: flex;
  justify-content: center;
  text-align: center;
}
.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
  padding-left: 0;
}
.s-slider-block__title {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.s-slider-block__title-left {
  display: none;
}
.s-slider-block__title h2 {
  color: #630935 !important;
}
@media (max-width: 768px) {
  .s-slider-block__title h2:after,
  .s-block__title h2:after {
    font-size: 12px;
  }
}
.s-slider-block__title h2,
.s-block__title h2 {
  font-size: 48px !important;
  position: relative;
}

.s-block__title {
  justify-content: center !important;
}

.s-block__title * {
  text-align: center !important;
}

.s-slider-block__title h2,
.s-block__title h2 {
  color: var(--color-primary);
  font-size: 48px !important;
  position: relative;
}

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

/* 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;
}

/* ---------------- Loading Screen ------------------------
.index::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9 !important;
  width: 100%;
  height: 100%;
  background: var(--bg) var(--logo) no-repeat center / 250px !important;
  animation: logobg 3s forwards;
}

@keyframes logobg {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
*/