/* ===== إخفاء العناصر الأصلية ===== */
.s-block--photos-slider { display: none !important; }
section[component-id="1340365957"] { display: none !important; }

/* =========================================
   Hero
   ========================================= */
.pm-hero {
  --pm-gold: #c8a26b;
  --pm-gold-dark: #b08a54;
  --pm-gap: 2px;
  max-width: 1820px;
  margin: 24px auto;
  padding: 0 16px;
  font-family: var(--font-main), sans-serif;
}

.pm-hero__inner {
  display: grid;
  grid-template-columns: minmax(340px, 460px) 1fr;
  gap: var(--pm-gap);
  min-height: 640px;
}

.pm-hero__panel {
  display: flex;
  flex-direction: column;
  padding: 24px;
  color: #fff;
  background: linear-gradient(160deg, #333 0%, #1c1c1c 100%);
}

.pm-hero__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  color: #fff;
  background: rgba(200, 162, 107, .12);
  border: none;
  border-radius: 999px;
}

.pm-hero__badge svg { flex-shrink: 0; }

.pm-hero__title {
  margin: 12px 0;
  font-size: 32px;
  line-height: 1.45;
  font-weight: 400;
  color: #fff;
}

.pm-hero__desc {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .7);
}

.pm-hero__features {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pm-hero__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 12px;
  font-size: 14px;
  line-height: 1;
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pm-hero__feature svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--pm-gold);
}

.pm-hero__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pm-hero__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 22px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background .25s;
}

.pm-hero__btn svg {
  width: 20px;
  height: 20px;
  transition: transform .25s;
}

.pm-hero__btn:hover svg { transform: translateX(-4px); }

.pm-hero__btn--primary {
  background: var(--pm-gold);
  color: #fff;
}
.pm-hero__btn--primary:hover { background: var(--pm-gold-dark); color: #fff; }

.pm-hero__btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
}
.pm-hero__btn--ghost:hover { background: rgba(255, 255, 255, .14); }

.pm-hero__media {
  position: relative;
  margin: 0;
  background: #222;
}

.pm-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================
   Categories
   ========================================= */
.pm-cats {
  --pm-gold: #c8a26b;
  --pm-dark: #1c1c1c;
  max-width: 1520px;
  margin: 48px auto;
  padding: 0 16px;
  font-family: var(--font-main), sans-serif;
}

.pm-cats__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.pm-cats__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8a8a8a;
}

.pm-cats__eyebrow svg { flex-shrink: 0; }

.pm-cats__title {
  margin: 12px 0 0;
  font-family: 'Almarai', var(--font-main), sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  text-align: right;
  color: #000;
}

.pm-cats__all {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--pm-dark);
  text-decoration: none;
  transition: color .25s;
}

.pm-cats__all svg {
  width: 18px;
  height: 18px;
  transition: transform .25s;
}

.pm-cats__all:hover { color: var(--pm-gold); }
.pm-cats__all:hover svg { transform: translateX(-4px); }

.pm-cats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.pm-cat {
  display: flex;
  height: 280px;
  background: #fff;
  border: 1px solid #ececec;
  text-decoration: none;
  overflow: hidden;
  transition: border-color .25s;
}

.pm-cat__label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 15px;
  color: var(--pm-dark);
  border-left: 1px solid #ececec;
  white-space: nowrap;
  transition: color .25s, background .25s;
}

.pm-cat__media {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.pm-cat__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.pm-cat:hover { border-color: var(--pm-gold); }
.pm-cat:hover .pm-cat__label { color: #fff; background: var(--pm-gold); }
.pm-cat:hover .pm-cat__media img { transform: scale(1.06); }

/* =========================================
   Features (توصيل / ضمان / استبدال)
   ========================================= */
.pm-feat {
  --pm-gold: #b8976c;
  --pm-beige: #f6f3ee;
  max-width: 1824px;
  width: calc(100% - 32px);
  margin: 48px auto;
  padding: 40px 16px;
  background: #fff;
  border-radius: 16px;
  font-family: var(--font-main), sans-serif;
}

.pm-feat__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1520px;
  margin: 0 auto;
}

.pm-feat__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 20px;
  text-align: center;
  background: var(--pm-beige);
  border-radius: 8px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.pm-feat__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .25);
}

.pm-feat__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
  color: var(--pm-gold);
  background: #fff;
  border-radius: 8px;
}

.pm-feat__icon svg {
  width: 20px;
  height: 20px;
}

.pm-feat__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
}

.pm-feat__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #6b6b6b;
}

/* =========================================
   Testimonials → Why Us (لماذا قطعة رخام)
   ========================================= */
.pm-testi {
  --pm-gold: #b8976c;
  --pm-beige: #f6f3ee;
  max-width: 1520px;
  margin: 48px auto;
  padding: 0 16px;
  font-family: var(--font-main), sans-serif;
}

.pm-testi__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  text-align: center;
}

.pm-testi__eyebrow {
  font-size: 12px;
  color: #9a9a9a;
}

.pm-testi__title {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.45;
  color: #000;
}

.pm-testi__sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #6b6b6b;
}

.pm-testi__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pm-testi__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  transition: border-color .25s, box-shadow .25s;
}

.pm-testi__card:hover {
  border-color: var(--pm-gold);
  box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .2);
}

.pm-testi__stars {
  display: flex;
  gap: 2px;
}

.pm-testi__stars svg {
  width: 14px;
  height: 14px;
  fill: var(--pm-gold);
}

.pm-testi__quote {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

.pm-testi__author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.pm-testi__avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 12px;
  font-weight: 700;
  color: var(--pm-gold);
  background: var(--pm-beige);
  border-radius: 6px;
}

.pm-testi__avatar svg {
  width: 18px;
  height: 18px;
}

.pm-testi__name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #000;
}

.pm-testi__meta {
  display: block;
  font-size: 12px;
  color: #8a8a8a;
}

/* =========================================
   Trust Bar (شريط الثقة)
   ========================================= */
.pm-trust {
  --pm-gold: #b8976c;
  --pm-beige: #f3f0ea;
  max-width: 1520px;
  margin: 24px auto 48px;
  padding: 0 16px;
  font-family: var(--font-main), sans-serif;
}

.pm-trust__bar {
  list-style: none;
  margin: 0;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px 32px;
  background: var(--pm-beige);
  border-radius: 8px;
}

.pm-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
}

.pm-trust__item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--pm-gold);
}

/* =========================================
   Products Sections — الغلاف والجريد (الرئيسية بس)
   ========================================= */
:is(section[component-id="1069214773"], section[component-id="1608834904"]) {
  max-width: 1824px !important;
  width: calc(100% - 32px) !important;
  margin: 48px auto !important;
  padding: 40px 16px !important;
  background: #fff;
  border-radius: 16px;
  font-family: var(--font-main), sans-serif;
}

/* المحتوى الداخلي 1520 */
:is(section[component-id="1069214773"], section[component-id="1608834904"]) > .s-block__title,
:is(section[component-id="1069214773"], section[component-id="1608834904"]) > salla-products-list {
  display: block;
  width: 100%;
  max-width: 1520px;
  margin-inline: auto;
}

/* الهيدر */
:is(section[component-id="1069214773"], section[component-id="1608834904"]) > .s-block__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px !important;
}

:is(section[component-id="1069214773"], section[component-id="1608834904"]) .s-block__title h2 {
  margin: 0;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.5;
  color: #000;
}

:is(section[component-id="1069214773"], section[component-id="1608834904"]) .s-block__display-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #6b6b6b;
  transition: color .25s;
}

:is(section[component-id="1069214773"], section[component-id="1608834904"]) .s-block__display-all:hover { color: var(--color-primary); }

/* الجريد */
:is(section[component-id="1069214773"], section[component-id="1608834904"]) .s-products-list-wrapper,
:is(section[component-id="1069214773"], section[component-id="1608834904"]) .s-products-list-vertical-cards {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px !important;
  width: 100%;
}

/* =========================================
   Slider with Background (منتجات متحركة مع خلفية)
   ========================================= */
section[component-id="1445593549"] .slider-bg {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #B8976C 0%, rgba(219, 168, 97, 0) 100%),
    url('https://cdn.files.salla.network/other/347523415/50bd2642-dfe7-4233-a453-d35b728e64e7-original.webp') center / cover no-repeat lightgray !important;
}

/* =========================================
   Product Card — عام على كل صفحات المتجر
   (ما عدا الكروت الأفقية زي اللي في السلة)
   ========================================= */

/* أي سلايدر منتجات: الشرائح تاخد طول متساوي */
salla-products-slider .swiper-slide {
  height: auto !important;
}

/* أي جريد منتجات: الكروت تتمط بطول الصف */
.s-products-list-wrapper,
.s-products-list-vertical-cards {
  align-items: stretch !important;
}

body .s-product-card-entry:not(.s-product-card-horizontal) {
  position: relative;
  display: flex !important;
  flex-direction: column;
  height: 100% !important;
  min-height: 0 !important;
  padding: 12px !important;
  background: #fff !important;
  border: 1px solid #ececec !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  overflow: hidden;
  font-family: var(--font-main), sans-serif;
  transition: border-color .25s, box-shadow .25s;
}

body .s-product-card-entry:not(.s-product-card-horizontal):hover {
  border-color: var(--color-primary) !important;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .15) !important;
}

/* الصورة (الافتراضي: ريسبونسف) */
body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-image {
  flex-shrink: 0;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 4 / 3;
  background: #fff !important;
  border-radius: 4px;
  overflow: hidden;
}

body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-image a {
  display: block;
  width: 100%;
  height: 100% !important;
}

body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-image img {
  width: 100%;
  height: 100% !important;
  object-fit: contain !important;
  transition: transform .4s ease;
}

body .s-product-card-entry:not(.s-product-card-horizontal):hover .s-product-card-image img {
  transform: scale(1.04);
}

/* البادج (الأكثر طلبًا / شحن مجاني) */
body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-promotion-title {
  top: 12px !important;
  right: 12px !important;
  padding: 3px 8px !important;
  font-size: 11px !important;
  line-height: 1.4;
  border-radius: 2px !important;
}

/* زرار المفضلة: الغلاف للمكان بس */
body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-wishlist-btn {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  z-index: 2;
}

/* زرار المفضلة: الدايرة على الـ button نفسه */
body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-wishlist-btn button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 28px !important;
  height: 28px !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #fff !important;
  border: 1px solid #ececec !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}

body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-wishlist-btn button i {
  font-size: 14px;
}

/* المحتوى */
body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-content {
  display: flex !important;
  flex-direction: column;
  flex: 1 !important;
  padding: 12px 0 0 !important;
}

body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-content-subtitle {
  display: none !important;
}

/* العنوان */
body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-content-title {
  margin-bottom: 8px;
  min-height: 0 !important;
}

body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-content-title,
body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-content-title a {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: #000 !important;
}

body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-content-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* السعر */
body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-starting-price {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #000;
}

body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-starting-price h4,
body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-price {
  margin: 0;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #a23b2a !important;
}

/* زرار السلة: يتزق لآخر الكارت */
body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-content-footer {
  margin-top: auto !important;
  padding-top: 12px !important;
}

body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-content-footer salla-add-product-button,
body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-content-footer salla-button {
  display: block;
  width: 100%;
}

body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-content-footer button {
  width: 100% !important;
  height: 40px !important;
  font-size: 14px !important;
  color: #fff !important;
  background: var(--color-primary) !important;
  border: none !important;
  border-radius: 999px !important;
  transition: background .25s;
}

body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-content-footer button:hover {
  background: var(--color-primary-dark) !important;
}

/* =========================================
   Wide Banner (بانر عريض)
   ========================================= */
section[component-id="1763322582"] {
  margin: 48px auto !important;
}

section[component-id="1763322582"] > .container {
  max-width: 1820px !important;
  width: 100% !important;
  padding: 0 16px !important;
  margin: 0 auto !important;
}

section[component-id="1763322582"] .banner {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

section[component-id="1763322582"] .banner img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
}

/* =========================================
   Square Banners → Promo Grid (صور مربعة)
   ========================================= */
section[component-id="354120979"] {
  max-width: 1820px !important;
  width: 100% !important;
  margin: 48px auto !important;
  padding: 0 16px !important;
}

section[component-id="354120979"] > .grid {
  display: grid !important;
  grid-template-columns: 1fr 548px 1fr !important;
  grid-template-rows: repeat(2, 280px) !important;
  grid-auto-flow: row !important;
  gap: 16px !important;
}

/* الكروت */
section[component-id="354120979"] .banner-entry {
  position: relative;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  background-color: #111;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-radius: 12px !important;
  overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease;
}

section[component-id="354120979"] .banner-entry:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .35);
}

/* إخفاء الكلام والـ overlay */
section[component-id="354120979"] .banner-entry__text { display: none !important; }

section[component-id="354120979"] .banner-entry::before,
section[component-id="354120979"] .banner-entry::after {
  display: none !important;
}

/* التوزيع: 1 الكبير في النص، 2 و3 يمين، 4 و5 شمال */
section[component-id="354120979"] .banner-entry:nth-child(1) { grid-column: 2 !important; grid-row: 1 / span 2 !important; }
section[component-id="354120979"] .banner-entry:nth-child(2) { grid-column: 1 !important; grid-row: 1 !important; }
section[component-id="354120979"] .banner-entry:nth-child(3) { grid-column: 1 !important; grid-row: 2 !important; }
section[component-id="354120979"] .banner-entry:nth-child(4) { grid-column: 3 !important; grid-row: 1 !important; }
section[component-id="354120979"] .banner-entry:nth-child(5) { grid-column: 3 !important; grid-row: 2 !important; }

/* =========================================
   Responsive
   ========================================= */

/* الشاشات الكبيرة: كارت 470 والصورة تملا الباقي */
@media (min-width: 1025px) {
  body .s-product-card-entry:not(.s-product-card-horizontal) {
    height: 470px !important;
  }
  body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-image {
    flex: 1 1 auto !important;
    min-height: 275px !important;
    aspect-ratio: auto !important;
  }
  body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-content {
    flex: none !important;
  }
}

@media (max-width: 1280px) {
  .pm-cats__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 24px) / 4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .pm-cats__grid::-webkit-scrollbar { display: none; }
  .pm-cat { scroll-snap-align: start; }

  /* Promo: الأولى فوق بعرض كامل، والباقي 2×2 */
  section[component-id="354120979"] > .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: 360px repeat(2, 240px) !important;
  }
  section[component-id="354120979"] .banner-entry:nth-child(1) { grid-column: 1 / -1 !important; grid-row: 1 !important; }
  section[component-id="354120979"] .banner-entry:nth-child(2) { grid-column: 1 !important; grid-row: 2 !important; }
  section[component-id="354120979"] .banner-entry:nth-child(3) { grid-column: 2 !important; grid-row: 2 !important; }
  section[component-id="354120979"] .banner-entry:nth-child(4) { grid-column: 1 !important; grid-row: 3 !important; }
  section[component-id="354120979"] .banner-entry:nth-child(5) { grid-column: 2 !important; grid-row: 3 !important; }
}

@media (max-width: 1024px) {
  :is(section[component-id="1069214773"], section[component-id="1608834904"]) .s-products-list-wrapper,
  :is(section[component-id="1069214773"], section[component-id="1608834904"]) .s-products-list-vertical-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  /* Hero */
  .pm-hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .pm-hero__media { order: -1; aspect-ratio: 16 / 10; }
  .pm-hero__panel { padding: 20px; }
  .pm-hero__title { font-size: 26px; }
  .pm-hero__desc { font-size: 15px; margin-bottom: 18px; }
  .pm-hero__features { margin-bottom: 18px; }
  .pm-hero__feature { font-size: 13px; }
  .pm-hero__btn { font-size: 15px; padding: 14px 20px; }

  /* Categories */
  .pm-cats { margin: 32px auto; }
  .pm-cats__title { font-size: 18px; }
  .pm-cats__grid { grid-auto-columns: calc((100% - 8px) / 2.3); }
  .pm-cat { height: 240px; }
  .pm-cat__label { width: 40px; font-size: 14px; }

  section[component-id="354120979"] { margin: 32px auto !important; }

  /* Testimonials */
  .pm-testi { margin: 32px auto; }
  .pm-testi__title { font-size: 24px; }
  .pm-testi__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 16px) / 1.6);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .pm-testi__grid::-webkit-scrollbar { display: none; }
  .pm-testi__card { scroll-snap-align: start; }
}

@media (max-width: 768px) {
  :is(section[component-id="1069214773"], section[component-id="1608834904"]) {
    margin: 32px auto !important;
    padding: 24px 12px !important;
    border-radius: 12px;
  }
  :is(section[component-id="1069214773"], section[component-id="1608834904"]) .s-block__title h2 { font-size: 18px !important; }
  :is(section[component-id="1069214773"], section[component-id="1608834904"]) .s-products-list-wrapper,
  :is(section[component-id="1069214773"], section[component-id="1608834904"]) .s-products-list-vertical-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;
  }

  section[component-id="1763322582"] { margin: 32px auto !important; }
  section[component-id="1763322582"] .banner { border-radius: 8px; }

  /* Promo: كل صورة في صف لوحدها وتظهر كاملة */
  section[component-id="354120979"] > .grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
    grid-auto-rows: auto !important;
    gap: 12px !important;
  }
  section[component-id="354120979"] .banner-entry:nth-child(n) {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  section[component-id="354120979"] .banner-entry {
    height: auto !important;
    aspect-ratio: 9 / 5;
    background-size: cover !important;
    background-color: transparent !important;
    border-radius: 8px !important;
  }
  section[component-id="354120979"] .banner-entry:nth-child(1) {
    aspect-ratio: 548 / 576;
  }

  /* Features */
  .pm-feat {
    margin: 32px auto;
    padding: 24px 12px;
    border-radius: 12px;
  }
  .pm-feat__inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pm-feat__card { padding: 20px 16px; }

  /* Trust Bar: تحت بعض */
  .pm-trust { margin: 16px auto 32px; }
  .pm-trust__bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 12px;
  }
}

@media (max-width: 575px) {
  .pm-cats__head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .pm-cats__grid { grid-auto-columns: 75%; }

  body .s-product-card-entry:not(.s-product-card-horizontal) { padding: 8px !important; }
  body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-content-title,
  body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-content-title a { font-size: 13px !important; }
  body .s-product-card-entry:not(.s-product-card-horizontal) .s-product-card-content-footer button {
    height: 36px !important;
    font-size: 13px !important;
  }

  .pm-feat__title { font-size: 15px; }

  .pm-testi__title { font-size: 22px; }
  .pm-testi__grid { grid-auto-columns: 85%; }
}