/* Add custom CSS styles below */ 

/* Paris Najd: keep WhatsApp clear of mobile product controls. */
@media (max-width: 767px) {
  body:is(.product-single, .index, .product-index):has(.mobile-bottom-bar) #rasil-wa-widget-host {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.product-single .sticky-product-bar.is-visible {
    anchor-name: --pn-product-buy-bar;
  }

  body.product-single:has(.sticky-product-bar.is-visible) #rasil-wa-widget-host {
    bottom: calc(204px + env(safe-area-inset-bottom, 0px)) !important;
  }

  @supports (bottom: anchor(--pn-product-buy-bar top)) {
    body.product-single:has(.sticky-product-bar.is-visible) #rasil-wa-widget-host {
      bottom: calc(anchor(--pn-product-buy-bar top, 192px) + 12px) !important;
    }
  }
}

/* Paris Najd: hide the product tag row, including its separators. */
body.product-single .main-content > div:has(> a:is([href*="/tag-"], [href*="/tag/"])):not(:has(> :not(a:is([href*="/tag-"], [href*="/tag/"])))) {
  display: none !important;
}

/* Paris Najd | Raed storefront styles migrated from Twig, 26 Nov 2026 */
body, body > .app-inner { background-color: #faf7f2 !important; }

body .s-product-card.s-product-card-entry {
  background: #fff !important; border: 1px solid #eae3d9 !important; border-radius: 12px !important;
  box-shadow: none !important; overflow: hidden;
}
body .s-product-card-content-title a { color: #22201d !important; line-height: 1.6; }
body .s-product-card-entry .s-product-card-sale-price h4 { color: #982f37 !important; font-weight: 700; }
.s-product-card-entry salla-add-product-button button:is(.s-button-primary, .s-button-primary-outline) {
  background-color: #34271e !important; border-color: #34271e !important; color: #fff !important;
  min-height: 44px; border-radius: 8px;
}
.s-product-card-entry salla-add-product-button button:is(.s-button-primary, .s-button-primary-outline):hover {
  background-color: #49372a !important; border-color: #49372a !important;
}

/* Fixed banner and four illustrated category links */
.s-block--fixed-banner { margin-top: 24px; }
.s-block--fixed-banner .banner--fixed img {
  display: block; width: 100%; height: auto; aspect-ratio: auto 1440 / 799; object-fit: contain;
}
.s-block--enhanced-square-banners > .grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none;
  grid-auto-rows: auto; gap: 16px;
}
.s-block--enhanced-square-banners .banner-entry {
  grid-column: auto !important; grid-row: auto !important; height: auto !important;
  min-height: 0; aspect-ratio: 640 / 427; background-size: contain !important;
  background-position: center; background-repeat: no-repeat; background-color: #f3ede4; border-radius: 12px;
}
.s-block--enhanced-square-banners .banner-entry[aria-label] .banner-entry__text,
.s-block--enhanced-square-banners .banner-entry.has-overlay::after { display: none; }

/* Fixed product lists. The first list after the banner is the best-sellers block. */
.s-block--fixed-products .s-products-list-wrapper { gap: 16px; }
.s-block--fixed-banner + .s-block--fixed-products {
  --pn-feature-cols: 3; --pn-feature-row: 420px; --pn-feature-image: 240px; --pn-list-min: 856px;
}
.s-block--fixed-banner + .s-block--fixed-products :is(.s-products-list-wrapper, .s-skeleton-products-list-grid-4) {
  display: grid; grid-template-columns: repeat(var(--pn-feature-cols), minmax(0, 1fr));
  grid-auto-rows: minmax(var(--pn-feature-row), auto); min-height: var(--pn-list-min);
}
.s-block--fixed-banner + .s-block--fixed-products .s-product-card-entry {
  display: flex; flex-direction: column; height: 100%; min-height: 0; box-sizing: border-box;
}
.s-block--fixed-banner + .s-block--fixed-products .s-product-card-image {
  height: var(--pn-feature-image); min-height: var(--pn-feature-image); max-height: var(--pn-feature-image);
  padding-bottom: 0 !important; flex-shrink: 0;
}
.s-block--fixed-banner + .s-block--fixed-products .s-product-card-image > a,
.s-block--fixed-banner + .s-block--fixed-products .s-product-card-image > a > div:has(> img) {
  display: block; height: 100%; width: 100%;
}
@media (max-width: 767px) {
  .s-block--fixed-products .s-product-card-content-footer salla-add-product-button button.s-button-primary {
    padding-inline: 4px !important;
  }
  .s-block--fixed-products .s-product-card-content-footer salla-add-product-button .s-button-text {
    font-size: 13px; white-space: normal; line-height: 24px; text-align: center; overflow: visible;
  }
}

/* Paris Najd: display the existing store details above mobile navigation. */
@media (max-width: 1023px) {
  footer.store-footer > .store-footer__inner { display: block !important; }
  footer.store-footer > .store-footer__bottom { display: block !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  footer.store-footer > .store-footer__bottom { display: flex !important; }
}
.s-block--fixed-banner + .s-block--fixed-products .s-product-card-image img {
  display: block; width: 100%; height: 100%; object-fit: contain;
}
.s-block--fixed-banner + .s-block--fixed-products .s-product-card-content {
  display: flex; flex-direction: column; flex: 1; min-height: 0;
}
.s-block--fixed-banner + .s-block--fixed-products .s-product-card-content-main { min-height: 3.2em; }
.s-block--fixed-banner + .s-block--fixed-products .s-product-card-content-subtitle { display: none; }
.s-block--fixed-banner + .s-block--fixed-products .s-product-card-content-footer { margin-top: auto; }

@media (min-width: 1024px) {
  .s-block--fixed-products .s-products-list-wrapper { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .s-block--fixed-banner + .s-block--fixed-products {
    --pn-feature-cols: 2; --pn-feature-row: 360px; --pn-feature-image: 176px; --pn-list-min: 1100px;
  }
  .s-block--fixed-products .s-products-list-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px !important; }
  .s-block--enhanced-square-banners > .grid { gap: 10px; }
  body .s-product-card-entry .s-product-card-content-title a { font-size: 13px !important; }
}
@media (max-width: 768px) {
  div[style*="fe8f5eb8-ac6c-4c8c-bd47-857f96ccedf0_1440x576.webp"] {
    background-size: contain !important; background-position: center !important; background-repeat: no-repeat !important;
  }
}

/* Desktop header, including the hidden width-measurement copy of the main menu */
.site-header__brand, .site-header__brand > img {
  width: 48px; height: 48px; flex-shrink: 0;
}
body .site-header__brand > img { display: block; width: 48px !important; height: 48px !important; max-height: 48px !important; max-width: 48px !important; object-fit: contain; }
body .main-menu > li.s-menu-root-level:has(> a[href$="/blog"]),
body .main-menu > li.s-menu-root-level:has(> a[href$="/c47318165"]),
body .main-menu > li.s-menu-root-level:has(> a[href$="/c745719066"]) { display: none !important; }

/* Static reviews, scoped to the reviews carousel, never the product gallery */
.s-block--custom-testimonials .scroll-carousel__track {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  overflow: visible; scroll-snap-type: none; width: 100%; box-sizing: border-box;
}
.s-block--custom-testimonials .testimonial-card {
  width: 100%; min-width: 0; max-width: none; margin: 0; box-sizing: border-box;
  height: 100%; opacity: 1; border: 1px solid #eae3d9; border-radius: 12px; padding: 24px;
}
.s-block--custom-testimonials .testimonial-card { width: 100%; height: 100%; padding: 24px; border: 1px solid #eae3d9; border-radius: 12px; }
.s-block--custom-testimonials .testimonial-card__text { display: block; text-align: start; }
.s-block--custom-testimonials .testimonial-card__stars { display: inline-flex; }
.s-block--custom-testimonials .testimonial-card__person { display: flex; align-items: center; gap: 16px; }
.s-block--custom-testimonials .testimonial-card__avatar { flex-shrink: 0; }
.s-block--custom-testimonials .scroll-carousel__nav { display: none; }
@media (max-width: 767px) {
  .s-block--custom-testimonials .scroll-carousel__track { grid-template-columns: minmax(0, 1fr); }
}

/* Product page: retain title, price and description order, then purchase before installments. */
body.product-single .main-content:has(> form.product-form) { display: flex; flex-direction: column; }
body.product-single .main-content > div:has(h1) { margin-bottom: 12px; }
body.product-single .main-content > div:has(> salla-installment),
body.product-single .main-content > div:has(> salla-installment) ~ * { order: 2; }
body.product-single .main-content > form.product-form { order: 1; margin: 16px 0; }
body.product-single #product-1167194363 salla-bought-together { display: none !important; }
body.product-single:has(#product-1167194363) { font-family: Tahoma, Arial, sans-serif !important; }
body.product-single salla-installment img[alt="emkan"] {
  width: 133px; height: 61px; max-width: 100%; object-fit: contain; flex-shrink: 0;
}

body.product-single nav.breadcrumbs salla-breadcrumb { display: block; min-height: 24px; }
body.product-single nav.breadcrumbs .s-breadcrumb-wrapper {
  display: flex; flex-wrap: nowrap; align-items: center; height: 24px; overflow: hidden;
}
body.product-single nav.breadcrumbs .s-breadcrumb-item { white-space: nowrap; flex-shrink: 0; }
body.product-single nav.breadcrumbs .s-breadcrumb-item:last-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Reserve the first product image until the gallery initializes; respect its actual proportions. */
body.product-single .product-gallery salla-slider:not(.hydrated) { display: block; visibility: visible; }
body.product-single .product-gallery salla-slider:not(.hydrated) a[data-slid-index]:not([data-slid-index="0"]) { display: none; }
body.product-single .product-gallery salla-slider:not(.hydrated) a[data-slid-index="0"] { display: block; visibility: visible; }
body.product-single .product-gallery a[data-slid-index] img:is([src*="-562."][src*="x1000-"], [src*="-562x1000-"]) {
  display: block; width: 100%; height: auto; aspect-ratio: auto 562 / 1000; object-fit: contain;
}
#details-slider-1167194363 a[data-slid-index] img { display: block; width: 100%; height: auto; aspect-ratio: auto 3 / 2; object-fit: contain; }
#details-slider-1167194363:not(.hydrated) a[data-slid-index="0"] img { visibility: visible; }

/* Match the loading placeholder to the verified portrait product photography. */
@media (max-width: 767px) {
  html:has(head link[rel="canonical"]:is([href$="/p1022510748"], [href$="/p638883738"], [href$="/p1805642823"], [href$="/p1889626640"], [href$="/p2132449491"], [href$="/p1476022689"], [href$="/p167695106"], [href$="/p1127892087"], [href$="/p1048196613"], [href$="/p2032615667"], [href$="/p1395562372"], [href$="/p2088794953"], [href$="/p1588071130"], [href$="/p675155096"], [href$="/p2075439276"], [href$="/p41511205"], [href$="/p1187409082"], [href$="/p410425088"], [href$="/p783862246"], [href$="/p843743084"], [href$="/p1231100052"], [href$="/p86106650"], [href$="/p1309110922"], [href$="/p1153777752"], [href$="/p1048127297"], [href$="/p406358330"], [href$="/p212908936"], [href$="/p1505586489"], [href$="/p506137786"], [href$="/p237932974"], [href$="/p676502710"], [href$="/p290668048"], [href$="/p1331182236"], [href$="/p513786469"], [href$="/p1404435773"], [href$="/p1636001774"], [href$="/p344984032"], [href$="/p1874443510"], [href$="/p1689964651"], [href$="/p2132591280"], [href$="/p1847079859"], [href$="/p535038071"], [href$="/p13321984"], [href$="/p989242758"], [href$="/p1918267673"], [href$="/p1814707648"], [href$="/p374799453"], [href$="/p1868867442"], [href$="/p1873253679"], [href$="/p1101317253"], [href$="/p707219477"], [href$="/p1437400959"], [href$="/p435830618"], [href$="/p194293448"], [href$="/p1551761642"], [href$="/p873856326"], [href$="/p1225599445"], [href$="/p1677538014"], [href$="/p1522042626"], [href$="/p1159607262"], [href$="/p1370250237"], [href$="/p1845454953"], [href$="/p170713131"], [href$="/p2067501359"], [href$="/p2092495645"], [href$="/p1781735818"], [href$="/p1977803668"], [href$="/p193536049"], [href$="/p1833941696"], [href$="/p1624400587"], [href$="/p806423132"], [href$="/p1334292487"], [href$="/p1466555276"], [href$="/p1699259217"], [href$="/p1871772018"], [href$="/p33917856"], [href$="/p1368804408"], [href$="/p1143459000"], [href$="/p1938108812"], [href$="/p426389145"])) .product-gallery .s-skeleton-slider-image {
    aspect-ratio: 562 / 1000;
  }
}


/* Show the preloaded scrub photo while its mobile gallery initializes. */
@media (max-width: 767px) {
  html:has(head > link[rel="canonical"][href$="/p1476022689"]):has(head > link[rel="preload"][as="image"][href="https://cdn.salla.sa/WlDbaj/e7d95647-bbe8-4c05-a1a1-9bac3740c7f3-562.5x1000-6cP9WbumFs4um2pLhLbCWR4gvj1qmHEdPnuNAbYr.png"]) .product-gallery .s-skeleton-slider-image {
    background: transparent url("https://cdn.salla.sa/WlDbaj/e7d95647-bbe8-4c05-a1a1-9bac3740c7f3-562.5x1000-6cP9WbumFs4um2pLhLbCWR4gvj1qmHEdPnuNAbYr.png") center / contain no-repeat;
    animation: none;
  }
}

/* Reveal only the current preloaded product photos while the mobile slider hydrates. */
@media (max-width: 767px) {
  html:has(head > link[rel="canonical"][href$="/p876150360"]):has(head > link[rel="preload"][as="image"][href="https://cdn.salla.sa/WlDbaj/88e1c95e-82ea-41c1-8915-87323826000f-1000x1000-eHhnNRactk1RlNin2eDspQdOpSaXO8mNETlNSOgT.png"]) .product-gallery .s-skeleton-slider-image {
    background: transparent url("https://cdn.salla.sa/WlDbaj/88e1c95e-82ea-41c1-8915-87323826000f-1000x1000-eHhnNRactk1RlNin2eDspQdOpSaXO8mNETlNSOgT.png") center / contain no-repeat;
    animation: none;
  }
  html:has(head > link[rel="canonical"][href$="/p1661228980"]):has(head > link[rel="preload"][as="image"][href="https://cdn.salla.sa/WlDbaj/2a5743e3-1a86-489f-977a-9a56ab3d6230-1000x1000-0P5mcYvOwdHgIXsHzE1L0uPOMvaSgVxyTr7tzgNK.png"]) .product-gallery .s-skeleton-slider-image {
    background: transparent url("https://cdn.salla.sa/WlDbaj/2a5743e3-1a86-489f-977a-9a56ab3d6230-1000x1000-0P5mcYvOwdHgIXsHzE1L0uPOMvaSgVxyTr7tzgNK.png") center / contain no-repeat;
    animation: none;
  }
  html:has(head > link[rel="canonical"][href$="/p1679169493"]):has(head > link[rel="preload"][as="image"][href="https://cdn.salla.sa/WlDbaj/f71985db-d319-4c94-bd7d-13908d0f0504-1000x1000-Nvy2QQaxrtihyLB5QY62sY1pyhwkRxSkpdfP0miX.png"]) .product-gallery .s-skeleton-slider-image {
    background: transparent url("https://cdn.salla.sa/WlDbaj/f71985db-d319-4c94-bd7d-13908d0f0504-1000x1000-Nvy2QQaxrtihyLB5QY62sY1pyhwkRxSkpdfP0miX.png") center / contain no-repeat;
    animation: none;
  }
  html:has(head > link[rel="canonical"][href$="/p753146969"]):has(head > link[rel="preload"][as="image"][href="https://cdn.salla.sa/WlDbaj/38bca2d2-daf1-4a81-adee-6b63034562db-1000x1000-OwRzzUR4MPXVZSSs6YchL5GAsFqtl7xtpYfLbMcY.png"]) .product-gallery .s-skeleton-slider-image {
    background: transparent url("https://cdn.salla.sa/WlDbaj/38bca2d2-daf1-4a81-adee-6b63034562db-1000x1000-OwRzzUR4MPXVZSSs6YchL5GAsFqtl7xtpYfLbMcY.png") center / contain no-repeat;
    animation: none;
  }
  html:has(head > link[rel="canonical"][href$="/p1807025399"]):has(head > link[rel="preload"][as="image"][href="https://cdn.files.salla.network/other/657086009/a4900c61-366c-43e9-a383-4ec489995cf5-standard.webp"]) .product-gallery .s-skeleton-slider-image {
    background: transparent url("https://cdn.files.salla.network/other/657086009/a4900c61-366c-43e9-a383-4ec489995cf5-standard.webp") center / contain no-repeat;
    animation: none;
  }
  html:has(head > link[rel="canonical"][href$="/p2115254586"]):has(head > link[rel="preload"][as="image"][href="https://cdn.salla.sa/WlDbaj/c75e5cb6-7884-4a7a-ab1e-885efd346460-1000x1000-kvPaXAALk2tt7VPeqatMS0ru86yKpB5Wg72UMwsB.png"]) .product-gallery .s-skeleton-slider-image {
    background: transparent url("https://cdn.salla.sa/WlDbaj/c75e5cb6-7884-4a7a-ab1e-885efd346460-1000x1000-kvPaXAALk2tt7VPeqatMS0ru86yKpB5Wg72UMwsB.png") center / contain no-repeat;
    animation: none;
  }
  html:has(head > link[rel="canonical"][href$="/p917054083"]):has(head > link[rel="preload"][as="image"][href="https://cdn.files.salla.network/other/657086009/da3539b2-2ac8-4063-8595-fe49bf969442-standard.webp"]) .product-gallery .s-skeleton-slider-image {
    background: transparent url("https://cdn.files.salla.network/other/657086009/da3539b2-2ac8-4063-8595-fe49bf969442-standard.webp") center / contain no-repeat;
    animation: none;
  }
  html:has(head > link[rel="canonical"][href$="/p1412021497"]):has(head > link[rel="preload"][as="image"][href="https://cdn.salla.sa/WlDbaj/2686c68c-6f1c-401d-837b-8b8acbec5752-1000x1000-5p6eyUVi2IaqoiS5DnWaDNpERMdUINMv6kElPRT5.png"]) .product-gallery .s-skeleton-slider-image {
    background: transparent url("https://cdn.salla.sa/WlDbaj/2686c68c-6f1c-401d-837b-8b8acbec5752-1000x1000-5p6eyUVi2IaqoiS5DnWaDNpERMdUINMv6kElPRT5.png") center / contain no-repeat;
    animation: none;
  }
  html:has(head > link[rel="canonical"][href$="/p1679641403"]):has(head > link[rel="preload"][as="image"][href="https://cdn.salla.sa/WlDbaj/d7c647ce-dff5-483d-a86b-2f906a400e37-1000x1000-fnQyiaSi1cX3SmfQue1uBR7gCYus8AOttgnh2knw.png"]) .product-gallery .s-skeleton-slider-image {
    background: transparent url("https://cdn.salla.sa/WlDbaj/d7c647ce-dff5-483d-a86b-2f906a400e37-1000x1000-fnQyiaSi1cX3SmfQue1uBR7gCYus8AOttgnh2knw.png") center / contain no-repeat;
    animation: none;
  }
}

/* Paint each verified preloaded product image at its original proportions on mobile. */
@media (max-width: 767px) {
  html:has(head > link[rel="canonical"][href$="/p1727318920"]):has(head > link[rel="preload"][as="image"][href="https://cdn.salla.sa/WlDbaj/466c8897-03f5-4d13-b27e-c3893e08999b-1000x1000-GcX9hIn0xD92ySYmet7vDfIoe3mc64FkXNgSxeWP.png"]) .product-gallery .s-skeleton-slider-image {
    background: transparent url("https://cdn.salla.sa/WlDbaj/466c8897-03f5-4d13-b27e-c3893e08999b-1000x1000-GcX9hIn0xD92ySYmet7vDfIoe3mc64FkXNgSxeWP.png") center / contain no-repeat;
    animation: none;
  }
  html:has(head > link[rel="canonical"][href$="/p2000043032"]):has(head > link[rel="preload"][as="image"][href="https://cdn.salla.sa/WlDbaj/2e0e56a4-7d58-4aad-b3b4-13ccc99c498c-1000x1000-Sgnt0fMjt2cgACbRglAvKVlAkww77A1bTvYanzAR.png"]) .product-gallery .s-skeleton-slider-image {
    background: transparent url("https://cdn.salla.sa/WlDbaj/2e0e56a4-7d58-4aad-b3b4-13ccc99c498c-1000x1000-Sgnt0fMjt2cgACbRglAvKVlAkww77A1bTvYanzAR.png") center / contain no-repeat;
    animation: none;
  }
  html:has(head > link[rel="canonical"][href$="/p1519460296"]):has(head > link[rel="preload"][as="image"][href="https://cdn.salla.sa/WlDbaj/cbdb66dc-8ab4-44c6-b4f9-bf9e85bc7704-1000x1000-lxCb8Z02VmHUnJ1JbYxxmRd6NVUmcw74XG4AFxFg.png"]) .product-gallery .s-skeleton-slider-image {
    background: transparent url("https://cdn.salla.sa/WlDbaj/cbdb66dc-8ab4-44c6-b4f9-bf9e85bc7704-1000x1000-lxCb8Z02VmHUnJ1JbYxxmRd6NVUmcw74XG4AFxFg.png") center / contain no-repeat;
    animation: none;
  }
}

/* Apply the established product detail layout before body classes initialize. */
@media (max-width: 767px) {
  html:has(head > link[rel="canonical"]:is([href$="/p917054083"])) #main-content div[id^="product-"] > .main-content { display: flex; flex-direction: column; }
  html:has(head > link[rel="canonical"]:is([href$="/p917054083"])) #main-content div[id^="product-"] > .main-content > div:has(h1) { margin-bottom: 12px; }
  html:has(head > link[rel="canonical"]:is([href$="/p917054083"])) #main-content div[id^="product-"] > .main-content > div:has(> salla-installment),
  html:has(head > link[rel="canonical"]:is([href$="/p917054083"])) #main-content div[id^="product-"] > .main-content > div:has(> salla-installment) ~ * { order: 2; }
  html:has(head > link[rel="canonical"]:is([href$="/p917054083"])) #main-content div[id^="product-"] > .main-content > form.product-form { order: 1; margin: 16px 0; }
}

/* Keep only the lead photo in the mobile slider layout until Swiper initializes. */
@media (max-width: 767px) {
  html:has(head > link[rel="canonical"][href$="/p917054083"]) #details-slider-917054083:not(:has(a.swiper-slide-active)) a[data-slid-index]:not([data-slid-index="0"]) { display: none; }
  html:has(head > link[rel="canonical"][href$="/p917054083"]) #details-slider-917054083:not(:has(a.swiper-slide-active)) a[data-slid-index="0"] img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
}

/* Reserve product detail space before mobile installment widgets appear. */
@media (min-width: 375px) and (max-width: 430px) {
  #product-1290284222 > .main-content:not(:has(> div > salla-installment.hydrated:empty)),
  #product-1807025399 > .main-content:not(:has(> div > salla-installment.hydrated:empty)),
  #product-1272650585 > .main-content:not(:has(> div > salla-installment.hydrated:empty)),
  #product-1167194363 > .main-content:not(:has(> div > salla-installment.hydrated:empty)) { min-block-size: 760px; }
}

/* Keep mixed-ratio mobile galleries at the lead photo size until Swiper initializes. */
@media (max-width: 767px) {
  html:has(head > link[rel="canonical"][href$="/p724818689"]) #details-slider-724818689:not(:has(a.swiper-slide-active)) a[data-slid-index]:not([data-slid-index="0"]) { display: none; }
  html:has(head > link[rel="canonical"][href$="/p724818689"]) #details-slider-724818689:not(:has(a.swiper-slide-active)) a[data-slid-index="0"] img { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 962; object-fit: contain; }
}

/* Defer drawing product-page sections below the initial mobile viewport. */
@media (min-width: 360px) and (max-width: 430px) {
  html:has(head > link[rel="canonical"]:is([href$="/p2050780438"])) footer.store-footer { content-visibility: auto; contain-intrinsic-block-size: auto 808px; }
  html:has(head > link[rel="canonical"]:is([href$="/p503707739"])) footer.store-footer { content-visibility: auto; contain-intrinsic-block-size: auto 824px; }
  html:has(head > link[rel="canonical"]:is([href$="/p503707739"])) section.s-block--full-bg:has(salla-comments) { content-visibility: auto; contain-intrinsic-block-size: auto 258px; }
}

/* Draw optional product extras as they approach the mobile viewport. */
@media (min-width: 360px) and (max-width: 430px) {
  html:has(head > link[rel="canonical"]:is([href$="/p444102083"])) salla-verified-review.hydrated { content-visibility: auto; contain-intrinsic-block-size: auto 255px; }
}

/* Reserve product detail space before mobile installment widgets appear. */
@media (min-width: 375px) and (max-width: 430px) {
  #product-1815955670 > .main-content:not(:has(> div > salla-installment.hydrated:empty)) { min-block-size: 760px; }
}

/* Use a locally available Arabic-compatible font for the pilot desktop detail columns. */
@media (min-width: 1024px) {
  #product-1022510748 > .main-content { font-family: Tahoma, Arial, sans-serif; }
}