/* Show Air as part of the iPhone 17 group on the homepage. */
body.index main > section[data-live-block="1585877371"] {
  display: none !important;
}
body.index main > section[data-live-block="677621828"] .s-products-carousel__title {
  display: none !important;
}
body.index main > section[data-live-block="677621828"] {
  margin-block-start: 0 !important;
  padding-block-start: 0 !important;
}

/* Full product banners without a second text panel. */
body.index main section:is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"]) .s-photos-stage.is-single .s-photos-slider__slide::after {
 content: none !important;
 display: none !important;
}
body.index main section:is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"]) .s-photos-stage.is-single .s-photos-slider__slide > img {
 display: block !important;
 width: 100% !important;
 max-width: none !important;
 height: 100% !important;
 object-fit: contain !important;
}

/* Full artwork for product-section banners and visible mobile product photos. */
body.index main section[data-live-block]:is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"]) .s-photos-slider__slide {
 display: block !important;
}
body.index main section[data-live-block]:is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"]) .s-photos-slider__slide img {
 width: 100% !important;
 height: 100% !important;
 object-fit: contain !important;
}
@media (max-width: 767px) {
 body.index main section.s-block--products-slider[data-live-block] .s-product-card .s-product-card-image {
  height: auto !important;
  min-height: 112px !important;
  aspect-ratio: 1 / 1 !important;
  position: relative !important;
  padding: 0 !important;
 }
 body.index main section.s-block--products-slider[data-live-block] .s-product-card .s-product-card-image > a,
 body.index main section.s-block--products-slider[data-live-block] .s-product-card .s-product-card-image > a > div {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
 }
 body.index main section.s-block--products-slider[data-live-block] .s-product-card .s-product-card-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box;
  object-fit: contain !important;
 }
}

@media (max-width: 767px) {
 body.index #featured-products-default-0 .tabs__item .s-product-card-image {
  height: clamp(128px, 44vw, 240px) !important;
  min-height: clamp(128px, 44vw, 240px) !important;
 }
 body.index #featured-products-default-0 .tabs__item .s-product-card-image > a,
 body.index #featured-products-default-0 .tabs__item .s-product-card-image > a > div {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
 }
 body.index #featured-products-default-0 .tabs__item .s-product-card-image img {
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box;
  object-fit: contain !important;
 }
}
@media (max-width: 767px) {
  body.index main .s-product-card-vertical .s-product-card-image {
    height: clamp(128px, 44vw, 240px) !important;
    width: 100% !important;
  }
}

/* Homepage category tabs and mobile product cards. */
body.index #featured-products-default-0 .tabs {
 box-sizing: border-box;
 width: calc(100% - 24px) !important;
 max-width: 800px !important;
 margin-inline: auto !important;
 display: grid !important;
 grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
 justify-items: center;
}
body.index #featured-products-default-0 .tabs > .tab-trigger {
 width: 100% !important;
 max-width: 192px;
 min-width: 0 !important;
 justify-content: center;
 white-space: normal !important;
 text-align: center;
}
@media (max-width: 767px) {
 body.index #featured-products-default-0 .featured-products__layout { display: grid !important; min-width: 0; }
}
footer.store-footer salla-trust-badges:has(> img[alt="وثيقة العمل الحر"]) { display: none !important; }

/* Centered store logo in the footer. */
footer.store-footer .store-footer__brand { text-align:center; padding-inline:0; }
footer.store-footer .store-footer__logo { display:flex; justify-content:center; width:fit-content; margin:0 auto 12px !important; }
footer.store-footer .store-footer__logo img { display:block; width:clamp(76px,7vw,108px) !important; height:auto !important; max-height:108px !important; object-fit:contain; }
footer.store-footer .store-footer__desc { margin-inline:auto; }
footer.store-footer .store-footer__trust { justify-content:center; }

/* Remove the gap above the footer. */
.app-inner > footer.store-footer { margin-top:0 !important; }

/* Price prefix for iPhones with colour and capacity options. */
.s-product-card:is([data-product-id="866054313"],[data-product-id="1639043496"],[data-product-id="399815343"],[data-product-id="974099374"],[data-product-id="1283405475"],[data-product-id="507794860"],[data-product-id="1747023021"]) .s-product-card-price::before {
  content:"يبدأ من";
  margin-inline-end:.32em;
  font-size:.78em;
  font-weight:600;
}

/* Display the options message above iPhone card prices. */
.s-product-card:is([data-product-id="866054313"],[data-product-id="1639043496"],[data-product-id="399815343"],[data-product-id="974099374"],[data-product-id="1283405475"],[data-product-id="507794860"],[data-product-id="1747023021"]) .s-product-card-content-sub { flex-wrap:wrap; }
.s-product-card:is([data-product-id="866054313"],[data-product-id="1639043496"],[data-product-id="399815343"],[data-product-id="974099374"],[data-product-id="1283405475"],[data-product-id="507794860"],[data-product-id="1747023021"]) .s-product-card-content-sub::before {
  content:"اختر اللون والسعة المناسبة لك";
  display:block;
  flex:0 0 100%;
  color:#315d63;
  font-size:clamp(11px,1vw,13px);
  font-weight:600;
  line-height:1.5;
  margin-block-end:4px;
}

/* Consistent phone image frames in storefront product cards. */
body .app-inner main .s-product-card-vertical .s-product-card-image {
  position:relative;
  box-sizing:border-box;
  width:100%;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:1 / 1;
  padding:0 !important;
  background:#fff;
}
body .app-inner main .s-product-card-vertical .s-product-card-image > a,
body .app-inner main .s-product-card-vertical .s-product-card-image > a > div {
  display:block;
  width:100%;
  height:100% !important;
  min-height:0;
  aspect-ratio:auto !important;
}
body .app-inner main .s-product-card-vertical .s-product-card-image img {
  display:block;
  box-sizing:border-box;
  width:100% !important;
  height:100% !important;
  padding:clamp(8px,1.2vw,15px) !important;
  object-fit:contain !important;
  object-position:center !important;
}
@media(min-width:1024px) {
  body .app-inner main .s-product-card-vertical .s-product-card-image {
    block-size:236px !important;
    max-block-size:236px !important;
  }
}

/* Homepage and category navigation: newest to oldest. */
body.index .app-inner > main { display:flex; flex-direction:column; }
body.index main > [data-live-block="204097788"] { order:1; }
body.index main > [data-live-block="1505249970"] { order:2; }
body.index main > [data-live-block="1344707170"] { order:3; }
body.index main > [data-live-block="1162671742"] { order:4; }
body.index main > [data-live-block="993952999"] { order:5; }
body.index main > [data-live-block="1626748024"] { order:6; }
body.index main > [data-live-block="213414522"] { order:7; }
body.index main > [data-live-block="1585877371"] { order:8; }
body.index main > [data-live-block="677621828"] { order:9; }
body.index main > [data-live-block="147398246"] { order:10; }
body.index main > [data-live-block="1519795559"] { order:11; }
[data-live-block="1505249970"] > .tabs > .tab-trigger:nth-child(2) { order:1; }
[data-live-block="1505249970"] > .tabs > .tab-trigger:nth-child(4) { order:2; }
[data-live-block="1505249970"] > .tabs > .tab-trigger:nth-child(3) { order:3; }
[data-live-block="1505249970"] > .tabs > .tab-trigger:nth-child(1) { order:4; }
.site-nav-drawer__list { display:flex; flex-direction:column; }
.site-nav-drawer__list > li:has(a[href$="/p1283405475"]) { order:1; }
.site-nav-drawer__list > li:has(a[href$="/p507794860"]) { order:2; }
.site-nav-drawer__list > li:has(a[href$="/p1747023021"]) { order:3; }
.site-nav-drawer__list > li:has(a[href$="/p1639043496"]) { order:4; }
.site-nav-drawer__list > li:has(a[href$="/p866054313"]) { order:5; }
.site-nav-drawer__list > li:has(a[href$="/p399815343"]) { order:6; }
.site-nav-drawer__list > li:has(a[href$="/p974099374"]) { order:7; }

/* Centered section navigation */
main > [data-live-block="1505249970"] {
  background:transparent !important;
}
main > [data-live-block="1505249970"] > .tabs {
  box-sizing:border-box;
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  width:min(100%,640px) !important;
  max-width:640px !important;
  margin:0 auto !important;
  padding:6px !important;
  gap:5px !important;
  transform:none !important;
  background:#d8efed;
  border:1px solid #c4e4e2;
  border-radius:12px;
}
main > [data-live-block="1505249970"] > .tabs .tab-trigger {
  box-sizing:border-box;
  width:100% !important;
  min-width:0 !important;
  min-height:40px;
  margin:0 !important;
  padding:6px 2px !important;
  border-radius:8px;
  text-align:center;
  white-space:nowrap;
}

/* Consistent widths and spacing for banner/product pairs */
main > :is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"],[data-live-block="993952999"],.s-block--products-slider,[data-mahloolah-section-menu]) {
  width:min(1280px,calc(100% - 48px)); max-width:1280px; margin-inline:auto;
}
main > [data-mahloolah-section-menu] .featured-products__layout { display:none; }
main > [data-mahloolah-section-menu] { margin-block:14px 22px; padding-inline:0; }
main > :is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"]) {
  margin-block:22px 0; scroll-margin-top:110px;
}
main > .s-block--products-slider { margin-block:10px 30px; }
main > :is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"]) .s-photos-stage__viewport {
  overflow:hidden; border-radius:13px;
}
main > :is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"]) .s-photos-stage__viewport::after {
  border-radius:inherit;
}
@media(min-width:1024px) {
  main > :is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"]) .s-photos-stage__viewport {
    height:clamp(250px,23vw,320px);
  }
}
@media(max-width:767px) {
  main > :is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"],[data-live-block="993952999"],.s-block--products-slider,[data-mahloolah-section-menu]) {
    width:calc(100% - 24px);
  }
  main > .s-block--products-slider { margin-block:8px 22px; }
  main > [data-mahloolah-section-menu] { margin-block:8px 14px; }
}

@media(min-width:1024px) {
  main :is(.s-block--featured-products,.s-block--products-slider) .s-product-card-image {
    padding-block:0 !important;
    block-size:clamp(172px,17vw,236px) !important;
    max-block-size:236px !important;
  }
}
/* Balanced desktop storefront */
@media(min-width:1024px) {
  main > :is(.s-block--featured-products,.s-block--products-slider) {
    width:min(calc(100% - 72px),1280px);
    margin-inline:auto;
    margin-block:24px 42px;
  }
  main .s-block--featured-products > .tabs {
    display:flex; flex-wrap:wrap; justify-content:center; gap:8px;
    padding:8px 12px; margin:0 auto 16px; border-radius:12px;
  }
  main :is(.s-block--featured-products,.s-block--products-slider) .s-product-card {
    max-width:280px;
    min-width:0;
    margin-inline:auto;
  }
  main :is(.s-block--featured-products,.s-block--products-slider) .s-product-card-image {
    height:clamp(172px,17vw,236px) !important;
    min-height:0 !important;
    background:#fff;
  }
  main :is(.s-block--featured-products,.s-block--products-slider) .s-product-card-image a,
  main :is(.s-block--featured-products,.s-block--products-slider) .s-product-card-image a > div {
    width:100%; height:100% !important; min-height:0 !important; aspect-ratio:auto !important;
  }
  main :is(.s-block--featured-products,.s-block--products-slider) .s-product-card-image img {
    width:100%; height:100%; padding:12px; box-sizing:border-box; object-fit:contain !important;
  }
  main :is(.s-block--featured-products,.s-block--products-slider) .s-product-card-content {
    display:flex; flex-direction:column; justify-content:space-between; min-height:118px; padding-inline:6px;
  }
  main .s-block--products-slider .s-products-carousel__slide { flex-basis:min(280px,calc(25% - 16px)); }
  main .s-block--products-slider .scroll-carousel__track { gap:clamp(12px,1.5vw,22px); }
  main .s-block--products-slider .s-products-carousel__title { font-size:22px; }
  main :is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"]) .s-photos-stage__viewport {
    height:clamp(245px,24vw,360px);
  }
  main :is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"]) .s-photos-stage__track,
  main :is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"]) .s-photos-slider__slide { height:100% !important; }
  main [data-live-block="993952999"] { max-width:1280px; margin:28px auto; }
  body.product-single main > .container { max-width:1240px; }
  body.product-single .product-gallery .details-slider .magnify-wrapper > div { max-height:500px; }
  body.product-single .product-gallery .details-slider .magnify-wrapper img { max-height:500px; }
}

/* Mobile footer layout */
@media(max-width:767px) {
  footer.store-footer { margin-top:20px; padding-bottom:calc(56px + env(safe-area-inset-bottom,0px)); background:#e8f5f3; }
  footer.store-footer .store-footer__inner { padding-block:14px; }
  footer.store-footer .store-footer__inner > .container { grid-template-columns:minmax(0,1fr); gap:10px; padding-inline:12px; }
  footer.store-footer .store-footer__brand { grid-column:auto; text-align:center; padding:10px 6px; }
  footer.store-footer .store-footer__brand img { margin-inline:auto; }
  footer.store-footer .store-footer__desc { margin:8px auto; font-size:13px; }
  footer.store-footer .store-footer__trust { justify-content:center; }
  footer.store-footer :is(.store-footer__links,.store-footer__contact-list) {
    background:#f8fcfb; border:1px solid #d4e7e6; border-radius:12px; padding:12px 14px;
  }
  footer.store-footer :is(.store-footer__links,.store-footer__contact-list) h3 { margin:0 0 6px; font-size:15px; color:#123e46; }
  footer.store-footer .store-footer__links a { display:block; padding:6px 0; line-height:1.45; }
  footer.store-footer .store-footer__contact-list .s-contacts-list { gap:4px; }
  footer.store-footer .store-footer__bottom { padding:12px; text-align:center; font-size:12px; }
  footer.store-footer .store-footer__bottom ul { display:flex; flex-wrap:wrap; justify-content:center; gap:5px; }
}

/* Center the mobile logo and place gallery controls below the image. */
@keyframes mahloolah-logo-float {
  0%,100% { transform:translateY(0); }
  50% { transform:translateY(-3px); }
}
@media(max-width:767px) {
  .site-header .site-header__bar-inner {
    display:grid !important; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center;
  }
  .site-header .site-header__brand { grid-column:2; grid-row:1; justify-self:center; margin:0 !important; }
  .site-header .site-header__nav-toggle { grid-column:1; grid-row:1; justify-self:start; }
  .site-header .site-header__actions { grid-column:3; grid-row:1; justify-self:end; }
  .site-header .site-header__brand img { animation:mahloolah-logo-float 3.6s ease-in-out infinite; }
  .product-gallery .product-gallery__bar { position:relative !important; inset:auto !important; margin-bottom:6px; }
}
@media(prefers-reduced-motion:reduce) { .site-header .site-header__brand img { animation:none !important; } }
.product-gallery .details-slider { display:flex; flex-direction:column; }
.product-gallery .details-slider > .s-slider-container { order:0; width:100%; }
.product-gallery .details-slider > .s-slider-block__title {
  order:1; position:static !important; transform:none !important; width:100%; margin:7px 0 !important;
  display:flex; justify-content:center; align-items:center;
}
.product-gallery .details-slider .s-slider-block__title-left,
.product-gallery .details-slider .s-slider-block__title-nav {
  display:flex; justify-content:center; position:static !important; transform:none !important;
}
.product-gallery .details-slider .s-slider-nav-arrow { position:static !important; transform:none !important; }
.product-gallery .details-slider > .s-slider-thumbs { order:2; width:100%; }
.product-gallery .details-slider .magnify-wrapper { aspect-ratio:1; background:#f8fcfb; }
.product-gallery .details-slider .magnify-wrapper > div,
.product-gallery .details-slider .magnify-wrapper img { width:100%; height:100%; object-fit:contain; }

/* Stable hero space and shared storefront spacing */
[data-live-block="204097788"] {
  min-height:calc(100vw / 2.6033);
  background:#0b2237;
}
[data-live-block="204097788"] .s-photos-stage__viewport {
  aspect-ratio:var(--stage-ratio,2.6033);
  height:auto !important;
}
[data-live-block="204097788"] .s-photos-stage__track { height:100%; }
body.font-cairo .app-inner > main {
  background-color:#edf8f7;
  color:#18343b;
}
body.font-cairo main .breadcrumbs { color:#31525a; }
body.product-single main > .container,
body.cart main > .container { padding-inline:clamp(12px,3vw,24px); }
body.font-cairo main .s-product-card {
  border-radius:15px;
}

/* Full-width homepage hero */
[data-live-block="204097788"] .s-photos-stage__track { padding-inline:0 !important; gap:0 !important; scroll-padding-inline:0 !important; }
[data-live-block="204097788"] .s-photos-slider__slide { flex:0 0 100% !important; width:100% !important; max-width:none !important; aspect-ratio:var(--stage-ratio,2.6033); height:auto !important; border-radius:0 !important; }
[data-live-block="204097788"] .s-photos-slider__slide img { width:100%; height:100%; object-fit:contain; display:block; }

/* Align add-to-cart and wishlist inside home cards. */
main :is(.s-block--featured-products,.s-block--products-slider) .s-product-card-content-footer {
  display:flex; align-items:center; gap:6px; padding:8px; box-sizing:border-box;
}
main :is(.s-block--featured-products,.s-block--products-slider) .s-product-card-content-footer > :first-child {
  flex:1 1 0; min-width:0; width:auto !important;
}
main :is(.s-block--featured-products,.s-block--products-slider) .s-product-card-content-footer > .s-button-wrap:has(.s-product-card-wishlist-btn) {
  flex:0 0 36px; width:36px !important; min-width:36px;
}
main :is(.s-block--featured-products,.s-block--products-slider) .s-product-card-content-footer button.s-button-element {
  height:40px; min-height:40px; border-radius:10px;
}
main :is(.s-block--featured-products,.s-block--products-slider) .s-product-card-content-footer .s-product-card-wishlist-btn {
  width:36px; min-width:36px; padding:0;
}
main :is(.s-block--featured-products,.s-block--products-slider) .s-product-card-content-footer .s-button-text {
  white-space:nowrap;
}

/* Mahloolah home product card alignment and soft glow */
main .s-block--products-slider .scroll-carousel__track { justify-content:safe center; padding-block:7px; }
main .s-block--featured-products .s-products-list-vertical-cards {
  display:flex; flex-wrap:wrap; justify-content:center; gap:clamp(9px,2vw,22px);
}
main .s-block--featured-products .s-products-list-vertical-cards .s-product-card {
  flex:0 1 calc(25% - 17px); min-width:0;
}
main :is(.s-block--featured-products,.s-block--products-slider) .s-product-card {
  box-sizing:border-box; border:1px solid #76d7d7; border-radius:17px;
  box-shadow:inset 0 0 0 1px #a9eeee; animation:mahloolah-card-glow 3.2s ease-in-out infinite;
}
main :is(.s-block--featured-products,.s-block--products-slider) .s-product-card-content-main,
main :is(.s-block--featured-products,.s-block--products-slider) .s-product-card-content-sub {
  text-align:center; justify-content:center;
}
main :is(.s-block--featured-products,.s-block--products-slider) .s-product-card-image img { object-position:center; }
@keyframes mahloolah-card-glow {
  0%,100% { box-shadow:inset 0 0 0 1px #b9eeee,0 0 3px #00a8ad35; }
  50% { box-shadow:inset 0 0 0 1px #35c9cb,0 0 7px #00a8ad75; }
}
@media(max-width:767px) {
  main .s-block--featured-products .s-products-list-vertical-cards .s-product-card { flex-basis:calc(50% - 6px); }
}
@media(prefers-reduced-motion:reduce) {
  main :is(.s-block--featured-products,.s-block--products-slider) .s-product-card { animation:none; }
}

/* Product detail cards */
.main-content > .product__description + .mb-4,
.main-content .product-form .s-product-options-option,
.main-content .product-form > section {
  background:#f8fcfb !important;
  border:1px solid #d4e7e6;
  border-radius:14px;
  padding:clamp(10px,2.1vw,15px);
  box-sizing:border-box;
}
.main-content .product-form { gap:12px; }
.main-content .s-product-options-option + .s-product-options-option { margin-block-start:9px; }
.main-content .sticky-product-bar .total-price { color:#007781; }

/* هوية محلولة */
body.font-cairo .app-inner > main { background-color: #edf8f7; }
.site-header__mainmenu .main-menu > li > a { font-weight: 700; }

.mobile-bottom-bar {
  background: #f2faf9;
  color: #123e46;
  border-top: 1px solid #cce7e6;
  border-radius: 0;
}
.mobile-bottom-bar .mobile-bottom-bar__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
}
.mobile-bottom-bar .mobile-bottom-bar__item {
  min-width: 0;
  min-height: 48px;
  padding: 5px 2px;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  color: #123e46;
}
.mobile-bottom-bar .mobile-bottom-bar__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.mobile-bottom-bar .mobile-bottom-bar__item.is-active {
  background: #cdecea;
  color: #073b46;
}
.mobile-bottom-bar__inner:has(.mahloolah-whatsapp) [data-testid="mobile-bottom-bar-search"] {
  display: none;
}
.mobile-bottom-bar .mahloolah-whatsapp svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}
@media (max-width: 359px) {
  .mobile-bottom-bar .mobile-bottom-bar__label { font-size: 10px; }
}
.site-header__mainmenu .main-menu > li > a,
.site-header__mainmenu .main-menu > li > a > span { font-weight: 700 !important; }
/* Mahloolah navigation alignment */
.mobile-bottom-bar {
  inset-inline: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: none !important;
  padding: 5px 8px calc(5px + env(safe-area-inset-bottom, 0px)) !important;
  box-sizing: border-box;
}
.mobile-bottom-bar .mobile-bottom-bar__inner {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding: 0;
  gap: 4px;
  grid-auto-rows: 50px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.mobile-bottom-bar .mobile-bottom-bar__inner > .mobile-bottom-bar__item {
  width: 100% !important;
  height: 50px;
  min-height: 0;
  padding: 4px 0;
  gap: 4px;
  box-sizing: border-box;
  justify-content: center;
  border-radius: 8px;
}
.mobile-bottom-bar .mobile-bottom-bar__icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  display: grid;
  place-items: center;
  position: relative;
}
.mobile-bottom-bar .mobile-bottom-bar__icon svg { width: 22px; height: 22px; }
.mobile-bottom-bar .mobile-bottom-bar__label { line-height: 13px; margin: 0; }
@media (min-width: 1024px) {
  .site-header__mainmenu .main-menu > li > a { white-space: nowrap; line-height: 1.45; }
}
/* عرض السعة وبطاقات الجوال */
.mahloolah-capacity { display:flex; flex-wrap:wrap; gap:8px; padding:9px; border:1px solid #b2dbd8; border-radius:12px; background:#f2faf9; }
.mahloolah-capacity button { min-width:72px; min-height:44px; padding:5px 10px; color:#123e46; background:#fff; border:1px solid #a9c9ce; border-radius:9px; font-weight:700; }
.mahloolah-capacity button[aria-pressed="true"] { color:#073b46; background:#cdecea; border-color:#007c80; }
.mahloolah-capacity button:disabled { opacity:.48; }
.mahloolah-capacity-native { position:absolute !important; width:1px !important; height:1px !important; clip-path:inset(50%); }
.s-product-options-option:focus-within .mahloolah-capacity { outline:1px solid #007c80; outline-offset:2px; }
@media(max-width:767px) {
  main > section:first-of-type.s-block--photos-slider .s-photos-slider__slide { flex-basis:100% !important; border-radius:0; }
  main > section:first-of-type.s-block--photos-slider .s-photos-stage__track { gap:0; }
  main > section:first-of-type.s-block--photos-slider .s-photos-stage__arrow { background:white; color:#087c85; border-radius:50%; width:33px; height:33px; min-width:33px; }
  .s-product-card-content-footer, .s-product-card-content-footer > div, .s-product-card-content-footer salla-add-product-button, .s-product-card-content-footer .s-button-wrap { width:100%; min-width:0; }
  .s-product-card-content-footer .s-button-element { width:100%; min-height:44px; padding-inline:5px; }
  .s-product-card-content-footer .s-button-text { font-size:clamp(11px, 3vw, 14px); white-space:nowrap; }
}
/* Baners split by iPhone section */
[data-live-block="147398246"] { --mahloolah-section: "آيفون 17"; }
[data-live-block="1344707170"] { --mahloolah-section: "آيفون 18"; }
[data-live-block="1626748024"] { --mahloolah-section: "آيفون ديو"; }
[data-live-block="1585877371"] { --mahloolah-section: "آيفون آير"; }
:is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"]) .s-photos-slider__slide {
  position:relative; overflow:hidden; border-radius:12px; background:#0a454f; color:#fff;
}
:is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"]) .s-photos-slider__slide img {
  position:absolute; inset:0 auto 0 0; width:50%; height:100%; object-fit:cover; object-position:left center;
}
:is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"]) .s-photos-slider__slide::after {
  content:var(--mahloolah-section) "\a تسوّق القسم ←"; white-space:pre-line; position:absolute; inset:0 0 0 auto; width:50%; box-sizing:border-box; display:grid; align-content:center; padding:8px clamp(10px, 4vw, 50px); color:#fff; font-weight:800; text-align:right; font-size:clamp(14px, 2.6vw, 35px); line-height:1.65;
}
[data-live-block="147398246"] { --mahloolah-line:"أداء يواكب يومك"; }
[data-live-block="1344707170"] { --mahloolah-line:"التقط تفاصيل أكثر"; }
[data-live-block="1626748024"] { --mahloolah-line:"مساحة أكبر لأفكارك"; }
[data-live-block="1585877371"] { --mahloolah-line:"خفيف في يدك، أنيق في يومك"; }
:is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"]) .s-photos-slider__slide::after { content:var(--mahloolah-section) "\a" var(--mahloolah-line); font-size:clamp(12px, 2.3vw, 29px); }


.site-nav-drawer__head { background:#dff1ef; border-bottom:1px solid #cadfdf; }
.site-nav-drawer__head-start { flex:1; }
.site-nav-drawer__brand::after { content:"القائمة الرئيسية"; color:#103b43; font-size:17px; font-weight:800; }
.site-nav-drawer__brand img { display:none; }
.site-nav-drawer__viewport { background:#f5faf9; }
.site-nav-drawer__list > li { border-bottom:1px solid #dae9e8; }
.site-nav-drawer__list .site-nav-drawer__link { display:flex; align-items:center; gap:12px; min-height:59px; padding:8px 14px; font-weight:700; color:#103b43; }
.site-nav-drawer__list .site-nav-drawer__link::after { content:"‹"; margin-inline-start:auto; color:#356972; }
.site-nav-drawer__link[style],.site-nav-drawer__link { background-color:transparent; }
@media(max-width:767px) {
  .site-header .site-header__bar-inner { display:flex; justify-content:flex-start; align-items:center; min-height:64px; gap:9px; }
  .site-header .site-header__brand { position:static !important; transform:none !important; order:0; margin-inline-end:auto; }
  .site-header .site-header__nav-toggle { order:1; }
  .site-header .site-header__actions { order:2; align-items:center; gap:8px; }
  .site-header .site-header__actions .s-user-menu-login-btn, .site-header .site-header__actions a.s-cart-summary-wrapper { min-width:40px; min-height:40px; border:1px solid #d7e8e9; border-radius:50%; justify-content:center; }
}
.site-nav-drawer__link[href$="/p399815343"]::before { content:""; flex:0 0 40px; width:40px; height:40px; border-radius:50%; background:#fff url("https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,onerror=redirect,format=auto,width=300/XzzQnq/9cc68c61-0f98-4166-abc5-64fa8b90f0d4-500x500-ayNoOAquWCxEUXouUifPJKIfX016wZ9jWsa6i5KY.jpg") center / contain no-repeat; }
.site-nav-drawer__link[href$="/p507794860"]::before { content:""; flex:0 0 40px; width:40px; height:40px; border-radius:50%; background:#fff url("https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,onerror=redirect,format=auto,width=300/XzzQnq/b5301ef3-5248-4c12-ad59-c80d0f66d0f3-500x500-zaRM8Nmqo5r2XZPIkL4QrlDtVJYuxd70A49lu91u.jpg") center / contain no-repeat; }
.site-nav-drawer__link[href$="/p866054313"]::before { content:""; flex:0 0 40px; width:40px; height:40px; border-radius:50%; background:#fff url("https://shop.mhzm.sa/wp-content/uploads/2026/08/mhzm-13250-1.jpg") center / contain no-repeat; }
.site-nav-drawer__link[href$="/p974099374"]::before { content:""; flex:0 0 40px; width:40px; height:40px; border-radius:50%; background:#fff url("https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,onerror=redirect,format=auto,width=300/XzzQnq/8c54d5ea-f9cc-4436-8beb-0337731c0020-500x500-WEjMnftl3YOs6fpaPBloXzZUf7Mgcg98xycKkHED.jpg") center / contain no-repeat; }
.site-nav-drawer__link[href$="/p1283405475"]::before { content:""; flex:0 0 40px; width:40px; height:40px; border-radius:50%; background:#fff url("https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,onerror=redirect,format=auto,width=300/XzzQnq/e695a40f-98fc-4f0c-83a7-dcb5e105ab17-500x500-LwWVamnYqIZhMo9MUPaOSEUc2l8TAQ94oU0NI39J.jpg") center / contain no-repeat; }
.site-nav-drawer__link[href$="/p1639043496"]::before { content:""; flex:0 0 40px; width:40px; height:40px; border-radius:50%; background:#fff url("https://shop.mhzm.sa/wp-content/uploads/2026/08/mhzm-13282-1.jpg") center / contain no-repeat; }
.site-nav-drawer__link[href$="/p1747023021"]::before { content:""; flex:0 0 40px; width:40px; height:40px; border-radius:50%; background:#fff url("https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,onerror=redirect,format=auto,width=300/XzzQnq/dd50d552-8ea4-4492-aeac-73403e24f211-500x500-L0QMMnYdvx1m7OiqWqcEplpOZhUd1G5PSDBtpoST.jpg") center / contain no-repeat; }
[data-live-block="147398246"] { --mahloolah-line:"قوة في الأداء. سلاسة كل يوم."; }
[data-live-block="1344707170"] { --mahloolah-line:"خلّ التفاصيل تتكلم"; }
[data-live-block="1626748024"] { --mahloolah-line:"افتح مساحة أكبر لأفكارك"; }
[data-live-block="1585877371"] { --mahloolah-line:"خفّة تلاحظها من أول لمسة"; }
main > section:first-of-type.s-block--photos-slider .s-photos-stage__nav {
  position:absolute; inset:0 !important; transform:none !important; width:auto; max-width:none;
  display:flex; align-items:flex-end; justify-content:center; gap:7px;
  background:none; padding:0 0 9px; pointer-events:none;
}
main > section:first-of-type.s-block--photos-slider .s-photos-stage__arrow {
  position:absolute; top:50%; transform:translateY(-50%); pointer-events:auto;
  display:grid; place-items:center; width:38px; height:38px; min-width:38px;
  background:#fff; color:#087c85; border-radius:50%; box-shadow:0 2px 8px #082b4133;
}
main > section:first-of-type.s-block--photos-slider .s-photos-stage__arrow[aria-label="السابق"] { left:10px; right:auto; }
main > section:first-of-type.s-block--photos-slider .s-photos-stage__arrow[aria-label="التالي"] { right:10px; left:auto; }
main > section:first-of-type.s-block--photos-slider .s-photos-stage__dot { pointer-events:auto; }
@media(max-width:480px) {
  main > section:first-of-type.s-block--photos-slider .s-photos-stage__arrow { width:32px; height:32px; min-width:32px; }
}

main > section:first-of-type.s-block--photos-slider .s-photos-stage__dot { display:none !important; }
/* Compact navigation and banner spacing on phones */
@media (max-width: 767px) {
  .site-header .site-header__bar-inner { min-height:52px !important; padding-block:5px !important; }
  .site-header .site-header__brand img { max-height:42px; width:auto; object-fit:contain; }
  .site-header .site-header__actions { opacity:1 !important; visibility:visible !important; }
  main > section:first-of-type.s-block--photos-slider { margin-block:8px 12px !important; padding-block:0 !important; }
  main > .s-block--featured-products { margin-block-start:0 !important; max-width:100%; overflow:hidden; }
  .s-block--featured-products > .tabs {
    display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr));
    width:100% !important; min-width:0 !important; max-width:100% !important;
    margin-inline:0 !important; padding:6px !important; gap:3px !important;
    box-sizing:border-box; overflow:visible !important; transform:none !important;
  }
  .s-block--featured-products > .tabs .tab-trigger {
    width:100% !important; min-width:0 !important; max-width:100%; padding:7px 2px !important;
    margin:0 !important; white-space:nowrap; text-align:center;
    font-size:clamp(10px,3.3vw,14px) !important; line-height:1.3;
  }
  .s-block--featured-products > .tabs .tab-trigger .s-button-text { font-size:inherit !important; }
  .mobile-bottom-bar .mobile-bottom-bar__inner > .mobile-bottom-bar__item {
    width:100% !important; min-width:0 !important; height:50px !important; display:flex !important;
    flex-direction:column !important; align-items:center !important; justify-content:center !important; gap:3px !important;
  }
  .mobile-bottom-bar .mobile-bottom-bar__inner > .mobile-bottom-bar__item .mobile-bottom-bar__label {
    display:block !important; opacity:1 !important; visibility:visible !important;
    position:static !important; clip:auto !important; clip-path:none !important; transform:none !important;
    width:auto !important; max-width:none !important; height:auto !important; overflow:visible !important;
    flex:none !important; font-size:10px !important; line-height:13px !important; white-space:nowrap;
  }
  .mobile-bottom-bar .mobile-bottom-bar__inner:has(.mahloolah-whatsapp) > [data-testid="mobile-bottom-bar-search"] { display:none !important; }
  main > section:first-of-type.s-block--photos-slider .s-photos-stage__dot { display:none !important; }
}
/* Full-width category banners and moving light */
@property --mahloolah-light-angle { syntax:"<angle>"; inherits:false; initial-value:0deg; }
:is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"]) .s-photos-stage__track {
  padding-inline:0 !important; gap:0 !important;
}
:is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"]) .s-photos-slider__slide {
  flex:0 0 100% !important; width:100% !important; max-width:none !important; margin-inline:0 !important; border-radius:0 !important;
}
:is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"]) .s-photos-stage__viewport::after {
  content:""; position:absolute; z-index:2; inset:0; pointer-events:none; box-sizing:border-box; padding:3px;
  background:conic-gradient(from var(--mahloolah-light-angle), #0b4f5b, #0b4f5b 65%, #00abb0 80%, #b8ffff 88%, #00abb0 95%, #0b4f5b);
  mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite:exclude;
  animation:mahloolah-edge-light 5s linear infinite;
}
@keyframes mahloolah-edge-light { to { --mahloolah-light-angle:360deg; } }
@media(prefers-reduced-motion:reduce) {
  :is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"]) .s-photos-stage__viewport::after { animation:none; }
}
/* Product description card */
.main-content > .product__description {
  box-sizing:border-box; width:100%; margin:12px 0 18px; padding:16px 19px;
  background:#f8fcfb; border:1px solid #d4e7e6; border-radius:15px;
  color:#18343b; text-align:start; line-height:1.85; overflow-wrap:anywhere;
}
.main-content > .product__description .article--main { color:inherit; margin:0; padding:0; }
.main-content > .product__description .article--main > :first-child { margin-block-start:0; }
.main-content > .product__description .article--main > :last-child { margin-block-end:0; }
.main-content > .product__description h2 { font-size:1.04em; font-weight:700; margin-block-end:7px; }
.main-content > .product__description li + li { margin-block-start:3px; }
@media(max-width:767px) {
  .main-content > .product__description { padding:13px 14px; border-radius:13px; font-size:14px; }
}
/* Product cards: centered short lists and distinct pricing */
.s-block--products-slider .scroll-carousel__track:has(> .s-products-carousel__slide):not(:has(> .s-products-carousel__slide:nth-child(3))) {
  justify-content: safe center;
}
.s-product-card .s-product-card-price,
.s-product-card .s-product-card-sale-price {
  color:#007781 !important;
}
.s-product-card:is([data-product-id="974099374"],[data-product-id="1283405475"],[data-product-id="507794860"],[data-product-id="1747023021"]) .s-product-card-price::before {
  content:"يبدأ من";
  margin-inline-end:.3em;
  font-size:.78em;
  font-weight:600;
}
/* Product detail cards */
.main-content > .product__description + .mb-4,
.main-content .product-form .s-product-options-option,
.main-content .product-form > section,
.main-content .product-form .sticky-product-bar {
  box-sizing:border-box;
  background:#f8fcfb;
  border:1px solid #d4e7e6;
  border-radius:15px;
  padding:13px 15px;
  color:#18343b;
}
.main-content .product-form { gap:12px; }
.main-content .s-product-options-option + .s-product-options-option { margin-block-start:9px; }
.main-content .s-product-options-option-label { color:#18343b; }
.main-content .sticky-product-bar .total-price { color:#007781; }
@media(max-width:767px) {
  .main-content > .product__description + .mb-4,
  .main-content .product-form .s-product-options-option,
  .main-content .product-form > section { padding:10px 12px; border-radius:13px; }
}

/* Homepage category order and complete product banner artwork. */
body.index main > #mahloolah-product-nav { order: 2 !important; }
body.index main > section[data-live-block="147398246"] { order: 8 !important; }
body.index main > section[data-live-block="1519795559"] { order: 9 !important; }
body.index main > section[data-live-block="1585877371"] { order: 10 !important; }
body.index main > section[data-live-block="677621828"] { order: 11 !important; }
body.index main > section:is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="1585877371"]) .s-photos-stage.is-single {
 --stage-ratio: 3 !important;
}
/* Keep the complete artwork visible in homepage product banners. */
body.index main > section.s-block--photos-slider:is([data-live-block="147398246"],[data-live-block="1344707170"],[data-live-block="1626748024"],[data-live-block="993952999"]) .s-photos-stage.is-single .s-photos-slider__slide > img {
 inset: 0 !important;
 width: 100% !important;
 height: 100% !important;
 object-fit: contain !important;
 object-position: center !important;
}
body.index main > section[data-air-merged="true"] { display: none !important; }
/* Match the iPhone section banner frames to the supplied 2048×684 artwork. */
body.index main > section.s-block--photos-slider:is([data-live-block="147398246"], [data-live-block="1344707170"], [data-live-block="1626748024"]) {
  width: 100% !important;
  max-width: none !important;
  padding-inline: 0 !important;
}
body.index main > section.s-block--photos-slider:is([data-live-block="147398246"], [data-live-block="1344707170"], [data-live-block="1626748024"]) .s-photos-stage.is-single .s-photos-stage__viewport {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 2048 / 684 !important;
}
body.index main > section.s-block--photos-slider:is([data-live-block="147398246"], [data-live-block="1344707170"], [data-live-block="1626748024"]) .s-photos-stage.is-single .s-photos-stage__track,
body.index main > section.s-block--photos-slider:is([data-live-block="147398246"], [data-live-block="1344707170"], [data-live-block="1626748024"]) .s-photos-stage.is-single .s-photos-slider__slide {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
}
body.index main > section.s-block--photos-slider:is([data-live-block="147398246"], [data-live-block="1344707170"], [data-live-block="1626748024"]) .s-photos-stage.is-single .s-photos-slider__slide > img {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}
/* Apple collection banner directly above the homepage footer. */
body.index main > section[data-live-block="522460396"] {
 order: 100 !important;
 width: 100% !important;
 max-width: none !important;
 padding-inline: 0 !important;
 margin: 16px auto !important;
}
body.index main > section[data-live-block="522460396"] .s-photos-stage__viewport {
 width: 100% !important;
 height: auto !important;
 aspect-ratio: 3 / 1 !important;
}
body.index main > section[data-live-block="522460396"] .s-photos-slider__slide {
 width: 100% !important;
 height: 100% !important;
 aspect-ratio: 3 / 1 !important;
}
body.index main > section[data-live-block="522460396"] .s-photos-slider__slide img {
 width: 100% !important;
 height: 100% !important;
 object-fit: contain !important;
}