/* ========================================
   MACAROS — FINAL DESIGN
======================================== */

/* ========================================
   CLEAN HEADER
======================================== */

.store-header {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(20, 20, 20, 0.06) !important;
  box-shadow: 0 5px 18px rgba(25, 20, 15, 0.06) !important;
}

.store-header .s-main-nav-container {
  min-height: 72px !important;
  height: 72px !important;
  padding-inline: 14px !important;
}

/* تكبير الشعار بشكل بسيط */
.store-header .navbar-brand img,
.store-header .s-logo img,
.store-header .logo img {
  width: auto !important;
  max-width: 115px !important;
  max-height: 44px !important;
  object-fit: contain !important;
}

/* العناصر المحذوفة من الهيدر */
.store-header .macaros-hide-header-item {
  display: none !important;
}

/* حركة خفيفة للأيقونات */
.store-header button,
.store-header a {
  transition: transform 0.2s ease;
}

.store-header button:active,
.store-header a:active {
  transform: scale(0.94);
}

/* ========================================
   PRODUCT CARDS — BASE
======================================== */

.angel-products-1 custom-salla-product-card {
  display: block !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #fffaf0 !important;
  border: 1px solid rgba(20, 20, 20, 0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 5px 18px rgba(30, 24, 16, 0.07) !important;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.angel-products-1
custom-salla-product-card
.s-product-card-image {
  overflow: hidden !important;
  border-radius: 14px 14px 0 0 !important;
}

.angel-products-1
custom-salla-product-card
.s-product-card-content {
  padding: 11px 10px 14px !important;
}

/* ========================================
   COMPLETE PACKAGE — PREMIUM
======================================== */

.angel-products-1
custom-salla-product-card.macaros-premium-card {
  border: 1.5px solid transparent !important;

  background:
    linear-gradient(#fffaf3, #fffaf3) padding-box,
    linear-gradient(
      135deg,
      #ffde59 0%,
      #ff914d 100%
    ) border-box !important;

  box-shadow:
    0 8px 22px rgba(255, 145, 77, 0.16) !important;
}

/* ========================================
   NUTRITION GUIDE
======================================== */

.angel-products-1
custom-salla-product-card.macaros-guide-card {
  background: #fffaf0 !important;

  border:
    1px solid rgba(255, 211, 103, 0.56) !important;

  box-shadow:
    0 5px 17px rgba(45, 35, 20, 0.06) !important;
}

/* ========================================
   PRODUCT TITLES
======================================== */

.angel-products-1 .macaros-product-title {
  display: block !important;
  overflow: visible !important;
  margin-top: 3px !important;
  color: #171717 !important;
  font-family: inherit !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  text-overflow: clip !important;
}

/* ========================================
   RATINGS
======================================== */

.macaros-card-rating {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 22px;
  margin: 6px 0 8px;
  direction: ltr;
  line-height: 1;
  white-space: nowrap;
}

.macaros-card-stars {
  color: #f5a623 !important;
  font-family: Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1 !important;
  letter-spacing: 1.2px !important;
  white-space: nowrap;
}

.macaros-rating-label {
  color: #625c54 !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap;
}

/* ========================================
   SHORT DESCRIPTION
======================================== */

.macaros-card-description {
  display: -webkit-box !important;
  overflow: hidden !important;
  margin: 3px 0 8px !important;
  color: #77716a !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  text-overflow: ellipsis !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

/* ========================================
   PRODUCT BUTTONS — BASE
======================================== */

.angel-products-1 .macaros-card-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 6px;
  color: #171717 !important;
  border-radius: 11px;
  font-family: inherit !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-position 0.35s ease;
}

/* زر البكج الشامل */
.angel-products-1
.macaros-premium-card
.macaros-card-btn {
  background:
    linear-gradient(
      90deg,
      #ffde59 0%,
      #ff914d 100%
    ) !important;

  border:
    1px solid rgba(255, 145, 77, 0.28) !important;

  box-shadow:
    0 7px 18px rgba(255, 145, 77, 0.26) !important;
}

/* زر دليل التغذية */
.angel-products-1
.macaros-guide-card
.macaros-card-btn {
  background: #ffd367 !important;

  border:
    1px solid rgba(225, 170, 48, 0.25) !important;

  box-shadow:
    0 6px 15px rgba(255, 211, 103, 0.25) !important;
}

.angel-products-1 .macaros-card-btn:active {
  transform: scale(0.98);
}

/* الكمبيوتر فقط */
@media (min-width: 768px) {
  .angel-products-1
  custom-salla-product-card:hover {
    transform: translateY(-3px);

    box-shadow:
      0 10px 26px rgba(30, 24, 16, 0.11) !important;
  }

  .angel-products-1 .macaros-card-btn:hover {
    transform: translateY(-2px);
  }
}

/* الجوال */
@media (max-width: 480px) {
  .angel-products-1
  custom-salla-product-card {
    border-radius: 12px !important;
  }

  .angel-products-1 .macaros-product-title {
    font-size: 14px !important;
  }

  .macaros-card-rating {
    gap: 5px;
    margin: 6px 0 8px;
  }

  .macaros-card-stars {
    font-size: 14.5px !important;
    letter-spacing: 1px !important;
  }

  .macaros-rating-label {
    font-size: 11.5px !important;
  }

  .angel-products-1 .macaros-card-btn {
    min-height: 43px;
    font-size: 12px !important;
  }
}

/* محاذاة التقييمات مع النص إلى اليمين */
.macaros-card-rating {
  width: 100% !important;
  justify-content: flex-end !important;
  direction: ltr !important;
  text-align: right !important;
  padding: 0 !important;
  margin: 6px 0 8px !important;
}




/* ========================================
   MACAROS — CLEAN PREMIUM HEADER V1
======================================== */

.store-header #mainnav.main-nav-container {
  box-shadow: none !important;
}

.store-header .header-inner {
  position: relative !important;
  background: #fffdf9 !important;
  border-bottom: 1px solid rgba(17, 17, 17, 0.07) !important;
  box-shadow: 0 5px 18px rgba(28, 22, 15, 0.055) !important;
}

/* خط هوية بسيط أعلى الهيدر */
.store-header .header-inner::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffde59 0%, #ff914d 100%);
  pointer-events: none;
}

.store-header .header-container > .flex {
  min-height: 70px !important;
  align-items: center !important;
}

/* الشعار */
.store-header .navbar-brand {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

.store-header .navbar-brand img {
  width: auto !important;
  height: 52px !important;
  max-width: 126px !important;
  object-fit: contain !important;
}

/* إخفاء حساب المستخدم وقيمة السلة فقط */
.store-header button[aria-label="user"],
.store-header .macaros-cart-value-hidden {
  display: none !important;
}

/* توزيع متوازن للأيقونات */
.store-header .header-container > .flex > div:first-child,
.store-header .header-container > .flex > div:last-child {
  gap: 3px !important;
}

.store-header .mburger,
.store-header .search-btn,
.store-header .header-cart .header-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 11px !important;
  background: transparent !important;
  transition: background-color 0.2s ease, transform 0.2s ease !important;
}

.store-header .mburger p {
  display: none !important;
}

.store-header .mburger i,
.store-header .search-btn i,
.store-header .header-cart .header-btn i {
  color: #111827 !important;
  font-size: 21px !important;
  line-height: 1 !important;
}

@media (hover: hover) {
  .store-header .mburger:hover,
  .store-header .search-btn:hover,
  .store-header .header-cart .header-btn:hover {
    background: rgba(255, 211, 103, 0.16) !important;
  }
}

.store-header .mburger:active,
.store-header .search-btn:active,
.store-header .header-cart .header-btn:active {
  transform: scale(0.94) !important;
}

@media (max-width: 480px) {
  .store-header .header-container {
    padding-right: 11px !important;
    padding-left: 11px !important;
  }

  .store-header .navbar-brand img {
    height: 50px !important;
    max-width: 118px !important;
  }
}

/* ========================================
   MACAROS — PREMIUM REVIEWS V1
======================================== */

/* نخفي القسم الأصلي فقط بعد نجاح بناء القسم الجديد */
.angel-testimonials.macaros-reviews-source-hidden {
  display: none !important;
}

.macaros-reviews-v1 {
  --macaros-yellow: #ffde59;
  --macaros-orange: #ff914d;
  --macaros-ink: #171717;
  --macaros-muted: #706960;

  position: relative;
  overflow: hidden;
  padding: 42px 0 38px;
  border-top: 1px solid rgba(23, 23, 23, 0.055);
  border-bottom: 1px solid rgba(23, 23, 23, 0.055);
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 222, 89, 0.13), transparent 28%),
    radial-gradient(circle at 90% 85%, rgba(255, 145, 77, 0.10), transparent 30%);
  font-family: inherit !important;
}

.macaros-reviews-v1 * {
  box-sizing: border-box;
  font-family: inherit !important;
}

/* رأس القسم */
.macaros-reviews-head {
  width: min(100% - 32px, 760px);
  margin: 0 auto 24px;
  text-align: center;
}

.macaros-reviews-summary-stars {
  margin-bottom: 8px;
  color: #ffad12;
  font-family: Arial, sans-serif !important;
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2px;
}

.macaros-reviews-head h2 {
  margin: 0;
  color: var(--macaros-ink) !important;
  font-size: clamp(25px, 6vw, 34px) !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

.macaros-reviews-head h2 span {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.macaros-reviews-head h2 span::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -3px;
  bottom: 2px;
  width: calc(100% + 6px);
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--macaros-yellow), var(--macaros-orange));
  opacity: 0.62;
}

.macaros-reviews-head p {
  margin: 7px 0 0;
  color: var(--macaros-muted) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
}

/* مسار البطاقات */
.macaros-reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(86vw, 360px);
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 3px max(16px, calc((100vw - 1180px) / 2)) 16px;
  scroll-padding-inline: 16px;
  scroll-snap-type: inline mandatory;
  direction: rtl;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.macaros-reviews-track::-webkit-scrollbar {
  display: none;
}

/* بطاقة التقييم */
.macaros-review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  overflow: hidden;
  padding: 22px 20px 18px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(23, 23, 23, 0.085);
  border-radius: 17px;
  box-shadow: 0 7px 20px rgba(30, 24, 16, 0.065);
  text-align: right;
}

.macaros-review-card::before {
  content: "“";
  position: absolute;
  top: 4px;
  left: 15px;
  color: rgba(23, 23, 23, 0.075);
  font-family: Georgia, serif !important;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.macaros-review-stars {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  color: #ffad12;
  font-family: Arial, sans-serif !important;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.5px;
  direction: ltr;
  text-align: right;
}

.macaros-review-text {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 18px;
  color: #302d29 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.85 !important;
  text-align: right;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.macaros-review-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.macaros-review-name {
  color: var(--macaros-ink) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

.macaros-review-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  min-height: 29px;
  padding: 6px 10px;
  color: #50493f !important;
  background: #fff6df;
  border: 1px solid rgba(255, 174, 18, 0.18);
  border-radius: 999px;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.macaros-review-verified::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--macaros-yellow), var(--macaros-orange));
  box-shadow: 0 0 0 3px rgba(255, 174, 18, 0.12);
}

/* تلميح السحب على الجوال */
.macaros-reviews-swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 auto 19px;
  color: #81796f;
  font-size: 11px;
  font-weight: 600;
}

.macaros-reviews-swipe-hint::before,
.macaros-reviews-swipe-hint::after {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.13);
}

/* زر التحويل */
.macaros-reviews-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: min(calc(100% - 34px), 360px);
  min-height: 52px;
  margin: 0 auto;
  padding: 12px 18px;
  color: #171717 !important;
  background: linear-gradient(90deg, var(--macaros-yellow), var(--macaros-orange)) !important;
  border: 1px solid rgba(255, 145, 77, 0.28);
  border-radius: 14px;
  box-shadow: 0 9px 22px rgba(255, 145, 77, 0.24);
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.macaros-reviews-cta:active {
  transform: scale(0.98);
}

.macaros-reviews-trust-note {
  margin: 9px 0 0;
  color: #7a736a;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

@media (hover: hover) {
  .macaros-review-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }

  .macaros-review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(30, 24, 16, 0.11);
  }

  .macaros-reviews-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 27px rgba(255, 145, 77, 0.31);
  }
}

@media (min-width: 768px) {
  .macaros-reviews-v1 {
    padding: 54px 0 46px;
  }

  .macaros-reviews-track {
    grid-auto-columns: min(31vw, 365px);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .macaros-reviews-v1 {
    padding: 36px 0 32px;
  }

  .macaros-reviews-head {
    margin-bottom: 20px;
  }

  .macaros-reviews-summary-stars {
    font-size: 21px;
  }

  .macaros-reviews-head h2 {
    font-size: 27px !important;
  }

  .macaros-review-card {
    min-height: 264px;
    padding: 20px 18px 17px;
  }

  .macaros-review-text {
    font-size: 14.5px !important;
  }
}

/* MACAROS — تعبئة عرض بطاقات الأكثر مبيعًا نهائيًا */
@media (max-width: 767px) {
  body.index .angel-products-1 .angel-products-container {
    width: 100% !important;
    max-width: none !important;
    padding-inline: 7px !important;
  }

  /* هذا العنصر الفارغ كان يحجز المساحة اليسرى */
  body.index
    .angel-products-1
    salla-slider
    > .s-slider-block__title {
    display: none !important;
    width: 0 !important;
    flex: 0 0 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.index .angel-products-1 salla-products-slider,
  body.index .angel-products-1 salla-slider {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
  }

  body.index .angel-products-1 .s-slider-container {
    display: block !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  /* تحويل المنتجين إلى شبكة ثابتة بدل حسابات Swiper */
  body.index .angel-products-1 .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  body.index
    .angel-products-1
    .s-products-slider-card.swiper-slide {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    flex: none !important;
    transform: none !important;
  }

  body.index
    .angel-products-1
    custom-salla-product-card {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  body.index .angel-products-1 .swiper-notification {
    display: none !important;
  }
}

/* ==========================================================
   MACAROS — BENEFITS V1
========================================================== */

.macaros-benefits-v1 {
  --macaros-yellow: #ffde59;
  --macaros-orange: #ff914d;
  --macaros-ink: #171513;
  --macaros-muted: #6f685f;
  --macaros-line: rgba(28, 23, 18, 0.10);

  position: relative;
  overflow: hidden;
  padding: 38px 0 36px;
  direction: rtl;
  font-family: inherit !important;
}

.macaros-benefits-v1,
.macaros-benefits-v1 * {
  box-sizing: border-box;
}

.macaros-benefits-container {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.macaros-benefits-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 0 16px;
  margin-bottom: 20px;
}

.macaros-benefits-heading {
  max-width: 620px;
}

.macaros-benefits-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: #df601e;
  font-size: 12px;
  font-weight: 800;
}

.macaros-benefits-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--macaros-yellow), var(--macaros-orange));
  box-shadow: 0 0 0 4px rgba(255, 145, 77, 0.12);
}

.macaros-benefits-heading h2 {
  margin: 0;
  color: var(--macaros-ink);
  font-size: clamp(27px, 7vw, 40px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.macaros-benefits-heading h2 span {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.macaros-benefits-heading h2 span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  z-index: -1;
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--macaros-yellow), var(--macaros-orange));
  opacity: 0.72;
}

.macaros-benefits-heading > p {
  margin: 8px 0 0;
  color: var(--macaros-muted) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
}

.macaros-benefits-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  direction: ltr;
}

.macaros-benefits-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--macaros-ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--macaros-line);
  border-radius: 50%;
  font-family: inherit !important;
  font-size: 19px;
  line-height: 1;
  box-shadow: 0 5px 16px rgba(38, 28, 17, 0.07);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.macaros-benefits-controls button:hover {
  background: #ffffff;
  border-color: rgba(255, 145, 77, 0.55);
  transform: translateY(-2px);
}

.macaros-benefits-controls button:active {
  transform: scale(0.95);
}

.macaros-benefits-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(84vw, 335px);
  gap: 12px;
  width: 100%;
  padding: 4px 16px 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.macaros-benefits-track::-webkit-scrollbar {
  display: none;
}

.macaros-benefit-card {
  --benefit-a: #ffde59;
  --benefit-b: #ff914d;
  --benefit-glow: rgba(255, 145, 77, 0.20);

  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(28, 23, 18, 0.10);
  border-radius: 20px;
  box-shadow: 0 9px 28px rgba(45, 33, 18, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.macaros-benefit-card:nth-child(2) {
  --benefit-a: #ffc857;
  --benefit-b: #ff7f50;
  --benefit-glow: rgba(255, 127, 80, 0.20);
}

.macaros-benefit-card:nth-child(3) {
  --benefit-a: #ffd367;
  --benefit-b: #df601e;
  --benefit-glow: rgba(223, 96, 30, 0.18);
}

.macaros-benefit-card:nth-child(4) {
  --benefit-a: #ffb83e;
  --benefit-b: #ff7652;
  --benefit-glow: rgba(255, 118, 82, 0.20);
}

.macaros-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 34px rgba(45, 33, 18, 0.13);
}

.macaros-benefit-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: 230px;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 12%, var(--benefit-glow), transparent 34%),
    radial-gradient(circle at 84% 86%, var(--benefit-glow), transparent 40%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 236, 0.72)),
    #fff8ec;
  border-bottom: 1px solid rgba(28, 23, 18, 0.08);
}

.macaros-benefit-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(23, 21, 19, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 21, 19, 0.035) 1px, transparent 1px);
  background-size: 27px 27px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 88%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 88%);
}

.macaros-benefit-media::after {
  content: "";
  position: absolute;
  left: -34px;
  bottom: -54px;
  z-index: -1;
  width: 180px;
  height: 180px;
  border: 34px solid var(--benefit-glow);
  border-radius: 50%;
  opacity: 0.72;
}

.macaros-benefit-number {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 27px;
  padding: 0 10px;
  color: #ffffff;
  background: rgba(18, 17, 15, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.macaros-benefit-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 2px;
  color: var(--macaros-ink);
}

.macaros-benefit-visual::after {
  content: attr(data-index);
  position: absolute;
  left: 4px;
  top: 43%;
  z-index: -1;
  color: var(--macaros-ink);
  direction: ltr;
  font-size: 112px;
  font-weight: 900;
  line-height: 0.7;
  opacity: 0.035;
  transform: translateY(-50%);
}

.macaros-benefit-visual-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 28px;
  padding-right: 50px;
}

.macaros-benefit-visual-head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #6d6257;
  font-size: 10.5px;
  font-weight: 800;
}

.macaros-benefit-visual-head span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--benefit-a), var(--benefit-b));
  box-shadow: 0 0 0 4px var(--benefit-glow);
}

.macaros-benefit-metric {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 8px 3px 10px;
}

.macaros-benefit-metric strong {
  position: relative;
  display: inline-block;
  color: var(--macaros-ink);
  font-size: clamp(48px, 14vw, 66px) !important;
  font-weight: 900 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.035em !important;
  unicode-bidi: plaintext;
}

.macaros-benefit-metric strong::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  z-index: -1;
  width: 72%;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--benefit-a), var(--benefit-b));
  opacity: 0.92;
}

.macaros-benefit-metric small {
  margin-top: 13px;
  color: #514a42;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.macaros-benefit-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.macaros-benefit-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 34px;
  padding: 7px 5px;
  overflow: hidden;
  color: #4e463e;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(28, 23, 18, 0.08);
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 800;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 5px 14px rgba(45, 33, 18, 0.05);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.macaros-benefit-content {
  position: relative;
  min-height: 190px;
  padding: 17px 17px 20px;
}

.macaros-benefit-content::before {
  content: "";
  position: absolute;
  top: 0;
  right: 17px;
  left: 17px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--benefit-a), var(--benefit-b), transparent);
  opacity: 0.58;
}

.macaros-benefit-label {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 9px;
  color: #8a3d17;
  background: rgba(255, 145, 77, 0.12);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.macaros-benefit-content h3 {
  margin: 0;
  color: var(--macaros-ink);
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

.macaros-benefit-content p {
  margin: 9px 0 0;
  color: var(--macaros-muted) !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
}

.macaros-benefits-swipe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 auto 23px;
  color: #8a8279;
  font-size: 10.5px;
  font-weight: 500;
}

.macaros-benefits-swipe span {
  width: 30px;
  height: 1px;
  background: rgba(23, 21, 19, 0.15);
}

.macaros-benefits-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 16px;
}

.macaros-benefits-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #5f584f;
  font-size: 12px;
  font-weight: 500;
}

.macaros-benefits-proof strong {
  color: var(--macaros-ink);
  font-weight: 800;
}

.macaros-benefits-stars {
  color: #ffb21a;
  font-size: 15px;
  letter-spacing: 1px;
}

.macaros-benefits-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 360px);
  min-height: 50px;
  padding: 12px 22px;
  color: var(--macaros-ink) !important;
  background: linear-gradient(90deg, var(--macaros-yellow), var(--macaros-orange));
  border: 1px solid rgba(255, 145, 77, 0.35);
  border-radius: 14px;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 9px 22px rgba(255, 145, 77, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.macaros-benefits-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 145, 77, 0.32);
}

.macaros-benefits-cta:active {
  transform: scale(0.98);
}

@media (min-width: 768px) {
  .macaros-benefits-v1 {
    padding: 54px 0 48px;
  }

  .macaros-benefits-header,
  .macaros-benefits-footer {
    padding-right: 22px;
    padding-left: 22px;
  }

  .macaros-benefits-track {
    grid-auto-columns: calc((100% - 14px) / 2);
    gap: 14px;
    padding-right: 22px;
    padding-left: 22px;
    scroll-padding-inline: 22px;
  }

  .macaros-benefit-content {
    min-height: 178px;
    padding: 19px 20px 22px;
  }

  .macaros-benefits-footer {
    flex-direction: row;
    justify-content: space-between;
  }

  .macaros-benefits-cta {
    width: 320px;
  }
}

@media (min-width: 1100px) {
  .macaros-benefits-track {
    grid-auto-columns: calc((100% - 28px) / 3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .macaros-benefit-card,
  .macaros-benefits-controls button,
  .macaros-benefits-cta {
    transition: none !important;
  }
}

/* ==========================================================
   MACAROS — PRODUCTS HEADER V3 (INDEPENDENT)
========================================================== */

body.index .angel-products-1.macaros-products-heading-v3-mounted {
  position: relative;
}

/* لا نخفي القديم إلا بعد نجاح JavaScript */
body.index
  .angel-products-1.macaros-products-heading-v3-mounted
  .angel-products-title {
  display: none !important;
}

body.index .angel-products-1 .macaros-products-heading-v3,
body.index .angel-products-1 .macaros-products-heading-v3 * {
  box-sizing: border-box;
}

body.index .angel-products-1 .macaros-products-heading-v3 {
  position: relative;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 12px;
  width: 100%;
  margin: 0 0 16px !important;
  padding: 5px 2px 14px !important;
  direction: rtl;
  border-bottom: 1px solid rgba(30, 24, 16, 0.09);
  font-family: inherit !important;
}

body.index .angel-products-1 .macaros-products-heading-v3::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: -1px;
  width: 92px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffde59, #ff914d);
}

body.index .angel-products-1 .macaros-products-heading-v3__main {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

body.index .angel-products-1 .macaros-products-heading-v3__mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #ffffff;
  background: #151412;
  border: 1px solid rgba(255, 145, 77, 0.48);
  border-radius: 14px;
  box-shadow:
    0 8px 19px rgba(30, 23, 15, 0.17),
    inset 0 0 0 1px rgba(255, 255, 255, 0.055);
  transform: rotate(3deg);
}

body.index .angel-products-1 .macaros-products-heading-v3__mark::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #ffde59, #ff914d);
  border: 2px solid #fffaf2;
  border-radius: 50%;
}

body.index .angel-products-1 .macaros-products-heading-v3__mark svg {
  display: block;
  width: 25px;
  height: 25px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.22));
}

body.index .angel-products-1 .macaros-products-heading-v3__copy {
  min-width: 0;
}

body.index .angel-products-1 .macaros-products-heading-v3__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  color: #df601e;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

body.index .angel-products-1 .macaros-products-heading-v3__eyebrow i {
  display: inline-block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffde59, #ff914d);
}

body.index .angel-products-1 .macaros-products-heading-v3 h2 {
  margin: 0 !important;
  color: #171513 !important;
  font-family: inherit !important;
  font-size: clamp(22px, 5.5vw, 29px) !important;
  font-weight: 800 !important;
  line-height: 1.24 !important;
  letter-spacing: 0 !important;
}

body.index .angel-products-1 .macaros-products-heading-v3 h2 span {
  position: relative;
  z-index: 0;
  display: inline-block;
  white-space: nowrap;
}

body.index .angel-products-1 .macaros-products-heading-v3 h2 span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  z-index: -1;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffde59, #ff914d);
  opacity: 0.72;
}

body.index .angel-products-1 .macaros-products-heading-v3 p {
  max-width: 285px;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  color: #6f685f !important;
  font-family: inherit !important;
  font-size: 11.7px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
}

body.index .angel-products-1 .macaros-products-heading-v3__all {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  margin-bottom: 3px;
  padding: 8px 0 !important;
  color: #27231f !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

body.index .angel-products-1 .macaros-products-heading-v3__all::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 65%;
  height: 2px;
  border-radius: 999px;
  background: #121b34;
  transition: width 0.2s ease, background 0.2s ease;
}

body.index .angel-products-1 .macaros-products-heading-v3__all:hover::after {
  width: 100%;
  background: linear-gradient(90deg, #ffde59, #ff914d);
}

@media (max-width: 480px) {
  body.index .angel-products-1 .macaros-products-heading-v3 {
    gap: 8px;
  }

  body.index .angel-products-1 .macaros-products-heading-v3__main {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
  }

  body.index .angel-products-1 .macaros-products-heading-v3__mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  body.index .angel-products-1 .macaros-products-heading-v3__mark svg {
    width: 22px;
    height: 22px;
  }

  body.index .angel-products-1 .macaros-products-heading-v3 h2 {
    font-size: 21px !important;
  }

  body.index .angel-products-1 .macaros-products-heading-v3 p {
    max-width: 250px;
    font-size: 11.2px !important;
  }

  body.index .angel-products-1 .macaros-products-heading-v3__all {
    font-size: 10.5px !important;
  }
}

/* =========================================================
   MACAROS — FAQ FINAL APPEND
========================================================= */

/* إخفاء النسخ السابقة بعد نجاح JavaScript */
body.index section.s-block--faqs.macaros-faq-source-v4-hidden,
body.index .macaros-faqs-v3 {
  display: none !important;
}

#macaros-faqs-v4 {
  --mfaq-yellow: #ffde59;
  --mfaq-orange: #ff914d;
  --mfaq-ink: #171513;
  --mfaq-muted: #6d665e;
  --mfaq-border: rgba(32, 25, 19, 0.1);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 !important;
  padding: 44px 0 48px !important;
  color: var(--mfaq-ink);
  background:
    radial-gradient(
      circle at 7% 5%,
      rgba(255, 222, 89, 0.13),
      transparent 26%
    ),
    radial-gradient(
      circle at 94% 92%,
      rgba(255, 145, 77, 0.1),
      transparent 30%
    ),
    transparent;
  direction: rtl;
}

#macaros-faqs-v4,
#macaros-faqs-v4 * {
  box-sizing: border-box;
  font-family: inherit !important;
}

#macaros-faqs-v4 .mfaq__shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 26px), 820px);
  margin: 0 auto;
}

/* رأس القسم */

#macaros-faqs-v4 .mfaq__heading {
  max-width: 570px;
  margin: 0 auto 22px;
  text-align: center;
}

#macaros-faqs-v4 .mfaq__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #dc5d1d;
  font-size: 11.5px;
  font-weight: 900;
  line-height: 1.3;
}

#macaros-faqs-v4 .mfaq__kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--mfaq-yellow),
    var(--mfaq-orange)
  );
  box-shadow: 0 0 0 4px rgba(255, 145, 77, 0.12);
}

#macaros-faqs-v4 .mfaq__heading h2 {
  margin: 0 !important;
  color: var(--mfaq-ink) !important;
  font-size: clamp(27px, 7vw, 37px) !important;
  font-weight: 900 !important;
  line-height: 1.22 !important;
}

#macaros-faqs-v4 .mfaq__heading h2 span {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

#macaros-faqs-v4 .mfaq__heading h2 span::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: 2px;
  z-index: -1;
  width: calc(100% + 4px);
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--mfaq-yellow),
    var(--mfaq-orange)
  );
  opacity: 0.78;
}

#macaros-faqs-v4 .mfaq__heading p {
  max-width: 500px;
  margin: 9px auto 0 !important;
  color: var(--mfaq-muted) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.75 !important;
}

/* قائمة الأسئلة */

#macaros-faqs-v4 .mfaq__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  width: 100%;
}

#macaros-faqs-v4 .mfaq__item {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--mfaq-border);
  border-radius: 16px;
  box-shadow: 0 7px 22px rgba(44, 32, 20, 0.06);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

#macaros-faqs-v4 .mfaq__item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(
    90deg,
    var(--mfaq-yellow),
    var(--mfaq-orange)
  );
  transition: width 0.3s ease;
}

#macaros-faqs-v4 .mfaq__item[open] {
  background: rgba(255, 252, 247, 0.98);
  border-color: rgba(255, 145, 77, 0.43);
  box-shadow: 0 12px 29px rgba(44, 32, 20, 0.1);
}

#macaros-faqs-v4 .mfaq__item[open]::after {
  width: 100%;
}

/* سطر السؤال */

#macaros-faqs-v4 .mfaq__summary {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  margin: 0;
  padding: 13px 14px;
  color: var(--mfaq-ink);
  background: transparent;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

#macaros-faqs-v4 .mfaq__summary::-webkit-details-marker {
  display: none;
}

#macaros-faqs-v4 .mfaq__summary::marker {
  display: none;
  content: "";
}

#macaros-faqs-v4 .mfaq__summary:focus-visible {
  outline: 3px solid rgba(255, 145, 77, 0.3);
  outline-offset: -3px;
  border-radius: 15px;
}

/* الرقم */

#macaros-faqs-v4 .mfaq__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--mfaq-ink);
  background: linear-gradient(
    135deg,
    var(--mfaq-yellow),
    var(--mfaq-orange)
  );
  border: 1px solid rgba(255, 145, 77, 0.28);
  border-radius: 11px;
  direction: ltr;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: 0 5px 13px rgba(255, 145, 77, 0.16);
}

#macaros-faqs-v4 .mfaq__question {
  min-width: 0;
  color: var(--mfaq-ink);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.55;
  text-align: right;
}

/* علامة الفتح */

#macaros-faqs-v4 .mfaq__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1px solid rgba(32, 25, 19, 0.1);
  border-radius: 50%;
  box-shadow: 0 4px 13px rgba(44, 32, 20, 0.07);
  transition:
    transform 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease;
}

#macaros-faqs-v4 .mfaq__icon::before,
#macaros-faqs-v4 .mfaq__icon::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--mfaq-ink);
  transition: transform 0.24s ease;
}

#macaros-faqs-v4 .mfaq__icon::after {
  transform: rotate(90deg);
}

#macaros-faqs-v4 .mfaq__item[open] .mfaq__icon {
  background: linear-gradient(
    135deg,
    var(--mfaq-yellow),
    var(--mfaq-orange)
  );
  border-color: rgba(255, 145, 77, 0.32);
  transform: rotate(180deg);
}

#macaros-faqs-v4 .mfaq__item[open] .mfaq__icon::after {
  transform: rotate(0deg);
}

/* الإجابة */

#macaros-faqs-v4 .mfaq__answer {
  color: var(--mfaq-muted);
}

#macaros-faqs-v4 .mfaq__item[open] .mfaq__answer {
  animation: mfaqOpen 0.28s ease both;
}

#macaros-faqs-v4 .mfaq__answer-inner {
  margin: 0 64px 0 18px;
  padding: 15px 0 19px;
  color: var(--mfaq-muted);
  border-top: 1px solid rgba(32, 25, 19, 0.075);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.9;
  text-align: right;
}

#macaros-faqs-v4 .mfaq__answer-inner p {
  margin: 0 0 10px !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

#macaros-faqs-v4 .mfaq__answer-inner p:last-of-type {
  margin-bottom: 0 !important;
}

/* خطوات الحساب */

#macaros-faqs-v4 .mfaq__steps {
  display: grid;
  gap: 10px;
  margin: 0 0 13px !important;
  padding: 0 !important;
  list-style: none;
  counter-reset: mfaq-step;
}

#macaros-faqs-v4 .mfaq__steps li {
  position: relative;
  min-height: 35px;
  margin: 0;
  padding-right: 44px;
  counter-increment: mfaq-step;
}

#macaros-faqs-v4 .mfaq__steps li::before {
  content: counter(mfaq-step);
  position: absolute;
  top: 1px;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--mfaq-ink);
  background: rgba(255, 222, 89, 0.38);
  border: 1px solid rgba(255, 145, 77, 0.2);
  border-radius: 9px;
  font-size: 11px;
  font-weight: 900;
}

#macaros-faqs-v4 .mfaq__steps strong {
  display: block;
  margin-bottom: 1px;
  color: var(--mfaq-ink);
  font-size: 12.7px;
  font-weight: 900;
  line-height: 1.5;
}

#macaros-faqs-v4 .mfaq__steps span {
  display: block;
  color: var(--mfaq-muted);
  font-size: 12.5px;
  line-height: 1.75;
}

#macaros-faqs-v4 .mfaq__result {
  padding: 10px 12px;
  background: rgba(255, 222, 89, 0.14);
  border: 1px solid rgba(255, 145, 77, 0.14);
  border-radius: 10px;
}

#macaros-faqs-v4 .mfaq__result b {
  color: var(--mfaq-ink);
}

/* قائمة محتوى البكج */

#macaros-faqs-v4 .mfaq__checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px !important;
  padding: 0 !important;
  list-style: none;
}

#macaros-faqs-v4 .mfaq__checks li {
  position: relative;
  margin: 0;
  padding: 9px 34px 9px 10px;
  color: #49433d;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(32, 25, 19, 0.075);
  border-radius: 10px;
  font-size: 11.8px;
  font-weight: 700;
  line-height: 1.5;
}

#macaros-faqs-v4 .mfaq__checks li::before {
  content: "✓";
  position: absolute;
  top: 50%;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  color: #171513;
  background: linear-gradient(
    135deg,
    var(--mfaq-yellow),
    var(--mfaq-orange)
  );
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
  transform: translateY(-50%);
}

/* زر الإجابة */

#macaros-faqs-v4 .mfaq__link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 39px;
  margin-top: 12px;
  padding: 8px 15px !important;
  color: var(--mfaq-ink) !important;
  background: linear-gradient(
    90deg,
    var(--mfaq-yellow),
    var(--mfaq-orange)
  );
  border: 1px solid rgba(255, 145, 77, 0.3);
  border-radius: 10px;
  font-size: 11.5px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: 0 6px 15px rgba(255, 145, 77, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

#macaros-faqs-v4 .mfaq__link::after {
  content: "←";
  font-size: 13px;
}

@media (hover: hover) {
  #macaros-faqs-v4 .mfaq__item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 145, 77, 0.3);
    box-shadow: 0 10px 26px rgba(44, 32, 20, 0.09);
  }

  #macaros-faqs-v4 .mfaq__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(255, 145, 77, 0.25);
  }
}

@keyframes mfaqOpen {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* الجوال */

@media (max-width: 480px) {
  #macaros-faqs-v4 {
    padding: 39px 0 43px !important;
  }

  #macaros-faqs-v4 .mfaq__shell {
    width: min(calc(100% - 20px), 820px);
  }

  #macaros-faqs-v4 .mfaq__heading {
    margin-bottom: 19px;
  }

  #macaros-faqs-v4 .mfaq__summary {
    grid-template-columns: 35px minmax(0, 1fr) 33px;
    gap: 9px;
    min-height: 68px;
    padding: 11px;
  }

  #macaros-faqs-v4 .mfaq__number {
    width: 35px;
    height: 35px;
    border-radius: 10px;
  }

  #macaros-faqs-v4 .mfaq__question {
    font-size: 13px;
    line-height: 1.58;
  }

  #macaros-faqs-v4 .mfaq__icon {
    width: 33px;
    height: 33px;
  }

  #macaros-faqs-v4 .mfaq__answer-inner {
    margin-right: 55px;
    margin-left: 13px;
    padding-top: 13px;
    font-size: 12.4px;
    line-height: 1.85;
  }

  #macaros-faqs-v4 .mfaq__steps li {
    padding-right: 40px;
  }

  #macaros-faqs-v4 .mfaq__checks {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  #macaros-faqs-v4 *,
  #macaros-faqs-v4 *::before,
  #macaros-faqs-v4 *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   MACAROS — PREMIUM PRODUCT PAGE
   محرك موحّد للبكج الشامل ودليل التغذية
========================================================= */

body.macaros-product-premium {
  --mpp-yellow: #ffde59;
  --mpp-orange: #ff914d;
  --mpp-accent-text: #e96b2a;
  --mpp-accent-soft: #fff4df;
  --mpp-accent-rgb: 255, 145, 77;
  --mpp-ink: #171513;
  --mpp-muted: #746d65;
  --mpp-line: rgba(31, 24, 18, 0.1);
  --mpp-card: rgba(255, 255, 255, 0.86);
}

body.macaros-product-premium.mpp-theme-nutrition {
  --mpp-yellow: #ffd367;
  --mpp-orange: #ffc34e;
  --mpp-accent-text: #9a6500;
  --mpp-accent-soft: #fff8df;
  --mpp-accent-rgb: 238, 178, 43;
}

body.macaros-product-premium,
body.macaros-product-premium * {
  box-sizing: border-box;
}

body.macaros-product-premium .mpp-hidden,
body.macaros-product-premium .mpp-native-rating-hidden {
  display: none !important;
}

/* إلغاء المساحات غير المهمة أعلى المنتج */

body.macaros-product-premium .s-breadcrumb-wrapper {
  display: none !important;
}

body.macaros-product-premium .mpp-product-ready {
  gap: 22px !important;
  padding-top: 18px !important;
  padding-bottom: 0 !important;
}

body.macaros-product-premium
  .mpp-product-ready
  > :first-child {
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.56) !important;
  border: 1px solid var(--mpp-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(42, 30, 18, 0.07) !important;
}

body.macaros-product-premium .mpp-product-ready .main-content {
  min-width: 0 !important;
  padding: 22px !important;
  background: var(--mpp-card) !important;
  border: 1px solid var(--mpp-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(42, 30, 18, 0.07) !important;
}

/* بيانات المنتج */

body.macaros-product-premium .mpp-product-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 31px !important;
  margin-bottom: 11px !important;
  padding: 7px 11px !important;
  color: var(--mpp-accent-text) !important;
  background: var(--mpp-accent-soft) !important;
  border: 1px solid rgba(var(--mpp-accent-rgb), 0.22) !important;
  border-radius: 999px !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

body.macaros-product-premium .mpp-product-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mpp-yellow), var(--mpp-orange));
  box-shadow: 0 0 0 4px rgba(var(--mpp-accent-rgb), 0.12);
}

body.macaros-product-premium .mpp-product-ready .main-content h1 {
  max-width: 560px !important;
  margin: 0 0 10px !important;
  color: var(--mpp-ink) !important;
  font-size: clamp(25px, 3vw, 38px) !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

body.macaros-product-premium .mpp-top-rating {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  width: fit-content !important;
  margin: 0 0 15px !important;
  color: var(--mpp-muted) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
}

body.macaros-product-premium .mpp-top-rating__stars {
  color: #ffad12 !important;
  font-family: Arial, sans-serif !important;
  font-size: 18px !important;
  letter-spacing: 1px !important;
  line-height: 1 !important;
  direction: ltr;
}

body.macaros-product-premium .mpp-top-rating strong {
  color: var(--mpp-ink) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

body.macaros-product-premium .mpp-top-rating i {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 25px !important;
  padding: 5px 8px !important;
  color: #196f46 !important;
  background: #eaf8f0 !important;
  border-radius: 999px !important;
  font-size: 9.5px !important;
  font-style: normal !important;
  font-weight: 800 !important;
}

body.macaros-product-premium .mpp-product-ready #price {
  margin: 7px 0 10px !important;
  padding: 12px 14px !important;
  background: var(--mpp-accent-soft) !important;
  border: 1px solid rgba(var(--mpp-accent-rgb), 0.16) !important;
  border-radius: 12px !important;
}

body.macaros-product-premium
  .mpp-product-ready
  .product-availability {
  width: fit-content !important;
  margin: 0 0 13px !important;
  padding: 6px 9px !important;
  color: #197044 !important;
  background: #ebf9f1 !important;
  border: 1px solid rgba(32, 173, 108, 0.12) !important;
  border-radius: 999px !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
}

/* الزر الجديد يستبدل شريط الشراء الافتراضي داخل الصفحة. */

body.macaros-product-premium
  .mpp-product-ready
  form.product-form
  > .s-block--product-bar {
  display: none !important;
}

/* صندوق الشراء */

body.macaros-product-premium .mpp-purchase-card {
  margin: 4px 0 0 !important;
  padding: 15px !important;
  background:
    radial-gradient(circle at 12% 15%, rgba(var(--mpp-accent-rgb), 0.17), transparent 34%),
    rgba(255, 252, 247, 0.96) !important;
  border: 1px solid rgba(var(--mpp-accent-rgb), 0.22) !important;
  border-radius: 15px !important;
  box-shadow: 0 8px 22px rgba(42, 30, 18, 0.06) !important;
}

body.macaros-product-premium .mpp-buy-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 11px !important;
  width: 100% !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 12px 18px !important;
  color: var(--mpp-ink) !important;
  background: linear-gradient(90deg, var(--mpp-yellow), var(--mpp-orange)) !important;
  border: 1px solid rgba(var(--mpp-accent-rgb), 0.35) !important;
  border-radius: 13px !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  box-shadow: 0 9px 22px rgba(var(--mpp-accent-rgb), 0.23) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

body.macaros-product-premium .mpp-buy-button b {
  font-family: Arial, sans-serif !important;
  font-size: 18px !important;
}

/* ترقية هادئة لا تنافس زر شراء دليل التغذية. */

body.macaros-product-premium .mpp-upgrade-link {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto 20px !important;
  align-items: center !important;
  gap: 9px !important;
  width: 100% !important;
  min-height: 52px !important;
  margin-top: 9px !important;
  padding: 9px 11px !important;
  color: var(--mpp-ink) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid rgba(var(--mpp-accent-rgb), 0.25) !important;
  border-radius: 11px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 13px rgba(31, 24, 18, 0.045) !important;
}

body.macaros-product-premium .mpp-upgrade-link > span {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
}

body.macaros-product-premium .mpp-upgrade-link small {
  color: var(--mpp-accent-text) !important;
  font-size: 8.5px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

body.macaros-product-premium .mpp-upgrade-link strong {
  color: var(--mpp-ink) !important;
  font-size: 11.5px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
}

body.macaros-product-premium .mpp-upgrade-link > b {
  padding: 6px 8px !important;
  color: #74500b !important;
  background: var(--mpp-accent-soft) !important;
  border-radius: 999px !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

body.macaros-product-premium .mpp-upgrade-link > i {
  color: var(--mpp-accent-text) !important;
  font-family: Arial, sans-serif !important;
  font-size: 17px !important;
  font-style: normal !important;
  font-weight: 900 !important;
}

body.macaros-product-premium .mpp-purchase-trust {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
  margin-top: 11px !important;
}

body.macaros-product-premium .mpp-purchase-trust span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  min-height: 34px !important;
  padding: 7px 6px !important;
  color: #5e574f !important;
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid var(--mpp-line) !important;
  border-radius: 9px !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: center !important;
}

body.macaros-product-premium .mpp-purchase-trust i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  color: #ffffff !important;
  background: #20ad6c !important;
  border-radius: 50% !important;
  font-family: Arial, sans-serif !important;
  font-size: 9px !important;
  font-style: normal !important;
  font-weight: 900 !important;
}

body.macaros-product-premium .mpp-purchase-card > p {
  margin: 9px 0 0 !important;
  color: var(--mpp-muted) !important;
  font-size: 9.5px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

/* التفاصيل بعد زر الشراء */

body.macaros-product-premium .mpp-description {
  margin-top: 18px !important;
  padding-top: 20px !important;
  border-top: 1px solid var(--mpp-line) !important;
}

body.macaros-product-premium .mpp-section-heading,
body.macaros-product-premium .mpp-comments-heading {
  margin: 0 auto 17px !important;
  text-align: center !important;
}

body.macaros-product-premium .mpp-section-heading > span,
body.macaros-product-premium .mpp-comments-heading > span {
  display: inline-block !important;
  margin-bottom: 5px !important;
  color: var(--mpp-accent-text) !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

body.macaros-product-premium .mpp-section-heading h2,
body.macaros-product-premium .mpp-comments-heading h2 {
  margin: 0 !important;
  color: var(--mpp-ink) !important;
  font-size: clamp(22px, 4vw, 30px) !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
}

body.macaros-product-premium .mpp-section-heading p,
body.macaros-product-premium .mpp-comments-heading p {
  margin: 6px 0 0 !important;
  color: var(--mpp-muted) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
}

body.macaros-product-premium #more-details {
  max-height: none !important;
  overflow: visible !important;
  color: #49443e !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
}

/* عرض التفاصيل والتقييمات بالتتابع بدل التبويبات */

body.macaros-product-premium .mpp-tabs-ready > .tabs {
  display: none !important;
}

body.macaros-product-premium .mpp-tabs-ready .mpp-details-tab,
body.macaros-product-premium .mpp-tabs-ready .mpp-reviews-tab {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 24px 0 0 !important;
  overflow: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

body.macaros-product-premium .mpp-tabs-ready .mpp-details-tab:empty {
  display: none !important;
}

/* آراء العملاء المميزة */

body.macaros-product-premium .mpp-featured-reviews {
  position: relative !important;
  width: calc(100% + 44px) !important;
  margin: 26px -22px 0 !important;
  padding: 36px 0 31px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 222, 89, 0.14), transparent 29%),
    radial-gradient(circle at 92% 86%, rgba(255, 145, 77, 0.11), transparent 30%),
    rgba(255, 250, 243, 0.55) !important;
  border-top: 1px solid rgba(31, 24, 18, 0.06) !important;
  border-bottom: 1px solid rgba(31, 24, 18, 0.06) !important;
}

body.macaros-product-premium .mpp-featured-head {
  width: min(calc(100% - 28px), 700px) !important;
  margin: 0 auto 21px !important;
  text-align: center !important;
}

body.macaros-product-premium .mpp-featured-stars {
  margin-bottom: 7px !important;
  color: #ffad12 !important;
  font-family: Arial, sans-serif !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  line-height: 1 !important;
}

body.macaros-product-premium .mpp-featured-head h2 {
  margin: 0 !important;
  color: var(--mpp-ink) !important;
  font-size: clamp(24px, 5vw, 33px) !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
}

body.macaros-product-premium .mpp-featured-head h2 span {
  position: relative !important;
  display: inline-block !important;
  z-index: 1 !important;
}

body.macaros-product-premium .mpp-featured-head h2 span::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: 2px;
  z-index: -1;
  width: calc(100% + 6px);
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mpp-yellow), var(--mpp-orange));
  opacity: 0.62;
}

body.macaros-product-premium .mpp-featured-head p {
  margin: 7px 0 0 !important;
  color: var(--mpp-muted) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
}

body.macaros-product-premium .mpp-featured-track {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: min(84vw, 355px) !important;
  gap: 11px !important;
  padding: 3px 16px 15px !important;
  overflow-x: auto !important;
  overscroll-behavior-inline: contain !important;
  scroll-snap-type: inline mandatory !important;
  direction: rtl !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}

body.macaros-product-premium .mpp-featured-track::-webkit-scrollbar {
  display: none !important;
}

body.macaros-product-premium .mpp-review-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 255px !important;
  padding: 21px 19px 17px !important;
  overflow: hidden !important;
  scroll-snap-align: start !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid var(--mpp-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 7px 20px rgba(30, 24, 16, 0.065) !important;
  text-align: right !important;
}

body.macaros-product-premium .mpp-review-card::before {
  content: "“";
  position: absolute;
  top: 4px;
  left: 14px;
  color: rgba(23, 23, 23, 0.075);
  font-family: Georgia, serif !important;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
}

body.macaros-product-premium .mpp-review-stars {
  position: relative !important;
  z-index: 1 !important;
  margin-bottom: 13px !important;
  color: #ffad12 !important;
  font-family: Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  line-height: 1 !important;
  direction: ltr !important;
  text-align: right !important;
}

body.macaros-product-premium .mpp-review-card > p {
  display: -webkit-box !important;
  margin: 0 0 17px !important;
  overflow: hidden !important;
  color: #302d29 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.85 !important;
  text-align: right !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 6 !important;
}

body.macaros-product-premium .mpp-review-card footer {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 9px !important;
  margin-top: auto !important;
}

body.macaros-product-premium .mpp-review-card footer strong {
  color: var(--mpp-ink) !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}

body.macaros-product-premium .mpp-review-card footer span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  min-height: 27px !important;
  padding: 6px 9px !important;
  color: #50493f !important;
  background: #fff6df !important;
  border: 1px solid rgba(255, 174, 18, 0.18) !important;
  border-radius: 999px !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

body.macaros-product-premium .mpp-review-card footer span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mpp-yellow), var(--mpp-orange));
  box-shadow: 0 0 0 3px rgba(255, 174, 18, 0.12);
}

body.macaros-product-premium .mpp-swipe-hint {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  margin-top: 1px !important;
  color: #81796f !important;
  font-size: 10px !important;
  font-weight: 600 !important;
}

body.macaros-product-premium .mpp-swipe-hint::before,
body.macaros-product-premium .mpp-swipe-hint::after {
  content: "";
  width: 27px;
  height: 2px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.13);
}

/* ملخص تقييمات بأسلوب واضح مثل صفحات المنتجات القوية */

body.macaros-product-premium .mpp-reviews-tab {
  border-top: 0 !important;
}

body.macaros-product-premium .mpp-comments-heading {
  margin-top: 4px !important;
}

body.macaros-product-premium .mpp-rating-summary {
  display: grid !important;
  grid-template-columns: minmax(190px, 0.75fr) minmax(300px, 1.6fr) !important;
  align-items: center !important;
  gap: 30px !important;
  margin: 0 0 22px !important;
  padding: 23px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid var(--mpp-line) !important;
  border-radius: 17px !important;
  box-shadow: 0 8px 22px rgba(42, 30, 18, 0.055) !important;
}

body.macaros-product-premium .mpp-rating-score {
  text-align: center !important;
}

body.macaros-product-premium .mpp-rating-score > span {
  display: block !important;
  margin-bottom: 6px !important;
  color: var(--mpp-muted) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

body.macaros-product-premium .mpp-rating-score > div {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  direction: ltr !important;
}

body.macaros-product-premium .mpp-rating-score b {
  color: var(--mpp-ink) !important;
  font-family: Arial, sans-serif !important;
  font-size: 48px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body.macaros-product-premium .mpp-rating-score i {
  color: #ffad12 !important;
  font-family: Arial, sans-serif !important;
  font-size: 17px !important;
  font-style: normal !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
}

body.macaros-product-premium .mpp-rating-score > strong {
  display: block !important;
  margin-top: 7px !important;
  color: #514a43 !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
}

body.macaros-product-premium .mpp-rating-score > em {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 27px !important;
  margin-top: 9px !important;
  padding: 6px 9px !important;
  color: #196f46 !important;
  background: #eaf8f0 !important;
  border-radius: 999px !important;
  font-size: 9px !important;
  font-style: normal !important;
  font-weight: 800 !important;
}

body.macaros-product-premium .mpp-rating-bars {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
}

body.macaros-product-premium .mpp-rating-row {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) 47px 33px !important;
  align-items: center !important;
  gap: 8px !important;
  direction: rtl !important;
}

body.macaros-product-premium .mpp-rating-row__label {
  color: #ffad12 !important;
  font-family: Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  direction: ltr !important;
}

body.macaros-product-premium .mpp-rating-row__track {
  position: relative !important;
  height: 12px !important;
  overflow: hidden !important;
  background: #e7e8eb !important;
  border-radius: 999px !important;
  direction: ltr !important;
}

body.macaros-product-premium .mpp-rating-row__track i {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  height: 100% !important;
  min-width: 4px !important;
  background: linear-gradient(90deg, var(--mpp-yellow), var(--mpp-orange)) !important;
  border-radius: inherit !important;
}

body.macaros-product-premium .mpp-rating-row strong {
  color: var(--mpp-ink) !important;
  font-family: Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  direction: ltr !important;
  text-align: left !important;
}

body.macaros-product-premium .mpp-rating-row small {
  color: #9a938b !important;
  font-family: Arial, sans-serif !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  direction: ltr !important;
}

/* تنظيف مكوّن تقييمات سلة مع الإبقاء على التقييمات الحقيقية */

body.macaros-product-premium
  #product-tabs-faqs
  :is(.s-comments-title, salla-comment-form, .s-reviews-summary-wrapper) {
  display: none !important;
}

body.macaros-product-premium
  #product-tabs-faqs
  .s-comments-header.has-total
  .s-comments-count-label {
  display: none !important;
}

body.macaros-product-premium
  #product-tabs-faqs
  .s-comments-filter-wrapper {
  width: fit-content !important;
  margin: 0 0 16px auto !important;
}

body.macaros-product-premium
  #product-tabs-faqs
  .s-comments-sort-input {
  min-width: 145px !important;
  min-height: 39px !important;
  padding-inline: 11px !important;
  color: var(--mpp-ink) !important;
  background: #ffffff !important;
  border: 1px solid var(--mpp-line) !important;
  border-radius: 10px !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
}

body.macaros-product-premium
  #product-tabs-faqs
  salla-comment-item {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 19px 4px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(31, 24, 18, 0.1) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.macaros-product-premium
  #product-tabs-faqs
  .s-infinite-scroll-wrapper {
  overflow: visible !important;
}

body.macaros-product-premium
  #product-tabs-faqs
  .s-infinite-scroll-btn {
  min-width: 145px !important;
  min-height: 41px !important;
  margin-top: 17px !important;
  padding: 9px 16px !important;
  color: #ffffff !important;
  background: var(--mpp-ink) !important;
  border: 0 !important;
  border-radius: 11px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

/* دعوة الشراء الأخيرة */

body.macaros-product-premium .mpp-final-cta {
  margin-top: 28px !important;
  padding: 25px 20px !important;
  overflow: hidden !important;
  color: #ffffff !important;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 222, 89, 0.14), transparent 35%),
    linear-gradient(135deg, #171513, #29241f) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 17px !important;
  text-align: center !important;
  box-shadow: 0 11px 27px rgba(23, 21, 19, 0.15) !important;
}

body.macaros-product-premium .mpp-final-cta > span {
  color: var(--mpp-yellow) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

body.macaros-product-premium .mpp-final-cta h2 {
  margin: 5px 0 0 !important;
  color: #ffffff !important;
  font-size: clamp(22px, 4vw, 30px) !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
}

body.macaros-product-premium .mpp-final-cta p {
  margin: 7px 0 17px !important;
  color: rgba(255, 255, 255, 0.67) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
}

body.macaros-product-premium .mpp-buy-button--final {
  width: min(100%, 360px) !important;
  margin: 0 auto !important;
}

@media (hover: hover) {
  body.macaros-product-premium .mpp-buy-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(var(--mpp-accent-rgb), 0.31) !important;
  }

  body.macaros-product-premium .mpp-upgrade-link:hover {
    border-color: rgba(var(--mpp-accent-rgb), 0.48) !important;
    transform: translateY(-1px) !important;
  }

  body.macaros-product-premium .mpp-review-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease !important;
  }

  body.macaros-product-premium .mpp-review-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 27px rgba(30, 24, 16, 0.11) !important;
  }
}

@media (min-width: 768px) {
  body.macaros-product-premium .mpp-featured-track {
    grid-auto-columns: minmax(300px, 1fr) !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: initial !important;
    width: min(calc(100% - 34px), 1100px) !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }

  body.macaros-product-premium .mpp-featured-track .mpp-review-card:nth-child(n + 4) {
    display: none !important;
  }

  body.macaros-product-premium .mpp-swipe-hint {
    display: none !important;
  }
}

@media (max-width: 767px) {
  body.macaros-product-premium .mpp-product-ready {
    gap: 12px !important;
    padding: 8px 7px 0 !important;
  }

  body.macaros-product-premium
    .mpp-product-ready
    > :first-child {
    border-radius: 14px !important;
  }

  body.macaros-product-premium .mpp-product-ready .main-content {
    width: 100% !important;
    padding: 18px 13px !important;
    border-radius: 15px !important;
  }

  body.macaros-product-premium .mpp-product-ready .main-content h1 {
    font-size: 25px !important;
    line-height: 1.3 !important;
  }

  body.macaros-product-premium .mpp-top-rating {
    gap: 6px !important;
    font-size: 10.5px !important;
  }

  body.macaros-product-premium .mpp-top-rating__stars {
    font-size: 16px !important;
  }

  body.macaros-product-premium .mpp-purchase-card {
    padding: 12px !important;
  }

  body.macaros-product-premium .mpp-buy-button {
    min-height: 51px !important;
    font-size: 14px !important;
  }

  body.macaros-product-premium .mpp-upgrade-link {
    grid-template-columns: minmax(0, 1fr) auto 18px !important;
    gap: 7px !important;
    padding: 8px 9px !important;
  }

  body.macaros-product-premium .mpp-upgrade-link > b {
    max-width: 112px !important;
    white-space: normal !important;
    text-align: center !important;
  }

  body.macaros-product-premium .mpp-purchase-trust {
    gap: 5px !important;
  }

  body.macaros-product-premium .mpp-purchase-trust span {
    min-height: 43px !important;
    padding: 6px 4px !important;
    font-size: 8px !important;
  }

  body.macaros-product-premium .mpp-description {
    margin-top: 15px !important;
    padding-top: 17px !important;
  }

  body.macaros-product-premium .mpp-featured-reviews {
    width: calc(100% + 26px) !important;
    margin-right: -13px !important;
    margin-left: -13px !important;
    padding: 31px 0 27px !important;
  }

  body.macaros-product-premium .mpp-featured-track {
    grid-auto-columns: min(86vw, 340px) !important;
    padding-inline: 13px !important;
  }

  body.macaros-product-premium .mpp-review-card {
    min-height: 248px !important;
    padding: 19px 17px 16px !important;
  }

  body.macaros-product-premium .mpp-review-card > p {
    font-size: 13px !important;
  }

  body.macaros-product-premium .mpp-rating-summary {
    grid-template-columns: 1fr !important;
    gap: 21px !important;
    padding: 18px 13px !important;
    border-radius: 14px !important;
  }

  body.macaros-product-premium .mpp-rating-row {
    grid-template-columns: 31px minmax(0, 1fr) 43px 29px !important;
    gap: 6px !important;
  }

  body.macaros-product-premium .mpp-rating-row__track {
    height: 10px !important;
  }

  body.macaros-product-premium .mpp-final-cta {
    padding: 22px 14px !important;
    border-radius: 14px !important;
  }
}

@media (max-width: 360px) {
  body.macaros-product-premium .mpp-purchase-trust {
    grid-template-columns: 1fr !important;
  }

  body.macaros-product-premium .mpp-purchase-trust span {
    min-height: 32px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.macaros-product-premium *,
  body.macaros-product-premium *::before,
  body.macaros-product-premium *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   MACAROS — PRODUCT REVIEWS V4
   ضعه في آخر CSS بعد أكواد صفحة المنتج
========================================================= */

body.macaros-custom-reviews-ready
  :is(#product-1396357224, #product-309700088)
  salla-comments.mcr-native-hidden {
  display: none !important;
}

body.macaros-custom-reviews-ready .mcr-reviews {
  width: 100% !important;
  margin: 24px 0 0 !important;
  padding: 30px 0 0 !important;
  color: #171513 !important;
  border-top: 1px solid rgba(31, 24, 18, 0.1) !important;
  direction: rtl !important;
}

body.macaros-custom-reviews-ready .mcr-reviews__heading {
  max-width: 650px !important;
  margin: 0 auto 25px !important;
  text-align: center !important;
}

body.macaros-custom-reviews-ready .mcr-reviews__edit {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  margin-bottom: 11px !important;
  padding: 7px 11px !important;
  color: var(--mpp-accent-text, #8a451f) !important;
  background: var(--mpp-accent-soft, #fff2dc) !important;
  border: 1px solid rgba(var(--mpp-accent-rgb, 255, 145, 77), 0.22) !important;
  border-radius: 999px !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
}

body.macaros-custom-reviews-ready .mcr-reviews__eyebrow {
  margin-bottom: 5px !important;
  color: var(--mpp-accent-text, #e96b2a) !important;
  font-size: 10.5px !important;
  font-weight: 900 !important;
}

body.macaros-custom-reviews-ready .mcr-reviews__heading h2 {
  margin: 0 !important;
  color: #171513 !important;
  font-size: clamp(24px, 4vw, 32px) !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
}

body.macaros-custom-reviews-ready .mcr-reviews__meta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 10px !important;
}

body.macaros-custom-reviews-ready .mcr-reviews__stars,
body.macaros-custom-reviews-ready .mcr-review__stars {
  color: #ffad12 !important;
  font-family: Arial, sans-serif !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 1.5px !important;
  direction: ltr !important;
}

body.macaros-custom-reviews-ready .mcr-reviews__stars {
  font-size: 19px !important;
}

body.macaros-custom-reviews-ready .mcr-reviews__trust {
  color: #756e66 !important;
  font-size: 10.5px !important;
  font-weight: 650 !important;
}

body.macaros-custom-reviews-ready .mcr-reviews__list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  width: 100% !important;
}

body.macaros-custom-reviews-ready .mcr-review {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-height: 172px !important;
  margin: 0 !important;
  padding: 25px 8px 28px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(31, 24, 18, 0.11) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.macaros-custom-reviews-ready .mcr-review[hidden],
body.macaros-custom-reviews-ready .mcr-reviews__more[hidden] {
  display: none !important;
}

body.macaros-custom-reviews-ready .mcr-review__head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 16px !important;
}

body.macaros-custom-reviews-ready .mcr-review__person {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 9px !important;
  min-width: 0 !important;
}

body.macaros-custom-reviews-ready .mcr-review__name {
  color: #171513 !important;
  font-size: 14.5px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
}

/* شارة شراء موثوق — واضحة وبدون الصح الأزرق */

body.macaros-custom-reviews-ready .mcr-review__verified {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 35px !important;
  padding: 5px 10px !important;
  color: #3f352a !important;
  background: #fff4df !important;
  border: 1px solid rgba(255, 163, 51, 0.26) !important;
  border-radius: 10px !important;
  line-height: 1.15 !important;
}

body.macaros-custom-reviews-ready .mcr-review__verified > span {
  display: grid !important;
  gap: 2px !important;
}

body.macaros-custom-reviews-ready .mcr-review__verified strong {
  color: #2d261f !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

body.macaros-custom-reviews-ready .mcr-review__verified small {
  color: #837467 !important;
  font-size: 8px !important;
  font-weight: 650 !important;
}

body.macaros-custom-reviews-ready .mcr-review__verified i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 22px !important;
  width: 22px !important;
  height: 22px !important;
  color: #171513 !important;
  background: linear-gradient(135deg, var(--mpp-yellow, #ffde59), var(--mpp-orange, #ff914d)) !important;
  border-radius: 50% !important;
  font-family: Arial, sans-serif !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 900 !important;
}

body.macaros-custom-reviews-ready .mcr-review__verified--draft {
  background: #f5f3ef !important;
  border-color: rgba(31, 24, 18, 0.07) !important;
}

body.macaros-custom-reviews-ready .mcr-review__date {
  display: block !important;
  min-width: 82px !important;
  padding-top: 6px !important;
  color: #888178 !important;
  font-family: Arial, sans-serif !important;
  font-size: 9.5px !important;
  font-weight: 500 !important;
  text-align: left !important;
  direction: ltr !important;
}

body.macaros-custom-reviews-ready .mcr-review__stars {
  margin: 13px 0 0 !important;
  font-size: 20px !important;
  text-align: right !important;
}

body.macaros-custom-reviews-ready .mcr-review__text {
  max-width: 780px !important;
  min-height: 42px !important;
  margin: 17px 0 0 !important;
  color: #4f4942 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.9 !important;
  text-align: right !important;
}

/* يظهر فقط في رابط المعاينة */

body.macaros-custom-reviews-ready .mcr-review__hint {
  max-width: 780px !important;
  margin: 14px 0 0 !important;
  padding: 10px 12px !important;
  color: #7a6d60 !important;
  background: #fff8ec !important;
  border: 1px dashed rgba(var(--mpp-accent-rgb, 255, 145, 77), 0.32) !important;
  border-radius: 9px !important;
  font-size: 11px !important;
  line-height: 1.7 !important;
}

body.macaros-custom-reviews-ready .mcr-review__hint b {
  color: #dc672b !important;
  font-weight: 900 !important;
}

body.macaros-custom-reviews-ready .mcr-review--rating-only {
  min-height: 126px !important;
}

body.macaros-custom-reviews-ready .mcr-review::before {
  content: "";
  position: absolute;
  top: 26px;
  right: -1px;
  width: 3px;
  height: 31px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--mpp-yellow, #ffde59), var(--mpp-orange, #ff914d));
  opacity: 0;
  transition: opacity 0.2s ease !important;
}

@media (hover: hover) {
  body.macaros-custom-reviews-ready .mcr-review:hover::before {
    opacity: 1 !important;
  }
}

body.macaros-custom-reviews-ready .mcr-reviews__more {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(100%, 205px) !important;
  min-height: 46px !important;
  margin: 22px auto 0 !important;
  padding: 11px 18px !important;
  color: #ffffff !important;
  background: #171513 !important;
  border: 0 !important;
  border-radius: 11px !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 8px 20px rgba(23, 21, 19, 0.14) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}

body.macaros-custom-reviews-ready .mcr-reviews__more:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 23px rgba(23, 21, 19, 0.18) !important;
}

@media (max-width: 640px) {
  body.macaros-custom-reviews-ready .mcr-reviews {
    margin-top: 18px !important;
    padding-top: 24px !important;
  }

  body.macaros-custom-reviews-ready .mcr-reviews__heading {
    margin-bottom: 18px !important;
  }

  body.macaros-custom-reviews-ready .mcr-review {
    min-height: 0 !important;
    padding: 18px 14px 20px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    border: 1px solid rgba(31, 24, 18, 0.08) !important;
    border-radius: 14px !important;
    box-shadow: 0 5px 16px rgba(31, 24, 18, 0.035) !important;
  }

  body.macaros-custom-reviews-ready .mcr-reviews__list {
    gap: 10px !important;
  }

  body.macaros-custom-reviews-ready .mcr-review__head {
    grid-template-columns: 1fr auto !important;
    gap: 10px !important;
  }

  body.macaros-custom-reviews-ready .mcr-review__person {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 7px !important;
  }

  body.macaros-custom-reviews-ready .mcr-review__name {
    font-size: 14px !important;
  }

  body.macaros-custom-reviews-ready .mcr-review__date {
    min-width: 70px !important;
    padding-top: 3px !important;
  }

  body.macaros-custom-reviews-ready .mcr-review__stars {
    margin-top: 11px !important;
    font-size: 19px !important;
  }

  body.macaros-custom-reviews-ready .mcr-review__text {
    min-height: 0 !important;
    margin-top: 13px !important;
    font-size: 12.5px !important;
    line-height: 1.85 !important;
  }

  body.macaros-custom-reviews-ready .mcr-review--rating-only {
    min-height: 0 !important;
  }

  body.macaros-custom-reviews-ready .mcr-review::before {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.macaros-custom-reviews-ready .mcr-reviews *,
  body.macaros-custom-reviews-ready .mcr-reviews *::before,
  body.macaros-custom-reviews-ready .mcr-reviews *::after {
    transition: none !important;
    animation: none !important;
  }
}















/* MACAROS — تكبير بطاقات الأكثر مبيعًا على الجوال */
@media (max-width: 640px) {
  body.index .angel-products-1 .angel-products-container {
    width: 100% !important;
    max-width: none !important;
    padding-inline: 8px !important;
  }

  body.index .angel-products-1 salla-products-slider,
  body.index .angel-products-1 .s-slider-container {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.index .angel-products-1 .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    transform: none !important;
  }

  body.index .angel-products-1 .swiper-slide,
  body.index .angel-products-1 .s-products-slider-card {
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
  }

  body.index
    .angel-products-1
    custom-salla-product-card {
    width: 100% !important;
    height: 100% !important;
  }
}

/* =========================================
   MACAROS — ACCOUNT ICON
   ========================================= */

.store-header #macaros-account-entry,
.store-header #macaros-account-entry.macaros-hide-header-item {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  width: 38px;
  height: 38px;
  margin-inline-start: 5px;

  color: #0b1732 !important;
  background: rgba(255, 255, 255, 0.72);

  border: 1px solid rgba(11, 23, 50, 0.09);
  border-radius: 12px;

  box-shadow: 0 4px 13px rgba(26, 21, 15, 0.055);
  text-decoration: none !important;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* رسم الأيقونة */
.store-header #macaros-account-entry svg {
  display: block;
  width: 21px;
  height: 21px;
  overflow: visible;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* تأثير المرور */
.store-header #macaros-account-entry:hover {
  color: #111111 !important;
  background: #fff8ec;
  border-color: rgba(255, 145, 77, 0.35);

  box-shadow: 0 7px 17px rgba(255, 145, 77, 0.14);
  transform: translateY(-1px);
}

.store-header #macaros-account-entry:active {
  transform: scale(0.96);
}

.store-header #macaros-account-entry:focus-visible {
  outline: 3px solid rgba(255, 211, 103, 0.55);
  outline-offset: 2px;
}

/* الجوال */
@media (max-width: 640px) {
  .store-header #macaros-account-entry,
  .store-header #macaros-account-entry.macaros-hide-header-item {
    width: 35px;
    height: 35px;
    margin-inline-start: 3px;

    background: transparent;
    border-color: transparent;
    border-radius: 10px;
    box-shadow: none;
  }

  .store-header #macaros-account-entry svg {
    width: 20px;
    height: 20px;
  }
}

/* تقليل الحركة عند تفعيلها من الجهاز */
@media (prefers-reduced-motion: reduce) {
  .store-header #macaros-account-entry {
    transition: none;
  }
}

/* MACAROS — MOBILE ACCOUNT MENU FIX */

@media screen and (max-width: 767px) {
  #macaros-mobile-account-menu {
    display: block !important;
    position: relative !important;
    width: calc(100% - 24px) !important;
    max-width: none !important;
    margin: 16px 12px 22px !important;
    padding: 18px 14px 14px !important;
    overflow: hidden !important;
    direction: rtl !important;

    background:
      radial-gradient(
        circle at 0 0,
        rgba(255, 211, 103, 0.22),
        transparent 34%
      ),
      linear-gradient(145deg, #fffefb, #fff7eb) !important;

    border: 1px solid rgba(255, 145, 77, 0.32) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 28px rgba(48, 36, 20, 0.09) !important;
    box-sizing: border-box !important;
  }

  #macaros-mobile-account-menu,
  #macaros-mobile-account-menu * {
    box-sizing: border-box !important;
  }

  #macaros-mobile-account-menu::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: 20px !important;
    left: 20px !important;
    height: 3px !important;
    border-radius: 0 0 20px 20px !important;
    background: linear-gradient(
      90deg,
      #ffd367,
      #ff914d
    ) !important;
  }

  /* عنوان القائمة */
  #macaros-mobile-account-menu .mam-heading {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    width: 100% !important;
    margin: 0 0 15px !important;
    padding: 2px !important;
  }

  #macaros-mobile-account-menu .mam-brand-mark {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;

    color: #ffffff !important;
    background: #121212 !important;
    border-radius: 14px !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: 0 6px 15px rgba(18, 18, 18, 0.16) !important;
  }

  #macaros-mobile-account-menu .mam-heading > div {
    flex: 1 !important;
    min-width: 0 !important;
  }

  #macaros-mobile-account-menu .mam-eyebrow {
    display: block !important;
    margin: 0 0 2px !important;
    color: #e66a26 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
  }

  #macaros-mobile-account-menu .mam-heading h2 {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #111111 !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
  }

  #macaros-mobile-account-menu .mam-heading p {
    display: block !important;
    margin: 3px 0 0 !important;
    padding: 0 !important;
    color: #756d64 !important;
    font-size: 11.5px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
  }

  /* شبكة الخيارات */
  #macaros-mobile-account-menu .mam-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #macaros-mobile-account-menu .mam-link {
    display: flex !important;
    position: relative !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    min-height: 69px !important;
    margin: 0 !important;
    padding: 10px !important;

    color: #29251f !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(31, 24, 18, 0.1) !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 12px rgba(40, 31, 20, 0.045) !important;
    text-decoration: none !important;
  }

  /* زر طلباتي الرئيسي */
  #macaros-mobile-account-menu .mam-link.is-primary {
    grid-column: 1 / -1 !important;
    min-height: 76px !important;
    color: #171513 !important;
    background: linear-gradient(
      90deg,
      #ffd367,
      #ff914d
    ) !important;
    border-color: rgba(255, 145, 77, 0.48) !important;
    box-shadow: 0 8px 19px rgba(255, 145, 77, 0.2) !important;
  }

  #macaros-mobile-account-menu .mam-link.is-active:not(.is-primary) {
    border-color: #ffad55 !important;
    box-shadow:
      inset 0 0 0 1px rgba(255, 211, 103, 0.5),
      0 5px 14px rgba(40, 31, 20, 0.05) !important;
  }

  /* تسجيل الخروج */
  #macaros-mobile-account-menu .mam-link.is-logout {
    grid-column: 1 / -1 !important;
    min-height: 49px !important;
    color: #bb2b21 !important;
    background: #fff8f7 !important;
    border-color: rgba(187, 43, 33, 0.13) !important;
  }

  /* الأيقونات */
  #macaros-mobile-account-menu .mam-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 37px !important;
    width: 37px !important;
    height: 37px !important;

    color: #171513 !important;
    background: #fff7e4 !important;
    border: 1px solid rgba(255, 145, 77, 0.2) !important;
    border-radius: 11px !important;
  }

  #macaros-mobile-account-menu .mam-icon svg {
    display: block !important;
    width: 21px !important;
    height: 21px !important;
  }

  #macaros-mobile-account-menu .is-primary .mam-icon {
    background: rgba(255, 255, 255, 0.65) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
  }

  #macaros-mobile-account-menu .is-logout .mam-icon {
    color: #bb2b21 !important;
    background: #ffffff !important;
  }

  /* نصوص الخيارات */
  #macaros-mobile-account-menu .mam-link-copy {
    display: flex !important;
    flex: 1 !important;
    flex-direction: column !important;
    gap: 2px !important;
    min-width: 0 !important;
  }

  #macaros-mobile-account-menu .mam-link-copy strong {
    display: block !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;

    color: inherit !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  #macaros-mobile-account-menu .mam-link-copy small {
    display: block !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;

    color: #766e65 !important;
    font-size: 9px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  #macaros-mobile-account-menu
    .is-primary
    .mam-link-copy strong {
    font-size: 14px !important;
  }

  #macaros-mobile-account-menu
    .is-primary
    .mam-link-copy small {
    color: rgba(23, 21, 19, 0.68) !important;
    font-size: 10px !important;
  }

  #macaros-mobile-account-menu .mam-arrow {
    display: inline-block !important;
    flex: 0 0 auto !important;
    margin-right: auto !important;
    color: inherit !important;
    font-size: 16px !important;
    font-weight: 800 !important;
  }

  /* ترتيب نموذج الحساب ومنع التصاقه بالحواف */
  body.macaros-account-mobile-ready .form--user-profile,
  body.macaros-account-mobile-ready
    [data-testid="store-profile-settings"] {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin-right: 12px !important;
    margin-left: 12px !important;
  }

  body.macaros-account-mobile-ready
    .form--user-profile
    .grid {
    gap: 14px !important;
  }
}

@media screen and (min-width: 768px) {
  #macaros-mobile-account-menu {
    display: none !important;
  }
}

@media screen and (max-width: 350px) {
  #macaros-mobile-account-menu .mam-grid {
    grid-template-columns: 1fr !important;
  }

  #macaros-mobile-account-menu .mam-link {
    grid-column: 1 !important;
  }
}


/* ==========================================
   MACAROS — FINAL MOBILE PROFILE DESIGN
========================================== */

.macaros-profile-card-head,
.macaros-settings-heading {
  display: none;
}

@media screen and (max-width: 767px) {
  /* حذف صور الأفتار الافتراضية المكررة */
  body.macaros-profile-final-ready
    .macaros-account-avatar-hidden,
  body.macaros-profile-final-ready
    .macaros-duplicate-account-title {
    display: none !important;
  }

  /* بطاقة بيانات الحساب */
  body.macaros-profile-final-ready
    form.macaros-profile-card {
    display: block !important;
    position: relative !important;
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin: 0 12px 22px !important;
    padding: 17px 14px 15px !important;
    overflow: hidden !important;

    background:
      radial-gradient(
        circle at 0 0,
        rgba(255, 211, 103, 0.13),
        transparent 32%
      ),
      rgba(255, 255, 255, 0.94) !important;

    border: 1px solid rgba(31, 24, 18, 0.1) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 28px rgba(48, 36, 20, 0.075) !important;
    box-sizing: border-box !important;
  }

  body.macaros-profile-final-ready
    form.macaros-profile-card::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: 22px !important;
    left: 22px !important;
    height: 3px !important;

    background: linear-gradient(
      90deg,
      #ffd367,
      #ff914d
    ) !important;

    border-radius: 0 0 999px 999px !important;
  }

  /* عنوان بطاقة المعلومات */
  body.macaros-profile-final-ready
    .macaros-profile-card-head {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    margin: 0 0 17px !important;
    padding: 3px 2px 14px !important;
    border-bottom: 1px solid rgba(31, 24, 18, 0.08) !important;
  }

  body.macaros-profile-final-ready
    .mpc-head-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 43px !important;
    width: 43px !important;
    height: 43px !important;

    color: #171513 !important;
    background: linear-gradient(
      145deg,
      #ffe381,
      #ffad62
    ) !important;

    border: 1px solid rgba(255, 145, 77, 0.32) !important;
    border-radius: 13px !important;
    box-shadow: 0 5px 13px rgba(255, 145, 77, 0.16) !important;
  }

  body.macaros-profile-final-ready
    .mpc-head-copy {
    display: block !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  body.macaros-profile-final-ready
    .mpc-head-copy small {
    display: block !important;
    margin-bottom: 1px !important;
    color: #e46c2b !important;
    font-size: 10px !important;
    font-weight: 700 !important;
  }

  body.macaros-profile-final-ready
    .mpc-head-copy strong {
    display: block !important;
    color: #111111 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
  }

  body.macaros-profile-final-ready
    .mpc-head-copy p {
    margin: 2px 0 0 !important;
    color: #777067 !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
  }

  /* ترتيب الحقول */
  body.macaros-profile-final-ready
    .macaros-profile-card
    > .grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 13px !important;
    margin: 0 !important;
  }

  body.macaros-profile-final-ready
    .macaros-profile-card
    .profile-field-item {
    min-width: 0 !important;
    margin: 0 !important;
  }

  body.macaros-profile-final-ready
    .macaros-profile-card
    .profile-field-item
    label {
    display: block !important;
    margin: 0 3px 6px !important;
    color: #3d3832 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
  }

  body.macaros-profile-final-ready
    .macaros-profile-card
    .form-input {
    display: block !important;
    width: 100% !important;
    min-height: 50px !important;
    padding: 11px 13px !important;

    color: #181818 !important;
    background: #fffdf9 !important;
    border: 1px solid rgba(31, 24, 18, 0.11) !important;
    border-radius: 12px !important;
    outline: none !important;

    font-size: 16px !important;
    line-height: 1.4 !important;
    box-shadow: 0 3px 10px rgba(40, 31, 20, 0.025) !important;
    transition:
      border-color 0.18s ease,
      box-shadow 0.18s ease !important;
  }

  body.macaros-profile-final-ready
    .macaros-profile-card
    .form-input:focus {
    border-color: #ffad55 !important;
    box-shadow: 0 0 0 3px rgba(255, 173, 85, 0.13) !important;
  }

  body.macaros-profile-final-ready
    .macaros-profile-card
    salla-datetime-picker,
  body.macaros-profile-final-ready
    .macaros-profile-card
    salla-tel-input {
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 12px !important;
  }

  /* زر الحفظ */
  body.macaros-profile-final-ready
    .macaros-profile-card
    salla-button {
    display: block !important;
    width: 100% !important;
    margin-top: 17px !important;
    --color-primary: #ff914d !important;
  }

  body.macaros-profile-final-ready
    .macaros-profile-card
    salla-button::part(button) {
    width: 100% !important;
    min-height: 51px !important;
    color: #171513 !important;
    background: linear-gradient(
      90deg,
      #ffd367,
      #ff914d
    ) !important;
    border: 0 !important;
    border-radius: 13px !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 18px rgba(255, 145, 77, 0.2) !important;
  }

  /* عنوان إعدادات الخصوصية */
  body.macaros-profile-final-ready
    .macaros-settings-heading {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: calc(100% - 24px) !important;
    margin: 0 12px 8px !important;
    padding: 12px 13px !important;

    background: #171513 !important;
    border-radius: 15px !important;
    box-sizing: border-box !important;
    box-shadow: 0 7px 17px rgba(23, 21, 19, 0.12) !important;
  }

  body.macaros-profile-final-ready
    .msh-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 39px !important;
    width: 39px !important;
    height: 39px !important;

    color: #171513 !important;
    background: linear-gradient(
      145deg,
      #ffd367,
      #ff914d
    ) !important;

    border-radius: 11px !important;
  }

  body.macaros-profile-final-ready
    .macaros-settings-heading
    > span:last-child {
    min-width: 0 !important;
  }

  body.macaros-profile-final-ready
    .macaros-settings-heading small {
    display: block !important;
    color: #ffbd69 !important;
    font-size: 9px !important;
    font-weight: 700 !important;
  }

  body.macaros-profile-final-ready
    .macaros-settings-heading strong {
    display: block !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  body.macaros-profile-final-ready
    .macaros-settings-heading p {
    margin: 1px 0 0 !important;
    overflow: hidden !important;
    color: rgba(255, 255, 255, 0.63) !important;
    font-size: 9.5px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  /* بطاقة إعدادات سلة */
  body.macaros-profile-final-ready
    salla-user-settings.macaros-settings-card,
  body.macaros-profile-final-ready
    [data-testid="store-profile-settings"].macaros-settings-card {
    display: block !important;
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin: 0 12px 28px !important;
    overflow: hidden !important;

    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(31, 24, 18, 0.1) !important;
    border-radius: 17px !important;
    box-shadow: 0 9px 24px rgba(48, 36, 20, 0.07) !important;
    box-sizing: border-box !important;
  }
}