/* =====================================================
   DEWALLS HERO — CENTER OVER SCREEN
   ===================================================== */

.dw-hero-premium {
  width: 100%;
  position: relative !important;
  overflow: hidden !important;
  background: #f4ecdf !important;
}

.container .dw-hero-premium {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.s-block:has(.dw-hero-premium),
.custom-content:has(.dw-hero-premium),
.s-block-html:has(.dw-hero-premium) {
  padding: 0 !important;
  margin: 0 !important;
}

.dw-hero-premium__inner {
  position: relative !important;
  min-height: 620px !important;
  overflow: hidden !important;
  background: #f4ecdf !important;
}

/* الصورة خلفية كاملة */
.dw-hero-premium__media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  overflow: hidden !important;
}

.dw-hero-premium__image {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center 52% !important;
  filter: saturate(1) contrast(1.03) brightness(0.72) !important;
  transform: scale(1.01) !important;
}

/* إلغاء أي طبقات قديمة */
.dw-hero-premium__fade,
.dw-hero-premium__media::before,
.dw-hero-premium__media::after,
.dw-hero-premium__inner::before,
.dw-hero-premium__inner::after {
  content: none !important;
  display: none !important;
}

/* المحتوى في منتصف الهيرو فوق الشاشة */
.dw-hero-premium__content {
  position: absolute !important;
  inset: 0 !important;
  z-index: 4 !important;

  width: 100% !important;
  min-height: 620px !important;

  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  direction: rtl !important;

  gap: 16px !important;
  padding: 70px 24px !important;

  background:
    radial-gradient(
      ellipse at center,
      rgba(244, 236, 223, 0.88) 0%,
      rgba(244, 236, 223, 0.72) 24%,
      rgba(244, 236, 223, 0.42) 46%,
      rgba(244, 236, 223, 0.16) 66%,
      rgba(244, 236, 223, 0.00) 88%
    ) !important;

  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* هالة حمراء خفيفة خلف النص فقط */
.dw-hero-premium__content::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;

  top: 50% !important;
  left: 50% !important;
  width: min(720px, 56vw) !important;
  height: 390px !important;

  transform: translate(-50%, -50%) !important;
  z-index: 0 !important;

  border-radius: 44px !important;
  background:
    radial-gradient(
      circle at center,
      rgba(237, 28, 36, 0.18) 0%,
      rgba(237, 28, 36, 0.11) 36%,
      rgba(237, 28, 36, 0.04) 66%,
      rgba(237, 28, 36, 0.00) 100%
    ) !important;

  pointer-events: none !important;
}

.dw-hero-premium__content::after {
  content: none !important;
  display: none !important;
}

/* العناصر فوق الخلفية */
.dw-hero-premium__eyebrow,
.dw-hero-premium__title,
.dw-hero-premium__desc,
.dw-hero-premium__actions {
  position: relative !important;
  z-index: 1 !important;
}

/* السطر الصغير */
.dw-hero-premium__eyebrow {
  display: block !important;
  width: 100% !important;
  max-width: 660px !important;
  margin: 0 auto 2px !important;

  text-align: center !important;
  color: #ffffff !important;

  font-size: 13px !important;
  line-height: 1.7 !important;
  font-weight: 800 !important;

  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

/* العنوان */
.dw-hero-premium__title {
  width: 100% !important;
  max-width: 660px !important;
  margin: 0 auto !important;

  text-align: center !important;
  color: #ffffff !important;

  font-size: clamp(38px, 3.7vw, 58px) !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  letter-spacing: -0.35px !important;

  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

/* الوصف */
.dw-hero-premium__desc {
  width: 100% !important;
  max-width: 620px !important;
  margin: 0 auto !important;

  text-align: center !important;
  color: #ffffff !important;

  font-size: 15px !important;
  line-height: 1.9 !important;
  font-weight: 700 !important;

  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

/* الأزرار */
.dw-hero-premium__actions {
  width: 100% !important;
  max-width: 430px !important;
  margin: 12px auto 0 !important;

  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 14px !important;

  direction: rtl !important;
}

.dw-hero-premium__btn {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  height: 52px !important;
  padding: 0 22px !important;

  border-radius: 10px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.dw-hero-premium__btn--primary {
  background: #ed1c24 !important;
  color: #ffffff !important;
  border: 1px solid #ed1c24 !important;
  box-shadow: 0 12px 24px rgba(237, 28, 36, 0.18) !important;
}

.dw-hero-premium__btn--secondary {
  background: #ffffff !important;
  color: #ed1c24 !important;
  border: 1px solid rgba(237, 28, 36, 0.16) !important;
  box-shadow: 0 10px 22px rgba(255, 255, 255, 0.22) !important;
}

/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 1024px) {
  .dw-hero-premium__inner {
    min-height: 650px !important;
  }

  .dw-hero-premium__image {
    object-position: center 46% !important;
    filter: saturate(1) contrast(1.03) brightness(0.72) !important;
  }

  .dw-hero-premium__content {
    justify-content: flex-end !important;
    padding: 130px 24px 34px !important;

    background:
      linear-gradient(
        180deg,
        rgba(244, 236, 223, 0.00) 0%,
        rgba(244, 236, 223, 0.18) 20%,
        rgba(244, 236, 223, 0.46) 42%,
        rgba(244, 236, 223, 0.76) 64%,
        rgba(244, 236, 223, 0.96) 86%,
        rgba(244, 236, 223, 1.00) 100%
      ) !important;
  }

  .dw-hero-premium__content::before {
    top: 69% !important;
    width: min(560px, 90%) !important;
    height: 320px !important;
    border-radius: 30px !important;
  }

  .dw-hero-premium__title {
    max-width: 100% !important;
    font-size: clamp(31px, 5.2vw, 44px) !important;
    line-height: 1.1 !important;
  }

  .dw-hero-premium__desc {
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
  }

  .dw-hero-premium__actions {
    max-width: 430px !important;
  }
}

/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 767px) {
  .dw-hero-premium__inner {
    min-height: 620px !important;
  }

  .dw-hero-premium__image {
    object-position: center 42% !important;
    filter: saturate(1) contrast(1.03) brightness(0.70) !important;
  }

  .dw-hero-premium__content {
    padding: 132px 18px 28px !important;
    gap: 12px !important;
  }

  .dw-hero-premium__content::before {
    top: 68% !important;
    width: 94% !important;
    height: 300px !important;
    border-radius: 26px !important;
  }

  .dw-hero-premium__eyebrow {
    font-size: 11px !important;
  }

  .dw-hero-premium__title {
    font-size: clamp(28px, 7.8vw, 35px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.2px !important;
  }

  .dw-hero-premium__desc {
    font-size: 13.5px !important;
    line-height: 1.85 !important;
  }

  .dw-hero-premium__actions {
    width: 100% !important;
    max-width: 100% !important;

    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .dw-hero-premium__btn {
    width: 100% !important;
    height: 46px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 420px) {
  .dw-hero-premium__inner {
    min-height: 600px !important;
  }

  .dw-hero-premium__content {
    padding: 124px 16px 24px !important;
  }

  .dw-hero-premium__title {
    font-size: 29px !important;
  }

  .dw-hero-premium__desc {
    font-size: 13px !important;
  }
}

/* =========================
   HERO FIX
   ========================= */

.dw-hero-premium__content::before {
  display: none !important;
  content: none !important;
}

.dw-hero-premium__content {
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

.dw-hero-premium__eyebrow,
.dw-hero-premium__title,
.dw-hero-premium__desc,
.dw-hero-premium__actions {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

@media (min-width: 768px) {
  .dw-hero-premium__content {
    padding: 70px 24px !important;
    background:
      radial-gradient(
        ellipse at center,
        rgba(244, 236, 223, 0.78) 0%,
        rgba(244, 236, 223, 0.58) 28%,
        rgba(244, 236, 223, 0.26) 52%,
        rgba(244, 236, 223, 0.08) 72%,
        rgba(244, 236, 223, 0.00) 88%
      ) !important;
  }
}

/* =========================
   MOBILE CONTRAST FIX
   ========================= */
@media (max-width: 767px) {

  .dw-hero-premium__content {
    justify-content: flex-end !important;
    align-items: center !important;
    text-align: center !important;
    padding: 125px 18px 28px !important;

    background:
      linear-gradient(
        180deg,
        rgba(244, 236, 223, 0.00) 0%,
        rgba(244, 236, 223, 0.05) 28%,
        rgba(244, 236, 223, 0.16) 42%,
        rgba(244, 236, 223, 0.38) 56%,
        rgba(244, 236, 223, 0.72) 72%,
        rgba(244, 236, 223, 0.92) 86%,
        rgba(244, 236, 223, 0.98) 100%
      ) !important;
  }

  .dw-hero-premium__image {
    filter: saturate(0.96) contrast(1.02) brightness(0.58) !important;
    object-position: center 40% !important;
  }

  .dw-hero-premium__eyebrow {
    max-width: 100% !important;
    font-size: 11px !important;
    line-height: 1.7 !important;
    margin-bottom: 4px !important;
  }

  .dw-hero-premium__title {
    max-width: 100% !important;
    font-size: clamp(28px, 8vw, 36px) !important;
    line-height: 1.12 !important;
    margin-bottom: 8px !important;
  }

  .dw-hero-premium__desc {
    max-width: 100% !important;
    font-size: 13.5px !important;
    line-height: 1.85 !important;
    margin-bottom: 10px !important;
  }

  .dw-hero-premium__actions {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-top: 8px !important;
  }

  .dw-hero-premium__btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    font-size: 12px !important;
  }
}
/* =========================
   DEWALLS TRUST BAR
   ========================= */

.dw-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  direction: rtl;
}

.container .dw-trust {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

.s-block:has(.dw-trust),
.custom-content:has(.dw-trust),
.s-block-html:has(.dw-trust) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.dw-trust__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 26px 18px;
  border-left: 1px solid #f0f0f0;
  text-align: right;
  background: #ffffff;
}

.dw-trust__item:last-child {
  border-left: 0;
}

.dw-trust__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(237, 28, 36, 0.08);
  color: var(--color-primary, #ed1c24);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dw-trust__icon svg {
  width: 21px;
  height: 21px;
  display: block;
}

.dw-trust__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dw-trust__title {
  font-size: 14px;
  line-height: 1.5;
  color: #f5f0e9;
  font-weight: 700;
}

.dw-trust__sub {
  font-size: 11px;
  line-height: 1.7;
  color: #8f8f8f;
  font-weight: 500;
}

/* شاشات وسط */
@media (max-width: 1100px) {
  .dw-trust__item {
    padding: 22px 14px;
    gap: 12px;
  }

  .dw-trust__title {
    font-size: 13px;
  }

  .dw-trust__sub {
    font-size: 10.5px;
  }
}

/* تابلت وموبايل - نفس منطق الواير فريم: 2 × 2 */
@media (max-width: 767px) {
  .dw-trust {
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #f0f0f0;
  }

  .dw-trust__item {
    justify-content: flex-start;
    gap: 10px;
    padding: 16px 14px;
    border-left: 1px solid #f0f0f0;
  }

  .dw-trust__item:nth-child(odd) {
    border-left: 0;
  }

  .dw-trust__item:nth-child(3),
  .dw-trust__item:nth-child(4) {
    border-top: 1px solid #f0f0f0;
  }

  .dw-trust__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .dw-trust__icon svg {
    width: 18px;
    height: 18px;
  }

  .dw-trust__title {
    font-size: 12px;
    line-height: 1.45;
  }

  .dw-trust__sub {
    font-size: 10px;
    line-height: 1.6;
  }
}

/* جوال صغير */
@media (max-width: 420px) {
  .dw-trust__item {
    padding: 14px 12px;
  }

  .dw-trust__title {
    font-size: 11.5px;
  }

  .dw-trust__sub {
    font-size: 9.5px;
  }
}

/* =========================
   DEWALLS CATEGORIES
   ========================= */

.dw-categories {
  padding: 80px 56px;
  background: #ffffff;
  direction: rtl;
}

.s-block:has(.dw-categories),
.custom-content:has(.dw-categories),
.s-block-html:has(.dw-categories) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.dw-categories__head {
  text-align: center;
  margin-bottom: 52px;
}

.dw-categories__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  color: #f5f0e9;
  font-weight: 800;
}

.dw-categories__desc {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: #9b9b9b;
  font-weight: 500;
}

.dw-categories__bar {
  display: block;
  width: 40px;
  height: 3px;
  background: #b0b0b0;
  border-radius: 999px;
  margin: 14px auto 0;
}

.dw-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dw-categories__card {
  position: relative;
  height: 280px;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  text-decoration: none !important;
  background: #d8d8d8;
}

.dw-categories__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.01);
  transition: transform 0.35s ease;
  filter: saturate(0.94) contrast(0.96) brightness(0.90);
}

.dw-categories__card:hover .dw-categories__image {
  transform: scale(1.05);
}

.dw-categories__overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 24px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.24) 55%,
    rgba(0, 0, 0, 0.04) 100%
  );
}

.dw-categories__name {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  color: #ffffff;
  font-weight: 700;
}

.dw-categories__meta {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

/* شاشات متوسطة */
@media (max-width: 1100px) {
  .dw-categories {
    padding: 64px 30px;
  }

  .dw-categories__title {
    font-size: 26px;
  }

  .dw-categories__name {
    font-size: 19px;
  }
}

/* الجوال والتابلت الصغير - سحب أفقي مثل الواير فريم */
@media (max-width: 767px) {
  .dw-categories {
    padding: 48px 16px;
  }

  .dw-categories__head {
    margin-bottom: 32px;
  }

  .dw-categories__title {
    font-size: 22px;
    line-height: 1.25;
  }

  .dw-categories__desc {
    font-size: 12px;
  }

  .dw-categories__grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 260px);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .dw-categories__grid::-webkit-scrollbar {
    display: none;
  }

  .dw-categories__card {
    height: 200px;
    border-radius: 12px;
    scroll-snap-align: start;
  }

  .dw-categories__overlay {
    padding: 16px;
  }

  .dw-categories__name {
    font-size: 16px;
  }

  .dw-categories__meta {
    font-size: 10px;
    margin-top: 3px;
  }
}

/* جوال صغير */
@media (max-width: 420px) {
  .dw-categories__grid {
    grid-auto-columns: minmax(248px, 248px);
  }
}

/* =========================
   DEWALLS PRODUCTS SECTION
   ========================= */

.dw-products {
  padding: 80px 56px;
  background: #ffffff;
  direction: rtl;
}

.s-block:has(.dw-products),
.custom-content:has(.dw-products),
.s-block-html:has(.dw-products) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.dw-products__head {
  text-align: center;
  margin-bottom: 52px;
}

.dw-products__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  color: #f5f0e9;
  font-weight: 800;
}

.dw-products__desc {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: #9b9b9b;
  font-weight: 500;
}

.dw-products__bar {
  display: block;
  width: 40px;
  height: 3px;
  background: #b0b0b0;
  border-radius: 999px;
  margin: 14px auto 0;
}

.dw-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dw-product-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #efefef;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.dw-product-card__image-wrap {
  position: relative;
  height: 240px;
  display: block;
  overflow: hidden;
  background: #e5e5e5;
}

.dw-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.35s ease;
  filter: saturate(0.95) contrast(0.96) brightness(0.94);
}

.dw-product-card:hover .dw-product-card__image {
  transform: scale(1.04);
}

.dw-product-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #6f6f6f;
  color: #ffffff;
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  z-index: 2;
}

.dw-product-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dw-product-card__name {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  color: #6f675f;
  font-weight: 700;
}

.dw-product-card__price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dw-product-card__price {
  font-size: 22px;
  line-height: 1.2;
  color: #4f4f4f;
  font-weight: 800;
}

.dw-product-card__old-price {
  font-size: 13px;
  line-height: 1.2;
  color: #b4b4b4;
  text-decoration: line-through;
  font-weight: 600;
}

.dw-product-card__sub {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: #9f9f9f;
  font-weight: 500;
}

.dw-product-card__inst {
  margin: 0;
  font-size: 11px;
  line-height: 1.8;
  color: #b0b0b0;
  padding-top: 8px;
  margin-top: 2px;
  border-top: 1px solid #f5f5f5;
}

.dw-product-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.dw-product-card__btn-main {
  flex: 1;
  height: 42px;
  border-radius: 7px;
  background: #ed1c24;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 700;
  transition: 0.25s ease;
}

.dw-product-card__btn-main:hover {
  background: #3f3f3f;
}

.dw-product-card__btn-side {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  background: rgba(237, 28, 36, 0.08);
  border: 1.5px solid rgba(237, 28, 36, 0.18);
  color: #ed1c24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: 0.25s ease;
}

.dw-product-card__btn-side:hover {
  background: rgba(237, 28, 36, 0.14);
  border-color: #ed1c24;
}


.dw-product-card__btn-side svg {
  width: 18px;
  height: 18px;
  display: block;
}

.dw-products__footer {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.dw-products__view-all {
  min-width: 170px;
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid #ed1c24;
  background: #ffffff;
  color: #6f675f !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  transition: 0.25s ease;
}

.dw-products__view-all:hover {
  background: #f7f7f7;
}

/* شاشات وسط */
@media (max-width: 1200px) {
  .dw-products {
    padding: 70px 30px;
  }

  .dw-products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* الجوال */
@media (max-width: 767px) {
  .dw-products {
    padding: 48px 16px;
  }

  .dw-products__head {
    margin-bottom: 32px;
  }

  .dw-products__title {
    font-size: 22px;
    line-height: 1.25;
  }

  .dw-products__desc {
    font-size: 12px;
  }

  .dw-products__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .dw-product-card {
    border-radius: 12px;
  }

  .dw-product-card__image-wrap {
    height: 160px;
  }

  .dw-product-card__badge {
    top: 10px;
    right: 10px;
    padding: 5px 8px;
    font-size: 8px;
  }

  .dw-product-card__body {
    padding: 12px;
    gap: 4px;
  }

  .dw-product-card__name {
    font-size: 13px;
    line-height: 1.5;
  }

  .dw-product-card__price {
    font-size: 16px;
  }

  .dw-product-card__old-price {
    font-size: 10px;
  }

  .dw-product-card__sub {
    font-size: 9px;
  }

  .dw-product-card__inst {
    font-size: 8px;
    padding-top: 6px;
  }

  .dw-product-card__actions {
    gap: 6px;
    margin-top: 8px;
  }

  .dw-product-card__btn-main {
    height: 36px;
    font-size: 9px;
  }

  .dw-product-card__btn-side {
    width: 36px;
    height: 36px;
  }

  .dw-product-card__btn-side svg {
    width: 15px;
    height: 15px;
  }

  .dw-products__footer {
    margin-top: 20px;
  }

  .dw-products__view-all {
    width: 100%;
    min-width: 100%;
    height: 44px;
    font-size: 12px;
  }
}

/* جوال صغير */
@media (max-width: 420px) {
  .dw-product-card__name {
    font-size: 12px;
  }

  .dw-product-card__price {
    font-size: 15px;
  }

  .dw-product-card__sub {
    font-size: 8.5px;
  }

  .dw-product-card__inst {
    font-size: 8px;
  }
}

/* =========================
   DEWALLS COMPARE - REAL MASK
   ========================= */

.dw-compare {
  padding: 80px 56px;
  background: #f7f7f7;
  direction: rtl;
}

.s-block:has(.dw-compare),
.custom-content:has(.dw-compare),
.s-block-html:has(.dw-compare) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.dw-compare__head {
  text-align: center;
  margin-bottom: 52px;
}

.dw-compare__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  color: #f5f0e9;
  font-weight: 800;
}

.dw-compare__bar {
  display: block;
  width: 40px;
  height: 3px;
  background: #b0b0b0;
  border-radius: 999px;
  margin: 14px auto 0;
}

.dw-compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dw-compare-card {
  position: relative;
}

.dw-compare-card__track {
  position: relative;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: #d0d0d0;
}

.dw-compare-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(0.96) brightness(0.94);
}

.dw-compare-card__img--before {
  object-position: var(--before-pos, 50% 50%);
}

.dw-compare-card__img--after {
  object-position: var(--after-pos, 50% 50%);
}

/* هنا الفرق الحقيقي: نقص الصورة العلوية بدون ما نغير مقاسها */
.dw-compare-card__after-layer {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
  z-index: 2;
}

.dw-compare-card__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  transform: translateX(-50%);
  width: 2px;
  background: #a89b8d;
  z-index: 3;
  pointer-events: none;
}

.dw-compare-card__handle {
  position: absolute;
  top: 50%;
  left: var(--pos, 50%);
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #a89b8d;
  color: #ffffff;
  z-index: 4;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  pointer-events: none;
}

.dw-compare-card__tag {
  position: absolute;
  top: 16px;
  z-index: 4;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.dw-compare-card__tag--before {
  right: 16px;
}

.dw-compare-card__tag--after {
  left: 16px;
}

.dw-compare-card__range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  direction: ltr;
  -webkit-appearance: none;
  appearance: none;
}

.dw-compare__footer {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.dw-compare__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 50px;
  padding: 0 28px;
  border-radius: 8px;
  background: #ed1c24;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 800;
  transition: 0.25s ease;
}

.dw-compare__cta:hover {
  background: #c70000;
}

@media (max-width: 1100px) {
  .dw-compare {
    padding: 64px 30px;
  }

  .dw-compare__title {
    font-size: 26px;
  }

  .dw-compare-card__track {
    height: 280px;
  }
}

@media (max-width: 767px) {
  .dw-compare {
    padding: 48px 16px;
  }

  .dw-compare__head {
    margin-bottom: 32px;
  }

  .dw-compare__title {
    font-size: 22px;
    line-height: 1.25;
  }

  .dw-compare__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dw-compare-card__track {
    height: 220px;
    border-radius: 14px;
  }

  .dw-compare-card__handle {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .dw-compare-card__tag {
    top: 12px;
    padding: 5px 10px;
    font-size: 10px;
  }

  .dw-compare-card__tag--before {
    right: 12px;
  }

  .dw-compare-card__tag--after {
    left: 12px;
  }

  .dw-compare__footer {
    margin-top: 24px;
  }

  .dw-compare__cta {
    min-width: 0;
    width: auto;
    height: 44px;
    padding: 0 24px;
    font-size: 12px;
  }
}

/* =========================
   DEWALLS TESTIMONIALS - FINAL
   ========================= */

.dw-testimonials {
  padding: 80px 56px;
  background: #ffffff;
  direction: rtl;
}

.s-block:has(.dw-testimonials),
.custom-content:has(.dw-testimonials),
.s-block-html:has(.dw-testimonials) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.dw-testimonials__head {
  text-align: center;
  margin-bottom: 52px;
}

.dw-testimonials__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  color: #f5f0e9;
  font-weight: 800;
}

.dw-testimonials__bar {
  display: block;
  width: 40px;
  height: 3px;
  background: #b0b0b0;
  border-radius: 999px;
  margin: 14px auto 0;
}

.dw-testimonials__slider-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 16px;
  align-items: center;
  direction: ltr;
}

.dw-testimonials__viewport {
  overflow: hidden;
}

.dw-testimonials__track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.dw-testimonial-card {
  flex: 0 0 calc((100% - 40px) / 3);
  border-radius: 16px;
  border: 1px solid #efefef;
  background: #ffffff;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  direction: rtl;
}

.dw-testimonial-card__stars {
  display: flex;
  gap: 4px;
  color: #ed1c24;
  font-size: 16px;
  line-height: 1;
}

.dw-testimonial-card__quote {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: #8d8d8d;
  font-style: italic;
}

.dw-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #f5f5f5;
}

.dw-testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(237, 28, 36, 0.08);
  color: #ed1c24;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.dw-testimonial-card__info {
  display: flex;
  flex-direction: column;
}

.dw-testimonial-card__name {
  display: block;
  font-size: 14px;
  color: #7c7269;
  font-weight: 700;
  line-height: 1.5;
}

.dw-testimonial-card__city {
  display: block;
  font-size: 12px;
  color: #9c9c9c;
  line-height: 1.6;
}

.dw-testimonials__nav {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #e7e7e7;
  background: #ffffff;
  color: #7c7269;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
}

.dw-testimonials__nav:hover {
  background: #f7f7f7;
  border-color: #d8d8d8;
}

.dw-testimonials__nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* تابلت */
@media (max-width: 1100px) {
  .dw-testimonials {
    padding: 64px 30px;
  }

  .dw-testimonials__title {
    font-size: 26px;
  }

  .dw-testimonial-card {
    flex: 0 0 calc((100% - 20px) / 2);
    padding: 24px 20px;
  }

  .dw-testimonial-card__quote {
    font-size: 14px;
  }
}

/* جوال */
@media (max-width: 767px) {
  .dw-testimonials {
    padding: 48px 16px;
  }

  .dw-testimonials__head {
    margin-bottom: 32px;
  }

  .dw-testimonials__title {
    font-size: 22px;
    line-height: 1.25;
  }

  .dw-testimonials__slider-wrap {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 10px;
  }

  .dw-testimonial-card {
    flex: 0 0 100%;
    border-radius: 14px;
    padding: 20px 18px;
    gap: 10px;
  }

  .dw-testimonial-card__stars {
    font-size: 14px;
    gap: 3px;
  }

  .dw-testimonial-card__quote {
    font-size: 13px;
    line-height: 1.9;
  }

  .dw-testimonial-card__author {
    gap: 10px;
    padding-top: 10px;
  }

  .dw-testimonial-card__avatar {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .dw-testimonial-card__name {
    font-size: 12px;
  }

  .dw-testimonial-card__city {
    font-size: 10px;
  }

  .dw-testimonials__nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* =========================
   DEWALLS STEPS
   ========================= */

.dw-steps {
  padding: 80px 56px;
  background: #ffffff;
  direction: rtl;
}

.s-block:has(.dw-steps),
.custom-content:has(.dw-steps),
.s-block-html:has(.dw-steps) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.dw-steps__head {
  text-align: center;
  margin-bottom: 52px;
}

.dw-steps__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  color: #f5f0e9;
  font-weight: 800;
}

.dw-steps__bar {
  display: block;
  width: 40px;
  height: 3px;
  background: #b0b0b0;
  border-radius: 999px;
  margin: 14px auto 0;
}

.dw-steps__wrap {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0;
}

.dw-steps__line {
  position: absolute;
  top: 32px;
  right: 14%;
  left: 14%;
  height: 2px;
  background: #e8e8e8;
}

.dw-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.dw-step__circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ed1c24;
  color: #ffffff;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.dw-step__name {
  margin: 0 0 4px;
  font-size: 15px;
  color: #7c7269;
  font-weight: 700;
  line-height: 1.5;
}

.dw-step__desc {
  margin: 0;
  font-size: 12px;
  color: #a0a0a0;
  line-height: 1.8;
}

/* تابلت */
@media (max-width: 1100px) {
  .dw-steps {
    padding: 64px 30px;
  }

  .dw-steps__title {
    font-size: 26px;
  }

  .dw-step {
    padding: 0 12px;
  }

  .dw-step__name {
    font-size: 14px;
  }

  .dw-step__desc {
    font-size: 11px;
  }
}

/* جوال */
@media (max-width: 767px) {
  .dw-steps {
    padding: 48px 16px;
  }

  .dw-steps__head {
    margin-bottom: 32px;
  }

  .dw-steps__title {
    font-size: 22px;
    line-height: 1.25;
  }

  .dw-steps__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .dw-steps__line {
    display: none;
  }

  .dw-step {
    padding: 16px 8px;
  }

  .dw-step__circle {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    font-size: 16px;
  }

  .dw-step__name {
    font-size: 12px;
    margin-bottom: 3px;
  }

  .dw-step__desc {
    font-size: 10px;
    line-height: 1.7;
  }
}

/* =========================
   DEWALLS SIZE FIT SECTION — FINAL COLORS
   White + Beige + Red only
   ========================= */

#dw-size-guide {
  scroll-margin-top: 110px;
}

.dw-size-fit {
  padding: 84px 24px;
  background: #ffffff;
  direction: rtl;
}

/* Head */
.dw-size-fit__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.dw-size-fit__head h2 {
  margin: 0;
  color: #2f2f2f;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
  font-weight: 900;
}

.dw-size-fit__head p {
  margin: 12px auto 0;
  color: #ed1c24;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 600;
}

.dw-size-fit__head span {
  display: block;
  width: 42px;
  height: 3px;
  background: #ed1c24;
  border-radius: 999px;
  margin: 18px auto 0;
}

/* Layout */
.dw-size-fit__grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: center;
}

/* Copy Card */
.dw-size-fit__copy {
  text-align: right;
  background: #ffffff;
  border: 1px solid rgba(237, 28, 36, 0.08);
  border-radius: 26px;
  padding: 30px;
}

.dw-size-fit__tag {
  display: inline-flex;
  color: #2f2f2f;
  background: #f4ecdf;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 16px;
}

.dw-size-fit__copy h3 {
  margin: 0;
  color: #2f2f2f;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.35;
  font-weight: 900;
}

.dw-size-fit__copy p {
  margin: 14px 0 0;
  color: #666666;
  font-size: 15px;
  line-height: 2;
  font-weight: 600;
}

.dw-size-fit__copy ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}

.dw-size-fit__copy li {
  position: relative;
  padding-right: 24px;
  color: #666666;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 700;
}

.dw-size-fit__copy li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  background: #ed1c24;
  border-radius: 50%;
}

/* Tool Box */
.dw-size-fit__tool {
  background: linear-gradient(180deg, #f4ecdf 0%, #ffffff 100%);
  border: 1px solid rgba(237, 28, 36, 0.10);
  border-radius: 30px;
  padding: 30px;
}

.dw-size-fit__visual {
  background: #ffffff;
  border: 1px solid rgba(237, 28, 36, 0.08);
  border-radius: 24px;
  padding: 22px;
}

.dw-size-fit__wall {
  position: relative;
  height: 190px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      #f4ecdf 0%,
      #ffffff 100%
    );
  border: 1px solid rgba(237, 28, 36, 0.06);
}

/* Visual panel */
.dw-size-fit__panel {
  position: absolute;
  left: 50%;
  bottom: 46px;
  width: 50%;
  height: 72px;
  transform: translateX(-50%);
  border-radius: 14px;
  background: #ed1c24;
  opacity: 0.82;
  transition: width 0.25s ease;
}

.dw-size-fit__tv {
  position: absolute;
  left: 50%;
  bottom: 69px;
  width: 120px;
  height: 54px;
  transform: translateX(-50%);
  background: #ffffff;
  border: 4px solid #ed1c24;
  border-radius: 8px;
  z-index: 2;
}

/* Measure */
.dw-size-fit__measure {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  color: rgba(237, 28, 36, 0.52);
  font-size: 14px;
  font-weight: 800;
}

.dw-size-fit__measure strong {
  color: #ed1c24;
  font-size: 22px;
  font-weight: 900;
}

/* Slider */
.dw-size-fit__slider {
  margin: 28px 0 22px;
  direction: ltr !important;
}

.dw-size-fit__slider input,
#dwWallRange {
  width: 100%;
  cursor: pointer;
  accent-color: #ed1c24;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  transform: none !important;
}

.dw-size-fit__scale {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  color: rgba(237, 28, 36, 0.44);
  font-size: 12px;
  font-weight: 800;
  direction: ltr !important;
}

/* Result */
.dw-size-fit__result {
  background: #ffffff;
  border: 1px solid rgba(237, 28, 36, 0.08);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
}

.dw-size-fit__result span {
  display: block;
  color: rgba(237, 28, 36, 0.48);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.dw-size-fit__result strong {
  display: block;
  color: #ed1c24;
  font-size: 30px;
  line-height: 1.3;
  font-weight: 900;
}

.dw-size-fit__result p {
  margin: 10px auto 0;
  color: rgba(237, 28, 36, 0.58);
  font-size: 14px;
  line-height: 1.9;
  max-width: 540px;
  font-weight: 600;
}

/* Actions */
.dw-size-fit__actions {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dw-size-fit__btn {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 900;
}

.dw-size-fit__btn--main {
  background: #ed1c24;
  color: #ffffff !important;
  border: 1px solid #ed1c24;
}

.dw-size-fit__btn--ghost {
  background: #ffffff;
  color: #ed1c24 !important;
  border: 1px solid rgba(237, 28, 36, 0.16);
}

.dw-size-fit__browse {
  margin-top: 14px;
  display: inline-flex;
  justify-content: center;
  width: 100%;
  color: rgba(237, 28, 36, 0.74) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 800;
}

/* Mobile */
@media (max-width: 767px) {
  .dw-size-fit {
    padding: 56px 16px;
  }

  .dw-size-fit__head {
    margin-bottom: 30px;
  }

  .dw-size-fit__head h2 {
    font-size: 26px;
  }

  .dw-size-fit__head p {
    font-size: 13px;
  }

  .dw-size-fit__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .dw-size-fit__copy {
    text-align: center;
    padding: 22px;
    border-radius: 20px;
  }

  .dw-size-fit__copy li {
    text-align: right;
  }

  .dw-size-fit__tool {
    padding: 18px;
    border-radius: 22px;
  }

  .dw-size-fit__visual {
    padding: 16px;
    border-radius: 18px;
  }

  .dw-size-fit__wall {
    height: 145px;
    border-radius: 16px;
  }

  .dw-size-fit__panel {
    height: 54px;
    bottom: 34px;
    border-radius: 11px;
  }

  .dw-size-fit__tv {
    width: 88px;
    height: 40px;
    bottom: 52px;
    border-width: 3px;
  }

  .dw-size-fit__measure {
    font-size: 12px;
  }

  .dw-size-fit__measure strong {
    font-size: 18px;
  }

  .dw-size-fit__result {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .dw-size-fit__result strong {
    font-size: 23px;
  }

  .dw-size-fit__result p {
    font-size: 12.5px;
  }

  .dw-size-fit__actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dw-size-fit__btn {
    height: 48px;
    font-size: 13px;
  }

  .dw-size-fit__browse {
    font-size: 12px;
  }
}
/* =========================
   DEWALLS GALLERY
   ========================= */

.dw-gallery {
  padding: 80px 56px;
  background: #f7f7f7;
  direction: rtl;
}

.s-block:has(.dw-gallery),
.custom-content:has(.dw-gallery),
.s-block-html:has(.dw-gallery) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.dw-gallery__head {
  text-align: center;
  margin-bottom: 52px;
}

.dw-gallery__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  color: #f5f0e9;
  font-weight: 800;
}

.dw-gallery__desc {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: #9b9b9b;
  font-weight: 500;
}

.dw-gallery__bar {
  display: block;
  width: 40px;
  height: 3px;
  background: #b0b0b0;
  border-radius: 999px;
  margin: 14px auto 0;
}

.dw-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.dw-gallery__item {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #dddddd;
  text-decoration: none !important;
}

.dw-gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.dw-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.95) contrast(0.96) brightness(0.90);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.dw-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.52) 0%,
    rgba(0, 0, 0, 0.18) 45%,
    rgba(0, 0, 0, 0.03) 100%
  );
  z-index: 1;
}

.dw-gallery__item span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.dw-gallery__item:hover img {
  transform: scale(1.04);
  filter: saturate(1) contrast(0.98) brightness(0.86);
}

/* تابلت */
@media (max-width: 1100px) {
  .dw-gallery {
    padding: 64px 30px;
  }

  .dw-gallery__title {
    font-size: 26px;
  }

  .dw-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 190px;
  }

  .dw-gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* جوال */
@media (max-width: 767px) {
  .dw-gallery {
    padding: 48px 16px;
  }

  .dw-gallery__head {
    margin-bottom: 32px;
  }

  .dw-gallery__title {
    font-size: 22px;
    line-height: 1.25;
  }

  .dw-gallery__desc {
    font-size: 12px;
  }

  .dw-gallery__grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 240px;
    grid-template-columns: none;
    grid-auto-rows: 220px;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .dw-gallery__grid::-webkit-scrollbar {
    display: none;
  }

  .dw-gallery__item,
  .dw-gallery__item--large {
    grid-column: auto;
    grid-row: auto;
    border-radius: 14px;
    scroll-snap-align: start;
  }

  .dw-gallery__item span {
    right: 14px;
    bottom: 13px;
    font-size: 11px;
  }
}

/* =========================
   DEWALLS SERVICE ZONE - BRAND RED
   ========================= */

.dw-service-zone {
  padding: 88px 56px;
  background: #ffffff;
  direction: rtl;
}

.s-block:has(.dw-service-zone),
.custom-content:has(.dw-service-zone),
.s-block-html:has(.dw-service-zone) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.dw-service-zone__wrap {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 38px;
  align-items: center;
}

.dw-service-zone__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  color: #ed1c24;
  background: rgba(237, 28, 36, 0.08);
  padding: 8px 14px;
  border-radius: 999px;
}

.dw-service-zone__title {
  margin: 0;
  font-size: 46px;
  line-height: 1.18;
  font-weight: 900;
  color: #2f2f2f;
}

.dw-service-zone__text {
  margin: 18px 0 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 2;
  color: #7c7269;
}

.dw-service-zone__list {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.dw-service-zone__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dw-service-zone__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(237, 28, 36, 0.10);
  position: relative;
  flex-shrink: 0;
}

.dw-service-zone__icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 4px;
  border-right: 2px solid #ed1c24;
  border-bottom: 2px solid #ed1c24;
  transform: rotate(45deg);
  top: 8px;
  right: 7px;
}

.dw-service-zone__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #444444;
  font-weight: 700;
}

.dw-service-zone__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dw-service-zone__btn {
  min-width: 168px;
  height: 50px;
  padding: 0 26px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 800;
  transition: 0.25s ease;
}

.dw-service-zone__btn--primary {
  background: #ed1c24;
  color: #ffffff !important;
}

.dw-service-zone__btn--primary:hover {
  background: #c70000;
}

.dw-service-zone__btn--secondary {
  background: #ffffff;
  color: #ed1c24 !important;
  border: 1px solid rgba(237, 28, 36, 0.28);
}

.dw-service-zone__btn--secondary:hover {
  background: rgba(237, 28, 36, 0.06);
}

.dw-service-zone__card {
  background: linear-gradient(180deg, #ffffff 0%, #fff6f6 100%);
  border: 1px solid rgba(237, 28, 36, 0.14);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 18px 45px rgba(237, 28, 36, 0.07);
}

.dw-service-zone__small {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #ed1c24;
  margin-bottom: 8px;
}

.dw-service-zone__card-head h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.35;
  color: #2f2f2f;
  font-weight: 900;
}

.dw-service-zone__cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.dw-service-zone__city {
  background: #ffffff;
  border: 1px solid rgba(237, 28, 36, 0.16);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
}

.dw-service-zone__city strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  color: #ed1c24;
  font-weight: 900;
}

.dw-service-zone__city span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.8;
  color: #7c7269;
  font-weight: 700;
}

.dw-service-zone__divider {
  height: 1px;
  background: rgba(237, 28, 36, 0.12);
  margin: 24px 0;
}

.dw-service-zone__notes {
  display: grid;
  gap: 14px;
}

.dw-service-zone__note {
  background: #ffffff;
  border: 1px solid rgba(237, 28, 36, 0.12);
  border-radius: 16px;
  padding: 16px 18px;
}

.dw-service-zone__note strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: #2f2f2f;
  font-weight: 900;
}

.dw-service-zone__note span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.8;
  color: #707070;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .dw-service-zone {
    padding: 72px 28px;
  }

  .dw-service-zone__wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .dw-service-zone__title {
    font-size: 38px;
  }
}

@media (max-width: 767px) {
  .dw-service-zone {
    padding: 52px 16px;
  }

  .dw-service-zone__wrap {
    gap: 24px;
  }

  .dw-service-zone__eyebrow {
    font-size: 11px;
    padding: 7px 12px;
  }

  .dw-service-zone__title {
    font-size: 28px;
    line-height: 1.28;
  }

  .dw-service-zone__text {
    font-size: 13px;
    line-height: 1.95;
    margin-top: 14px;
  }

  .dw-service-zone__item p {
    font-size: 12px;
  }

  .dw-service-zone__actions {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dw-service-zone__btn {
    width: 100%;
    min-width: 0;
    height: 46px;
    font-size: 13px;
  }

  .dw-service-zone__card {
    border-radius: 18px;
    padding: 20px;
  }

  .dw-service-zone__card-head h3 {
    font-size: 20px;
  }

  .dw-service-zone__cities {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dw-service-zone__city {
    border-radius: 14px;
    padding: 18px 14px;
  }

  .dw-service-zone__city strong {
    font-size: 20px;
  }

  .dw-service-zone__city span {
    font-size: 11px;
  }

  .dw-service-zone__note {
    border-radius: 12px;
    padding: 14px;
  }

  .dw-service-zone__note strong {
    font-size: 13px;
  }

  .dw-service-zone__note span {
    font-size: 11px;
  }
}

/* =====================================================
   DEWALLS WIREFRAME RECOVERY
   White + Red everywhere
   Beige gradient only in hero
   ===================================================== */

:root {
  --dw-white: #ffffff;
  --dw-page: #ffffff;
  --dw-soft: #fafafa;
  --dw-soft-warm: #fbf8f4;
  --dw-hero-beige: #efe4d7;
  --dw-hero-beige-2: #e4d4bf;
  --dw-line: #f0f0f0;
  --dw-line-warm: #eadfce;
  --dw-text: #2f2f2f;
  --dw-text-2: #666666;
  --dw-muted: #9b9b9b;
  --dw-red: #ed1c24;
  --dw-red-dark: #c70000;
}

/* =========================
   GLOBAL RESET BACK TO WIREFRAME
   ========================= */

html,
body {
  background: #ffffff !important;
  color: var(--dw-text) !important;
}

/* كل الأقسام الأساسية ترجع أبيض */
.dw-trust,
.dw-categories,
.dw-products,
.dw-testimonials,
.dw-steps,
.dw-size-guide,
.dw-service-zone {
  background: #ffffff !important;
}

/* الأقسام اللي في الواير فريم كانت ناعمة */
.dw-compare,
.dw-gallery {
  background: #fafafa !important;
}

/* عناوين الأقسام ترجع واضحة */
.dw-categories__title,
.dw-products__title,
.dw-compare__title,
.dw-testimonials__title,
.dw-steps__title,
.dw-size-guide__title,
.dw-gallery__title {
  color: var(--dw-text) !important;
}

/* الوصف تحت العناوين */
.dw-categories__desc,
.dw-products__desc,
.dw-gallery__desc,
.dw-testimonial-card__quote,
.dw-step__desc,
.dw-size-guide__content-text {
  color: var(--dw-muted) !important;
}

/* الخط الصغير تحت العناوين */
.dw-categories__bar,
.dw-products__bar,
.dw-compare__bar,
.dw-testimonials__bar,
.dw-steps__bar,
.dw-size-guide__bar,
.dw-gallery__bar {
  background: #b0b0b0 !important;
}

/* الكروت ترجع بيضاء ونظيفة */
.dw-product-card,
.dw-testimonial-card,
.dw-size-tool,
.dw-service-zone__card,
.dw-service-zone__note,
.dw-service-zone__city {
  background: #ffffff !important;
  border-color: #efefef !important;
  box-shadow: none !important;
}

/* النصوص داخل الكروت */
.dw-product-card__name,
.dw-product-card__price,
.dw-step__name,
.dw-size-tool__result-size,
.dw-size-guide__content-title,
.dw-service-zone__title,
.dw-service-zone__card-head h3,
.dw-service-zone__note strong {
  color: var(--dw-text) !important;
}

.dw-product-card__sub,
.dw-product-card__inst,
.dw-size-tool__label,
.dw-size-tool__result-price,
.dw-size-tool__result-label,
.dw-service-zone__text,
.dw-service-zone__note span,
.dw-service-zone__city span {
  color: var(--dw-muted) !important;
}

/* أزرار الموقع */
.dw-product-card__btn-main,
.dw-compare__cta,
.dw-size-guide__btn,
.dw-service-zone__btn--primary {
  background: var(--dw-red) !important;
  color: #ffffff !important;
  border-color: var(--dw-red) !important;
}

.dw-product-card__btn-main:hover,
.dw-compare__cta:hover,
.dw-size-guide__btn:hover,
.dw-service-zone__btn--primary:hover {
  background: var(--dw-red-dark) !important;
  border-color: var(--dw-red-dark) !important;
}

.dw-products__view-all,
.dw-service-zone__btn--secondary {
  background: #ffffff !important;
  color: var(--dw-red) !important;
  border-color: rgba(237, 28, 36, 0.35) !important;
}

/* =========================
   TRUST BAR BACK TO WHITE
   ========================= */

.dw-trust {
  background: #ffffff !important;
  border-bottom: 1px solid #f0f0f0 !important;
}

.dw-trust__item {
  background: #ffffff !important;
  border-color: #f0f0f0 !important;
}

.dw-trust__title {
  color: var(--dw-text) !important;
}

.dw-trust__sub {
  color: #8f8f8f !important;
}

.dw-trust__icon {
  background: rgba(237, 28, 36, 0.08) !important;
  color: var(--dw-red) !important;
}

/* =========================
   PRODUCTS BACK TO CLEAN WHITE
   ========================= */

.dw-products {
  background: #ffffff !important;
}

.dw-product-card {
  background: #ffffff !important;
  border: 1px solid #efefef !important;
}

.dw-product-card__badge {
  background: #777777 !important;
  color: #ffffff !important;
}

.dw-product-card__btn-side {
  background: rgba(237, 28, 36, 0.08) !important;
  border-color: rgba(237, 28, 36, 0.18) !important;
  color: var(--dw-red) !important;
}

/* =========================
   BEFORE AFTER
   ========================= */

.dw-compare {
  background: #f7f7f7 !important;
}

.dw-compare-card__divider,
.dw-compare-card__handle {
  background: #888888 !important;
}

/* =========================
   TESTIMONIALS / STEPS
   ========================= */

.dw-testimonials {
  background: #ffffff !important;
}

.dw-testimonials__nav {
  background: #ffffff !important;
  border-color: #e7e7e7 !important;
  color: #666666 !important;
}

.dw-steps {
  background: #ffffff !important;
}

.dw-steps__line {
  background: #e8e8e8 !important;
}

.dw-step__circle {
  background: var(--dw-red) !important;
}

/* =========================
   SIZE GUIDE
   ========================= */

.dw-size-guide {
  background: #ffffff !important;
}

.dw-size-tool {
  background: #f5f5f5 !important;
}

.dw-size-tool__bar-shape {
  background: #d8d8d8 !important;
}

.dw-size-tool__bar-item.is-active .dw-size-tool__bar-shape {
  background: #999999 !important;
}

.dw-size-tool__slider-track {
  background: #e0e0e0 !important;
}

.dw-size-tool__slider-fill {
  background: #aaaaaa !important;
}

.dw-size-tool__slider-thumb {
  background: #777777 !important;
}

/* =========================
   SERVICE ZONE
   ========================= */

.dw-service-zone {
  background: #ffffff !important;
}

.dw-service-zone__eyebrow {
  color: var(--dw-red) !important;
  background: rgba(237, 28, 36, 0.08) !important;
}

.dw-service-zone__card {
  background: linear-gradient(180deg, #ffffff 0%, #fff6f6 100%) !important;
  border-color: rgba(237, 28, 36, 0.14) !important;
}

/* =========================
   HERO FINAL CLEAN FIX
   ========================= */

/* الكونتينر الأساسي */
.dw-hero-premium {
  position: relative !important;
  overflow: hidden !important;
  background: #f5f0e9 !important;
}

/* الصورة الخلفية */
.dw-hero-premium__media,
.dw-hero-premium__image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.dw-hero-premium__image {
  object-fit: cover !important;
  object-position: center center !important;
  filter: brightness(0.68) saturate(0.92) !important;
}

/* شيل أي تدرجات أو طبقات قديمة */
.dw-hero-premium__fade,
.dw-hero-premium__content::before,
.dw-hero-premium::after {
  display: none !important;
  content: none !important;
}

/* التدرج الحقيقي على الخلفية نفسها */
.dw-hero-premium::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(
      90deg,
      rgba(245, 240, 233, 0.18) 0%,
      rgba(245, 240, 233, 0.12) 22%,
      rgba(245, 240, 233, 0.08) 42%,
      rgba(245, 240, 233, 0.22) 58%,
      rgba(245, 240, 233, 0.62) 76%,
      rgba(245, 240, 233, 0.88) 100%
    ) !important;
}

/* المحتوى فوق التدرج */
.dw-hero-premium__inner {
  position: relative !important;
  min-height: 620px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.dw-hero-premium__content {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 920px !important;
  margin: 0 auto !important;
  padding: 70px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  background: transparent !important;
}

/* توسيط كل العناصر */
.dw-hero-premium__eyebrow,
.dw-hero-premium__title,
.dw-hero-premium__desc,
.dw-hero-premium__actions {
  width: 100% !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.dw-hero-premium__eyebrow {
  color: #ffffff !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}

.dw-hero-premium__title {
  color: #ffffff !important;
  font-size: clamp(52px, 5.2vw, 82px) !important;
  line-height: 1.02 !important;
  font-weight: 800 !important;
  max-width: 840px !important;
  margin-bottom: 18px !important;
}

.dw-hero-premium__desc {
  color: #ffffff !important;
  font-size: 18px !important;
  line-height: 1.9 !important;
  max-width: 900px !important;
  margin-bottom: 26px !important;
}

.dw-hero-premium__actions {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

.dw-hero-premium__btn {
  min-width: 220px !important;
  height: 54px !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 767px) {
  .dw-hero-premium__inner {
    min-height: 560px !important;
  }

  .dw-hero-premium__image {
    object-position: center 38% !important;
    filter: brightness(0.56) saturate(0.90) !important;
  }

  .dw-hero-premium::before {
    background:
      linear-gradient(
        180deg,
        rgba(245, 240, 233, 0.08) 0%,
        rgba(245, 240, 233, 0.12) 20%,
        rgba(245, 240, 233, 0.18) 40%,
        rgba(245, 240, 233, 0.40) 62%,
        rgba(245, 240, 233, 0.72) 82%,
        rgba(245, 240, 233, 0.90) 100%
      ) !important;
  }

  .dw-hero-premium__content {
    max-width: 100% !important;
    padding: 150px 18px 28px !important;
  }

  .dw-hero-premium__eyebrow {
    font-size: 12px !important;
    margin-bottom: 8px !important;
  }

  .dw-hero-premium__title {
    font-size: clamp(34px, 9vw, 44px) !important;
    line-height: 1.12 !important;
    max-width: 100% !important;
    margin-bottom: 14px !important;
  }

  .dw-hero-premium__desc {
    font-size: 14px !important;
    line-height: 1.85 !important;
    max-width: 100% !important;
    margin-bottom: 18px !important;
  }

  .dw-hero-premium__actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .dw-hero-premium__btn {
    min-width: 0 !important;
    width: 100% !important;
    height: 48px !important;
    font-size: 13px !important;
  }
}

/* HERO BUTTONS ONLY FIX */
.dw-hero-premium__actions {
  width: 100% !important;
  max-width: 520px !important;
  margin: 26px auto 0 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
  direction: rtl !important;
}

.dw-hero-premium__btn {
  width: 100% !important;
  min-width: 0 !important;
  height: 54px !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

@media (max-width: 767px) {
  .dw-hero-premium__actions {
    max-width: 100% !important;
    gap: 10px !important;
    margin-top: 20px !important;
  }

  .dw-hero-premium__btn {
    height: 46px !important;
    font-size: 12px !important;
    padding: 0 10px !important;
  }
}

/* FIX RANGE DIRECTION */
.dw-size-fit__slider {
  direction: ltr !important;
}

.dw-size-fit__slider input,
#dwWallRange {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

.dw-size-fit__scale {
  direction: ltr !important;
}

/* =========================
   DEWALLS MOBILE STICKY NAV
   ========================= */

.dw-mobile-sticky {
  display: none;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 76px !important;
  }

  .dw-mobile-sticky {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 99999;

    height: 70px;
    background: #ffffff;
    border-top: 1px solid rgba(237, 28, 36, 0.14);
    box-shadow: 0 -12px 30px rgba(237, 28, 36, 0.10);

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    direction: rtl;
  }

  .dw-mobile-sticky__item {
    border: 0;
    background: transparent;
    color: #ed1c24 !important;
    text-decoration: none !important;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;

    font-family: inherit;
    cursor: pointer;
    padding: 0;
  }

  .dw-mobile-sticky__icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(237, 28, 36, 0.08);
    color: #ed1c24;

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

    font-size: 16px;
    line-height: 1;
    font-weight: 900;
  }

  .dw-mobile-sticky__text {
    font-size: 10px;
    line-height: 1.2;
    font-weight: 900;
  }

  .dw-mobile-sticky__item--main .dw-mobile-sticky__icon {
    background: #ed1c24;
    color: #ffffff;
  }

  .dw-mobile-sticky__item--main .dw-mobile-sticky__text {
    color: #ed1c24;
  }
}

/* =========================
   MOBILE STICKY SVG ICONS
   ========================= */

.dw-mobile-sticky__icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dw-mobile-sticky__icon {
  font-size: 0 !important;
}

.dw-mobile-sticky__item--main .dw-mobile-sticky__icon svg {
  stroke: #ffffff;
}

/* =========================================================
   DEWALLS MOBILE REQUESTED PATCH - 2026-05-10
   Scope: mobile header, featured products, category listing,
   product size/purchase flow, bottom safe spacing.
   Rollback: remove this whole comment-delimited block only.
   ========================================================= */
@media (max-width: 767px) {
  /* 1) Clean mobile header: hide search/login, center logo, keep menu/cart */
  header.header-components-all .header-components-top {
    display: none !important;
  }

  header.header-components-all .store-header {
    height: 64px !important;
    min-height: 64px !important;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08) !important;
  }

  header.header-components-all .header-components,
  header.header-components-all .header-components-inner {
    min-height: 64px !important;
    height: 64px !important;
  }

  header.header-components-all .header-components-inner {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 14px !important;
    gap: 0 !important;
  }

  header.header-components-all .mburger {
    position: absolute !important;
    right: 14px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  header.header-components-all .navbar-brand {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 148px !important;
  }

  header.header-components-all .navbar-brand img {
    max-height: 42px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  header.header-components-all .left-side {
    position: absolute !important;
    left: 14px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
  }

  header.header-components-all .search-btn,
  header.header-components-all .user-login {
    display: none !important;
  }

  header.header-components-all salla-cart-summary.header-icon-button,
  header.header-components-all .s-cart-summary-wrapper {
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  /* 2) Safer fixed bottom nav spacing */
  body,
  body .app-inner,
  body main,
  body .main-content,
  body .page-container,
  body.index,
  body.product-single {
    padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
  }

  .dw-mobile-sticky {
    height: calc(76px + env(safe-area-inset-bottom)) !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
    border-top: 1px solid rgba(17, 24, 39, 0.10) !important;
    box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.10) !important;
  }

  .dw-mobile-sticky__item {
    min-height: 64px !important;
  }

  /* 3) Homepage requested product layout: Brownie featured, Latte/Mocha secondary */
  body.index .dw-products__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    align-items: stretch !important;
  }

  body.index .dw-products__grid .dw-product-card {
    margin: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
  }

  body.index .dw-products__grid .dw-product-card:first-child {
    grid-column: 1 / -1 !important;
  }

  body.index .dw-products__grid .dw-product-card:nth-child(n+4) {
    display: none !important;
  }

  body.index .dw-products__grid .dw-product-card:first-child .dw-product-card__image-wrap {
    height: 220px !important;
  }

  body.index .dw-products__grid .dw-product-card:not(:first-child) .dw-product-card__image-wrap {
    height: 150px !important;
  }

  body.index .dw-product-card__body {
    padding: 14px !important;
  }

  body.index .dw-product-card__actions {
    gap: 8px !important;
  }

  body.index .dw-product-card__btn-main,
  body.index .dw-product-card__btn-side {
    min-height: 42px !important;
  }

  /* 4) Product cards breathing room across listing/related sections */
custom-salla-product-card.product-entry,
.s-products-list-wrapper custom-salla-product-card {
  padding: 8px !important;
  border-radius: 18px !important;
  background: #ffffff !important;
}  .s-products-list-wrapper custom-salla-product-card {
    padding: 8px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
  }

  .s-products-list-wrapper {
    gap: 16px !important;
    padding-bottom: 18px !important;
  }

  .product-entry .content-wrap,
  custom-salla-product-card .content-wrap {
    padding: 10px 8px 12px !important;
  }

  .product-entry salla-add-product-button,
  custom-salla-product-card salla-add-product-button {
    min-width: 40px !important;
    min-height: 40px !important;
  }

  /* 5) Category/listing heading + sort clarity */
  body.category .main-content > .mb-4,
  body.product-index .main-content > .mb-4,
  body[class*="category"] .main-content > .mb-4 {
    align-items: stretch !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
    flex-wrap: wrap !important;
  }

  body.category .main-content h1,
  body.product-index .main-content h1,
  body[class*="category"] .main-content h1 {
    width: 100% !important;
    font-size: 24px !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
    color: #111827 !important;
    padding: 0 !important;
  }

  #product-filter {
    min-height: 44px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(17, 24, 39, 0.14) !important;
    background-color: #ffffff !important;
    color: #111827 !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06) !important;
  }

  #product-filter:focus {
    border-color: #ed1c24 !important;
    box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.12) !important;
  }

  #product-filter + *,
  label[for="product-filter"] {
    font-weight: 900 !important;
  }

  /* 6) Product page: reveal real size selector before stronger purchase flow */
  body.product-single form.single-product-form-page > .s-block > .w-full.grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  body.product-single .main-content-data {
    order: 1 !important;
  }

  body.product-single form.single-product-form-page .order-1,
  body.product-single form.single-product-form-page .order-2 {
    order: 2 !important;
    position: static !important;
    top: auto !important;
  }

  body.product-single #tab-accordion {
    margin: 16px 0 0 !important;
  }

  body.product-single #tab-accordion > .accordion.details-accordion {
    display: none !important;
  }

  body.product-single #accordionOptions {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    margin: 14px 0 0 !important;
    padding: 14px !important;
    border: 1px solid rgba(237, 28, 36, 0.18) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.07) !important;
  }

  body.product-single #accordionOptions::before {
    content: "\0627\062E\062A\0631 \0627\0644\0645\0642\0627\0633";
    display: block !important;
    margin-bottom: 10px !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    font-weight: 900 !important;
    color: #111827 !important;
  }

  body.product-single #accordionOptions salla-product-options {
    display: block !important;
    width: 100% !important;
    min-height: 44px !important;
  }

  body.product-single .product-fixed-bar {
    margin-top: 0 !important;
    border-radius: 18px !important;
    border: 1px solid rgba(17, 24, 39, 0.08) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08) !important;
    background: #ffffff !important;
    overflow: hidden !important;
  }

  body.product-single .product-fixed-bar .product-form {
    height: auto !important;
    min-height: 0 !important;
    padding: 16px !important;
  }

  body.product-single .product-fixed-bar .total-price {
    color: #ed1c24 !important;
    font-size: 22px !important;
    font-weight: 900 !important;
  }

  body.product-single salla-add-product-button#add-to-cart-btn {
    width: 100% !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  body.product-single .product-fixed-bar .product-form::after {
    content: "\062F\0641\0639 \0622\0645\0646 \2022 \0636\0645\0627\0646 \0627\0644\062C\0648\062F\0629 \2022 \062A\0648\0635\064A\0644 \062F\0627\062E\0644 \0627\0644\0633\0639\0648\062F\064A\0629";
    display: block !important;
    margin-top: 12px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    color: #374151 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-align: center !important;
  }
}
/* END DEWALLS MOBILE REQUESTED PATCH - 2026-05-10 */

/* DEWALLS PRODUCT CTA TRUST BADGE FIX - 2026-05-10 */
@media (max-width: 767px) {
  body.product-single .product-fixed-bar .product-form::after {
    content: "\2713\00a0 \062F\0641\0639 \0622\0645\0646 \00a0\00a0\2022\00a0\00a0 \0636\0645\0627\0646 \0627\0644\062C\0648\062F\0629 \00a0\00a0\2022\00a0\00a0 \062A\0648\0635\064A\0644 \062F\0627\062E\0644 \0627\0644\0633\0639\0648\062F\064A\0629" !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 14px auto 0 !important;
    padding: 12px 10px !important;
    border: 1px solid rgba(237, 28, 36, 0.10) !important;
    border-radius: 14px !important;
    background: rgba(237, 28, 36, 0.04) !important;
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.8 !important;
    letter-spacing: 0 !important;
    word-spacing: 2px !important;
    white-space: normal !important;
  }
}
/* END DEWALLS PRODUCT CTA TRUST BADGE FIX - 2026-05-10 */



/* DEWALLS PRODUCT CTA TRUST BADGE SPACING FIX - 2026-05-10 */
@media (max-width: 767px) {
  body.product-single .product-fixed-bar .product-form::after {
    content: "\2713  \062F\0641\0639 \0622\0645\0646\A\2022  \0636\0645\0627\0646 \0627\0644\062C\0648\062F\0629\A\2022  \062A\0648\0635\064A\0644 \062F\0627\062E\0644 \0627\0644\0633\0639\0648\062F\064A\0629" !important;
    white-space: pre-line !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: 2.05 !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
    word-spacing: normal !important;
  }
}
/* END DEWALLS PRODUCT CTA TRUST BADGE SPACING FIX - 2026-05-10 */



/* DEWALLS PRODUCT CTA TRUST BADGE WORDING FIX - 2026-05-10 */
@media (max-width: 767px) {
  body.product-single .product-fixed-bar .product-form::after {
    content: "\2713  \0627\0644\062F\0641\0639 \0627\0644\0622\0645\0646\A\2022  \0636\0645\0627\0646: \0627\0644\062C\0648\062F\0629\A\2022  \0627\0644\062A\0648\0635\064A\0644: \0644\0644\0633\0639\0648\062F\064A\0629" !important;
    white-space: pre-line !important;
    text-align: center !important;
    line-height: 2.15 !important;
    font-size: 13.5px !important;
  }
}
/* END DEWALLS PRODUCT CTA TRUST BADGE WORDING FIX - 2026-05-10 */



/* DEWALLS PRODUCT CTA TRUST BADGE SPACE ONLY FIX - 2026-05-10 */
@media (max-width: 767px) {
  body.product-single .product-fixed-bar .product-form::after {
    content: "\0627\0644\062F\0641\0639 \0627\0644\0622\0645\0646\2003\2003\0636\0645\0627\0646 \0627\0644\062C\0648\062F\0629\2003\2003\0627\0644\062A\0648\0635\064A\0644 \0644\0643\0644 \0627\0644\0633\0639\0648\062F\064A\0629" !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 2 !important;
    word-spacing: 3px !important;
    letter-spacing: 0 !important;
    font-size: 13.5px !important;
  }
}
/* END DEWALLS PRODUCT CTA TRUST BADGE SPACE ONLY FIX - 2026-05-10 */


/* DEWALLS REMOVE PRODUCT PAGE TRUST TEXT - 2026-05-11 */
@media (max-width: 767px) {
  body.product-single .product-fixed-bar .product-form::after {
    content: "" !important;
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
}
/* END DEWALLS REMOVE PRODUCT PAGE TRUST TEXT - 2026-05-11 */


/* =========================
   ترتيب شكل كروت منتجات سلة بدون الخطوط الحمراء
   ========================= */

/* نخلي كرت المنتج يرجع له جسم وحدود خفيفة بدل ما يكون قالع */
body custom-salla-product-card.product-block,
body custom-salla-product-card.product-entry,
body .s-products-list-wrapper custom-salla-product-card,
body .s-slider-block custom-salla-product-card,
body .s-slider-container custom-salla-product-card,
body .product-entry.card-effect {
  --p-border-color: #eeeeee !important;
  --brdr-w: 1px !important;
  --brdr-rad: 16px !important;

  display: block !important;
  background: #ffffff !important;
  border: 1px solid #eeeeee !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  padding: 8px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.055) !important;
  outline: 0 !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* نوقف خطوط اليمين واليسار الحمراء اللي تطلع من تأثير الثيم */
body custom-salla-product-card.product-block::before,
body custom-salla-product-card.product-block::after,
body custom-salla-product-card.product-entry::before,
body custom-salla-product-card.product-entry::after,
body .product-entry.card-effect::before,
body .product-entry.card-effect::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* نخلي حالات الضغط والهوفر ما ترجع الاحمر */
body custom-salla-product-card.product-block:hover,
body custom-salla-product-card.product-block:active,
body custom-salla-product-card.product-block:focus,
body custom-salla-product-card.product-block:focus-within,
body custom-salla-product-card.product-entry:hover,
body custom-salla-product-card.product-entry:active,
body custom-salla-product-card.product-entry:focus,
body custom-salla-product-card.product-entry:focus-within,
body .product-entry.card-effect:hover,
body .product-entry.card-effect:active,
body .product-entry.card-effect:focus,
body .product-entry.card-effect:focus-within {
  --p-border-color: #eeeeee !important;
  --brdr-w: 1px !important;

  border: 1px solid #eeeeee !important;
  outline: 0 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.055) !important;
}

/* الرابط داخل الكرت ما ياخذ تحديد احمر وقت الضغط */
body custom-salla-product-card a,
body custom-salla-product-card a:hover,
body custom-salla-product-card a:active,
body custom-salla-product-card a:focus,
body custom-salla-product-card a:focus-visible,
body .product-entry.card-effect a,
body .product-entry.card-effect a:hover,
body .product-entry.card-effect a:active,
body .product-entry.card-effect a:focus,
body .product-entry.card-effect a:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
  border-color: transparent !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* نخلي صورة المنتج نفسها مرتبة داخل الكرت */
body custom-salla-product-card .s-product-card-image,
body custom-salla-product-card .s-product-card-image img,
body .product-entry.card-effect .s-product-card-image,
body .product-entry.card-effect .s-product-card-image img {
  border-radius: 12px !important;
  overflow: hidden !important;
}

/* هوفر ديسكتوب خفيف وفخم بدون خط احمر */
@media (hover: hover) {
  body custom-salla-product-card.product-block:hover,
  body custom-salla-product-card.product-entry:hover,
  body .s-products-list-wrapper custom-salla-product-card:hover,
  body .s-slider-block custom-salla-product-card:hover,
  body .product-entry.card-effect:hover {
    transform: translateY(-3px) !important;
    border-color: #e8e8e8 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09) !important;
  }
}

/* في الجوال لا نخلي اللمس يعلق هوفر او يطلع خطوط */
@media (hover: none) {
  body custom-salla-product-card.product-block:hover,
  body custom-salla-product-card.product-block:active,
  body custom-salla-product-card.product-block:focus,
  body custom-salla-product-card.product-entry:hover,
  body custom-salla-product-card.product-entry:active,
  body custom-salla-product-card.product-entry:focus,
  body .product-entry.card-effect:hover,
  body .product-entry.card-effect:active,
  body .product-entry.card-effect:focus {
    transform: none !important;
    border: 1px solid #eeeeee !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.055) !important;
  }
}

/* =========================
   كروت المنتجات بدون خط الثيم اليمين
   ========================= */

/* نطفي حدود الثيم الداخلية تماما */
body custom-salla-product-card,
body custom-salla-product-card:hover,
body custom-salla-product-card:active,
body custom-salla-product-card:focus,
body custom-salla-product-card:focus-within,
body .product-entry.card-effect,
body .product-entry.card-effect:hover,
body .product-entry.card-effect:active,
body .product-entry.card-effect:focus,
body .product-entry.card-effect:focus-within {
  --p-border-color: transparent !important;
  --brdr-w: 0px !important;
  --brdr-rad: 16px !important;

  border: 1px solid #eeeeee !important;
  border-inline-start: 1px solid #eeeeee !important;
  border-inline-end: 1px solid #eeeeee !important;
  border-right: 1px solid #eeeeee !important;
  border-left: 1px solid #eeeeee !important;

  border-radius: 16px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  padding: 8px !important;
  outline: 0 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.055) !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* نقتل أي خط داخلي يمين/يسار جاي من الثيم */
body custom-salla-product-card::before,
body custom-salla-product-card::after,
body custom-salla-product-card:hover::before,
body custom-salla-product-card:hover::after,
body custom-salla-product-card:active::before,
body custom-salla-product-card:active::after,
body custom-salla-product-card:focus::before,
body custom-salla-product-card:focus::after,
body custom-salla-product-card:focus-within::before,
body custom-salla-product-card:focus-within::after,
body .product-entry.card-effect::before,
body .product-entry.card-effect::after,
body .product-entry.card-effect:hover::before,
body .product-entry.card-effect:hover::after,
body .product-entry.card-effect:active::before,
body .product-entry.card-effect:active::after,
body .product-entry.card-effect:focus::before,
body .product-entry.card-effect:focus::after,
body .product-entry.card-effect:focus-within::before,
body .product-entry.card-effect:focus-within::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-inline-start: 0 !important;
  border-inline-end: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* لو الخط اليمين جاي من عنصر داخلي داخل الكرت */
body custom-salla-product-card *,
body .product-entry.card-effect * {
  --p-border-color: transparent !important;
  --brdr-w: 0px !important;
  border-inline-start-color: transparent !important;
  border-inline-end-color: transparent !important;
}

/* نحافظ على الصور مرتبة */
body custom-salla-product-card .s-product-card-image,
body custom-salla-product-card .s-product-card-image img,
body .product-entry.card-effect .s-product-card-image,
body .product-entry.card-effect .s-product-card-image img {
  border-radius: 12px !important;
  overflow: hidden !important;
}

/* هوفر ديسكتوب نظيف بدون خط احمر */
@media (hover: hover) {
  body custom-salla-product-card:hover,
  body .product-entry.card-effect:hover {
    transform: translateY(-3px) !important;
    border: 1px solid #e8e8e8 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09) !important;
  }
}

/* الجوال بدون تعليق حالة الضغط */
@media (hover: none) {
  body custom-salla-product-card:hover,
  body custom-salla-product-card:active,
  body custom-salla-product-card:focus,
  body .product-entry.card-effect:hover,
  body .product-entry.card-effect:active,
  body .product-entry.card-effect:focus {
    transform: none !important;
    border: 1px solid #eeeeee !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.055) !important;
  }
}

/* =========================
   كروت منتجات ثيم وسام بدون خط احمر
   ========================= */

/* نطفي وضع حدود المنتجات من الثيم */
body {
  --p-border-color: transparent !important;
  --brdr-w: 0px !important;
}

/* نطفي متغيرات الحدود الحمراء على كروت المنتجات نفسها */
body custom-salla-product-card.product-block,
body custom-salla-product-card.product-entry,
body custom-salla-product-card,
body .product-entry.card-effect,
body .s-products-list-wrapper custom-salla-product-card,
body .s-slider-block custom-salla-product-card,
body .s-slider-container custom-salla-product-card {
  --p-border-color: transparent !important;
  --brdr-w: 0px !important;
  --brdr-rad: 16px !important;

  --img-x-space: 8px !important;
  --atc-x-space: 10px !important;
  --atc-b-space: 8px !important;

  background: #ffffff !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  padding: 8px !important;

  box-shadow:
    0 0 0 1px #eeeeee,
    0 8px 24px rgba(0, 0, 0, 0.055) !important;

  -webkit-tap-highlight-color: transparent !important;
}

/* نقتل اي طبقة ترسم خط يمين او يسار */
body custom-salla-product-card.product-block::before,
body custom-salla-product-card.product-block::after,
body custom-salla-product-card.product-entry::before,
body custom-salla-product-card.product-entry::after,
body custom-salla-product-card::before,
body custom-salla-product-card::after,
body .product-entry.card-effect::before,
body .product-entry.card-effect::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* نحمي الرابط داخل الكرت من حالة الضغط */
body custom-salla-product-card a,
body custom-salla-product-card a:hover,
body custom-salla-product-card a:active,
body custom-salla-product-card a:focus,
body custom-salla-product-card a:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* نخلي الصورة مرتبة داخل الكرت */
body custom-salla-product-card .s-product-card-image,
body custom-salla-product-card .s-product-card-image img,
body .product-entry.card-effect .s-product-card-image,
body .product-entry.card-effect .s-product-card-image img {
  border-radius: 12px !important;
  overflow: hidden !important;
}

/* هوفر ديسكتوب نظيف بدون احمر */
@media (hover: hover) {
  body custom-salla-product-card.product-block:hover,
  body custom-salla-product-card.product-entry:hover,
  body custom-salla-product-card:hover,
  body .product-entry.card-effect:hover {
    transform: translateY(-3px) !important;
    box-shadow:
      0 0 0 1px #e8e8e8,
      0 16px 36px rgba(0, 0, 0, 0.09) !important;
  }
}

/* الجوال بدون تعليق حالة الضغط */
@media (hover: none) {
  body custom-salla-product-card.product-block:hover,
  body custom-salla-product-card.product-block:active,
  body custom-salla-product-card.product-block:focus,
  body custom-salla-product-card.product-entry:hover,
  body custom-salla-product-card.product-entry:active,
  body custom-salla-product-card.product-entry:focus,
  body custom-salla-product-card:hover,
  body custom-salla-product-card:active,
  body custom-salla-product-card:focus {
    transform: none !important;
    box-shadow:
      0 0 0 1px #eeeeee,
      0 8px 24px rgba(0, 0, 0, 0.055) !important;
  }
}
/* =========================================================
   DEWALLS FINAL MOBILE/DESKTOP POLISH PATCH - 2026-05-19
   Scope: homepage spacing, mobile tab/sticky safety, product/card readability.
   Rollback: remove this whole comment-delimited block only.
   ========================================================= */

/* 1) Desktop spacing: ╪ú┘é┘ä ┘ü╪▒╪º╪║╪º╪¬ ╪¿┘è┘å ╪º┘ä╪│┘â╪º╪┤┘å ┘à┘å ╪║┘è╪▒ ┘à╪º ┘å╪¿┘ê╪╕ ╪º┘ä┘à┘ê╪¿╪º┘è┘ä */
@media (min-width: 1024px) {
  .dw-categories,
  .dw-products,
  .dw-compare,
  .dw-testimonials,
  .dw-steps,
  .dw-size-fit,
  .dw-gallery,
  .dw-service-zone {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .dw-categories__head,
  .dw-products__head,
  .dw-compare__head,
  .dw-testimonials__head,
  .dw-steps__head,
  .dw-size-fit__head,
  .dw-gallery__head {
    margin-bottom: 36px !important;
  }
}

/* 2) Mobile section rhythm: ╪¬┘é┘ä┘è┘ä ╪º┘ä╪╖┘ê┘ä ┘à╪╣ ╪º┘ä╪¡┘ü╪º╪╕ ╪╣┘ä┘ë ╪º┘ä┘å┘ü╪│ */
@media (max-width: 767px) {
  .dw-categories,
  .dw-products,
  .dw-compare,
  .dw-testimonials,
  .dw-steps,
  .dw-size-fit,
  .dw-gallery,
  .dw-service-zone {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .dw-categories__head,
  .dw-products__head,
  .dw-compare__head,
  .dw-testimonials__head,
  .dw-steps__head,
  .dw-size-fit__head,
  .dw-gallery__head {
    margin-bottom: 24px !important;
  }

  .dw-categories__title,
  .dw-products__title,
  .dw-compare__title,
  .dw-testimonials__title,
  .dw-steps__title,
  .dw-size-fit__head h2,
  .dw-gallery__title {
    font-size: 22px !important;
    line-height: 1.35 !important;
    color: #2f2f2f !important;
  }

  .dw-categories__desc,
  .dw-products__desc,
  .dw-size-fit__head p,
  .dw-gallery__desc {
    font-size: 12.5px !important;
    line-height: 1.8 !important;
  }
}

/* 3) Mobile sticky tab: ╪ú┘ê╪╢╪¡ ┘ê╪ú┘å╪╢┘ü╪î ┘ê┘à╪┤ ┘è╪║╪╖┘è ╪ó╪«╪▒ ╪º┘ä╪╡┘ü╪¡╪⌐ */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important;
  }

  .dw-mobile-sticky {
    height: calc(72px + env(safe-area-inset-bottom)) !important;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom)) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-top: 1px solid rgba(237, 28, 36, 0.12) !important;
    box-shadow: 0 -10px 26px rgba(15, 23, 42, 0.10) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    gap: 4px !important;
  }

  .dw-mobile-sticky__item {
    min-height: 58px !important;
    border-radius: 14px !important;
  }

  .dw-mobile-sticky__icon {
    width: 28px !important;
    height: 28px !important;
  }

  .dw-mobile-sticky__icon svg {
    width: 17px !important;
    height: 17px !important;
  }

  .dw-mobile-sticky__text {
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
  }

  .dw-mobile-sticky__item--main {
    background: rgba(237, 28, 36, 0.06) !important;
  }
}

/* 4) Homepage mobile product cards: ┘à┘å╪╣ ╪º┘ä╪▓╪¡┘à╪⌐ ┘ê╪¬╪¡╪│┘è┘å ╪º┘ä┘é╪▒╪º╪í╪⌐ */
@media (max-width: 767px) {
  body.index .dw-products__grid {
    gap: 12px !important;
  }

  body.index .dw-products__grid .dw-product-card:first-child .dw-product-card__image-wrap {
    height: 210px !important;
  }

  body.index .dw-products__grid .dw-product-card:not(:first-child) .dw-product-card__image-wrap {
    height: 142px !important;
  }

  body.index .dw-product-card__name {
    min-height: 38px !important;
    color: #2f2f2f !important;
  }

  body.index .dw-product-card__price {
    color: #ed1c24 !important;
  }

  body.index .dw-product-card__btn-main {
    font-size: 10.5px !important;
    font-weight: 900 !important;
  }
}

/* 5) Gallery mobile: ╪º┘ä╪│╪¡╪¿ ╪º┘ä╪ú┘ü┘é┘è ┘è╪¿┘é┘ë ┘ê╪º╪╢╪¡ ┘ê┘à╪┤ ┘à┘é╪╖┘ê╪╣ */
@media (max-width: 767px) {
  .dw-gallery__grid {
    grid-auto-columns: minmax(245px, 76vw) !important;
    scroll-padding-inline: 16px !important;
  }

  .dw-gallery__item img {
    object-position: center center !important;
  }
}

/* 6) Product page mobile: ┘à╪│╪º╪¡╪⌐ ╪ó┘à┘å╪⌐ ╪ú╪│┘ü┘ä ╪▓╪▒ ╪º┘ä╪┤╪▒╪º╪í ╪¿╪╣╪» ╪Ñ╪╕┘ç╪º╪▒ ╪º┘ä┘à┘é╪º╪│ */
@media (max-width: 767px) {
  body.product-single .product-fixed-bar {
    margin-bottom: calc(8px + env(safe-area-inset-bottom)) !important;
  }

  body.product-single #accordionOptions {
    scroll-margin-top: 84px !important;
  }
}
/* END DEWALLS FINAL MOBILE/DESKTOP POLISH PATCH - 2026-05-19 */

/* DEWALLS MOBILE PRODUCT TRUST/POLISH - 2026-05-20
   ╪¬╪▒╪¬┘è╪¿ ╪«┘ü┘è┘ü ┘ä╪╡┘ü╪¡╪⌐ ╪º┘ä┘à┘å╪¬╪¼ ┘ü┘è ╪º┘ä╪¼┘ê╪º┘ä ╪¿╪»┘ê┘å ╪╡┘ê╪▒
*/
@media (max-width: 767px) {
  body.product-single #accordionOptions::before {
    content: "\0627\062E\062A\0631 \0627\0644\0645\0642\0627\0633 \0627\0644\0645\0646\0627\0633\0628 \0644\062C\062F\0627\0631\0643" !important;
    letter-spacing: 0 !important;
  }

  body.product-single .product-fixed-bar .product-form::after {
    content: "\2713\00a0 \0627\0633\062A\0634\0627\0631\0629 \0642\0628\0644 \0627\0644\0637\0644\0628\A \2713\00a0 \0645\0642\0627\0633\0627\062A \0648\0627\0636\062D\0629 \0648\062A\0631\0643\064A\0628 \062D\0633\0628 \0627\0644\0645\062F\064A\0646\0629\A \2713\00a0 \062F\0641\0639 \0622\0645\0646" !important;
    white-space: pre-line !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 12px auto 0 !important;
    padding: 12px 12px !important;
    border: 1px solid rgba(237,28,36,.13) !important;
    border-radius: 14px !important;
    background: rgba(237,28,36,.035) !important;
    color: #111827 !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    line-height: 1.75 !important;
    text-align: right !important;
  }

  body.product-single salla-add-product-button#add-to-cart-btn {
    min-height: 52px !important;
  }

  body.product-single .product-entry,
  body.product-single main,
  body.product-single .main-content {
    padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
  }
}
/* END DEWALLS MOBILE PRODUCT TRUST/POLISH - 2026-05-20 */

/* =========================================================
   DEWALLS PRODUCT MOBILE ARABIC SPACING HOTFIX - 2026-05-20
   Scope: product page size chooser title + trust notes only.
   Rollback: remove this whole comment-delimited block only.
   ========================================================= */
@media (max-width: 767px) {
  body.product-single .s-product-options-option-label b,
  body.product-single .s-product-options-option-label b::before,
  body.product-single .product-fixed-bar .product-form::after {
    direction: rtl !important;
    unicode-bidi: plaintext !important;
    letter-spacing: 0 !important;
    word-spacing: 0.18em !important;
    line-height: 1.75 !important;
    text-rendering: optimizeLegibility !important;
    font-kerning: normal !important;
  }

  body.product-single .s-product-options-option-label b::before {
    content: "╪º╪«╪¬╪▒ ╪º┘ä┘à┘é╪º╪│ ╪º┘ä┘à┘å╪º╪│╪¿ ┘ä╪¼╪»╪º╪▒┘â" !important;
    display: block !important;
    margin-bottom: 4px !important;
    white-space: normal !important;
  }

  body.product-single .product-fixed-bar .product-form::after {
    content: "Γ£ô ╪º╪│╪¬╪┤╪º╪▒╪⌐ ┘é╪¿┘ä ╪º┘ä╪╖┘ä╪¿\AΓ£ô ┘à┘é╪º╪│╪º╪¬ ┘ê╪º╪╢╪¡╪⌐ ┘ê╪¬╪▒┘â┘è╪¿ ╪¡╪│╪¿ ╪º┘ä┘à╪»┘è┘å╪⌐\AΓ£ô ╪╢┘à╪º┘å ┘à╪╖┘à╪ª┘å" !important;
    white-space: pre-line !important;
  }
}
/* END DEWALLS PRODUCT MOBILE ARABIC SPACING HOTFIX - 2026-05-20 */

/* =========================================================
   DEWALLS PRODUCT MOBILE ARABIC CONTENT ENCODING FIX - 2026-05-20
   Scope: override Arabic pseudo-content with CSS Unicode escapes.
   Rollback: remove this block and the previous Arabic spacing hotfix block.
   ========================================================= */
@media (max-width: 767px) {
  body.product-single .s-product-options-option-label b,
  body.product-single .s-product-options-option-label b::before,
  body.product-single .product-fixed-bar .product-form::after {
    direction: rtl !important;
    unicode-bidi: isolate !important;
    letter-spacing: 0 !important;
    word-spacing: 0.18em !important;
    line-height: 1.75 !important;
    font-family: "Cairo", Arial, sans-serif !important;
  }

  body.product-single .s-product-options-option-label b::before {
    content: "\0627 \062e \062a \0631 \0020 \0627 \0644 \0645 \0642 \0627 \0633 \0020 \0627 \0644 \0645 \0646 \0627 \0633 \0628 \0020 \0644 \062c \062f \0627 \0631 \0643 " !important;
    display: block !important;
    margin-bottom: 4px !important;
    white-space: normal !important;
  }

  body.product-single .product-fixed-bar .product-form::after {
    content: "\2713 \0020 \0627 \0633 \062a \0634 \0627 \0631 \0629 \0020 \0642 \0628 \0644 \0020 \0627 \0644 \0637 \0644 \0628 \A\2713 \0020 \0645 \0642 \0627 \0633 \0627 \062a \0020 \0648 \0627 \0636 \062d \0629 \0020 \0648 \062a \0631 \0643 \064a \0628 \0020 \062d \0633 \0628 \0020 \0627 \0644 \0645 \062f \064a \0646 \0629 \A\2713 \0020 \0636 \0645 \0627 \0646 \0020 \0645 \0637 \0645 \0626 \0646 " !important;
    white-space: pre-line !important;
  }
}
/* END DEWALLS PRODUCT MOBILE ARABIC CONTENT ENCODING FIX - 2026-05-20 */

/* =========================================================
   DEWALLS PRODUCT MOBILE REMOVE DUPLICATE SIZE TITLE - 2026-05-20
   Scope: hide earlier pseudo-title that made the Arabic line look glued.
   Rollback: remove this block only.
   ========================================================= */
@media (max-width: 767px) {
  body.product-single #accordionOptions::before,
  body.product-single #accordionOptions .overflow-hidden::before,
  body.product-single salla-product-options::before,
  body.product-single salla-conditional-fields::before,
  body.product-single .s-product-options-option-container::before,
  body.product-single .s-product-options-option::before {
    content: none !important;
    display: none !important;
  }

  body.product-single .s-product-options-option-label b::before {
    content: "\0627 \062e \062a \0631 \0020 \0627 \0644 \0645 \0642 \0627 \0633 \0020 \0627 \0644 \0645 \0646 \0627 \0633 \0628 \0020 \0644 \062c \062f \0627 \0631 \0643 " !important;
    display: block !important;
    direction: rtl !important;
    unicode-bidi: isolate !important;
    letter-spacing: 0 !important;
    word-spacing: 0.18em !important;
    line-height: 1.75 !important;
    margin-bottom: 4px !important;
  }
}
/* END DEWALLS PRODUCT MOBILE REMOVE DUPLICATE SIZE TITLE - 2026-05-20 */

/* =========================================================
   DEWALLS PRODUCT MOBILE POLISH - 2026-05-20
   Scope: compact product option area, CTA card, and trust notes on mobile only.
   Rollback: remove this whole comment-delimited block only.
   ========================================================= */
@media (max-width: 767px) {
  body.product-single #tab-accordion {
    margin-top: 10px !important;
  }

  body.product-single #accordionOptions {
    border: 1px solid rgba(237, 28, 36, 0.14) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.055) !important;
    padding: 12px 12px 10px !important;
    margin: 8px 0 14px !important;
  }

  body.product-single #accordionOptions .overflow-hidden {
    padding: 0 !important;
  }

  body.product-single .s-product-options-option,
  body.product-single .s-product-options-option-container,
  body.product-single salla-product-options,
  body.product-single salla-conditional-fields {
    margin: 0 !important;
  }

  body.product-single .s-product-options-option-label {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
  }

  body.product-single .s-product-options-option-label b {
    display: block !important;
    color: #171717 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.product-single .s-product-options-option-label b::before {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #171717 !important;
    margin-bottom: 2px !important;
    line-height: 1.45 !important;
    word-spacing: 0.08em !important;
  }

  body.product-single .s-product-options-option-label b > span,
  body.product-single .s-product-options-option-label small {
    display: none !important;
  }

  body.product-single .s-product-options-option-content,
  body.product-single .s-product-options-grid-mode {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
  }

  body.product-single .s-product-options-grid-mode {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 7px !important;
    align-items: stretch !important;
  }

  body.product-single .s-product-options-grid-mode label {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
  }

  body.product-single .s-product-options-grid-mode-span {
    width: 100% !important;
    min-height: 36px !important;
    height: 36px !important;
    border-radius: 11px !important;
    border: 1px solid #e5e7eb !important;
    background: #fafafa !important;
    color: #27272a !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
  }

  body.product-single .s-product-options-grid-mode input:checked + .s-product-options-grid-mode-span,
  body.product-single .s-product-options-grid-mode label:has(input:checked) .s-product-options-grid-mode-span {
    border-color: #ed1c24 !important;
    background: rgba(237, 28, 36, 0.08) !important;
    color: #b91c1c !important;
  }

  body.product-single .product-fixed-bar {
    border-radius: 18px !important;
    border: 1px solid #f1f1f1 !important;
    background: #fff !important;
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06) !important;
    padding: 10px !important;
    margin-top: 10px !important;
  }

  body.product-single .product-fixed-bar .product-form {
    padding: 4px 6px 8px !important;
  }

  body.product-single .product-fixed-bar .product-form > .flex:first-of-type {
    gap: 10px !important;
    margin-bottom: 10px !important;
  }

  body.product-single .price_is_on_sale .total-price {
    font-size: 20px !important;
    line-height: 1.2 !important;
  }

  body.product-single .price_is_on_sale .before-price {
    font-size: 13px !important;
    opacity: 0.72 !important;
  }

  body.product-single #add-to-cart-btn .s-add-product-button-main {
    gap: 8px !important;
  }

  body.product-single #add-to-cart-btn button,
  body.product-single salla-mini-checkout-widget {
    min-height: 42px !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
  }

  body.product-single .product-fixed-bar .product-form::after {
    margin-top: 10px !important;
    padding: 9px 11px !important;
    border-radius: 13px !important;
    background: #fff7f7 !important;
    border: 1px solid rgba(237, 28, 36, 0.12) !important;
    color: #3f3f46 !important;
    font-size: 12px !important;
    line-height: 1.7 !important;
    word-spacing: 0.06em !important;
  }

  body.product-single .dw-mobile-sticky {
    box-shadow: 0 -8px 22px rgba(17, 24, 39, 0.08) !important;
  }
}
/* END DEWALLS PRODUCT MOBILE POLISH - 2026-05-20 */

/* =========================================================
   DEWALLS PRODUCT MOBILE POLISH TITLE CLEANUP - 2026-05-20
   Scope: remove duplicate native option label text after custom mobile title.
   Rollback: remove this block only.
   ========================================================= */
@media (max-width: 767px) {
  body.product-single .s-product-options-option-label b {
    font-size: 0 !important;
    line-height: 0 !important;
  }

  body.product-single .s-product-options-option-label b::before {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
}
/* END DEWALLS PRODUCT MOBILE POLISH TITLE CLEANUP - 2026-05-20 */

/* =========================================================
   DEWALLS PRODUCT SIZE ORDER FIX - 2026-05-20
   Scope: mobile product size buttons only. Makes 2M / 2.5M appear before 3M / 4M / 5M.
   Rollback: remove this whole comment-delimited block only.
   ========================================================= */
@media (max-width: 767px) {
  body.product-single .s-product-options-grid-mode label:nth-child(4) {
    order: 1 !important;
  }

  body.product-single .s-product-options-grid-mode label:nth-child(5) {
    order: 2 !important;
  }

  body.product-single .s-product-options-grid-mode label:nth-child(1) {
    order: 3 !important;
  }

  body.product-single .s-product-options-grid-mode label:nth-child(2) {
    order: 4 !important;
  }

  body.product-single .s-product-options-grid-mode label:nth-child(3) {
    order: 5 !important;
  }
}
/* END DEWALLS PRODUCT SIZE ORDER FIX - 2026-05-20 */