/* بانر أثر — الصور المتحركة المحسّنة */
.swiper-slide:has(> .home-slider__content) {
  height: auto !important;
  min-height: 0 !important;
  background: #ece2d5 !important;
}

.swiper-slide:has(> .home-slider__content) > .absolute.inset-0 {
  left: 0 !important;
  right: auto !important;
  width: 62% !important;
  background-position: left center !important;
  mask-image: linear-gradient(to right, #000 70%, transparent);
}

.swiper-slide:has(> .home-slider__content) > .overlay-bg::before,
.swiper-slide:has(> .home-slider__content) > .overlay-bg::after {
  display: none !important;
}

.swiper-slide > .home-slider__content {
  display: flex !important;
  direction: rtl;
  justify-content: flex-start !important;
  align-items: center !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: clamp(280px, 28vw, 420px);
  padding: 28px clamp(24px, 7vw, 100px) !important;
}

.swiper-slide > .home-slider__content > div {
  width: 42% !important;
  text-align: right !important;
  color: #3d3b2c !important;
}

.swiper-slide > .home-slider__content h2 {
  color: #3d3b2c !important;
  font-size: clamp(28px, 3.5vw, 52px) !important;
  line-height: 1.25 !important;
}

.swiper-slide > .home-slider__content p {
  color: #3d3b2c !important;
  font-size: clamp(15px, 1.4vw, 20px) !important;
  line-height: 1.65 !important;
}

@media (max-width: 767px) {
  .swiper-slide:has(> .home-slider__content) > .absolute.inset-0 {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: clamp(180px, 52vw, 280px);
    background-position: center !important;
    mask-image: none;
  }

  .swiper-slide > .home-slider__content {
    min-height: 0;
    justify-content: center !important;
    padding: 22px 18px 36px !important;
  }

  .swiper-slide > .home-slider__content > div {
    width: 100% !important;
    text-align: center !important;
  }
}
/* أثر — تسوّق حسب الفئة */
section:has(> .grid > .banner-entry:nth-child(4):last-child)::before {
  content: "تسوّق حسب الفئة";
  display: block;
  margin-bottom: 14px;
  color: #3d3b2c;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  text-align: right;
}

section > .grid:has(> .banner-entry:nth-child(4):last-child) {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

section > .grid:has(> .banner-entry:nth-child(4):last-child) > .banner-entry {
  display: flex !important;
  align-items: flex-end !important;
  grid-column: auto !important;
  grid-row: auto !important;
  height: clamp(108px, 12vw, 165px) !important;
  padding: 0 !important;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

section > .grid:has(> .banner-entry:nth-child(4):last-child) > .banner-entry::before,
section > .grid:has(> .banner-entry:nth-child(4):last-child) > .banner-entry::after {
  display: none !important;
}

section > .grid:has(> .banner-entry:nth-child(4):last-child) .banner-entry__text {
  position: relative !important;
  width: 100%;
  padding: 6px 8px !important;
  background: #eee5d9;
  color: #3d3b2c !important;
  text-align: center;
}

section > .grid:has(> .banner-entry:nth-child(4):last-child) .banner__title {
  margin: 0 !important;
  color: #3d3b2c !important;
  font-size: 14px !important;
}

@media (max-width: 767px) {
  section > .grid:has(> .banner-entry:nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
section > .grid:has(> .banner-entry:nth-child(4):last-child) .banner-entry__text {
  height: auto !important;
  min-height: 0 !important;
  
}
section > .grid:has(> .banner-entry:nth-child(4):last-child) .banner-entry__text {
  box-sizing: border-box;
  height: 33px !important;
  min-height: 33px !important;
  display: grid !important;
  place-items: center;
  padding: 4px 8px !important;
}

section > .grid:has(> .banner-entry:nth-child(4):last-child) .banner__description:empty {
  display: none;
}
لا section > .grid:has(> .banner-entry:nth-child(4):last-child) .banner-entry__text {
  box-sizing: border-box;
  height: 33px !important;
  min-height: 33px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 6px !important;
}

section > .grid:has(> .banner-entry:nth-child(4):last-child) .banner__title {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

section > .grid:has(> .banner-entry:nth-child(4):last-child) .banner__description {
  display: none !important;
}/* عن أثر — الجوال */
@media (max-width: 767px) {
  .s-block--full-banner .full-banner-entry {
    height: auto !important;
    min-height: 0 !important;
    padding: 33.333% 0 0 !important;
    background-size: 100% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    background-color: #f3ede3 !important;
  }

  .s-block--full-banner .full-banner-entry > .overlay {
    display: none !important;
  }

  .s-block--full-banner .full-banner-entry > .relative {
    height: auto !important;
    padding: 14px 16px !important;
    color: #3d3b2c !important;
  }

  .s-block--full-banner .full-banner-entry h2,
  .s-block--full-banner .full-banner-entry a {
    color: #3d3b2c !important;
  }/* عن أثر — الجوال */
@media (max-width: 767px) {
  .s-block--full-banner .full-banner-entry {
    height: auto !important;
    min-height: 0 !important;
    padding: 33.333% 0 0 !important;
    background-size: 100% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    background-color: #f3ede3 !important;
  }

  .s-block--full-banner .full-banner-entry > .overlay {
    display: none !important;
  }

  .s-block--full-banner .full-banner-entry > .relative {
    height: auto !important;
    padding: 14px 16px !important;
    color: #3d3b2c !important;
  }

  .s-block--full-banner .full-banner-entry h2,
  .s-block--full-banner .full-banner-entry a {
    color: #3d3b2c !important;
  }
}
}
/* عن أثر — الجوال */
@media (max-width: 767px) {
  .s-block--parallax-background .full-banner-entry {
    height: auto !important;
    min-height: 0 !important;
    padding: 33.333% 0 0 !important;
    background-size: 100% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    background-color: #f3ede3 !important;
  }

  .s-block--parallax-background .full-banner-entry > .overlay {
    display: none !important;
  }

  .s-block--parallax-background .full-banner-entry > .relative {
    height: auto !important;
    padding: 12px 16px !important;
    color: #3d3b2c !important;
  }

  .s-block--parallax-background .full-banner-entry h2 {
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 1.4 !important;
    color: #3d3b2c !important;
  }
}
/* ذيل صفحة أثر */
footer.store-footer {
  background: #f3ede3 !important;
  color: #3d3b2c !important;
  border-top: 1px solid #ded7ca;
}

footer.store-footer > .store-footer__inner {
  background: #f3ede3 !important;
  border-color: #ded7ca !important;
}

footer.store-footer h3,
footer.store-footer .s-menu-footer-item,
footer.store-footer .copyright-text {
  color: #3d3b2c !important;
}

footer.store-footer .s-menu-footer-item:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  footer.store-footer > .store-footer__inner,
  footer.store-footer > .store-footer__bottom {
    display: block !important;
  }

  footer.store-footer > .store-footer__bottom {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
}