/* ملاي: إخفاء صورة العميل لما تكون فاضية في آراء العملاء */
.customer-reviews .review-author img[src=""],
.customer-reviews .review-author img:not([src]) {
  display: none !important;
}

/* ملاي: بانر الكريمات بدل الفيديو في قسم بانر الفيديو */
.video-banner-679c3d13-89ea-440b-b961-04dcde35cb4a {
  height: auto !important;
  min-height: 0 !important;
}
.video-banner-679c3d13-89ea-440b-b961-04dcde35cb4a .video-banner-container {
  background: #F7EDEB url("https://cdn.jsdelivr.net/gh/HuseinGhazala/mlay-assets@4aacd5cda9ded59318ef56aaaaa2e4c5fdd3c18d/images/banners/creams-mis-desktop.webp") center / cover no-repeat;
  aspect-ratio: 1920 / 600;
  height: auto !important;
}
.video-banner-679c3d13-89ea-440b-b961-04dcde35cb4a .video-element {
  display: none !important;
}
@media (max-width: 767px) {
  .video-banner-679c3d13-89ea-440b-b961-04dcde35cb4a .video-banner-container {
    background-image: url("https://cdn.jsdelivr.net/gh/HuseinGhazala/mlay-assets@4aacd5cda9ded59318ef56aaaaa2e4c5fdd3c18d/images/banners/creams-mis-mobile.webp");
    aspect-ratio: 750 / 900;
  }
}
/* ملاي: بانر T16 PRO وبانر T14 في أقسام بانر فيديو (الصورة كاملة من غير قص) */
.video-banner-e38b0621-2cdc-4a1a-a5a0-e01bd8853363,
.video-banner-1eedd21f-14fd-4381-8ec4-dab34b5a4ded {
  height: auto !important;
  min-height: 0 !important;
}
.video-banner-e38b0621-2cdc-4a1a-a5a0-e01bd8853363 .video-banner-container,
.video-banner-1eedd21f-14fd-4381-8ec4-dab34b5a4ded .video-banner-container {
  background: #F7EDEB center / cover no-repeat;
  aspect-ratio: 1920 / 600;
  height: auto !important;
}
.video-banner-e38b0621-2cdc-4a1a-a5a0-e01bd8853363 .video-banner-container {
  background-image: url("https://cdn.jsdelivr.net/gh/HuseinGhazala/mlay-assets@4aacd5cda9ded59318ef56aaaaa2e4c5fdd3c18d/images/banners/t16-bf-mis-desktop.webp");
}
.video-banner-1eedd21f-14fd-4381-8ec4-dab34b5a4ded .video-banner-container {
  background-image: url("https://cdn.jsdelivr.net/gh/HuseinGhazala/mlay-assets@4aacd5cda9ded59318ef56aaaaa2e4c5fdd3c18d/images/banners/t14-bf-mis-desktop.webp");
}
.video-banner-e38b0621-2cdc-4a1a-a5a0-e01bd8853363 .video-element,
.video-banner-1eedd21f-14fd-4381-8ec4-dab34b5a4ded .video-element {
  display: none !important;
}
@media (max-width: 767px) {
  .video-banner-e38b0621-2cdc-4a1a-a5a0-e01bd8853363 .video-banner-container,
  .video-banner-1eedd21f-14fd-4381-8ec4-dab34b5a4ded .video-banner-container {
    aspect-ratio: 750 / 900;
  }
  .video-banner-e38b0621-2cdc-4a1a-a5a0-e01bd8853363 .video-banner-container {
    background-image: url("https://cdn.jsdelivr.net/gh/HuseinGhazala/mlay-assets@4aacd5cda9ded59318ef56aaaaa2e4c5fdd3c18d/images/banners/t16-bf-mis-mobile.webp");
  }
  .video-banner-1eedd21f-14fd-4381-8ec4-dab34b5a4ded .video-banner-container {
    background-image: url("https://cdn.jsdelivr.net/gh/HuseinGhazala/mlay-assets@4aacd5cda9ded59318ef56aaaaa2e4c5fdd3c18d/images/banners/t14-bf-mis-mobile.webp");
  }
}

/* ملاي: الشريط الإعلاني مالي العرض كله */
.ads-marquee-section .marquee-container {
  background: #1f3050;
}

/* ملاي: الأقسام في النص */
.categories-c2e55b33-c91f-46c8-8b47-37d7d5bd5f03 .categories-grid {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.categories-c2e55b33-c91f-46c8-8b47-37d7d5bd5f03 .category-card {
  flex: 0 0 207px;
  max-width: 207px;
}
@media (max-width: 767px) {
  .categories-c2e55b33-c91f-46c8-8b47-37d7d5bd5f03 .categories-grid { gap: 16px; }
  .categories-c2e55b33-c91f-46c8-8b47-37d7d5bd5f03 .category-card {
    flex-basis: calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
}

/* ملاي: قسم المقارنة (نفس تصميم موقع مصر) — بيتبني بالـ JS جوه قسم الذكاء الاصطناعي */
.mlay-compare-section { padding: 50px 0; direction: rtl; }
@media (min-width: 750px) { .mlay-compare-section { padding: 80px 0; } }
.mlay-compare-section .container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.mlay-compare-section h2, .mlay-compare-section p { font-family: inherit; }
.mlay-compare__button, .mlay-compare__button:hover { color: #1f3050; }
.mlay-compare-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(76, 122, 178, .35), transparent 60%),
    radial-gradient(50% 70% at 10% 100%, rgba(143, 182, 216, .18), transparent 60%),
    linear-gradient(135deg, #18284a 0%, #1f3050 55%, #27406a 100%);
  color: #fff;
}

.mlay-compare {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

/* Intro */
.mlay-compare__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  text-align: start;
}
.mlay-compare__pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #cfe3f3;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.mlay-compare__heading {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 800;
  line-height: 1.3;
}
.mlay-compare__text,
.mlay-compare__text p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  line-height: 1.85;
  max-width: 44ch;
}
.mlay-compare__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  background: #fff;
  color: #1f3050;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.mlay-compare__button:hover {
  transform: translateY(-2px);
  background: #eaf4fb;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .3);
}
.mlay-compare__button svg { transition: transform .3s ease; }
.mlay-compare__button:hover svg { transform: translateX(-4px); }

/* Table */
.mlay-compare__table {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr) minmax(0, 1fr);
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 60px rgba(4, 10, 25, .35);
  backdrop-filter: blur(10px);
}
.mlay-compare__row { display: contents; }

/* Continuous glowing column behind the Mlay cells (2nd column = middle in RTL) */
.mlay-compare__highlight {
  grid-column: 2;
  grid-row: 1 / span var(--rows);
  border-radius: 22px;
  background: linear-gradient(180deg, #3a64a0 0%, #2c4772 100%);
  box-shadow: 0 0 0 1px rgba(207, 227, 243, .35), 0 18px 45px rgba(76, 140, 220, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
  z-index: 0;
}

.mlay-compare__cell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 16px 18px;
  font-size: 15.5px;
  line-height: 1.5;
}
.mlay-compare__row:not(:last-child) .mlay-compare__cell { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mlay-compare__row:not(:last-child) .mlay-compare__cell--brand { border-bottom-color: rgba(255, 255, 255, .14); }

.mlay-compare__cell { grid-row: var(--r); }
.mlay-compare__cell--label { grid-column: 1; color: #cfe3f3; font-weight: 700; }
.mlay-compare__cell--brand { grid-column: 2; color: #fff; font-weight: 800; }
.mlay-compare__cell--other { grid-column: 3; color: rgba(255, 255, 255, .55); font-weight: 600; }

.mlay-compare__row--head .mlay-compare__cell {
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 92px;
  text-align: center;
}
.mlay-compare__head-title { font-size: 18px; font-weight: 800; }
.mlay-compare__row--head .mlay-compare__cell--other .mlay-compare__head-title { color: rgba(255, 255, 255, .7); }
.mlay-compare__head-image { width: 56px; height: auto; }
.mlay-compare__badge {
  padding: 3px 12px;
  border-radius: 999px;
  background: #cfe3f3;
  color: #1f3050;
  font-size: 12px;
  font-weight: 800;
}

.mlay-compare__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}
.mlay-compare__mark svg { width: 15px; height: 15px; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.mlay-compare__mark--yes { background: #fff; }
.mlay-compare__mark--yes svg { stroke: #2c4772; }
.mlay-compare__mark--no { background: rgba(255, 255, 255, .1); }
.mlay-compare__mark--no svg { stroke: rgba(255, 255, 255, .55); }

/* Tablet / mobile: stack, compact table that still fits without scrolling */
@media screen and (max-width: 989px) {
  .mlay-compare { grid-template-columns: 1fr; }
  .mlay-compare__intro { align-items: center; text-align: center; }
  .mlay-compare__text, .mlay-compare__text p { max-width: none; }
}
@media screen and (max-width: 749px) {
  .mlay-compare__table {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1fr);
    padding: 8px;
    border-radius: 22px;
  }
  .mlay-compare__highlight { border-radius: 18px; }
  .mlay-compare__cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-height: 64px;
    padding: 12px 10px;
    font-size: 13px;
  }
  .mlay-compare__cell--label { justify-content: center; }
  .mlay-compare__row--head .mlay-compare__cell { align-items: center; min-height: 78px; }
  .mlay-compare__head-title { font-size: 15px; }
  .mlay-compare__mark { width: 22px; height: 22px; }
  .mlay-compare__mark svg { width: 13px; height: 13px; }
}

/* ملاي: الصفحة ماتتحركش يمين وشمال على الموبايل (المنيو الجانبي بره الشاشة) */
html, body { overflow-x: clip; }
.video-banner-e38b0621-2cdc-4a1a-a5a0-e01bd8853363 .video-container,
.video-banner-1eedd21f-14fd-4381-8ec4-dab34b5a4ded .video-container {
  display: none !important;
}

/* ملاي: كارت المنتج — اسم المنتج والتصنيف أسود ومن غير نجوم */
.product-item .product-category,
.product-item .product-category span,
.product-item .product-title,
.product-item .product-title span {
  color: #000 !important;
}
.product-card-rating-wrapper,
.limited-offer-product .limited-offer-rating {
  display: none !important;
}
/* ملاي: صورة المنتج أكبر على الموبايل (مربعة بدل 1.25:1) */
@media (max-width: 767px) {
  .product-item .box-1-1.ratio1_25_1::before { padding-top: 100%; }
}

/* ملاي: زر "أضف إلى السلة" بعرض الكارت بلون الفوتر */
.product-item .product-crd-spec { display: flex; flex-direction: column; flex: 1 1 auto; }
.product-item .mlay-cta { margin-top: auto; padding-top: 12px; width: 100%; }
.product-item .mlay-cta a { display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 42px; padding: 0 12px !important; border-radius: 999px; background: #1f3050 !important; color: #fff !important; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: opacity .2s; }
.product-item .mlay-cta a:hover { opacity: .88; }
.product-item .mlay-cta .svg-wrapper { display: flex; align-items: center; background: none !important; width: auto !important; height: auto !important; padding: 0 !important; border: 0 !important; }
.product-item .mlay-cta .add-to-cart-plus { display: none !important; }
.product-item .mlay-cta .svg-wrapper:has(.add-to-cart-progress:not(.d-none)) .mlay-cart-ic { display: none; }
.product-item .mlay-cta .add-to-cart-progress path, .product-item .mlay-cta .add-to-cart-progress circle { stroke: #fff; }
.product-item .mlay-cta .slide-text-wrapper { display: inline !important; width: auto !important; max-width: none !important; opacity: 1 !important; transform: none !important; color: #fff !important; white-space: nowrap; overflow: visible !important; position: static !important; }
.product-item .mlay-cta svg.mlay-cart-ic { color: #fff; flex: 0 0 auto; }
.product-item .small-warning-message { display: none; }
@media (max-width: 767px) { .product-item .mlay-cta a { height: 38px; font-size: 12.5px; gap: 6px; } .product-item .mlay-cta svg.mlay-cart-ic { width: 16px; height: 16px; } }

/* ملاي: توحيد المسافات بين أقسام الرئيسية (ديسكتوب 64 / موبايل 40) */
.home { --mlay-gap: 64px; padding-bottom: var(--mlay-gap); }
@media (max-width: 767px) { .home { --mlay-gap: 40px; } }
.home > section, .home > div { margin-top: 0 !important; margin-bottom: 0 !important; }
.home > section + section, .home > section + div, .home > div + section, .home > div + div,
.home > section + style + section, .home > section + style + div, .home > div + style + section, .home > div + style + div {
  margin-top: var(--mlay-gap) !important;
}
.home .component-title-wrapper:not(:has(.title-text, h2, h3, p)) { display: none !important; }
.home .categories-section { padding-top: 0 !important; padding-bottom: 0 !important; }
.home .limited-offer-product .limited-offer-container { padding-top: 0 !important; padding-bottom: 0 !important; }
.home .home-products-tabs-section { padding-top: 0 !important; padding-bottom: 0 !important; }
.home .feature-section { padding-top: 0 !important; padding-bottom: 0 !important; }
.home .feature-section .feature-desc { margin-bottom: 0 !important; }
.home .customer-reviews .reviews-banner { padding-bottom: 0 !important; }
/* ملاي: البانر الأول ماينطش لتحت مع السكرول — الثيم بيحط padding 130 لما الهيدر يبقى sticky بس الهيدر نفسه مش بيثبت */
.app-content-padded { padding-top: 0 !important; }
/* ملاي: أزرار "أضف إلى السلة" على خط واحد في كل الكروت (الكارت ياخد طول السلايد كله) */
.swiper-slide:has(> .products-tabs-slide-inner > .product-item) { height: auto; }
.products-tabs-slide-inner:has(> .product-item) { display: flex; flex-direction: column; width: 100%; height: 100%; }
.product-item:has(.mlay-cta) { display: flex; flex-direction: column; height: 100%; }
/* ملاي: الفوتر على الموبايل — أعمدة تحت بعض بفواصل، والروابط في عمودين من غير ما تتلزق */
@media (max-width: 767px) {
  .footer-store-section .footer-col-1 { align-items: center; text-align: center; }
  .footer-store-section .footer-logo-wrap img { object-position: center !important; }
  .footer-store-section .footer-description { font-size: 15px; line-height: 1.9; max-width: 340px; margin: 0 auto; }
  .footer-store-section .footer-col-2 { flex-direction: column !important; gap: 0; }
  .footer-store-section .footer-col-2 .footer-links-col { width: 100%; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .15); }
  .footer-store-section .footer-col-2 .footer-links-col:last-child { border-bottom: 1px solid rgba(255, 255, 255, .15); }
  .footer-store-section .footer-links-col h3 { text-align: right; font-size: 18px; margin-bottom: 14px !important; }
  .footer-store-section .footer-links-col ul { display: grid; grid-template-columns: max-content max-content; justify-content: space-between; column-gap: 12px; row-gap: 10px; margin: 0; }
  .footer-store-section .footer-links-col ul li { margin: 0 !important; font-size: 14px; line-height: 1.6; }
  .footer-store-section .footer-links-col:last-child ul { grid-template-columns: 1fr; }
  .footer-store-section .contact-social .social-icons { justify-content: center; }
}
@media (max-width: 374px) {
  .footer-store-section .footer-links-col ul { grid-template-columns: 1fr; }
}

/* ملاي: البنرات الـ3 بتودّي على منتجاتها (اللينك في custom-scripts.js) */
.video-banner-e38b0621-2cdc-4a1a-a5a0-e01bd8853363 .video-banner-container,
.video-banner-1eedd21f-14fd-4381-8ec4-dab34b5a4ded .video-banner-container,
.video-banner-679c3d13-89ea-440b-b961-04dcde35cb4a .video-banner-container {
  cursor: pointer;
}
footer a[href*="shal"],
footer a[href*="shahl"],
footer p:has(a[href*="shal"]),
footer span:has(a[href*="shal"]) {
  display: none !important;
}