/* ===== مبسم — بطاقة المنتج (التصميم الموسّط) ===== */
:root {
  --mb-navy: #1F1D5C;
  --mb-navy-2: #2E2C55;
  --mb-red: #C7264A;
  --mb-red-soft: #FCE4E9;
  --mb-cream: #FCFBF8;
  --mb-soft: #F1F0FA;
  --mb-line: #D9D8E8;
  --mb-muted: #8B8AA0;
  --mb-star: #F5A524;
  --mb-fire: #F26B3A;
  --mb-tag-2: #CFE0F3;
  --mb-tag-3: #E5F5EE;
  --mb-tag-3-text: #0F6E56;
}

/* نخفي عنوان التبويب (أحدث المنتجات) وخلفية القسم */
.s-block--tabs-produtcs:has(.mb-on) .tabs,
.s-block-tabs:has(.mb-on) > .container > .tabs { display: none !important; }
.s-block--tabs-produtcs:has(.mb-on),
.s-block-tabs:has(.mb-on) { background: transparent !important; padding-top: 0 !important; }

/* شبكة البطاقات */
.s-products-list-wrapper:has(.mb-on) {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 480px)) !important;
  justify-content: center !important;
  gap: 24px !important;
}

/* البطاقة الأصلية: نخفي محتواها ونعرض تصميمنا */
custom-salla-product-card.mb-on,
salla-product-card.mb-on {
  display: block !important;
  width: 100% !important;
  max-width: 480px !important;
  height: auto !important;
  margin-inline: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
}
.mb-on > :not(.mb-card) { display: none !important; }

/* نخفي البطاقة القديمة من أول لحظة عشان ما تومض */
custom-salla-product-card:not(.mb-on):not([data-mb-native]) .s-product-card-content-footer,
custom-salla-product-card:not(.mb-on):not([data-mb-native]) .s-product-card-wishlist-btn { visibility: hidden; }

.mb-card {
  direction: rtl;
  text-align: center;
  color: var(--mb-navy);
  padding: 8px 18px 28px;
}

/* صورة طرق الدفع فوق المنتج */
.mb-pay-banner { margin: 0 auto 18px; max-width: 480px; }
.mb-pay-banner img { width: 100%; height: auto; display: block; }

/* الصورة */
.mb-img { display: block; margin: 0 auto 20px; max-width: 360px; aspect-ratio: 1 / 1; }
.mb-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* الاسم */
.mb-title { margin: 0 0 12px; font-size: 26px; font-weight: 800; line-height: 1.35; }
.mb-title a { color: var(--mb-navy); text-decoration: none; }

/* السعر */
.mb-price { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.mb-old { font-size: 16px; color: var(--mb-muted); text-decoration: line-through; }
.mb-now { font-size: 28px; font-weight: 800; color: var(--mb-red); }
.mb-off { font-size: 14px; font-weight: 700; color: var(--mb-red); background: var(--mb-red-soft); padding: 5px 14px; border-radius: 999px; }
.mb-old[hidden], .mb-off[hidden] { display: none; }
.mb-now i, .mb-old i, .mb-pack-price i { font-size: .82em; }

/* التقييم */
.mb-rating { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; color: var(--mb-muted); margin-bottom: 16px; }
.mb-stars { color: var(--mb-star); font-size: 22px; letter-spacing: 3px; line-height: 1; }
.mb-stars .mb-star-off { color: #DDDCE6; }

/* صندوق تم شراؤه */
.mb-sold {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1.5px solid var(--mb-navy); border-radius: 10px;
  box-shadow: 3px 3px 0 var(--mb-navy);
  padding: 6px 14px; margin: 0 0 16px; gap: 6px;
  font-size: 14px; color: var(--mb-navy);
}
.mb-sold b { font-weight: 800; font-size: 15px; }
.mb-sold .mb-fire { font-size: 15px; line-height: 1; }

/* شريط طرق الدفع */
.mb-pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 24px; }
.mb-pay-item {
  display: flex; align-items: center; justify-content: center;
  height: 42px; min-width: 52px; padding: 6px 12px;
  background: #FFFFFF; border: 1px solid #E6E5F0; border-radius: 10px;
  box-shadow: 0 2px 6px rgba(31, 29, 92, .07);
}
.mb-pay-item { overflow: hidden; }
.mb-pay-item img { height: 24px; width: auto; max-width: 74px; object-fit: contain; display: block; }
/* ضبط مقاس كل شعار لأن صور سلة مختلفة الهوامش */
.mb-pay-item[data-k="tabby_installment"] img { height: 22px; }
.mb-pay-item[data-k="tamara_installment"] img { height: 30px; }
.mb-pay-item[data-k="stc_pay"] img { height: 17px; }
.mb-pay-item[data-k="mada"] img,
.mb-pay-item[data-k="apple_pay"] img,
.mb-pay-item[data-k="credit_card"] img { height: 58px; max-width: none; margin: 0 -10px; }

/* الوصف */
.mb-desc { text-align: right; margin-bottom: 22px; }
.mb-desc-title { font-size: 19px; font-weight: 700; color: #55547A; margin-bottom: 8px; }
.mb-desc-text { font-size: 15px; line-height: 1.9; color: var(--mb-navy-2); margin: 0; }

/* الكمية + الإضافة */
.mb-cart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.mb-qty { display: grid; grid-template-columns: 1fr 1fr 1fr; border: 1px solid var(--mb-line); background: #fff; }
.mb-qty button, .mb-qty input {
  border: 0; background: transparent; font: inherit; color: var(--mb-navy);
  font-size: 18px; text-align: center; padding: 0; min-height: 44px; width: 100%;
}
.mb-qty button { cursor: pointer; }
.mb-qty button:hover { background: var(--mb-soft); }
.mb-qty input { border-inline: 1px solid var(--mb-line); font-size: 15px; -moz-appearance: textfield; }
.mb-qty input::-webkit-outer-spin-button,
.mb-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.mb-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 44px; padding: 9px 12px; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none;
  border-radius: 0; transition: background .15s ease, color .15s ease, transform .1s ease;
}
.mb-btn:active { transform: scale(.98); }
.mb-btn-primary { background: var(--mb-navy); color: #fff; border: 0; }
.mb-btn-primary:hover { background: #2D2A80; color: #fff; }
.mb-btn-outline { background: #fff; color: var(--mb-navy); border: 1.5px solid var(--mb-navy); margin-bottom: 8px; }
.mb-btn-outline:hover { background: var(--mb-navy); color: #fff; }
.mb-btn.is-loading { opacity: .65; pointer-events: none; }
.mb-btn.is-done { background: var(--mb-tag-3-text) !important; color: #fff !important; border-color: var(--mb-tag-3-text) !important; }

/* بطاقات العبوات */
.mb-packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px; margin: 18px 0 16px; }
.mb-pack {
  position: relative; background: #fff; border: 1.5px solid var(--mb-line); border-radius: 18px;
  padding: 18px 8px 14px; cursor: pointer; font: inherit; color: var(--mb-navy); text-align: center;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mb-pack:hover { border-color: #B9B7D3; }
.mb-pack.is-active { border: 2.5px solid var(--mb-navy); padding: 17px 7px 13px; }
.mb-pack-tag {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-weight: 500; line-height: 1.5; padding: 1px 8px; border-radius: 999px; white-space: nowrap;
  background: var(--mb-navy); color: #fff;
}
.mb-pack-tag.t2 { background: var(--mb-tag-2); color: var(--mb-navy); }
.mb-pack-tag.t3 { background: var(--mb-tag-3); color: var(--mb-tag-3-text); }
.mb-pack-sub { display: block; font-size: 13px; color: #55547A; margin-bottom: 6px; }
.mb-pack-name { display: block; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.mb-pack-img { position: relative; display: block; height: 96px; margin-bottom: 10px; }
.mb-pack-img img { width: 100%; height: 100%; object-fit: contain; }
.mb-pack-count {
  position: absolute; bottom: 2px; left: 6px; background: var(--mb-navy); color: #fff;
  font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 6px;
  direction: ltr; unicode-bidi: isolate;
}
.mb-pack-price { display: block; font-size: 22px; font-weight: 800; color: var(--mb-red); }
.mb-pack-old { display: block; font-size: 13px; color: var(--mb-muted); text-decoration: line-through; min-height: 18px; }
.mb-pack-each { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--mb-tag-3-text); min-height: 18px; white-space: nowrap; }
.mb-pack-each i { font-size: .9em; }

/* حالة التحميل (لحظية) */
.mb-skel-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 16px; }
.mb-skel {
  border-radius: 18px; height: 230px;
  background: linear-gradient(90deg, #F2F1F8 25%, #E9E8F2 50%, #F2F1F8 75%);
  background-size: 200% 100%; animation: mb-shine 1.1s linear infinite;
}
@keyframes mb-shine { to { background-position: -200% 0; } }

/* الجوال */
@media (max-width: 480px) {
  .mb-card { padding: 4px 4px 24px; }
  .mb-title { font-size: 23px; }
  .mb-now { font-size: 25px; }
  .mb-sold { font-size: 13px; padding: 5px 12px; }
  .mb-sold b { font-size: 14px; }
  .mb-packs { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; }
  .mb-pack-img { height: 80px; }
  .mb-pack-price { font-size: 19px; }
  .mb-pay { gap: 6px; margin-bottom: 20px; }
  .mb-pay-item { height: 36px; min-width: 44px; padding: 5px 9px; border-radius: 9px; }
  .mb-pay-item img { height: 20px; max-width: 60px; }
  .mb-pay-item[data-k="tabby_installment"] img { height: 18px; }
  .mb-pay-item[data-k="tamara_installment"] img { height: 25px; }
  .mb-pay-item[data-k="stc_pay"] img { height: 14px; }
  .mb-pay-item[data-k="mada"] img,
  .mb-pay-item[data-k="apple_pay"] img,
  .mb-pay-item[data-k="credit_card"] img { height: 48px; margin: 0 -8px; }
}

/* ======================================================
   مبسم — واجهة بداية المتجر (الهيرو)
   ====================================================== */
.mb-card, .mb-hero { font-family: 'Tajawal', 'pingarlt', sans-serif; }

.mb-hero {
  direction: rtl;
  text-align: center;
  color: #111111;
  background: transparent;
  padding: 56px 20px 48px;
}
.mb-hero-inner { max-width: 680px; margin: 0 auto; }

.mb-hero-kicker {
  display: block;
  font-weight: 900;
  font-size: 60px;
  line-height: 1;
  margin: 0 0 4px;
}
.mb-hero-title {
  font-weight: 900;
  font-size: 42px;
  line-height: 1.25;
  margin: 0 0 16px;
  color: #111111;
}
.mb-hero-text {
  font-weight: 500;
  font-size: 19px;
  line-height: 1.8;
  color: #222222;
  max-width: 480px;
  margin: 0 auto;
}
.mb-hero-text b { font-weight: 800; }

/* شارة هيئة الغذاء والدواء */
.mb-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  background: #EAF2F9;
  border: 1px solid #D3E2EF;
  border-radius: 22px;
  padding: 16px 30px 16px 34px;
  text-align: right;
}
.mb-hero-badge-icon { flex-shrink: 0; display: flex; align-items: center; }
.mb-hero-badge-icon img { width: 58px; height: auto; display: block; }
.mb-hero-badge-icon svg { width: 40px; height: 40px; }
.mb-hero-badge-title { font-weight: 400; font-size: 21px; line-height: 1.4; color: #111111; }
.mb-hero-badge-num { font-weight: 400; font-size: 17px; color: #333333; margin-top: 4px; }
.mb-hero-badge-num span { direction: ltr; unicode-bidi: isolate; }

@media (max-width: 768px) {
  .mb-hero { padding: 40px 16px 36px; }
  .mb-hero-kicker { font-size: 46px; }
  .mb-hero-title { font-size: 30px; margin-bottom: 14px; }
  .mb-hero-text { font-size: 16px; }
  .mb-hero-badge { gap: 12px; padding: 12px 18px 12px 20px; border-radius: 18px; margin-top: 22px; }
  .mb-hero-badge-icon img { width: 44px; }
  .mb-hero-badge-title { font-size: 16px; }
  .mb-hero-badge-num { font-size: 13px; }
}

/* ======================================================
   مبسم — الأسئلة الشائعة
   ====================================================== */
section[id^="QAs-"] {
  direction: rtl;
  font-family: 'Tajawal', 'pingarlt', sans-serif;
  background: #FCFBF8;
  border-radius: 24px;
  padding: 48px 16px 40px !important;
  margin-top: 32px !important;
  margin-bottom: 32px !important;
  color: #1F1D5C;
}
section[id^="QAs-"] > .mb-8 { margin-bottom: 26px !important; }
section[id^="QAs-"] > .mb-8 h2 {
  font-family: inherit;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.2;
  color: #1F1D5C;
  margin: 0;
}
section[id^="QAs-"] > .mb-8 p {
  font-family: inherit;
  font-size: 16px !important;
  font-weight: 500;
  color: #6B6A8A;
  margin-top: 8px !important;
  max-width: none !important;
}

/* عمود واحد في المنتصف */
section[id^="QAs-"] > .grid {
  display: flex !important;
  flex-direction: column;
  gap: 10px !important;
  max-width: 640px;
  margin: 0 auto;
}

/* البطاقة */
section[id^="QAs-"] aui-accordion.qa-accordion {
  display: block;
  background: transparent !important;
  color: #1F1D5C !important;
  border-radius: 0 !important;
}
section[id^="QAs-"] aui-accordion-item {
  display: block;
  background: #FFFFFF;
  border: 1.5px solid #E6E5F0 !important;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s ease;
}
section[id^="QAs-"] aui-accordion-item:hover { border-color: #C9C7DE !important; }
section[id^="QAs-"] aui-accordion-item.mb-open { border-color: #1F1D5C !important; }

/* السؤال */
section[id^="QAs-"] aui-accordion-item::part(trigger) {
  direction: rtl;
  text-align: right;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 0;
  font-family: 'Tajawal', 'pingarlt', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: #1F1D5C;
}
section[id^="QAs-"] aui-accordion-item [slot="trigger"] { flex: 1; text-align: right; }

/* السهم داخل دائرة */
section[id^="QAs-"] aui-accordion-item::part(icon) {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 50%;
  background: #F1F0FA;
  color: #1F1D5C;
  transition: transform .25s ease, background .2s ease, color .2s ease;
}
section[id^="QAs-"] aui-accordion-item.mb-open::part(icon) { background: #1F1D5C; color: #FFFFFF; }

/* الإجابة */
section[id^="QAs-"] aui-accordion-item::part(content-text) {
  direction: rtl;
  text-align: right;
  padding: 0 20px 18px;
  font-family: 'Tajawal', 'pingarlt', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
  color: #4A4970;
}
section[id^="QAs-"] .accordion__product__description__warpper,
section[id^="QAs-"] .product__description { padding: 0 !important; margin: 0 !important; background: none !important; }
section[id^="QAs-"] .product__description p { padding: 0 !important; color: #4A4970; font-size: 15px; line-height: 1.9; }

@media (max-width: 768px) {
  section[id^="QAs-"] { border-radius: 18px; padding: 36px 12px 28px !important; }
  section[id^="QAs-"] > .mb-8 h2 { font-size: 27px; }
  section[id^="QAs-"] > .mb-8 p { font-size: 14px !important; }
  section[id^="QAs-"] aui-accordion-item::part(trigger) { font-size: 15px; padding: 14px 16px; }
  section[id^="QAs-"] aui-accordion-item::part(content-text) { font-size: 14px; padding: 0 16px 16px; }
}

/* ======================================================
   مبسم — قبل وبعد
   ====================================================== */
.mb-ba { direction: rtl; font-family: 'Tajawal', 'pingarlt', sans-serif; padding: 8px 0 40px; position: relative; max-width: 720px; margin: 0 auto; }
.mb-ba-viewport {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.mb-ba-viewport::-webkit-scrollbar { display: none; }
.mb-ba-slide { flex: 0 0 100%; scroll-snap-align: center; padding: 14px 44px 0; box-sizing: border-box; }
.mb-ba-pair {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px;
  max-width: 560px; margin: 0 auto;
}
.mb-ba-photo {
  position: relative; aspect-ratio: 1 / 1; border-radius: 28px;
  background: #F1F0FA; display: flex; align-items: center; justify-content: center;
}
.mb-ba-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; display: block; }
.mb-ba-photo.is-before { background: #EEE8D8; }
.mb-ba-emoji { font-size: 54px; line-height: 1; }
.mb-ba-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 1;
  background: #CFE0F3; color: #1F1D5C; font-size: 13px; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.mb-ba-arrow {
  width: 48px; height: 30px; border-radius: 999px; background: #1F1D5C; color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.mb-ba-arrow svg { width: 18px; height: 18px; }
.mb-ba-nav {
  position: absolute; top: calc(50% - 14px); transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid #E6E5F0; background: #FFFFFF;
  color: #1F1D5C; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2;
}
.mb-ba-nav svg { width: 16px; height: 16px; }
.mb-ba-nav.prev { right: 4px; }
.mb-ba-nav.next { left: 4px; }
.mb-ba-nav[hidden] { display: none; }
.mb-ba-dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.mb-ba-dots button {
  width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0;
  background: #D9D8E8; cursor: pointer; transition: width .2s ease, background .2s ease;
}
.mb-ba-dots button.is-active { width: 22px; background: #1F1D5C; }

@media (max-width: 768px) {
  .mb-ba-slide { padding: 14px 36px 0; }
  .mb-ba-pair { gap: 8px; }
  .mb-ba-photo, .mb-ba-photo img { border-radius: 20px; }
  .mb-ba-tag { font-size: 11px; padding: 3px 10px; top: -10px; }
  .mb-ba-arrow { width: 38px; height: 24px; }
  .mb-ba-arrow svg { width: 14px; height: 14px; }
  .mb-ba-emoji { font-size: 38px; }
  .mb-ba-nav { width: 28px; height: 28px; }
}

/* ======================================================
   مبسم — اللوقو في الهيدر (إخفاء الخلفية الرمادية)
   ====================================================== */
.store-header .navbar-brand img,
.side-navbar-brand img {
  filter: brightness(1.04);
  mix-blend-mode: multiply;
}

/* ======================================================
   مبسم — الفوتر
   ====================================================== */
footer.store-footer.mb-ft-on > :not(.mb-ft) { display: none !important; }
footer.store-footer.mb-ft-on { background: transparent !important; padding: 0 12px 12px !important; border: 0 !important; }

.mb-ft {
  direction: rtl; font-family: 'Tajawal', 'pingarlt', sans-serif; color: #1F1D5C;
  max-width: 1280px; margin: 24px auto 0; border-radius: 28px; overflow: hidden;
  background: #FCFBF8; border: 1px solid #ECEBF3;
}
.mb-ft a { text-decoration: none; }

/* شريط السوشال */
.mb-ft-top { background: #1F1D5C; padding: 20px 16px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.mb-ft-top-label { color: #AEB0D4; font-size: 14px; margin-left: 4px; }
.mb-ft-soc {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  transition: transform .15s ease;
}
.mb-ft-soc:hover { transform: translateY(-2px); }
.mb-ft-soc svg { width: 22px; height: 22px; }
.mb-ft-soc.ig { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); color: #fff; }
.mb-ft-soc.sc { background: #FFFC00; color: #111; }
.mb-ft-soc.tt { background: #111; color: #fff; }
.mb-ft-soc.x  { background: #111; color: #fff; }

/* البراند */
.mb-ft-brand { text-align: center; padding: 32px 16px 26px; border-bottom: 1px solid #ECEBF3; }
.mb-ft-name { font-size: 30px; font-weight: 900; line-height: 1.2; }
.mb-ft-name span { font-size: 19px; font-weight: 700; letter-spacing: 4px; color: #55547A; margin-right: 6px; }
.mb-ft-tag { font-size: 14px; color: #8B8AA0; margin-top: 8px; }

/* الوسط */
.mb-ft-mid-wrap { background: #F6F5F1; padding: 0 16px; }
.mb-ft-mid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
  max-width: 820px; margin: 0 auto; padding: 34px 32px 38px; background: #FFFFFF;
}
.mb-ft-h { font-size: 16px; font-weight: 700; color: #C7264A; margin-bottom: 14px; }
.mb-ft-links { display: grid; grid-template-columns: 1fr; }
.mb-ft-links a {
  display: block; font-size: 15px; color: #2E2C55; padding: 12px 0;
  border-bottom: 1px solid #ECEBF3; transition: color .15s ease, padding .15s ease;
}
.mb-ft-links a:hover { color: #C7264A; padding-right: 4px; }

.mb-ft-contact { text-align: center; }
.mb-ft-contact .mb-ft-h { text-align: right; }
.mb-ft-btns { display: flex; justify-content: center; gap: 12px; margin-bottom: 14px; }
.mb-ft-btn {
  width: 56px; height: 56px; border-radius: 16px; background: #F1F0FA; border: 1px solid #E6E5F0;
  display: flex; align-items: center; justify-content: center; color: #1F1D5C; transition: background .15s ease, color .15s ease;
}
.mb-ft-btn svg { width: 26px; height: 26px; }
.mb-ft-btn:hover { background: #1F1D5C; color: #FFFFFF; }
.mb-ft-hours {
  display: inline-flex; align-items: center; gap: 8px; background: #F6F5F1; border: 1px solid #ECEBF3;
  border-radius: 12px; padding: 9px 16px; font-size: 13px; color: #55547A; margin-bottom: 22px;
}
.mb-ft-hours i { width: 8px; height: 8px; border-radius: 50%; background: #3BB273; display: inline-block; }
.mb-ft-docs { display: flex; justify-content: center; gap: 22px; }
.mb-ft-doc { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mb-ft-doc img { height: 46px; width: auto; }
.mb-ft-doc small { font-size: 12px; color: #8B8AA0; }
.mb-ft-doc b { font-size: 16px; font-weight: 700; letter-spacing: 1px; color: #1F1D5C; }
.mb-ft-doc + .mb-ft-doc { border-right: 1px solid #ECEBF3; padding-right: 22px; }

/* الحقوق */
.mb-ft-bot { background: #1F1D5C; color: #AEB0D4; text-align: center; font-size: 13px; padding: 16px; }

@media (max-width: 768px) {
  .mb-ft { border-radius: 22px; margin-top: 16px; }
  .mb-ft-mid { grid-template-columns: 1fr; gap: 28px; padding: 26px 18px 30px; }
  .mb-ft-name { font-size: 26px; }
  .mb-ft-name span { font-size: 16px; }
  .mb-ft-links a { font-size: 14px; }
}

/* ======================================================
   مبسم — ضمان الخزامى (مستطيل صغير)
   ====================================================== */
.mb-gt { direction: rtl; font-family: 'Tajawal', 'pingarlt', sans-serif; padding: 4px 16px 28px; }
.mb-gt-card {
  max-width: 560px; margin: 0 auto; background: #FFFFFF; color: #1F1D5C;
  border: 1.5px solid #1F1D5C; border-radius: 16px; box-shadow: 3px 4px 0 #1F1D5C;
  padding: 14px 20px; text-align: center; position: relative; overflow: visible;
}
/* ميدالية الضمان */
.mb-gt-medal {
  position: absolute; top: -20px; left: -14px; width: 54px; height: auto;
  transform: rotate(-10deg); filter: drop-shadow(0 3px 4px rgba(31, 29, 92, .18));
}
.mb-gt-title {
  display: inline-block; position: relative; z-index: 0;
  font-size: 22px; font-weight: 900; line-height: 1.3; color: #6E5BB8; margin: 0 0 4px;
}
.mb-gt-title::after {
  content: ""; position: absolute; right: -3px; left: -3px; bottom: 3px; height: 7px;
  background: #E7E2F7; border-radius: 3px; z-index: -1;
}
.mb-gt-promise { font-size: 15px; font-weight: 700; line-height: 1.6; margin: 0; }
.mb-gt-pts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px;
  margin: 10px 0 2px; padding: 0; list-style: none;
}
.mb-gt-pts li { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: #2E2C55; }
.mb-gt-ck {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; background: #EEEAF9; color: #6E5BB8;
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
}
.mb-gt-link {
  display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700;
  color: #6E5BB8 !important; text-decoration: none; border-bottom: 1px solid #6E5BB8;
}
.mb-gt-link:hover { color: #1F1D5C !important; border-color: #1F1D5C; }

@media (max-width: 600px) {
  .mb-gt-card { padding: 12px 14px; }
  .mb-gt-medal { width: 44px; top: -18px; left: -8px; }
  .mb-gt-title { font-size: 20px; }
  .mb-gt-promise { font-size: 14px; }
  .mb-gt-pts { gap: 6px 12px; }
  .mb-gt-pts li { font-size: 12px; }
}


/* ======================================================
   مبسم — صفحة المنتج
   ====================================================== */
/* نخفي عناصر سلة الأصلية (تبقى شغالة بالخلفية) */
.mb-pp-on .container--product-details .main-content > h1.title,
.mb-pp-on .container--product-details .main-content > .price-wrapper,
.mb-pp-on .container--product-details .main-content > .flex.rtl\:space-x-reverse,
.mb-pp-on .container--product-details .main-content > form.product-form,
.mb-pp-on .container--product-details .main-content > .px-4,
.mb-pp-on .container--product-details .main-content > .m-share_warpper,
.mb-pp-on .container--product-details .main-content > salla-quick-order,
.mb-pp-on .sticky-product-bar { display: none !important; }

/* الصور: الرئيسية فوق، والمصغرات في شريط كحلي حوافه السفلية دائرية */
.mb-pp-on .container--product-details .details-slider {
  background: var(--mb-navy); border-radius: 0 0 26px 26px; overflow: hidden; padding-bottom: 12px;
}
.mb-pp-on .details-slider .s-slider-thumbs { background: transparent !important; padding: 12px 12px 0 !important; margin: 0 !important; }
.mb-pp-on .details-slider .s-slider-thumbs .swiper-slide { border: 0 !important; background: transparent !important; box-shadow: none !important; }
.mb-pp-on .details-slider .s-slider-thumbs img {
  border-radius: 10px !important; border: 2px solid transparent !important; object-fit: cover;
  opacity: .55; transition: opacity .2s ease, border-color .2s ease;
}
.mb-pp-on .details-slider .s-slider-thumbs .swiper-slide-thumb-active img { opacity: 1; border-color: #FFFFFF !important; }

/* الرأس: الاسم والسعر والشارات تحت الصور */
.mb-pp-head { direction: rtl; text-align: right; font-family: 'Tajawal', 'pingarlt', sans-serif; color: var(--mb-navy); padding: 20px 0 8px; }
.mb-pp-title { font-size: 28px; font-weight: 900; line-height: 1.35; margin: 0 0 10px; color: var(--mb-navy); }
.mb-pp-head .mb-price { justify-content: flex-start; gap: 10px; margin-bottom: 6px; }
.mb-pp-head .mb-now { color: var(--mb-navy); }
.mb-pp-head .mb-rating { justify-content: flex-start; }

/* الشارات: بدون بيروكسيد + متوفر + تم شراؤه */
.mb-pp-badges { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 14px 0 6px; }
.mb-pp-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.mb-pp-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--mb-tag-3); color: var(--mb-tag-3-text);
  border-radius: 999px; padding: 7px 16px; font-size: 15px; font-weight: 700;
}
.mb-pp-pill svg { width: 18px; height: 18px; flex-shrink: 0; }
.mb-pp-pill.is-out { background: var(--mb-red-soft); color: var(--mb-red); }
.mb-pp-sold { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: #A3306A; }
.mb-pp-sold b { font-weight: 800; }
.mb-flame { width: 20px; height: 20px; flex-shrink: 0; overflow: visible; }
.mb-flame-out { transform-box: fill-box; transform-origin: 50% 100%; animation: mb-flame-out 1.1s ease-in-out infinite alternate; }
.mb-flame-in { transform-box: fill-box; transform-origin: 50% 100%; animation: mb-flame-in .7s ease-in-out infinite alternate; }
@keyframes mb-flame-out {
  0%   { transform: scale(1, 1) rotate(-2deg); }
  50%  { transform: scale(.96, 1.06) rotate(2deg); }
  100% { transform: scale(1.03, .95) rotate(-1deg); }
}
@keyframes mb-flame-in {
  0%   { transform: scale(1, 1) translateY(0); opacity: 1; }
  100% { transform: scale(.88, 1.12) translateY(-3%); opacity: .85; }
}
@media (prefers-reduced-motion: reduce) { .mb-flame-out, .mb-flame-in { animation: none; } }

/* اللوحة */
.mb-pp-panel { padding: 0 !important; text-align: right; }
.mb-pp-short { font-size: 15px; line-height: 1.9; color: #2E2C55; margin: 0 0 20px; }

/* اختيار الباقة */
.mb-rq { margin-bottom: 18px; }
.mb-rq-head { text-align: center; margin-bottom: 4px; }
.mb-rq-title { font-size: 22px; font-weight: 900; color: #1F1D5C; }
.mb-rq-sub { font-size: 14px; color: #77768F; margin-top: 4px; }
.mb-rq-o {
  position: relative; width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  margin-top: 18px; padding: 18px 14px 14px; background: #F7F7FA; border: 1.5px solid #E6E5F0; border-radius: 16px;
  font: inherit; color: #1F1D5C; text-align: right; cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.mb-rq-o:hover { border-color: #C9C7DE; }
.mb-rq-o.is-active { background: #FFFFFF; border: 2px solid #1F1D5C; padding: 17px 13px 13px; }
.mb-rq-tag {
  position: absolute; top: -12px; left: 16px; font-size: 12px; font-weight: 700; line-height: 1.5;
  padding: 2px 12px; border-radius: 999px; background: #E9E4F7; color: #6E5BB8;
}
.mb-rq-o.t2 .mb-rq-tag { background: #CFE0F3; color: #1F1D5C; }
.mb-rq-o.t3 .mb-rq-tag { background: #FBE7C6; color: #8A5A00; }
.mb-rq-radio {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid #D3D1E3; background: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.mb-rq-o.is-active .mb-rq-radio { border-color: #1F1D5C; background: #1F1D5C; }
.mb-rq-o.is-active .mb-rq-radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FFFFFF; }
.mb-rq-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mb-rq-name { font-size: 16px; font-weight: 700; }
.mb-rq-name em {
  font-style: normal; font-size: 11px; font-weight: 700; color: #0F6E56; background: #E5F5EE;
  border-radius: 6px; padding: 1px 6px; margin-right: 4px; white-space: nowrap;
}
.mb-rq-sub2 { font-size: 13px; color: #77768F; }
.mb-rq-sub2 i { font-size: .85em; }
.mb-rq-price { text-align: left; font-size: 20px; font-weight: 900; white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; }
.mb-rq-price b { font-weight: 900; }
.mb-rq-price s { font-size: 13px; font-weight: 500; color: #A3A2B8; }
.mb-rq-price i { font-size: .82em; }

/* التوصيل */
.mb-pp-ship {
  background: #FFFFFF; border: 1px solid #ECEBF3; border-radius: 14px; padding: 12px 14px;
  margin: 6px 0 16px; display: flex; flex-direction: column; gap: 6px;
}
.mb-pp-ship div { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #2E2C55; }
.mb-pp-ship svg { width: 18px; height: 18px; color: #6E5BB8; flex-shrink: 0; }
.mb-pp-panel .mb-pay-banner { margin: 6px auto 20px; }

/* الضمان داخل الصفحة */
.mb-gt-inline { padding: 6px 0 22px; }

/* أقسام طريقة الاستخدام والمكونات */
.mb-pp-acc { background: #FFFFFF; border: 1.5px solid #E6E5F0; border-radius: 14px; margin-bottom: 8px; overflow: hidden; }
.mb-pp-acc[open] { border-color: #1F1D5C; }
.mb-pp-acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; font-size: 16px; font-weight: 700; color: #1F1D5C;
}
.mb-pp-acc summary::-webkit-details-marker { display: none; }
.mb-pp-acc-ic {
  width: 28px; height: 28px; border-radius: 50%; background: #F1F0FA; display: flex; align-items: center; justify-content: center;
  font-size: 18px; transition: transform .2s ease, background .2s ease, color .2s ease;
}
.mb-pp-acc[open] .mb-pp-acc-ic { transform: rotate(45deg); background: #1F1D5C; color: #FFFFFF; }
.mb-pp-acc-body { padding: 0 16px 16px; font-size: 15px; line-height: 1.9; color: #4A4970; white-space: pre-line; }

/* وصف سلة الأصلي تحت */
.mb-pp-on .products-accordion-warpper { font-family: 'Tajawal', 'pingarlt', sans-serif; margin-top: 8px; }

@media (max-width: 768px) {
  /* الصور من طرف الشاشة لطرفها */
  body.mb-pp-on { overflow-x: clip; }
  .mb-pp-on .container--product-details .details-slider {
    width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw);
  }
  .mb-pp-on .details-slider .swiper:not(.s-slider-thumbs .swiper) { border-radius: 0 !important; }
  .mb-pp-title { font-size: 24px; }
  .mb-rq-title { font-size: 20px; }
  .mb-rq-o { gap: 10px; padding: 16px 12px 12px; }
  .mb-rq-o.is-active { padding: 15px 11px 11px; }
  .mb-rq-name { font-size: 15px; }
  .mb-rq-sub2 { font-size: 12px; }
  .mb-rq-price { font-size: 18px; }
}

/* ======================================================
   مبسم — سلايدر الصور
   ====================================================== */
.s-block--photos-slider.mb-slider { background: transparent !important; overflow: hidden; padding-bottom: 6px; }
.mb-slider .swiper-slide { transform: none !important; }
.mb-slider .swiper-slide img { border-radius: 18px; }
.mb-slider .swiper-button-next,
.mb-slider .swiper-button-prev {
  width: 36px !important; height: 36px !important; border-radius: 50%;
  background: #FFFFFF; border: 1px solid #E6E5F0; color: #1F1D5C !important;
  box-shadow: 0 2px 8px rgba(31, 29, 92, .08);
}
.mb-slider .swiper-button-next::after,
.mb-slider .swiper-button-prev::after { font-size: 14px !important; font-weight: 900; }
.mb-slider .swiper-pagination { position: relative !important; margin-top: 12px; bottom: 0 !important; }
.mb-slider .swiper-pagination-bullet { width: 8px; height: 8px; background: #D9D8E8; opacity: 1; transition: width .2s ease, background .2s ease; border-radius: 999px; }
.mb-slider .swiper-pagination-bullet-active { width: 22px; background: #1F1D5C; }
@media (max-width: 768px) {
  .mb-slider .swiper-button-next, .mb-slider .swiper-button-prev { width: 28px !important; height: 28px !important; }
  .mb-slider .swiper-slide img { border-radius: 12px; }
}

/* ======================================================
   مبسم — تقييمات العملاء (مقاسات رايا شيلد)
   ====================================================== */
.mb-rv-on salla-comments { display: none !important; }
.mb-rv-wrap { padding-top: 8px; padding-bottom: 30px; }
.mb-rv { direction: rtl; font-family: 'Tajawal', 'pingarlt', sans-serif; color: #1F1D5C; max-width: 960px; margin: 30px auto 0; }
.mb-rv-title { text-align: center; font-size: 22px; font-weight: 800; margin: 0 0 20px; color: #1F1D5C; }

.mb-rv-summary {
  display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap;
  background: #F6F5F1; border-radius: 16px; padding: 20px 24px; margin-bottom: 18px;
}
.mb-rv-avg { display: flex; flex-direction: column; align-items: center; min-width: 80px; }
.mb-rv-avg b { font-size: 52px; font-weight: 900; line-height: 1; color: #1F1D5C; }
.mb-rv-avg small { font-size: 12px; color: #8B8AA0; }
.mb-rv-stars { display: inline-flex; gap: 2px; }
.mb-rv-stars i { display: flex; }
.mb-rv-stars svg { width: 14px; height: 14px; fill: #E5E7EB; }
.mb-rv-stars i.on svg { fill: #F5B70A; }
.mb-rv-avg .mb-rv-stars { margin: 4px 0; }
.mb-rv-stars-lg svg { width: 14px; height: 14px; }

.mb-rv-bars { flex: 1; min-width: 180px; max-width: 420px; display: flex; flex-direction: column; gap: 6px; }
.mb-rv-bar {
  display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: 0; padding: 0;
  font: inherit; font-size: 12px; color: #55547A; cursor: pointer;
}
.mb-rv-bar > span:first-child { min-width: 10px; }
.mb-rv-bar-star { display: flex; } .mb-rv-bar-star svg { width: 12px; height: 12px; fill: #F5B70A; }
.mb-rv-track { flex: 1; height: 8px; background: #E5E7EB; border-radius: 4px; overflow: hidden; display: block; }
.mb-rv-track span { display: block; height: 100%; background: #F5B70A; border-radius: 4px; transition: width .4s ease; }
.mb-rv-cnt { min-width: 22px; text-align: left; }

.mb-rv-rec {
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 120px;
  background: #FFFFFF; border-radius: 12px; padding: 14px 16px; box-shadow: 0 2px 8px rgba(31, 29, 92, .06); text-align: center;
}
.mb-rv-rec b { font-size: 28px; font-weight: 900; color: #10B981; line-height: 1.1; }
.mb-rv-rec span { font-size: 12px; color: #55547A; margin-top: 4px; line-height: 1.4; }
.mb-rv-rec em { font-size: 11px; color: #A3A2B8; margin-top: 6px; }

.mb-rv-tools { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.mb-rv-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.mb-rv-filters button {
  padding: 6px 14px; border-radius: 20px; border: 1.5px solid #E6E5F0; background: #FFFFFF;
  font: inherit; font-size: 13px; color: #55547A; cursor: pointer; transition: all .15s ease;
}
.mb-rv-filters button.is-active { background: #1F1D5C; border-color: #1F1D5C; color: #FFFFFF; }
.mb-rv-sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #55547A; white-space: nowrap; }
.mb-rv-sort select {
  padding: 6px 12px; border-radius: 10px; border: 1.5px solid #E6E5F0; background: #FFFFFF;
  font: inherit; font-size: 13px; color: #1F1D5C; cursor: pointer; min-width: 110px;
}

.mb-rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.mb-rv-card {
  background: #FFFFFF; border: 1px solid #F0EFF5; border-radius: 14px; padding: 16px;
  box-shadow: 0 2px 8px rgba(31, 29, 92, .04); display: flex; flex-direction: column; gap: 10px;
}
.mb-rv-user { display: flex; align-items: center; gap: 8px; }
.mb-rv-user img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #F1F0FA; }
.mb-rv-name { font-size: 14px; font-weight: 700; color: #1F1D5C; }
.mb-rv-date { font-size: 11px; color: #A3A2B8; margin-top: 2px; }
.mb-rv-meta { display: flex; align-items: center; gap: 6px; }
.mb-rv-sep { width: 1px; height: 12px; background: #D9D8E8; }
.mb-rv-ok { display: inline-flex; align-items: center; gap: 3px; color: #10B981; font-size: 11px; }
.mb-rv-ok svg { width: 12px; height: 12px; }
.mb-rv-text { margin: 0; font-size: 13px; line-height: 1.7; color: #444366; }
.mb-rv-more {
  display: block; margin: 18px auto 0; padding: 9px 26px; border: 0; border-radius: 8px;
  background: #1F1D5C; color: #FFFFFF; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.mb-rv-more[hidden] { display: none; }

.mb-rv-empty { text-align: center; background: #F6F5F1; border-radius: 16px; padding: 22px 18px; }
.mb-rv-empty p { margin: 8px 0 0; font-size: 14px; color: #55547A; }

@media (max-width: 600px) {
  .mb-rv-grid { grid-template-columns: 1fr; }
  .mb-rv-summary { gap: 16px; padding: 18px 14px; }
  .mb-rv-avg b { font-size: 46px; }
  .mb-rv-bars { min-width: 180px; max-width: none; }
  .mb-rv-tools { flex-direction: column; align-items: stretch; }
  .mb-rv-sort { justify-content: flex-end; }
}


/* ======================================================
   مبسم — جدار التجارب المتحرك
   ====================================================== */
.mb-wl { direction: rtl; font-family: 'Tajawal', 'pingarlt', sans-serif; color: #1F1D5C; padding: 40px 12px 36px; }
.mb-wl-head { text-align: center; margin-bottom: 26px; }
.mb-wl-head h2 { font-size: 38px; font-weight: 900; margin: 0; color: #111111; }
.mb-wl-head p { font-size: 17px; color: #6B6A8A; margin: 10px 0 14px; }
.mb-wl-score { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: #55547A; }
.mb-wl-score b { font-size: 22px; font-weight: 800; color: #111111; }
.mb-wl-score .mb-wl-stars svg { width: 22px; height: 22px; }

.mb-wl-cols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
  max-width: 1280px; margin: 0 auto; height: 620px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.mb-wl-col { overflow: hidden; }
.mb-wl-track { display: flex; flex-direction: column; gap: 18px; animation: mb-wl-up linear infinite; will-change: transform; }
.mb-wl-track.down { animation-name: mb-wl-down; }
.mb-wl-cols:hover .mb-wl-track { animation-play-state: paused; }
@keyframes mb-wl-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 9px)); } }
@keyframes mb-wl-down { from { transform: translateY(calc(-50% - 9px)); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .mb-wl-track { animation: none; } }

.mb-wl-card {
  background: #FFFFFF; border-radius: 20px; padding: 20px 22px;
  box-shadow: 0 4px 18px rgba(31, 29, 92, .06); display: flex; flex-direction: column; gap: 12px;
}
.mb-wl-user { display: flex; align-items: center; gap: 12px; }
.mb-wl-av {
  width: 48px; height: 48px; border-radius: 50%; background: #1F1D5C; color: #FFFFFF; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700;
}
.mb-wl-name { font-size: 17px; font-weight: 700; color: #111111; }
.mb-wl-ver { display: flex; align-items: center; gap: 4px; font-size: 13px; color: #534AB7; margin-top: 2px; }
.mb-wl-ver svg { width: 14px; height: 14px; }
.mb-wl-stars { display: inline-flex; gap: 3px; }
.mb-wl-stars i { display: flex; }
.mb-wl-stars svg { width: 22px; height: 22px; fill: #E5E7EB; }
.mb-wl-stars i.on svg { fill: #F5C518; }
.mb-wl-text { margin: 0; font-size: 15px; line-height: 1.9; color: #2E2C55; }
.mb-wl-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  border-top: 1px solid #F0EFF5; padding-top: 12px; font-size: 13px; color: #A3A2B8;
}
.mb-wl-foot em { font-style: italic; color: #8B8AA0; }

@media (max-width: 1024px) {
  .mb-wl-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mb-wl-col.c3 { display: none; }
}
@media (max-width: 768px) {
  .mb-wl { padding: 28px 10px 24px; }
  .mb-wl-head h2 { font-size: 28px; }
  .mb-wl-head p { font-size: 14px; }
  .mb-wl-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; height: 520px; }
  .mb-wl-col.c2, .mb-wl-col.c3 { display: none; }
  .mb-wl-track { gap: 10px; }
  @keyframes mb-wl-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 5px)); } }
  @keyframes mb-wl-down { from { transform: translateY(calc(-50% - 5px)); } to { transform: translateY(0); } }
  .mb-wl-card { padding: 14px; border-radius: 16px; gap: 8px; }
  .mb-wl-av { width: 36px; height: 36px; font-size: 13px; }
  .mb-wl-name { font-size: 14px; }
  .mb-wl-ver { font-size: 11px; }
  .mb-wl-stars svg { width: 15px; height: 15px; }
  .mb-wl-text { font-size: 12.5px; line-height: 1.8; }
  .mb-wl-foot { font-size: 11px; padding-top: 8px; }
}

/* ======================================================
   مبسم — بطاقة التبييض (مصغّرة، تحت جدار التجارب)
   ====================================================== */
.mb-tc { direction: rtl; font-family: 'Tajawal', 'pingarlt', sans-serif; padding: 6px 14px 34px; }
.mb-tc-grid { max-width: 560px; margin: 0 auto; }
.mb-tc-card {
  position: relative; overflow: hidden; background: #FFFFFF; border: 1px solid #ECE8F7; border-radius: 22px;
  padding: 20px 18px 16px; box-shadow: 0 6px 22px rgba(31, 29, 92, .05);
}
.mb-tc-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #C9B8F5, #6E5BB8); }
.mb-tc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.mb-tc-head h3 { margin: 0; font-size: 24px; font-weight: 900; line-height: 1.2; color: #1F1D5C; }
.mb-tc-head p { margin: 3px 0 0; font-size: 13.5px; font-weight: 700; color: #6E5BB8; }
.mb-tc-pill {
  display: inline-flex; align-items: center; gap: 5px; background: #EEEAF9; color: #6E5BB8;
  font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; white-space: nowrap;
}
.mb-tc-pill svg { width: 15px; height: 15px; }

.mb-tc-stage {
  position: relative; border-radius: 18px; padding: 34px 16px 16px; text-align: center; overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #6B4FB8 0%, transparent 60%), linear-gradient(160deg, #2B2370 0%, #3A1F6E 55%, #5A2A82 100%);
}
.mb-tc-label { position: absolute; top: 10px; right: 14px; font-size: 11.5px; color: rgba(255, 255, 255, .6); }
.mb-tc-frame {
  position: relative; width: min(100%, 220px); aspect-ratio: 1 / .8; margin: 0 auto; border-radius: 18px; overflow: hidden;
  border: 5px solid rgba(255, 255, 255, .1); box-shadow: 0 10px 22px rgba(0, 0, 0, .25);
}
.mb-tc-img { position: absolute; inset: 0; background: center / cover no-repeat; }

/* التبييض التدريجي: الأسنان بس تبيض مع الشريط */
.mb-tc-before { animation: mb-tc-fade 6s ease-in-out infinite; }
@keyframes mb-tc-fade { 0%, 8% { opacity: 1; } 80%, 100% { opacity: 0; } }
.mb-tc-bar { height: 9px; max-width: 220px; margin: 16px auto 7px; border-radius: 9px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.mb-tc-bar span { display: block; height: 100%; width: 0; border-radius: 9px; background: linear-gradient(90deg, #FFFFFF, #CFC6F2); animation: mb-tc-bar 6s ease-in-out infinite; }
@keyframes mb-tc-bar { 0%, 8% { width: 0; } 80%, 100% { width: 100%; } }
.mb-tc-lbl { display: flex; justify-content: space-between; max-width: 220px; margin: 0 auto; color: #E7E2F7; font-size: 12px; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .mb-tc-before, .mb-tc-bar span { animation: none !important; }
  .mb-tc-before { opacity: 0; }
  .mb-tc-bar span { width: 100%; }
}

.mb-tc-rows { margin-top: 6px; }
.mb-ft-links-box[hidden] { display: none !important; }
.mb-tc-row { display: flex; align-items: flex-start; gap: 10px; padding: 12px 2px 0; margin-top: 12px; border-top: 2px dashed #ECE8F7; }
.mb-tc-ic { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: #EEEAF9; color: #6E5BB8; display: flex; align-items: center; justify-content: center; }
.mb-tc-ic svg { width: 17px; height: 17px; }
.mb-tc-row b { display: block; font-size: 15px; font-weight: 800; color: #1F1D5C; margin-bottom: 2px; }
.mb-tc-row p { margin: 0; font-size: 14px; line-height: 1.8; color: #55547A; }
.mb-tc-row p b { display: inline; font-size: inherit; color: #1F1D5C; margin: 0; }

@media (max-width: 600px) {
  .mb-tc-card { padding: 18px 14px 14px; border-radius: 20px; }
  .mb-tc-head h3 { font-size: 21px; }
  .mb-tc-head p { font-size: 12.5px; }
  .mb-tc-pill { font-size: 12px; padding: 6px 10px; }
  .mb-tc-frame { width: min(100%, 190px); }
  .mb-tc-row b { font-size: 14px; }
  .mb-tc-row p { font-size: 13px; }
}

/* ======================================================
   مبسم — إخفاء التقييمات من الصفحات التعريفية (سياسة الاسترجاع، الشحن...)
   ====================================================== */
salla-comments[type="page"],
html.mb-info-page salla-comments,
html.mb-info-page .s-comments { display: none !important; }

/* ======================================================
   مبسم — نسخة الكمبيوتر (من 769px وفوق فقط)
   الجوال ما يتأثر بأي سطر هنا
   ====================================================== */
@media (min-width: 769px) {

  /* الرئيسية: بطاقة المنتج في المنتصف بدل ما تنزاح لليمين */
  .s-products-list-wrapper:has(.mb-on) {
    grid-template-columns: repeat(auto-fit, minmax(300px, 480px)) !important;
  }

  /* سلايدر الصور: الأسهم تبقى داخل السلايدر بدل ما تطيح في نص الصفحة */
  .s-block--photos-slider .photoSwiper { position: relative; }

  /* صفحة المنتج: الصور يمين، وعمود الشراء (الاسم والسعر والباقات) يسار */
  .mb-pp-on .container--product-details {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 40px;
    align-items: start;
  }
  .mb-pp-on .container--product-details > .flex { display: contents !important; }
  .mb-pp-on .container--product-details > .flex > .sidebar {
    grid-column: 1; grid-row: 1;
    width: auto !important; margin: 0 !important; align-self: start;
  }
  .mb-pp-on .container--product-details > .flex > .main-content {
    grid-column: 2; grid-row: 1;
    width: auto !important; min-width: 0;
  }
  .mb-pp-on .container--product-details .details-slider { border-radius: 18px; }
  .mb-pp-head { padding-top: 4px; }
}

/* ======================================================
   مبسم — سلة المشتريات
   ====================================================== */
/* بطاقة المنتج في السلة */
.cart-item.A-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E6E5F0;
  border-radius: 18px !important;
  box-shadow: 0 4px 18px rgba(31, 29, 92, .05);
  font-family: 'Tajawal', 'pingarlt', sans-serif;
  color: #1F1D5C;
}
.cart-item img {
  border-radius: 14px !important;
  border-color: #ECEBF3 !important;
  background: #FCFBF8 !important;
  object-fit: contain !important;
}
.cart-item h1 { color: #1F1D5C !important; }
.cart-item h1 a { color: #1F1D5C !important; font-weight: 800; line-height: 1.5; }
.cart-item .item-price { color: #C7264A !important; font-size: 15px !important; font-weight: 800; }
.cart-item .item-regular-price,
.cart-item .item-original-price { color: #A3A2B8 !important; }
.cart-item .border-t { border-color: #ECEBF3 !important; }
.cart-item p.text-primary { color: #1F1D5C !important; font-size: 15px !important; }
.cart-item p.text-primary .item-total { color: #C7264A; font-weight: 800; }

/* الكمية: نفس مربع صفحة المنتج */
.cart-item .s-quantity-input-container {
  border: 1px solid #D9D8E8 !important;
  border-radius: 0 !important;
  background: #FFFFFF !important;
  overflow: hidden;
}
.cart-item .s-quantity-input-button { color: #1F1D5C !important; background: transparent !important; }
.cart-item .s-quantity-input-button:hover { background: #F1F0FA !important; }
.cart-item .s-quantity-input-input {
  border-inline: 1px solid #D9D8E8 !important;
  color: #1F1D5C !important; font-weight: 700; font-family: inherit;
}

/* زر الحذف */
.cart-item .btn--delete.s-button-element {
  width: 30px !important; height: 30px !important; border-radius: 50% !important;
  background: #F1F0FA !important; border: 0 !important; color: #1F1D5C !important;
  box-shadow: none !important; transition: background .15s ease, color .15s ease;
}
.cart-item .btn--delete.s-button-element i { color: inherit !important; font-size: 11px; }
.cart-item .btn--delete.s-button-element:hover { background: #FCE4E9 !important; color: #C7264A !important; }

/* خيار العبوة: سطر واحد صغير بدل الصندوق الكبير */
.cart-item salla-product-options {
  display: block;
  background: #F7F7FA !important;
  border: 1px solid #ECEBF3;
  border-radius: 14px !important;
  padding: 10px 14px !important;
  margin-top: 4px;
  box-shadow: none !important;
}
.cart-item salla-product-options .s-product-options-option {
  display: flex; align-items: center; gap: 12px; margin: 0 !important; padding: 0 !important;
}
.cart-item salla-product-options .s-product-options-option-label { margin: 0 !important; flex-shrink: 0; width: auto !important; }
.cart-item salla-product-options .s-product-options-option-label b { font-size: 14px; font-weight: 700; color: #55547A; }
.cart-item salla-product-options .s-product-options-option-label b span,
.cart-item salla-product-options .s-product-options-option-label small { display: none !important; }
.cart-item salla-product-options .s-product-options-option-content { flex: 1; min-width: 0; margin: 0 !important; }
.cart-item salla-product-options select.s-form-control {
  height: 40px; border: 1.5px solid #E6E5F0 !important; border-radius: 12px !important;
  background-color: #FFFFFF !important; color: #1F1D5C !important;
  font-family: 'Tajawal', 'pingarlt', sans-serif; font-size: 14px; font-weight: 700;
}
.cart-item salla-product-options select.s-form-control:focus { border-color: #1F1D5C !important; box-shadow: none !important; }

/* ملخص الطلب وزر إتمام الطلب */
salla-cart-summary-card { font-family: 'Tajawal', 'pingarlt', sans-serif; color: #1F1D5C; }
salla-cart-summary-card .s-cart-summary-card-bar-label-text,
salla-cart-summary-card .s-cart-summary-card-sheet-title { color: #1F1D5C !important; font-weight: 800; }
salla-cart-summary-card .s-cart-summary-card-bar-count { color: #8B8AA0 !important; }
salla-cart-summary-card .s-cart-summary-card-bar-total { color: #C7264A !important; font-weight: 900; }
salla-cart-summary-card .s-cart-summary-card-chevron { color: #1F1D5C !important; }
salla-cart-summary-card #s-cart-summary-card-submit .s-button-element,
salla-cart-summary-card .s-cart-summary-card-action .s-button-element {
  min-height: 48px; border-radius: 0 !important;
  background: #1F1D5C !important; border: 0 !important; color: #FFFFFF !important;
  font-family: 'Tajawal', 'pingarlt', sans-serif; font-size: 16px; font-weight: 800;
  transition: background .15s ease;
}
salla-cart-summary-card #s-cart-summary-card-submit .s-button-element:hover,
salla-cart-summary-card .s-cart-summary-card-action .s-button-element:hover { background: #2D2A80 !important; }
salla-cart-summary-card #s-cart-summary-card-submit .s-button-text { color: #FFFFFF !important; }

/* ======================================================
   مبسم — «وصف المنتج» داخل صفحة المنتج (أول قسم ومفتوح)
   ====================================================== */
.mb-pp-panel .products-accordion-warpper { display: block; margin: 0 0 8px; font-family: 'Tajawal', 'pingarlt', sans-serif; }
.mb-pp-panel .products-accordion-warpper aui-accordion-item {
  display: block; background: #FFFFFF; border: 1.5px solid #E6E5F0 !important; border-radius: 14px; overflow: hidden;
}
.mb-pp-panel .products-accordion-warpper aui-accordion-item[open] { border-color: #1F1D5C !important; }
.mb-pp-panel .products-accordion-warpper aui-accordion-item::part(trigger) {
  direction: rtl; text-align: right; padding: 14px 16px; border-bottom: 0;
  font-family: 'Tajawal', 'pingarlt', sans-serif; font-size: 16px; font-weight: 700; color: #1F1D5C;
}
.mb-pp-panel .products-accordion-warpper aui-accordion-item [slot="trigger"] { flex: 1; text-align: right; }
.mb-pp-panel .products-accordion-warpper aui-accordion-item::part(icon) {
  width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: #F1F0FA; color: #1F1D5C;
}
.mb-pp-panel .products-accordion-warpper aui-accordion-item[open]::part(icon) { background: #1F1D5C; color: #FFFFFF; }
.mb-pp-panel .products-accordion-warpper aui-accordion-item::part(content-text) { padding: 0 16px 16px; }
.mb-pp-panel .accordion__product__description__warpper,
.mb-pp-panel .product__description { padding: 0 !important; margin: 0 !important; background: none !important; }
.mb-pp-panel .product__description p,
.mb-pp-panel .product__description span {
  padding: 0 !important; font-family: 'Tajawal', 'pingarlt', sans-serif !important;
  font-size: 15px !important; line-height: 1.9 !important; color: #4A4970 !important; background: none !important;
}
.mb-pp-panel .product__description p:empty,
.mb-pp-panel .product__description p:has(> br:only-child) { display: none; }
.mb-pp-panel .product__description p + p { margin-top: 6px; }
.mb-pp-panel .product__description ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.mb-pp-panel .product__description li { list-style: none !important; padding: 0 !important; }
.mb-pp-panel .product__description li::before,
.mb-pp-panel .product__description li::marker { content: none !important; }

/* سطور «لماذا مَبسم؟» بدون نقاط، وكل معلومة بسطر مستقل */
.mb-pp-acc-body { white-space: normal; }
.mb-pp-acc-body p { margin: 0; }
.mb-pp-acc-body p + p { margin-top: 8px; }