/* Add custom CSS styles below */ 
html,
body,
.app-inner,
#app,
main {
  background-color: #f6f1ea !important;
}

/* حكاية ميمات — الصفحة 1214191720 فقط */
html:has(link[rel="canonical"][href*="page-1214191720"]) #main-content {
  display: block !important;
  width: 100% !important;
  padding: 40px 16px 56px !important;
  background-color: #f6f1ea !important;
}

/* إخفاء أي محتوى أو عنصر فارغ داخل الصفحة */
html:has(link[rel="canonical"][href*="page-1214191720"]) #main-content > * {
  display: none !important;
}

/* عرض صورة حكاية ميمات بعرض الصفحة */
html:has(link[rel="canonical"][href*="page-1214191720"]) #main-content::before {
  content: "";
  display: block;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 1920 / 900;
  margin: 0 auto;
  border-radius: 16px;
  background-image: url("https://cdn.files.salla.network/homepage/223978771/9fd73223-d81a-48ed-9b42-4edeb6143467_1440x675.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  box-shadow: 0 12px 35px rgba(64, 39, 24, 0.12);
}

@media (max-width: 640px) {
  html:has(link[rel="canonical"][href*="page-1214191720"]) #main-content {
    padding: 20px 10px 32px !important;
  }

  html:has(link[rel="canonical"][href*="page-1214191720"]) #main-content::before {
    border-radius: 10px;
    box-shadow: 0 7px 20px rgba(64, 39, 24, 0.10);
  }
}



/* =========================================================
   Memat Bakery — صفحة تصنيف خبز الساوردو فقط
   Category ID: 677822798
   ========================================================= */

html:has(link[rel="canonical"][href*="c677822798"]) main {
  background:
    radial-gradient(circle at 12% 14%, rgba(172, 116, 77, .055), transparent 28%),
    #f6f1ea !important;
}

/* إخفاء مسار التنقل الافتراضي */
html:has(link[rel="canonical"][href*="c677822798"]) .container--breadcrumbs {
  display: none !important;
}

/* بانر عنوان التصنيف */
html:has(link[rel="canonical"][href*="c677822798"]) .s-before-products-list {
  position: relative;
  display: flex !important;
  width: calc(100% - 32px) !important;
  max-width: 1200px !important;
  min-height: 290px;
  margin: 36px auto 52px !important;
  padding: 68px 42px !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 5%, rgba(216, 169, 128, .23), transparent 30%),
    linear-gradient(145deg, #40291e 0%, #24150f 100%);
  color: #fff8f1;
  text-align: center;
  box-shadow: 0 24px 65px rgba(55, 34, 22, .13);
  overflow: hidden;
}

html:has(link[rel="canonical"][href*="c677822798"]) .s-before-products-list::before {
  content: "خبز الساوردو";
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 18px;
  color: #fff9f3;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.025em;
}

html:has(link[rel="canonical"][href*="c677822798"]) .s-before-products-list::after {
  content: "مكونات واضحة · تخمير طبيعي طويل · يُخبز على مهل";
  position: relative;
  z-index: 2;
  display: block;
  color: #ddc7b6;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}

/* حاوية قائمة المنتجات */
html:has(link[rel="canonical"][href*="c677822798"]) .container--products-list {
  display: block !important;
  width: calc(100% - 32px) !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 0 86px !important;
}

/* إخفاء صف عداد المنتجات والترتيب فقط، مع إبقاء قائمة المنتجات ظاهرة */
html:has(link[rel="canonical"][href*="c677822798"]) .container--products-list .main-content > div:has(> #page-main-title) {
  display: none !important;
}

html:has(link[rel="canonical"][href*="c677822798"]) salla-products-list.s-products-list {
  display: block !important;
  width: 100% !important;
  overflow: visible !important;
}

/* شبكة أنيقة تتوسط تلقائياً عند وجود منتج واحد */
html:has(link[rel="canonical"][href*="c677822798"]) .s-products-list-wrapper {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 370px)) !important;
  gap: 28px !important;
  width: 100% !important;
  align-items: stretch !important;
  justify-content: center !important;
}

/* بطاقة المنتج */
html:has(link[rel="canonical"][href*="c677822798"]) custom-salla-product-card.s-product-card-entry {
  width: 100% !important;
  min-width: 0 !important;
  border: 1px solid rgba(78, 48, 32, .11) !important;
  border-radius: 24px !important;
  background: #fffdf9 !important;
  box-shadow: 0 18px 45px rgba(58, 36, 23, .09) !important;
  overflow: hidden !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
}

html:has(link[rel="canonical"][href*="c677822798"]) custom-salla-product-card.s-product-card-entry:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 26px 58px rgba(58, 36, 23, .14) !important;
}

/* صورة المنتج */
html:has(link[rel="canonical"][href*="c677822798"]) .s-product-card-image {
  height: 345px !important;
  min-height: 345px !important;
  border-radius: 0 !important;
  background: #eadfD4 !important;
  overflow: hidden !important;
}

html:has(link[rel="canonical"][href*="c677822798"]) .s-product-card-image img,
html:has(link[rel="canonical"][href*="c677822798"]) img.s-product-card-image-cover {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .45s ease !important;
}

html:has(link[rel="canonical"][href*="c677822798"]) custom-salla-product-card:hover .s-product-card-image img {
  transform: scale(1.035) !important;
}

/* زر المفضلة */
html:has(link[rel="canonical"][href*="c677822798"]) .s-product-card-wishlist-btn {
  top: 17px !important;
  right: 17px !important;
}

html:has(link[rel="canonical"][href*="c677822798"]) .s-product-card-wishlist-btn .s-button-element,
html:has(link[rel="canonical"][href*="c677822798"]) button.s-product-card-wishlist-btn {
  width: 43px !important;
  height: 43px !important;
  border: 1px solid rgba(76, 47, 31, .09) !important;
  border-radius: 50% !important;
  background: rgba(255, 253, 249, .90) !important;
  color: #67432f !important;
  backdrop-filter: blur(8px);
}

/* محتوى البطاقة */
html:has(link[rel="canonical"][href*="c677822798"]) .s-product-card-content {
  padding: 26px 25px 24px !important;
}

html:has(link[rel="canonical"][href*="c677822798"]) .s-product-card-content-main::after {
  content: "خميرة طبيعية · تخمير من 24 إلى 48 ساعة";
  display: block;
  margin-top: 10px;
  color: #8b7060;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
}

html:has(link[rel="canonical"][href*="c677822798"]) .s-product-card-content-title {
  color: #332118 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
}

html:has(link[rel="canonical"][href*="c677822798"]) .s-product-card-content-sub {
  margin-top: 18px !important;
  padding-top: 17px !important;
  border-top: 1px solid rgba(80, 50, 33, .10) !important;
}

html:has(link[rel="canonical"][href*="c677822798"]) .s-product-card-price {
  color: #4c3021 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
}

/* زر الإضافة للسلة */
html:has(link[rel="canonical"][href*="c677822798"]) .s-product-card-content-footer {
  margin-top: 20px !important;
}

html:has(link[rel="canonical"][href*="c677822798"]) salla-add-product-button .s-button-element {
  min-height: 52px !important;
  border: 1px solid #4d3121 !important;
  border-radius: 999px !important;
  background: #4d3121 !important;
  color: #fff9f3 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 22px rgba(68, 40, 24, .15) !important;
}

html:has(link[rel="canonical"][href*="c677822798"]) salla-add-product-button .s-button-element:hover {
  border-color: #6b472f !important;
  background: #6b472f !important;
}

/* إزالة رسالة نهاية المحتوى غير الضرورية */
html:has(link[rel="canonical"][href*="c677822798"]) .s-infinite-scroll-status {
  display: none !important;
}

@media (max-width: 640px) {
  html:has(link[rel="canonical"][href*="c677822798"]) .s-before-products-list {
    width: calc(100% - 20px) !important;
    min-height: 225px;
    margin: 20px auto 30px !important;
    padding: 42px 22px !important;
    border-radius: 18px;
  }

  html:has(link[rel="canonical"][href*="c677822798"]) .s-before-products-list::before {
    margin-bottom: 12px;
    font-size: 36px;
  }

  html:has(link[rel="canonical"][href*="c677822798"]) .s-before-products-list::after {
    max-width: 260px;
    font-size: 13px;
  }

  html:has(link[rel="canonical"][href*="c677822798"]) .container--products-list {
    width: calc(100% - 20px) !important;
    padding-bottom: 54px !important;
  }

  html:has(link[rel="canonical"][href*="c677822798"]) .s-products-list-wrapper {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  html:has(link[rel="canonical"][href*="c677822798"]) custom-salla-product-card.s-product-card-entry {
    max-width: 390px !important;
    margin: 0 auto !important;
    border-radius: 18px !important;
  }

  html:has(link[rel="canonical"][href*="c677822798"]) .s-product-card-image {
    height: 310px !important;
    min-height: 310px !important;
  }

  html:has(link[rel="canonical"][href*="c677822798"]) .s-product-card-content {
    padding: 23px 20px 21px !important;
  }

  html:has(link[rel="canonical"][href*="c677822798"]) .s-product-card-content-title {
    font-size: 18px !important;
  }
}

/* =========================================================
   MEMAT BAKERY — PRODUCT DETAILS
   تصميم صفحة تفاصيل المنتج | قالب رائد
   ========================================================= */

body.product-single {
  --memat-bg: #f6f1ea;
  --memat-surface: #fffdf9;
  --memat-soft: #efe4d8;
  --memat-brown: #4d3121;
  --memat-brown-dark: #2f1c14;
  --memat-caramel: #a86f45;
  --memat-text: #2d211b;
  --memat-muted: #76665d;
  --memat-line: rgba(77, 49, 33, .12);
  background: var(--memat-bg) !important;
  color: var(--memat-text);
}

body.product-single main#main-content {
  gap: 0 !important;
  background:
    radial-gradient(circle at 88% 11%, rgba(169, 111, 69, .09), transparent 25%),
    var(--memat-bg) !important;
}

body.product-single main#main-content > * {
  margin-top: 0 !important;
}

/* مسار التنقل غير ضروري بصريًا في صفحة منتج واحد */
body.product-single .container--breadcrumbs {
  display: none !important;
}

/* الهيكل الرئيسي */
body.product-single .container--product-details {
  width: min(1240px, calc(100% - 40px)) !important;
  max-width: 1240px !important;
  margin: 46px auto 86px !important;
  padding: 0 !important;
}

body.product-single .container--product-details > [id^="product-"] {
  display: flex !important;
  align-items: flex-start !important;
  gap: 46px !important;
}

body.product-single .container--product-details .sidebar {
  flex: 1.08 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

body.product-single .container--product-details .main-content {
  position: sticky !important;
  top: 108px !important;
  flex: .92 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 38px 36px 34px !important;
  overflow: visible !important;
  border: 1px solid var(--memat-line);
  border-radius: 26px;
  background: rgba(255, 253, 249, .96);
  box-shadow: 0 22px 55px rgba(55, 33, 20, .10);
}

/* شارة هوية صغيرة أعلى العنوان */
body.product-single .container--product-details .main-content::before {
  content: "خبز ساوردو حرفي";
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 15px;
  padding: 5px 13px;
  border: 1px solid rgba(168, 111, 69, .22);
  border-radius: 999px;
  background: #f5ebe1;
  color: #825536;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15px;
}

/* عنوان المنتج والسعر */
body.product-single .container--product-details .main-content > h1 {
  margin: 0 0 12px !important;
  color: var(--memat-brown-dark) !important;
  font-size: clamp(28px, 2.5vw, 38px) !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  letter-spacing: -.45px;
}

body.product-single .container--product-details .main-content > h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 14px;
  border-radius: 99px;
  background: var(--memat-caramel);
}

body.product-single .container--product-details .main-content > .flex.whitespace-nowrap {
  margin: 0 0 20px !important;
}

body.product-single .container--product-details .main-content > .flex.whitespace-nowrap p {
  color: var(--memat-brown) !important;
  font-size: 27px !important;
  font-weight: 800 !important;
}

/* وصف المنتج */
body.product-single .product__description {
  margin: 0 0 22px !important;
  padding: 0 !important;
}

body.product-single .product__description .article--main {
  padding: 0 !important;
}

body.product-single .product__description,
body.product-single .product__description p {
  color: var(--memat-muted) !important;
  font-size: 15.5px !important;
  line-height: 2 !important;
}

/* المشاركة والمفضلة */
body.product-single .container--product-details .main-content > .flex.rtl\:space-x-reverse {
  gap: 9px !important;
  margin-bottom: 18px;
}

body.product-single .container--product-details .main-content > .flex.rtl\:space-x-reverse > * {
  margin: 0 !important;
}

body.product-single .s-social-share-btn,
body.product-single .main-content > .flex .btn--wishlist .s-button-element,
body.product-single .main-content > .flex > .btn--wishlist .s-button-element {
  width: 43px !important;
  height: 43px !important;
  border: 1px solid var(--memat-line) !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--memat-brown) !important;
  box-shadow: 0 7px 18px rgba(55, 33, 20, .07) !important;
}

/* مؤشر الإقبال */
body.product-single .main-content > .bg-white.py-2\.5 {
  margin: 0 0 20px !important;
  padding: 8px 13px !important;
  border: 1px solid rgba(168, 111, 69, .14);
  border-radius: 999px !important;
  background: #fbf4ed !important;
  color: #855a3e !important;
  box-shadow: none !important;
}

body.product-single .main-content > .bg-white.py-2\.5 > div {
  padding: 0 !important;
  color: #855a3e !important;
}

/* صندوق الشراء */
body.product-single form.product-form {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--memat-line);
  border-radius: 20px;
  background: #f8f1e9;
}

body.product-single form.product-form::before {
  content: "اطلبه الآن واستمتع بخبز طازج محضّر بعناية";
  display: block;
  padding: 18px 22px 0;
  color: var(--memat-brown);
  font-size: 13px;
  font-weight: 700;
}

body.product-single form.product-form > section {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.product-single form.product-form > section.flex {
  padding: 16px 22px 8px !important;
}

body.product-single form.product-form > section.sticky-product-bar {
  padding: 10px 22px 22px !important;
}

body.product-single form.product-form .center-between,
body.product-single .sticky-product-bar__quantity {
  color: var(--memat-brown-dark) !important;
  font-weight: 700;
}

body.product-single salla-quantity-input {
  overflow: hidden;
  border: 1px solid var(--memat-line);
  border-radius: 999px !important;
  background: #fff;
}

body.product-single .s-quantity-input-input {
  width: 54px !important;
  height: 42px !important;
  border-color: var(--memat-line) !important;
  background: #fff !important;
  color: var(--memat-brown-dark) !important;
  font-weight: 800 !important;
}

body.product-single .s-quantity-input-button {
  width: 42px !important;
  height: 42px !important;
  background: #fff !important;
  color: var(--memat-brown) !important;
}

body.product-single salla-add-product-button {
  margin-top: 14px !important;
}

body.product-single .s-add-product-button-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 10px !important;
}

body.product-single .s-add-product-button-main > salla-button,
body.product-single .s-add-product-button-main > .s-add-product-button-mini-checkout {
  width: 100% !important;
  max-width: none !important;
}

body.product-single salla-add-product-button .s-button-element {
  width: 100% !important;
  min-height: 50px !important;
  border: 1.5px solid rgba(77, 49, 33, .34) !important;
  border-radius: 12px !important;
  background: #fffaf4 !important;
  color: var(--memat-brown) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 18px rgba(77, 49, 33, .08) !important;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease !important;
}

body.product-single salla-add-product-button .s-button-element:hover {
  transform: translateY(-2px);
  background: #f5e9dd !important;
  box-shadow: 0 12px 23px rgba(77, 49, 33, .12) !important;
}

body.product-single .s-add-product-button-mini-checkout {
  display: flex !important;
  order: -1;
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
  padding: 2px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #62402b 0%, #3d2519 100%) !important;
  color: #fffaf4 !important;
  box-shadow:
    0 10px 22px rgba(61, 37, 25, .20),
    inset 0 1px 0 rgba(255, 255, 255, .12) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

body.product-single .s-add-product-button-mini-checkout:hover {
  transform: translateY(-2px);
  box-shadow:
    0 17px 31px rgba(61, 37, 25, .28),
    inset 0 1px 0 rgba(255, 255, 255, .14) !important;
}

body.product-single .s-add-product-button-mini-checkout-content {
  width: auto !important;
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fffaf4 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

/* معرض الصور */
body.product-single .details-slider {
  overflow: visible !important;
  border-radius: 26px !important;
  background: transparent;
}

body.product-single .details-slider > .s-slider-container {
  overflow: hidden !important;
  border: 1px solid rgba(77, 49, 33, .10);
  border-radius: 26px !important;
  background: #ede3d9;
  box-shadow: 0 24px 58px rgba(55, 33, 20, .13);
}

body.product-single .details-slider .homeslider__slide {
  aspect-ratio: 1 / 1;
  background: #ede3d9 !important;
}

body.product-single .details-slider .homeslider__slide > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .6s ease !important;
}

body.product-single .details-slider .homeslider__slide:hover > img {
  transform: scale(1.025);
}

body.product-single .details-slider .absolute.z-\[2\] {
  top: 18px !important;
  left: 18px !important;
  width: 84px !important;
  height: 84px !important;
  border: 1px solid rgba(77, 49, 33, .10);
  background: rgba(255, 253, 249, .92) !important;
  color: var(--memat-brown) !important;
  box-shadow: 0 12px 30px rgba(55, 33, 20, .12) !important;
  backdrop-filter: blur(8px);
}

body.product-single .details-slider .s-slider-nav-arrow {
  width: 44px !important;
  height: 44px !important;
  border: 1px solid rgba(77, 49, 33, .12) !important;
  border-radius: 50% !important;
  background: rgba(255, 253, 249, .94) !important;
  color: var(--memat-brown) !important;
  box-shadow: 0 9px 24px rgba(55, 33, 20, .12) !important;
}

body.product-single .details-slider .s-slider-thumbs {
  margin-top: 14px !important;
}

body.product-single .details-slider .s-slider-thumbs .swiper-slide {
  height: 84px !important;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 13px !important;
  background: #fff;
  opacity: .72;
  transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

body.product-single .details-slider .s-slider-thumbs .swiper-slide-thumb-active {
  border-color: var(--memat-caramel) !important;
  opacity: 1;
  transform: translateY(-2px);
}

body.product-single .details-slider .s-slider-thumbs img {
  border-radius: 11px !important;
  object-fit: cover !important;
}

/* سطر ثقة أنيق أسفل معلومات المنتج */
body.product-single .container--product-details .main-content::after {
  content: "مكونات واضحة  •  تخمير طبيعي طويل  •  مخبوز يدويًا";
  display: block;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--memat-line);
  color: #8b6b57;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* إخفاء الأقسام الفارغة فقط */
body.product-single salla-comments:has(.s-comments-header:empty):not(:has(.s-comments-item)) {
  display: none !important;
}

body.product-single main#main-content > .container:has(salla-products-slider):not(:has(custom-salla-product-card)) {
  display: none !important;
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 767px) {
  body.product-single main#main-content {
    background:
      radial-gradient(circle at 90% 7%, rgba(169, 111, 69, .08), transparent 23%),
      var(--memat-bg) !important;
  }

  body.product-single .container--product-details {
    width: calc(100% - 20px) !important;
    margin: 18px auto 54px !important;
  }

  body.product-single .container--product-details > [id^="product-"] {
    flex-direction: column !important;
    gap: 18px !important;
  }

  body.product-single .container--product-details .sidebar,
  body.product-single .container--product-details .main-content {
    position: static !important;
    width: 100% !important;
    flex: none !important;
  }

  body.product-single .details-slider > .s-slider-container {
    border-radius: 19px !important;
    box-shadow: 0 16px 34px rgba(55, 33, 20, .11);
  }

  body.product-single .details-slider .homeslider__slide {
    aspect-ratio: 1 / 1;
  }

  body.product-single .details-slider .absolute.z-\[2\] {
    top: 12px !important;
    left: 12px !important;
    width: 66px !important;
    height: 66px !important;
    font-size: 12px !important;
  }

  body.product-single .details-slider .s-slider-nav-arrow {
    width: 38px !important;
    height: 38px !important;
  }

  body.product-single .details-slider .s-slider-thumbs {
    margin-top: 10px !important;
  }

  body.product-single .details-slider .s-slider-thumbs .swiper-slide {
    height: 67px !important;
    border-radius: 10px !important;
  }

  body.product-single .container--product-details .main-content {
    padding: 26px 20px 24px !important;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(55, 33, 20, .09);
  }

  body.product-single .container--product-details .main-content::before {
    margin-bottom: 12px;
    font-size: 11px;
  }

  body.product-single .container--product-details .main-content > h1 {
    font-size: 26px !important;
    line-height: 1.5 !important;
  }

  body.product-single .container--product-details .main-content > .flex.whitespace-nowrap p {
    font-size: 24px !important;
  }

  body.product-single .product__description,
  body.product-single .product__description p {
    font-size: 14.5px !important;
    line-height: 1.9 !important;
  }

  body.product-single form.product-form::before {
    padding: 17px 17px 0;
    font-size: 12px;
  }

  body.product-single form.product-form > section.flex {
    padding: 15px 17px 7px !important;
  }

  body.product-single form.product-form > section.sticky-product-bar {
    padding: 10px 17px 17px !important;
  }

  body.product-single .s-add-product-button-main {
    grid-template-columns: 1fr !important;
  }

  body.product-single salla-add-product-button .s-button-element {
    min-height: 50px !important;
  }

  body.product-single .s-add-product-button-mini-checkout {
    height: 44px !important;
    min-height: 44px !important;
  }

  body.product-single .container--product-details .main-content::after {
    line-height: 1.8;
  }
}


.memat-shipping-policy {
  --memat-bg: #f6f1ea;
  --memat-surface: #fffdf9;
  --memat-brown: #382116;
  --memat-brown-soft: #5f3a27;
  --memat-caramel: #b8794c;
  --memat-line: rgba(56, 33, 22, 0.14);
  --memat-muted: #725f53;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) 18px;
  color: var(--memat-brown);
  font-family: inherit;
  line-height: 1.9;
}

.memat-shipping-policy *,
.memat-shipping-policy *::before,
.memat-shipping-policy *::after {
  box-sizing: border-box;
}

.memat-policy-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 7vw, 82px) clamp(24px, 6vw, 76px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 20%, rgba(184, 121, 76, 0.2), transparent 34%),
    linear-gradient(135deg, #4a2b1d 0%, #29170f 100%);
  box-shadow: 0 22px 60px rgba(56, 33, 22, 0.14);
  color: #fffaf3;
  text-align: center;
}

.memat-policy-hero::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 250, 243, 0.12);
  border-radius: 20px;
  pointer-events: none;
}

.memat-policy-kicker,
.memat-policy-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d7a47d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.memat-policy-kicker::before,
.memat-policy-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.memat-policy-hero h1 {
  margin: 12px 0 8px;
  color: #fffaf3;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.25;
}

.memat-policy-hero p {
  max-width: 650px;
  margin: 0 auto;
  color: rgba(255, 250, 243, 0.82);
  font-size: clamp(0.95rem, 2vw, 1.12rem);
}

.memat-policy-highlights {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: -24px 28px 38px;
}

.memat-policy-highlight {
  min-height: 145px;
  padding: 22px;
  border: 1px solid var(--memat-line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 12px 30px rgba(56, 33, 22, 0.08);
  backdrop-filter: blur(10px);
}

.memat-policy-number {
  display: block;
  margin-bottom: 12px;
  color: var(--memat-caramel);
  font-size: 0.72rem;
  font-weight: 800;
}

.memat-policy-highlight strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1rem;
}

.memat-policy-highlight p,
.memat-policy-card p,
.memat-policy-note p,
.memat-policy-footnote {
  margin: 0;
  color: var(--memat-muted);
}

.memat-policy-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.memat-policy-card {
  position: relative;
  overflow: hidden;
  min-height: 225px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--memat-line);
  border-radius: 22px;
  background: var(--memat-surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.memat-policy-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -30px;
  bottom: -42px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(184, 121, 76, 0.18);
  border-radius: 50%;
}

.memat-policy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(56, 33, 22, 0.08);
}

.memat-policy-card h2,
.memat-policy-note h2 {
  margin: 8px 0 10px;
  color: var(--memat-brown);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  line-height: 1.45;
}

.memat-policy-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 16px;
  padding: clamp(26px, 5vw, 46px);
  border-radius: 22px;
  background: #eadbca;
}

.memat-policy-note > div {
  max-width: 720px;
}

.memat-policy-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid var(--memat-brown);
  border-radius: 999px;
  background: var(--memat-brown);
  box-shadow: 0 10px 22px rgba(56, 33, 22, 0.16);
  color: #fffaf3 !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease;
}

.memat-policy-button:hover {
  transform: translateY(-2px);
  background: var(--memat-brown-soft);
}

.memat-policy-footnote {
  padding: 20px 12px 0;
  text-align: center;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .memat-policy-highlights {
    grid-template-columns: repeat(2, 1fr);
    margin-inline: 14px;
  }
}

@media (max-width: 640px) {
  .memat-shipping-policy {
    padding-inline: 12px;
  }

  .memat-policy-hero {
    border-radius: 20px;
  }

  .memat-policy-hero::after {
    inset: 10px;
    border-radius: 14px;
  }

  .memat-policy-highlights {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: -16px 8px 26px;
  }

  .memat-policy-highlight {
    min-height: 132px;
    padding: 17px;
  }

  .memat-policy-content {
    grid-template-columns: 1fr;
  }

  .memat-policy-card {
    min-height: auto;
    border-radius: 18px;
  }

  .memat-policy-note {
    align-items: stretch;
    flex-direction: column;
    border-radius: 18px;
  }

  .memat-policy-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .memat-policy-card,
  .memat-policy-button {
    transition: none;
  }
}


/* فصل بطاقات الملخص عن البنر */
.memat-policy-highlights {
  margin: 22px 28px 38px !important;
}

@media (max-width: 640px) {
  .memat-policy-highlights {
    margin: 16px 8px 26px !important;
  }
}

/* سياسية الارجاع */

.memat-returns-policy {
  --mr-bg: #f6f1ea;
  --mr-surface: #fffdf9;
  --mr-brown: #382116;
  --mr-brown-soft: #5f3a27;
  --mr-caramel: #b8794c;
  --mr-line: rgba(56, 33, 22, 0.14);
  --mr-muted: #725f53;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) 18px;
  color: var(--mr-brown);
  font-family: inherit;
  line-height: 1.9;
}

.memat-returns-policy *,
.memat-returns-policy *::before,
.memat-returns-policy *::after {
  box-sizing: border-box;
}

.memat-returns-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 82px) clamp(24px, 6vw, 76px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 15% 15%, rgba(184, 121, 76, 0.22), transparent 34%),
    linear-gradient(135deg, #4a2b1d 0%, #29170f 100%);
  box-shadow: 0 22px 60px rgba(56, 33, 22, 0.14);
  color: #fffaf3;
  text-align: center;
}

.memat-returns-hero::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 250, 243, 0.12);
  border-radius: 20px;
  pointer-events: none;
}

.memat-returns-kicker,
.memat-returns-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d7a47d;
  font-size: 0.78rem;
  font-weight: 700;
}

.memat-returns-kicker::before,
.memat-returns-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.memat-returns-hero h1 {
  max-width: 850px;
  margin: 12px auto 10px;
  color: #fffaf3;
  font-size: clamp(1.9rem, 4.5vw, 3.65rem);
  line-height: 1.35;
}

.memat-returns-hero p {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 250, 243, 0.82);
  font-size: clamp(0.95rem, 2vw, 1.12rem);
}

.memat-returns-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 28px 38px;
}

.memat-returns-highlight {
  min-height: 145px;
  padding: 22px;
  border: 1px solid var(--mr-line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.97);
  box-shadow: 0 12px 30px rgba(56, 33, 22, 0.07);
}

.memat-returns-number {
  display: block;
  margin-bottom: 12px;
  color: var(--mr-caramel);
  font-size: 0.72rem;
  font-weight: 800;
}

.memat-returns-highlight strong {
  display: block;
  margin-bottom: 3px;
}

.memat-returns-highlight p,
.memat-returns-intro p,
.memat-returns-card p,
.memat-returns-notice p,
.memat-returns-delivery p,
.memat-returns-contact p,
.memat-returns-footnote {
  margin: 0;
  color: var(--mr-muted);
}

.memat-returns-intro {
  max-width: 860px;
  margin: 0 auto 18px;
  padding: clamp(26px, 5vw, 46px);
  text-align: center;
}

.memat-returns-intro > span {
  color: var(--mr-caramel);
  font-size: 0.8rem;
  font-weight: 700;
}

.memat-returns-intro h2,
.memat-returns-card h2,
.memat-returns-notice h2,
.memat-returns-delivery h2,
.memat-returns-contact h2 {
  margin: 7px 0 10px;
  color: var(--mr-brown);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.45;
}

.memat-returns-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.memat-returns-card {
  display: flex;
  gap: 20px;
  min-height: 235px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--mr-line);
  border-radius: 22px;
  background: var(--mr-surface);
  box-shadow: 0 10px 28px rgba(56, 33, 22, 0.04);
}

.memat-returns-card--accent {
  background: #eadbca;
}

.memat-returns-icon {
  flex: 0 0 48px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(184, 121, 76, 0.35);
  border-radius: 50%;
  color: var(--mr-caramel);
  font-size: 0.92rem;
  font-weight: 800;
}

.memat-returns-notice {
  margin-top: 16px;
  padding: clamp(28px, 5vw, 50px);
  border-radius: 22px;
  background: var(--mr-brown);
}

.memat-returns-notice h2 {
  color: #fffaf3;
}

.memat-returns-notice p {
  color: rgba(255, 250, 243, 0.78);
}

.memat-returns-delivery {
  margin-top: 16px;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--mr-line);
  border-radius: 22px;
  background: var(--mr-surface);
}

.memat-returns-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 16px;
  padding: clamp(26px, 5vw, 46px);
  border-radius: 22px;
  background: #eadbca;
}

.memat-returns-contact > div {
  max-width: 720px;
}

.memat-returns-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--mr-brown);
  box-shadow: 0 10px 22px rgba(56, 33, 22, 0.16);
  color: #fffaf3 !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease;
}

.memat-returns-button:hover {
  transform: translateY(-2px);
  background: var(--mr-brown-soft);
}

.memat-returns-footnote {
  padding: 20px 12px 0;
  text-align: center;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .memat-returns-highlights {
    grid-template-columns: repeat(2, 1fr);
    margin-inline: 14px;
  }
}

@media (max-width: 640px) {
  .memat-returns-policy {
    padding-inline: 12px;
  }

  .memat-returns-hero {
    border-radius: 20px;
  }

  .memat-returns-hero::after {
    inset: 10px;
    border-radius: 14px;
  }

  .memat-returns-highlights {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 16px 8px 26px;
  }

  .memat-returns-highlight {
    min-height: 145px;
    padding: 17px;
  }

  .memat-returns-content {
    grid-template-columns: 1fr;
  }

  .memat-returns-card {
    min-height: auto;
    gap: 14px;
    border-radius: 18px;
  }

  .memat-returns-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .memat-returns-notice,
  .memat-returns-delivery,
  .memat-returns-contact {
    border-radius: 18px;
  }

  .memat-returns-contact {
    align-items: stretch;
    flex-direction: column;
  }

  .memat-returns-button {
    width: 100%;
  }

  .memat-returns-footnote {
    padding-left: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .memat-returns-button {
    transition: none;
  }
}

/* سياسية الخصوصية */

.memat-legal-policy {
  --ml-surface: #fffdf9;
  --ml-brown: #382116;
  --ml-brown-soft: #5f3a27;
  --ml-caramel: #b8794c;
  --ml-line: rgba(56, 33, 22, 0.14);
  --ml-muted: #725f53;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) 18px;
  color: var(--ml-brown);
  font-family: inherit;
  line-height: 1.9;
}

.memat-legal-policy *,
.memat-legal-policy *::before,
.memat-legal-policy *::after {
  box-sizing: border-box;
}

.memat-legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 82px) clamp(24px, 6vw, 76px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 15% 15%, rgba(184, 121, 76, 0.22), transparent 34%),
    linear-gradient(135deg, #4a2b1d 0%, #29170f 100%);
  box-shadow: 0 22px 60px rgba(56, 33, 22, 0.14);
  color: #fffaf3;
  text-align: center;
}

.memat-legal-hero::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 250, 243, 0.12);
  border-radius: 20px;
  pointer-events: none;
}

.memat-legal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d7a47d;
  font-size: 0.78rem;
  font-weight: 700;
}

.memat-legal-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.memat-legal-hero h1 {
  max-width: 860px;
  margin: 12px auto 10px;
  color: #fffaf3;
  font-size: clamp(1.9rem, 4.5vw, 3.65rem);
  line-height: 1.35;
}

.memat-legal-hero p {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 250, 243, 0.82);
  font-size: clamp(0.95rem, 2vw, 1.12rem);
}

.memat-legal-updated {
  display: block;
  margin-top: 14px;
  color: rgba(255, 250, 243, 0.58);
  font-size: 0.75rem;
}

.memat-legal-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 28px 32px;
}

.memat-legal-highlights article {
  min-height: 142px;
  padding: 22px;
  border: 1px solid var(--ml-line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.97);
  box-shadow: 0 12px 30px rgba(56, 33, 22, 0.07);
}

.memat-legal-highlights article > span {
  display: block;
  margin-bottom: 10px;
  color: var(--ml-caramel);
  font-size: 0.72rem;
  font-weight: 800;
}

.memat-legal-highlights strong {
  display: block;
}

.memat-legal-highlights p,
.memat-legal-heading p,
.memat-legal-card p,
.memat-privacy-list p,
.memat-legal-rights p,
.memat-legal-notes p,
.memat-legal-contact p,
.memat-legal-footnote {
  margin: 0;
  color: var(--ml-muted);
}

.memat-legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.memat-legal-nav a {
  padding: 9px 16px;
  border: 1px solid var(--ml-line);
  border-radius: 999px;
  background: var(--ml-surface);
  color: var(--ml-brown) !important;
  font-size: 0.86rem;
  text-decoration: none !important;
}

.memat-legal-section {
  scroll-margin-top: 110px;
  margin-top: 18px;
}

.memat-legal-heading {
  max-width: 850px;
  margin: 0 auto 24px;
  text-align: center;
}

.memat-legal-heading > span {
  color: var(--ml-caramel);
  font-size: 0.78rem;
  font-weight: 700;
}

.memat-legal-heading h2,
.memat-legal-rights h2,
.memat-legal-contact h2 {
  margin: 7px 0 10px;
  color: var(--ml-brown);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.45;
}

.memat-legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.memat-legal-card {
  position: relative;
  min-height: 230px;
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid var(--ml-line);
  border-radius: 22px;
  background: var(--ml-surface);
  box-shadow: 0 10px 28px rgba(56, 33, 22, 0.04);
}

.memat-legal-card--warm {
  background: #eadbca;
}

.memat-legal-index {
  display: block;
  color: var(--ml-caramel);
  font-size: 0.74rem;
  font-weight: 800;
}

.memat-legal-card h3,
.memat-privacy-list h3,
.memat-legal-notes h3 {
  margin: 8px 0 9px;
  color: var(--ml-brown);
  font-size: 1.2rem;
}

.memat-legal-section--dark {
  margin-top: 18px;
  padding: clamp(30px, 6vw, 58px);
  border-radius: 26px;
  background: var(--ml-brown);
}

.memat-legal-section--dark .memat-legal-heading h2 {
  color: #fffaf3;
}

.memat-legal-section--dark .memat-legal-heading p {
  color: rgba(255, 250, 243, 0.7);
}

.memat-privacy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.memat-privacy-list article {
  padding: 25px;
  border: 1px solid rgba(255, 250, 243, 0.12);
  border-radius: 18px;
  background: rgba(255, 250, 243, 0.06);
}

.memat-privacy-list h3 {
  color: #fffaf3;
}

.memat-privacy-list p,
.memat-privacy-list li {
  color: rgba(255, 250, 243, 0.72);
}

.memat-privacy-list ul {
  margin: 7px 0 0;
  padding-right: 20px;
}

.memat-privacy-list li {
  margin-bottom: 4px;
}

.memat-legal-rights {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  align-items: center;
  gap: 38px;
  margin-top: 18px;
  padding: clamp(28px, 5vw, 50px);
  border: 1px solid var(--ml-line);
  border-radius: 22px;
  background: var(--ml-surface);
}

.memat-legal-rights-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.memat-legal-rights-tags span {
  padding: 8px 13px;
  border-radius: 999px;
  background: #eadbca;
  color: var(--ml-brown);
  font-size: 0.82rem;
  font-weight: 700;
}

.memat-legal-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.memat-legal-notes article {
  padding: 25px;
  border: 1px solid var(--ml-line);
  border-radius: 18px;
  background: var(--ml-surface);
}

.memat-legal-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 16px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 22px;
  background: #eadbca;
}

.memat-legal-contact > div:first-child {
  max-width: 700px;
}

.memat-legal-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 8px;
}

.memat-legal-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid var(--ml-brown);
  border-radius: 999px;
  background: var(--ml-brown);
  color: #fffaf3 !important;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none !important;
}

.memat-legal-actions a:first-child {
  background: transparent;
  color: var(--ml-brown) !important;
}

.memat-legal-footnote {
  padding: 20px 12px 0;
  text-align: center;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .memat-legal-highlights {
    grid-template-columns: repeat(2, 1fr);
    margin-inline: 14px;
  }

  .memat-legal-notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .memat-legal-policy {
    padding-inline: 12px;
  }

  .memat-legal-hero {
    border-radius: 20px;
  }

  .memat-legal-hero::after {
    inset: 10px;
    border-radius: 14px;
  }

  .memat-legal-highlights {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 16px 8px 26px;
  }

  .memat-legal-highlights article {
    min-height: 142px;
    padding: 17px;
  }

  .memat-legal-nav {
    margin-bottom: 30px;
  }

  .memat-legal-grid,
  .memat-privacy-list,
  .memat-legal-rights {
    grid-template-columns: 1fr;
  }

  .memat-legal-card {
    min-height: auto;
    border-radius: 18px;
  }

  .memat-legal-section--dark {
    padding: 25px 16px;
    border-radius: 20px;
  }

  .memat-legal-rights,
  .memat-legal-contact {
    border-radius: 18px;
  }

  .memat-legal-contact {
    align-items: stretch;
    flex-direction: column;
  }

  .memat-legal-actions {
    width: 100%;
  }

  .memat-legal-actions a {
    width: 100%;
  }

  .memat-legal-footnote {
    padding-left: 64px;
  }
}


/* الاسئلة الشائعة */


#memat-faq {
  --memat-faq-bg: #f6f1ea;
  --memat-faq-card: #fffdf9;
  --memat-faq-brown: #3b2117;
  --memat-faq-brown-2: #56301f;
  --memat-faq-caramel: #c98253;
  --memat-faq-sand: #ead7c4;
  --memat-faq-line: #e5d8cb;
  --memat-faq-text: #342219;
  --memat-faq-muted: #765f52;
  direction: rtl;
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 80px;
  color: var(--memat-faq-text);
  font-family: inherit;
}

#memat-faq,
#memat-faq * {
  box-sizing: border-box;
}

#memat-faq .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#memat-faq [hidden] {
  display: none !important;
}

#memat-faq .memat-faq__hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 330px;
  padding: clamp(42px, 7vw, 86px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 10%, rgba(201, 130, 83, 0.28), transparent 33%),
    linear-gradient(125deg, var(--memat-faq-brown-2), #2b170f 72%);
  box-shadow: 0 28px 65px rgba(59, 33, 23, 0.16);
}

#memat-faq .memat-faq__hero::before,
#memat-faq .memat-faq__hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
}

#memat-faq .memat-faq__hero::before {
  width: 360px;
  height: 360px;
  inset: -190px auto auto -100px;
}

#memat-faq .memat-faq__hero::after {
  width: 180px;
  height: 180px;
  inset: auto 44% -118px auto;
}

#memat-faq .memat-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 690px;
}

#memat-faq .memat-faq__eyebrow,
#memat-faq .memat-faq__section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--memat-faq-caramel);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

#memat-faq .memat-faq__eyebrow {
  color: #e9b78f;
}

#memat-faq .memat-faq__eyebrow::after,
#memat-faq .memat-faq__section-label::after {
  content: "";
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

#memat-faq .memat-faq__hero h1 {
  margin: 14px 0 16px;
  color: #fffaf4;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

#memat-faq .memat-faq__hero p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 250, 244, 0.82);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 2;
}

#memat-faq .memat-faq__hero-mark {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 150px;
  width: 150px;
  height: 150px;
  place-items: center;
  margin-inline-start: 38px;
  color: #f4d4bb;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  font-size: 72px;
  font-weight: 700;
}

#memat-faq .memat-faq__hero-mark::before,
#memat-faq .memat-faq__hero-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: inherit;
}

#memat-faq .memat-faq__hero-mark::before {
  inset: -14px;
}

#memat-faq .memat-faq__hero-mark::after {
  inset: 15px;
}

#memat-faq .memat-faq__facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: calc(100% - 80px);
  margin: 18px auto 0;
}

#memat-faq .memat-faq__fact {
  position: relative;
  min-height: 132px;
  padding: 25px 26px 22px;
  border: 1px solid var(--memat-faq-line);
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.97);
  box-shadow: 0 17px 38px rgba(59, 33, 23, 0.08);
}

#memat-faq .memat-faq__fact-number {
  display: block;
  margin-bottom: 12px;
  color: var(--memat-faq-caramel);
  font-size: 11px;
  font-weight: 900;
}

#memat-faq .memat-faq__fact strong,
#memat-faq .memat-faq__fact small {
  display: block;
}

#memat-faq .memat-faq__fact strong {
  margin-bottom: 7px;
  color: var(--memat-faq-brown);
  font-size: 17px;
}

#memat-faq .memat-faq__fact small {
  color: var(--memat-faq-muted);
  font-size: 13px;
  line-height: 1.7;
}

#memat-faq .memat-faq__content {
  width: min(920px, 100%);
  margin: 78px auto 0;
}

#memat-faq .memat-faq__intro {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px);
  gap: 34px;
  align-items: end;
  margin-bottom: 52px;
}

#memat-faq .memat-faq__intro h2,
#memat-faq .memat-faq__cta h2 {
  margin: 10px 0 0;
  color: var(--memat-faq-brown);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.35;
}

#memat-faq .memat-faq__search {
  position: relative;
  display: flex;
  align-items: center;
}

#memat-faq .memat-faq__search input {
  width: 100%;
  height: 58px;
  padding: 0 52px 0 18px;
  color: var(--memat-faq-text);
  border: 1px solid var(--memat-faq-line);
  border-radius: 16px;
  outline: 0;
  background: var(--memat-faq-card);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#memat-faq .memat-faq__search input::placeholder {
  color: #9a887d;
}

#memat-faq .memat-faq__search input:focus {
  border-color: var(--memat-faq-caramel);
  box-shadow: 0 0 0 4px rgba(201, 130, 83, 0.12);
}

#memat-faq .memat-faq__search-icon {
  position: absolute;
  z-index: 1;
  right: 20px;
  width: 16px;
  height: 16px;
  pointer-events: none;
  border: 2px solid var(--memat-faq-caramel);
  border-radius: 50%;
}

#memat-faq .memat-faq__search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  left: -5px;
  bottom: -3px;
  border-radius: 2px;
  background: var(--memat-faq-caramel);
  transform: rotate(45deg);
}

#memat-faq .memat-faq__group {
  margin-top: 46px;
}

#memat-faq .memat-faq__group-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}

#memat-faq .memat-faq__group-heading span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--memat-faq-caramel);
  border: 1px solid var(--memat-faq-sand);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

#memat-faq .memat-faq__group-heading h3 {
  margin: 0;
  color: var(--memat-faq-brown);
  font-size: 21px;
}

#memat-faq .memat-faq__list {
  overflow: hidden;
  border: 1px solid var(--memat-faq-line);
  border-radius: 22px;
  background: var(--memat-faq-card);
  box-shadow: 0 14px 34px rgba(59, 33, 23, 0.045);
}

#memat-faq .memat-faq__item {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--memat-faq-line);
  background: transparent;
}

#memat-faq .memat-faq__item:last-child {
  border-bottom: 0;
}

#memat-faq .memat-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 82px;
  padding: 22px 26px;
  color: var(--memat-faq-brown);
  outline: 0;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.65;
  transition: color 0.2s ease, background-color 0.2s ease;
}

#memat-faq .memat-faq__item summary::-webkit-details-marker {
  display: none;
}

#memat-faq .memat-faq__item summary:hover,
#memat-faq .memat-faq__item summary:focus-visible {
  color: var(--memat-faq-caramel);
  background: #fffaf4;
}

#memat-faq .memat-faq__item summary i {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--memat-faq-sand);
  border-radius: 50%;
  background: #fbf3eb;
}

#memat-faq .memat-faq__item summary i::before,
#memat-faq .memat-faq__item summary i::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 11px;
  height: 2px;
  border-radius: 4px;
  background: var(--memat-faq-brown-2);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

#memat-faq .memat-faq__item summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

#memat-faq .memat-faq__item[open] summary {
  color: var(--memat-faq-caramel);
  background: #fffaf4;
}

#memat-faq .memat-faq__item[open] summary i::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0);
}

#memat-faq .memat-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  color: var(--memat-faq-muted);
  font-size: 15px;
  line-height: 2;
  transition: grid-template-rows 0.32s ease;
}

#memat-faq .memat-faq__item[open] .memat-faq__answer {
  grid-template-rows: 1fr;
}

#memat-faq .memat-faq__answer > div {
  min-height: 0;
  padding: 0 26px;
  overflow: hidden;
}

#memat-faq .memat-faq__item[open] .memat-faq__answer > div {
  padding-bottom: 24px;
}

#memat-faq .memat-faq__empty {
  margin-top: 30px;
  padding: 28px;
  color: var(--memat-faq-muted);
  border: 1px dashed var(--memat-faq-sand);
  border-radius: 18px;
  background: #fffaf4;
  text-align: center;
}

#memat-faq .memat-faq__cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  align-items: center;
  margin-top: 70px;
  padding: clamp(34px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid #dec8b2;
  border-radius: 28px;
  background:
    radial-gradient(circle at 2% 100%, rgba(201, 130, 83, 0.12), transparent 32%),
    #ead9c7;
}

#memat-faq .memat-faq__cta::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  inset: -120px auto auto 34%;
  border: 1px solid rgba(86, 48, 31, 0.1);
  border-radius: 50%;
}

#memat-faq .memat-faq__cta p {
  margin: 12px 0 0;
  color: var(--memat-faq-muted);
  font-size: 15px;
  line-height: 1.9;
}

#memat-faq .memat-faq__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#memat-faq .memat-faq__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid var(--memat-faq-brown);
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#memat-faq .memat-faq__button:hover {
  transform: translateY(-2px);
}

#memat-faq .memat-faq__button--primary {
  color: #fffaf4 !important;
  background: var(--memat-faq-brown);
  box-shadow: 0 12px 24px rgba(59, 33, 23, 0.16);
}

#memat-faq .memat-faq__button--secondary {
  color: var(--memat-faq-brown) !important;
  background: rgba(255, 253, 249, 0.68);
}

@media (max-width: 900px) {
  #memat-faq .memat-faq__hero {
    min-height: auto;
  }

  #memat-faq .memat-faq__hero-mark {
    flex-basis: 112px;
    width: 112px;
    height: 112px;
    font-size: 56px;
  }

  #memat-faq .memat-faq__intro,
  #memat-faq .memat-faq__cta {
    grid-template-columns: 1fr;
  }

  #memat-faq .memat-faq__intro {
    align-items: stretch;
  }
}

@media (max-width: 700px) {
  #memat-faq {
    width: min(100% - 20px, 1180px);
    margin-top: 18px;
    margin-bottom: 50px;
  }

  #memat-faq .memat-faq__hero {
    display: block;
    padding: 42px 26px;
    border-radius: 24px;
  }

  #memat-faq .memat-faq__hero h1 {
    margin-top: 12px;
    font-size: clamp(38px, 12vw, 54px);
  }

  #memat-faq .memat-faq__hero p {
    font-size: 15px;
    line-height: 1.9;
  }

  #memat-faq .memat-faq__hero-mark {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: 90px;
    height: 90px;
    margin: 0;
    font-size: 44px;
    background: rgba(255, 255, 255, 0.035);
  }

  #memat-faq .memat-faq__facts {
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  #memat-faq .memat-faq__fact {
    min-height: 0;
    padding: 20px 21px;
  }

  #memat-faq .memat-faq__fact-number {
    margin-bottom: 7px;
  }

  #memat-faq .memat-faq__content {
    margin-top: 58px;
  }

  #memat-faq .memat-faq__intro {
    gap: 24px;
    margin-bottom: 38px;
  }

  #memat-faq .memat-faq__search input {
    height: 54px;
    font-size: 13px;
  }

  #memat-faq .memat-faq__group {
    margin-top: 36px;
  }

  #memat-faq .memat-faq__list {
    border-radius: 18px;
  }

  #memat-faq .memat-faq__item summary {
    min-height: 74px;
    padding: 19px 18px;
    font-size: 15px;
  }

  #memat-faq .memat-faq__answer {
    font-size: 14px;
  }

  #memat-faq .memat-faq__answer > div {
    padding-inline: 18px;
  }

  #memat-faq .memat-faq__cta {
    gap: 26px;
    margin-top: 50px;
    padding: 32px 22px;
    border-radius: 22px;
  }

  #memat-faq .memat-faq__actions {
    display: grid;
  }

  #memat-faq .memat-faq__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #memat-faq *,
  #memat-faq *::before,
  #memat-faq *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* تواصل معنا */

#memat-contact {
  --memat-contact-bg: #f6f1ea;
  --memat-contact-card: #fffdf9;
  --memat-contact-brown: #3b2117;
  --memat-contact-brown-2: #56301f;
  --memat-contact-caramel: #c98253;
  --memat-contact-sand: #ead7c4;
  --memat-contact-line: #e5d8cb;
  --memat-contact-text: #342219;
  --memat-contact-muted: #765f52;
  direction: rtl;
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 80px;
  color: var(--memat-contact-text);
  font-family: inherit;
}

#memat-contact,
#memat-contact * {
  box-sizing: border-box;
}

#memat-contact a {
  color: inherit;
  text-decoration: none;
}

#memat-contact button,
#memat-contact a {
  -webkit-tap-highlight-color: transparent;
}

#memat-contact [hidden] {
  display: none !important;
}

#memat-contact .memat-contact__hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 350px;
  padding: clamp(42px, 7vw, 86px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 10%, rgba(201, 130, 83, 0.3), transparent 34%),
    linear-gradient(125deg, var(--memat-contact-brown-2), #2b170f 72%);
  box-shadow: 0 28px 65px rgba(59, 33, 23, 0.16);
}

#memat-contact .memat-contact__hero::before,
#memat-contact .memat-contact__hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

#memat-contact .memat-contact__hero::before {
  width: 370px;
  height: 370px;
  inset: -200px auto auto -95px;
}

#memat-contact .memat-contact__hero::after {
  width: 190px;
  height: 190px;
  inset: auto 43% -128px auto;
}

#memat-contact .memat-contact__hero-copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

#memat-contact .memat-contact__eyebrow,
#memat-contact .memat-contact__section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--memat-contact-caramel);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

#memat-contact .memat-contact__eyebrow {
  color: #e9b78f;
}

#memat-contact .memat-contact__eyebrow::after,
#memat-contact .memat-contact__section-label::after {
  content: "";
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

#memat-contact .memat-contact__hero h1 {
  margin: 14px 0 14px;
  color: #fffaf4;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

#memat-contact .memat-contact__hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 250, 244, 0.82);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 2;
}

#memat-contact .memat-contact__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

#memat-contact .memat-contact__button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

#memat-contact .memat-contact__button:hover {
  transform: translateY(-2px);
}

#memat-contact .memat-contact__button--light {
  color: var(--memat-contact-brown);
  background: #fffaf4;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

#memat-contact .memat-contact__button--ghost {
  color: #fffaf4;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

#memat-contact .memat-contact__button--brown {
  color: #fffaf4;
  background: var(--memat-contact-brown);
  box-shadow: 0 12px 26px rgba(59, 33, 23, 0.16);
}

#memat-contact .memat-contact__hero-mark {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 150px;
  width: 150px;
  height: 150px;
  place-content: center;
  margin-inline-start: 38px;
  color: #f4d4bb;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  text-align: center;
}

#memat-contact .memat-contact__hero-mark::before,
#memat-contact .memat-contact__hero-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: inherit;
}

#memat-contact .memat-contact__hero-mark::before {
  inset: -14px;
}

#memat-contact .memat-contact__hero-mark::after {
  inset: 15px;
}

#memat-contact .memat-contact__hero-mark span {
  font-size: 68px;
  font-weight: 800;
  line-height: 0.9;
}

#memat-contact .memat-contact__hero-mark small {
  margin-top: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

#memat-contact .memat-contact__quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: calc(100% - 80px);
  margin: 18px auto 0;
}

#memat-contact .memat-contact__fact {
  min-height: 132px;
  padding: 24px 26px 22px;
  border: 1px solid var(--memat-contact-line);
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.97);
  box-shadow: 0 17px 38px rgba(59, 33, 23, 0.08);
}

#memat-contact .memat-contact__fact span,
#memat-contact .memat-contact__fact strong,
#memat-contact .memat-contact__fact small {
  display: block;
}

#memat-contact .memat-contact__fact span {
  margin-bottom: 11px;
  color: var(--memat-contact-caramel);
  font-size: 11px;
  font-weight: 900;
}

#memat-contact .memat-contact__fact strong {
  margin-bottom: 7px;
  color: var(--memat-contact-brown);
  font-size: 17px;
}

#memat-contact .memat-contact__fact small {
  color: var(--memat-contact-muted);
  font-size: 13px;
  line-height: 1.7;
}

#memat-contact .memat-contact__body {
  width: min(1020px, 100%);
  margin: 78px auto 0;
}

#memat-contact .memat-contact__heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 430px);
  gap: 36px;
  align-items: end;
  margin-bottom: 32px;
}

#memat-contact .memat-contact__heading h2,
#memat-contact .memat-contact__promise h2,
#memat-contact .memat-contact__help h2 {
  margin: 10px 0 0;
  color: var(--memat-contact-brown);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.35;
}

#memat-contact .memat-contact__heading > p,
#memat-contact .memat-contact__promise p,
#memat-contact .memat-contact__help p {
  margin: 0;
  color: var(--memat-contact-muted);
  font-size: 15px;
  line-height: 1.95;
}

#memat-contact .memat-contact__channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

#memat-contact .memat-contact__channel {
  position: relative;
  min-height: 310px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--memat-contact-line);
  border-radius: 24px;
  background: var(--memat-contact-card);
  box-shadow: 0 15px 38px rgba(59, 33, 23, 0.06);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

#memat-contact .memat-contact__channel:hover {
  transform: translateY(-4px);
  border-color: #d8b99f;
  box-shadow: 0 22px 45px rgba(59, 33, 23, 0.11);
}

#memat-contact .memat-contact__channel--featured {
  color: #fffaf4;
  border-color: transparent;
  background:
    radial-gradient(circle at 5% 5%, rgba(201, 130, 83, 0.28), transparent 34%),
    var(--memat-contact-brown);
}

#memat-contact .memat-contact__channel-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  place-items: center;
  color: var(--memat-contact-brown);
  border-radius: 16px;
  background: #f0e2d4;
}

#memat-contact .memat-contact__channel-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

#memat-contact .memat-contact__channel--featured .memat-contact__channel-icon {
  color: #f5d5bc;
  background: rgba(255, 255, 255, 0.1);
}

#memat-contact .memat-contact__channel-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--memat-contact-caramel);
  font-size: 11px;
  font-weight: 900;
}

#memat-contact .memat-contact__channel--featured .memat-contact__channel-kicker {
  color: #e9b78f;
}

#memat-contact .memat-contact__channel h3 {
  margin: 0 0 10px;
  color: var(--memat-contact-brown);
  font-size: 24px;
}

#memat-contact .memat-contact__channel--featured h3 {
  color: #fffaf4;
}

#memat-contact .memat-contact__channel p {
  min-height: 56px;
  margin: 0 0 24px;
  color: var(--memat-contact-muted);
  font-size: 14px;
  line-height: 1.9;
}

#memat-contact .memat-contact__channel--featured p {
  color: rgba(255, 250, 244, 0.76);
}

#memat-contact .memat-contact__channel .memat-contact__value {
  min-height: auto;
  color: var(--memat-contact-brown);
  font-size: 15px;
  font-weight: 800;
  text-align: right;
}

#memat-contact .memat-contact__channel .memat-contact__value--email {
  font-size: 13px;
  overflow-wrap: anywhere;
}

#memat-contact .memat-contact__channel--featured > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fffaf4;
  font-size: 14px;
  font-weight: 800;
}

#memat-contact .memat-contact__channel--featured > a i {
  font-style: normal;
  transition: transform 0.2s ease;
}

#memat-contact .memat-contact__channel--featured > a:hover i {
  transform: translateX(-4px);
}

#memat-contact .memat-contact__channel-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

#memat-contact .memat-contact__channel-actions a,
#memat-contact .memat-contact__channel-actions button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--memat-contact-line);
  border-radius: 999px;
  background: transparent;
  color: var(--memat-contact-brown);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

#memat-contact .memat-contact__channel-actions a {
  display: inline-flex;
  align-items: center;
}

#memat-contact .memat-contact__channel-actions button:hover,
#memat-contact .memat-contact__channel-actions a:hover {
  border-color: var(--memat-contact-caramel);
  background: #fbf3eb;
}

#memat-contact .memat-contact__promise {
  margin-top: 26px;
  padding: clamp(34px, 6vw, 64px);
  border-radius: 28px;
  background: #ead8c6;
}

#memat-contact .memat-contact__promise-copy {
  max-width: 800px;
}

#memat-contact .memat-contact__promise p {
  margin-top: 14px;
}

#memat-contact .memat-contact__steps {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  align-items: center;
  margin-top: 38px;
}

#memat-contact .memat-contact__steps div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 18px;
  border: 1px solid rgba(59, 33, 23, 0.1);
  border-radius: 17px;
  background: rgba(255, 253, 249, 0.72);
}

#memat-contact .memat-contact__steps span {
  color: var(--memat-contact-caramel);
  font-size: 11px;
  font-weight: 900;
}

#memat-contact .memat-contact__steps strong {
  color: var(--memat-contact-brown);
  font-size: 14px;
}

#memat-contact .memat-contact__steps i {
  height: 1px;
  background: rgba(59, 33, 23, 0.22);
}

#memat-contact .memat-contact__help {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin-top: 26px;
  padding: clamp(32px, 5vw, 54px);
  border: 1px solid var(--memat-contact-line);
  border-radius: 28px;
  background: var(--memat-contact-card);
}

#memat-contact .memat-contact__help p {
  max-width: 650px;
  margin-top: 12px;
}

#memat-contact .memat-contact__help-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

#memat-contact .memat-contact__text-link {
  color: var(--memat-contact-brown);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#memat-contact .memat-contact__toast {
  position: fixed;
  z-index: 99999;
  inset: auto 50% 26px auto;
  min-width: min(340px, calc(100vw - 32px));
  padding: 14px 18px;
  color: #fffaf4;
  border-radius: 13px;
  background: var(--memat-contact-brown);
  box-shadow: 0 16px 38px rgba(59, 33, 23, 0.24);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  transform: translateX(50%);
}

#memat-contact [data-contact-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

#memat-contact [data-contact-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  #memat-contact .memat-contact__hero {
    min-height: 320px;
  }

  #memat-contact .memat-contact__hero-mark {
    flex-basis: 120px;
    width: 120px;
    height: 120px;
  }

  #memat-contact .memat-contact__quick-facts,
  #memat-contact .memat-contact__channels {
    grid-template-columns: 1fr;
  }

  #memat-contact .memat-contact__quick-facts {
    width: calc(100% - 34px);
  }

  #memat-contact .memat-contact__heading,
  #memat-contact .memat-contact__help {
    grid-template-columns: 1fr;
  }

  #memat-contact .memat-contact__heading {
    align-items: start;
  }

  #memat-contact .memat-contact__channel {
    min-height: auto;
  }

  #memat-contact .memat-contact__help-actions {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  #memat-contact {
    width: min(100% - 20px, 1180px);
    margin: 18px auto 54px;
  }

  #memat-contact .memat-contact__hero {
    display: block;
    min-height: auto;
    padding: 38px 24px 42px;
    border-radius: 25px;
  }

  #memat-contact .memat-contact__hero h1 {
    font-size: 42px;
  }

  #memat-contact .memat-contact__hero p {
    font-size: 15px;
    line-height: 1.9;
  }

  #memat-contact .memat-contact__hero-mark {
    display: none;
  }

  #memat-contact .memat-contact__hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  #memat-contact .memat-contact__button {
    width: 100%;
  }

  #memat-contact .memat-contact__quick-facts {
    grid-template-columns: 1fr;
    width: calc(100% - 18px);
    gap: 9px;
    margin-top: 10px;
  }

  #memat-contact .memat-contact__fact {
    min-height: auto;
    padding: 20px;
  }

  #memat-contact .memat-contact__body {
    margin-top: 54px;
  }

  #memat-contact .memat-contact__heading {
    gap: 16px;
    margin-bottom: 24px;
  }

  #memat-contact .memat-contact__heading h2,
  #memat-contact .memat-contact__promise h2,
  #memat-contact .memat-contact__help h2 {
    font-size: 28px;
  }

  #memat-contact .memat-contact__channel {
    padding: 25px 22px;
    border-radius: 20px;
  }

  #memat-contact .memat-contact__channel-actions {
    flex-wrap: wrap;
  }

  #memat-contact .memat-contact__promise,
  #memat-contact .memat-contact__help {
    padding: 30px 22px;
    border-radius: 22px;
  }

  #memat-contact .memat-contact__steps {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 26px;
  }

  #memat-contact .memat-contact__steps i {
    width: 1px;
    height: 18px;
    margin: auto;
  }

  #memat-contact .memat-contact__help-actions {
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  #memat-contact *,
  #memat-contact *::before,
  #memat-contact *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  #memat-contact [data-contact-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ماهو الساوردو */

#memat-guide {
  --mg-bg: #f6f1ea;
  --mg-paper: #fffdf9;
  --mg-paper-2: #fbf7f1;
  --mg-brown: #3b2117;
  --mg-brown-2: #56301f;
  --mg-caramel: #c98253;
  --mg-caramel-soft: #e8b58d;
  --mg-sand: #ead7c4;
  --mg-line: #e4d7ca;
  --mg-text: #342219;
  --mg-muted: #765f52;
  direction: rtl;
  width: min(1240px, calc(100% - 32px));
  margin: 34px auto 86px;
  color: var(--mg-text);
  font-family: inherit;
  scroll-behavior: smooth;
}

#memat-guide,
#memat-guide * {
  box-sizing: border-box;
}

#memat-guide img {
  display: block;
  max-width: 100%;
}

#memat-guide a {
  color: inherit;
  text-decoration: none;
}

#memat-guide button,
#memat-guide a {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

#memat-guide button {
  color: inherit;
}

#memat-guide [hidden] {
  display: none !important;
}

#memat-guide .memat-guide__hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(480px, 58vw, 660px);
  align-items: flex-end;
  justify-content: space-between;
  padding: clamp(38px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 36px;
  background:
    url("https://cdn.files.salla.network/homepage/223978771/3aac3893-01d4-4273-a54e-36c6c06b6583_1440x675.webp")
    center / cover no-repeat;
  box-shadow: 0 30px 70px rgba(59, 33, 23, 0.18);
}

#memat-guide .memat-guide__hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 15, 9, 0.18), rgba(31, 15, 9, 0.34)),
    linear-gradient(0deg, rgba(29, 14, 9, 0.92) 0%, rgba(29, 14, 9, 0.14) 72%);
}

#memat-guide .memat-guide__hero::before,
#memat-guide .memat-guide__hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

#memat-guide .memat-guide__hero::before {
  width: 390px;
  height: 390px;
  inset: -195px auto auto -85px;
}

#memat-guide .memat-guide__hero::after {
  width: 210px;
  height: 210px;
  inset: auto 44% -145px auto;
}

#memat-guide .memat-guide__hero-copy {
  max-width: 720px;
}

#memat-guide .memat-guide__eyebrow,
#memat-guide .memat-guide__section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mg-caramel);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

#memat-guide .memat-guide__eyebrow {
  color: #f0c5a4;
}

#memat-guide .memat-guide__eyebrow::after,
#memat-guide .memat-guide__section-label::after {
  content: "";
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

#memat-guide .memat-guide__hero h1 {
  margin: 14px 0;
  color: #fffaf4;
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

#memat-guide .memat-guide__hero p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 250, 244, 0.88);
  font-size: clamp(16px, 1.9vw, 21px);
  line-height: 1.95;
}

#memat-guide .memat-guide__hero-actions,
#memat-guide .memat-guide__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

#memat-guide .memat-guide__button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

#memat-guide .memat-guide__button:hover {
  transform: translateY(-2px);
}

#memat-guide .memat-guide__button--light {
  color: var(--mg-brown);
  background: #fffaf4;
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.16);
}

#memat-guide .memat-guide__button--ghost {
  color: #fffaf4;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

#memat-guide .memat-guide__hero-stamp {
  position: relative;
  display: grid;
  flex: 0 0 176px;
  width: 176px;
  height: 176px;
  place-content: center;
  margin-inline-start: 34px;
  color: #f7d3b8;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(31, 15, 9, 0.24);
  text-align: center;
  backdrop-filter: blur(8px);
}

#memat-guide .memat-guide__hero-stamp::before,
#memat-guide .memat-guide__hero-stamp::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: inherit;
}

#memat-guide .memat-guide__hero-stamp::before {
  inset: -12px;
}

#memat-guide .memat-guide__hero-stamp::after {
  inset: 15px;
}

#memat-guide .memat-guide__hero-stamp strong,
#memat-guide .memat-guide__hero-stamp span,
#memat-guide .memat-guide__hero-stamp small {
  position: relative;
  z-index: 1;
  display: block;
}

#memat-guide .memat-guide__hero-stamp strong {
  font-size: 58px;
  line-height: 0.9;
}

#memat-guide .memat-guide__hero-stamp span {
  margin-top: 7px;
  font-size: 13px;
  font-weight: 850;
}

#memat-guide .memat-guide__hero-stamp small {
  margin-top: 7px;
  font-size: 10px;
}

#memat-guide .memat-guide__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: calc(100% - 80px);
  margin: 22px auto 0;
}

#memat-guide .memat-guide__facts article {
  min-height: 150px;
  padding: 25px 26px;
  border: 1px solid var(--mg-line);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.98);
  box-shadow: 0 16px 38px rgba(59, 33, 23, 0.07);
}

#memat-guide .memat-guide__facts span,
#memat-guide .memat-guide__facts strong,
#memat-guide .memat-guide__facts small {
  display: block;
}

#memat-guide .memat-guide__facts span {
  margin-bottom: 12px;
  color: var(--mg-caramel);
  font-size: 11px;
  font-weight: 900;
}

#memat-guide .memat-guide__facts strong {
  margin-bottom: 8px;
  color: var(--mg-brown);
  font-size: 17px;
}

#memat-guide .memat-guide__facts small {
  color: var(--mg-muted);
  font-size: 13px;
  line-height: 1.75;
}

#memat-guide .memat-guide__nav {
  position: sticky;
  z-index: 20;
  top: 12px;
  display: flex;
  gap: 8px;
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: 40px auto 0;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid var(--mg-line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.93);
  box-shadow: 0 12px 32px rgba(59, 33, 23, 0.08);
  backdrop-filter: blur(12px);
  scrollbar-width: none;
}

#memat-guide .memat-guide__nav::-webkit-scrollbar {
  display: none;
}

#memat-guide .memat-guide__nav a {
  flex: 0 0 auto;
  padding: 10px 16px;
  color: var(--mg-muted);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

#memat-guide .memat-guide__nav a.is-active,
#memat-guide .memat-guide__nav a:hover {
  color: #fffaf4;
  background: var(--mg-brown);
}

#memat-guide .memat-guide__content {
  width: min(1080px, 100%);
  margin: 82px auto 0;
}

#memat-guide [data-guide-section] {
  scroll-margin-top: 98px;
}

#memat-guide .memat-guide__definition {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 34px;
  align-items: stretch;
}

#memat-guide .memat-guide__definition-copy,
#memat-guide .memat-guide__science {
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--mg-line);
  border-radius: 30px;
  background: var(--mg-paper);
}

#memat-guide .memat-guide__definition-copy h2,
#memat-guide .memat-guide__section-heading h2,
#memat-guide .memat-guide__name-copy h2,
#memat-guide .memat-guide__benefits-copy h2,
#memat-guide .memat-guide__care-heading h2,
#memat-guide .memat-guide__time h2,
#memat-guide .memat-guide__product h2,
#memat-guide .memat-guide__quick-care h2,
#memat-guide .memat-guide__cta h2 {
  margin: 12px 0 18px;
  color: var(--mg-brown);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

#memat-guide .memat-guide__definition-copy p,
#memat-guide .memat-guide__section-heading p,
#memat-guide .memat-guide__name-copy p,
#memat-guide .memat-guide__benefits-copy > p,
#memat-guide .memat-guide__time p,
#memat-guide .memat-guide__product-copy > p,
#memat-guide .memat-guide__cta p {
  margin: 0;
  color: var(--mg-muted);
  font-size: 15px;
  line-height: 2.05;
}

#memat-guide .memat-guide__definition-copy p + p,
#memat-guide .memat-guide__name-copy p + p {
  margin-top: 16px;
}

#memat-guide .memat-guide__definition-copy .memat-guide__lead {
  color: var(--mg-text);
  font-size: 17px;
}

#memat-guide .memat-guide__science {
  position: relative;
  overflow: hidden;
  color: #fffaf4;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 12% 12%, rgba(201, 130, 83, 0.32), transparent 34%),
    linear-gradient(145deg, var(--mg-brown-2), #2b170f);
}

#memat-guide .memat-guide__science small,
#memat-guide .memat-guide__science strong {
  position: relative;
  z-index: 2;
  display: block;
}

#memat-guide .memat-guide__science > small {
  color: #e8b58d;
  font-size: 12px;
  font-weight: 800;
}

#memat-guide .memat-guide__science > strong {
  max-width: 320px;
  margin-top: 12px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.55;
}

#memat-guide .memat-guide__science ul {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

#memat-guide .memat-guide__science li {
  padding: 12px 15px;
  color: rgba(255, 250, 244, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  line-height: 1.7;
}

#memat-guide .memat-guide__science li b {
  color: #f3c5a1;
}

#memat-guide .memat-guide__science-orbit {
  position: absolute;
  width: 230px;
  height: 230px;
  inset: auto -76px -84px auto;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
}

#memat-guide .memat-guide__science-orbit::before,
#memat-guide .memat-guide__science-orbit::after,
#memat-guide .memat-guide__science-orbit i {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

#memat-guide .memat-guide__science-orbit::before {
  inset: 22px;
}

#memat-guide .memat-guide__science-orbit::after {
  inset: 45px;
}

#memat-guide .memat-guide__science-orbit i:first-child {
  width: 9px;
  height: 9px;
  inset: 30px 35px auto auto;
  background: var(--mg-caramel);
}

#memat-guide .memat-guide__science-orbit i:nth-child(2) {
  width: 6px;
  height: 6px;
  inset: auto auto 49px 27px;
  background: var(--mg-caramel-soft);
}

#memat-guide .memat-guide__science-orbit span {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  color: rgba(255, 255, 255, 0.13);
  font-size: 82px;
  font-weight: 900;
}

#memat-guide .memat-guide__history,
#memat-guide .memat-guide__process,
#memat-guide .memat-guide__benefits,
#memat-guide .memat-guide__care,
#memat-guide .memat-guide__product {
  margin-top: 120px;
}

#memat-guide .memat-guide__section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}

#memat-guide .memat-guide__section-heading h2 {
  margin-bottom: 0;
}

#memat-guide .memat-guide__history-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

#memat-guide .memat-guide__history-line::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 27px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: var(--mg-sand);
}

#memat-guide .memat-guide__history-card {
  position: relative;
  z-index: 1;
  min-height: 302px;
  padding: 27px 24px 24px;
  border: 1px solid var(--mg-line);
  border-radius: 24px;
  background: var(--mg-paper);
  box-shadow: 0 17px 38px rgba(59, 33, 23, 0.05);
}

#memat-guide .memat-guide__history-card::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 12px;
  height: 12px;
  border: 4px solid var(--mg-paper);
  border-radius: 50%;
  background: var(--mg-caramel);
  box-shadow: 0 0 0 1px var(--mg-caramel);
}

#memat-guide .memat-guide__history-date {
  display: block;
  min-height: 34px;
  padding-right: 27px;
  color: var(--mg-caramel);
  font-size: 11px;
  font-weight: 900;
}

#memat-guide .memat-guide__history-card h3 {
  margin: 16px 0 11px;
  color: var(--mg-brown);
  font-size: 18px;
  line-height: 1.6;
}

#memat-guide .memat-guide__history-card p {
  margin: 0;
  color: var(--mg-muted);
  font-size: 13px;
  line-height: 1.9;
}

#memat-guide .memat-guide__history-card a {
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: var(--mg-caramel);
  font-size: 10px;
  font-weight: 850;
}

#memat-guide .memat-guide__region-note {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 22px;
  padding: clamp(30px, 5vw, 52px);
  border-radius: 28px;
  background: #ecdece;
}

#memat-guide .memat-guide__region-mark {
  display: grid;
  width: 102px;
  height: 102px;
  place-content: center;
  color: var(--mg-caramel);
  border: 1px solid rgba(59, 33, 23, 0.13);
  border-radius: 50%;
  font-size: 64px;
  line-height: 1;
}

#memat-guide .memat-guide__region-note h3 {
  margin: 10px 0 10px;
  color: var(--mg-brown);
  font-size: clamp(25px, 3.6vw, 38px);
  line-height: 1.4;
}

#memat-guide .memat-guide__region-note p {
  margin: 0;
  color: #6f5547;
  font-size: 14px;
  line-height: 2;
}

#memat-guide .memat-guide__name {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: center;
  margin-top: 120px;
  padding: clamp(32px, 6vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 0%, rgba(201, 130, 83, 0.28), transparent 31%),
    linear-gradient(135deg, #2b170f, var(--mg-brown-2));
}

#memat-guide .memat-guide__name-word {
  direction: ltr;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  color: #fffaf4;
}

#memat-guide .memat-guide__name-word span {
  display: grid;
  min-height: 122px;
  place-content: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3.5vw, 41px);
  font-weight: 700;
  letter-spacing: 0.05em;
}

#memat-guide .memat-guide__name-word i {
  color: var(--mg-caramel-soft);
  font-size: 28px;
  font-style: normal;
}

#memat-guide .memat-guide__name-copy .memat-guide__section-label {
  color: #e8b58d;
}

#memat-guide .memat-guide__name-copy h2 {
  color: #fffaf4;
}

#memat-guide .memat-guide__name-copy p {
  color: rgba(255, 250, 244, 0.76);
}

#memat-guide .memat-guide__name-copy b {
  color: #f3c5a1;
}

#memat-guide .memat-guide__process-shell {
  overflow: hidden;
  border: 1px solid var(--mg-line);
  border-radius: 30px;
  background: var(--mg-paper);
  box-shadow: 0 24px 55px rgba(59, 33, 23, 0.09);
}

#memat-guide .memat-guide__process-view {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #28140d;
}

#memat-guide .memat-guide__process-slide {
  position: relative;
  height: 560px;
  margin: 0;
  overflow: hidden;
}

#memat-guide .memat-guide__process-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28, 13, 7, 0.9) 0%, rgba(28, 13, 7, 0.08) 64%);
}

#memat-guide .memat-guide__process-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#memat-guide .memat-guide__process-slide figcaption {
  position: absolute;
  z-index: 2;
  right: clamp(42px, 7vw, 82px);
  bottom: clamp(36px, 6vw, 68px);
  width: min(620px, calc(100% - 140px));
  color: #fffaf4;
}

#memat-guide .memat-guide__process-slide figcaption span {
  color: #efb98f;
  font-size: 12px;
  font-weight: 850;
}

#memat-guide .memat-guide__process-slide figcaption h3 {
  margin: 10px 0;
  font-size: clamp(29px, 4.5vw, 48px);
  font-weight: 900;
  line-height: 1.3;
}

#memat-guide .memat-guide__process-slide figcaption p {
  margin: 0;
  color: rgba(255, 250, 244, 0.8);
  font-size: 14px;
  line-height: 1.95;
}

#memat-guide .memat-guide__process-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(40, 20, 13, 0.58);
  color: #fffaf4;
  font-family: Arial, sans-serif;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

#memat-guide .memat-guide__process-arrow:hover {
  background: var(--mg-caramel);
  transform: translateY(-50%) scale(1.05);
}

#memat-guide .memat-guide__process-arrow--prev {
  right: 22px;
}

#memat-guide .memat-guide__process-arrow--next {
  left: 22px;
}

#memat-guide .memat-guide__process-dots {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
}

#memat-guide .memat-guide__process-dots button {
  position: relative;
  min-height: 92px;
  padding: 16px 10px;
  border: 0;
  border-left: 1px solid var(--mg-line);
  background: transparent;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

#memat-guide .memat-guide__process-dots button:last-child {
  border-left: 0;
}

#memat-guide .memat-guide__process-dots button::before {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  left: 50%;
  height: 3px;
  background: var(--mg-caramel);
  transition:
    right 0.25s ease,
    left 0.25s ease;
}

#memat-guide .memat-guide__process-dots button[aria-selected="true"] {
  color: var(--mg-brown);
  background: var(--mg-paper-2);
}

#memat-guide .memat-guide__process-dots button[aria-selected="true"]::before {
  right: 0;
  left: 0;
}

#memat-guide .memat-guide__process-dots span,
#memat-guide .memat-guide__process-dots b {
  display: block;
}

#memat-guide .memat-guide__process-dots span {
  color: var(--mg-caramel);
  font-size: 10px;
  font-weight: 900;
}

#memat-guide .memat-guide__process-dots b {
  margin-top: 6px;
  font-size: 13px;
}

#memat-guide .memat-guide__time {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  gap: 40px;
  align-items: center;
  margin-top: 32px;
  padding: clamp(34px, 6vw, 64px);
  overflow: hidden;
  border-radius: 30px;
  background: #ecdece;
}

#memat-guide .memat-guide__time-rings {
  position: relative;
  display: grid;
  width: 230px;
  height: 230px;
  place-content: center;
  justify-self: center;
  color: var(--mg-brown);
  border: 1px solid rgba(59, 33, 23, 0.17);
  border-radius: 50%;
  text-align: center;
}

#memat-guide .memat-guide__time-rings::before,
#memat-guide .memat-guide__time-rings::after,
#memat-guide .memat-guide__time-rings i {
  content: "";
  position: absolute;
  border: 1px solid rgba(59, 33, 23, 0.12);
  border-radius: 50%;
}

#memat-guide .memat-guide__time-rings::before {
  inset: 16px;
}

#memat-guide .memat-guide__time-rings::after {
  inset: 34px;
}

#memat-guide .memat-guide__time-rings i:first-child {
  width: 10px;
  height: 10px;
  top: 28px;
  right: 44px;
  background: var(--mg-caramel);
}

#memat-guide .memat-guide__time-rings i:nth-child(2) {
  width: 7px;
  height: 7px;
  right: 23px;
  bottom: 56px;
  background: var(--mg-caramel-soft);
}

#memat-guide .memat-guide__time-rings i:nth-child(3) {
  width: 5px;
  height: 5px;
  bottom: 27px;
  left: 55px;
  background: var(--mg-brown);
}

#memat-guide .memat-guide__time-rings strong,
#memat-guide .memat-guide__time-rings small {
  position: relative;
  z-index: 1;
  display: block;
}

#memat-guide .memat-guide__time-rings strong {
  font-size: 72px;
  line-height: 0.9;
}

#memat-guide .memat-guide__time-rings small {
  margin-top: 12px;
  color: var(--mg-muted);
  font-size: 11px;
  font-weight: 850;
}

#memat-guide .memat-guide__benefits {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: stretch;
}

#memat-guide .memat-guide__benefits-visual,
#memat-guide .memat-guide__benefits-copy {
  overflow: hidden;
  border: 1px solid var(--mg-line);
  border-radius: 30px;
  background: var(--mg-paper);
  box-shadow: 0 22px 52px rgba(59, 33, 23, 0.07);
}

#memat-guide .memat-guide__benefits-visual {
  position: relative;
  min-height: 650px;
  background: #28140d;
}

#memat-guide .memat-guide__benefits-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(35, 18, 11, 0.9) 0%, rgba(35, 18, 11, 0.04) 58%),
    linear-gradient(90deg, rgba(35, 18, 11, 0.08), rgba(35, 18, 11, 0.16));
}

#memat-guide .memat-guide__benefits-visual img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
  object-position: 62% center;
}

#memat-guide .memat-guide__benefits-visual > div {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 38px;
  left: 34px;
  color: #fffaf4;
}

#memat-guide .memat-guide__benefits-visual span,
#memat-guide .memat-guide__benefits-visual strong {
  display: block;
}

#memat-guide .memat-guide__benefits-visual span {
  margin-bottom: 10px;
  color: #efb98f;
  font-size: 11px;
  font-weight: 850;
}

#memat-guide .memat-guide__benefits-visual strong {
  max-width: 410px;
  font-size: clamp(27px, 3.6vw, 42px);
  line-height: 1.45;
  text-wrap: balance;
}

#memat-guide .memat-guide__benefits-copy {
  padding: clamp(34px, 5vw, 56px);
}

#memat-guide .memat-guide__benefits-copy h2 {
  margin-bottom: 14px;
}

#memat-guide .memat-guide__benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

#memat-guide .memat-guide__benefit-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--mg-line);
  border-radius: 20px;
  background: var(--mg-paper-2);
}

#memat-guide .memat-guide__benefit-grid article > span {
  display: inline-grid;
  min-width: 31px;
  height: 31px;
  place-content: center;
  padding: 0 8px;
  color: var(--mg-caramel);
  border: 1px solid var(--mg-sand);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

#memat-guide .memat-guide__benefit-grid h3 {
  margin: 15px 0 8px;
  color: var(--mg-brown);
  font-size: 17px;
  line-height: 1.55;
}

#memat-guide .memat-guide__benefit-grid p {
  margin: 0;
  color: var(--mg-muted);
  font-size: 12px;
  line-height: 1.85;
}

#memat-guide .memat-guide__benefit-grid .memat-guide__benefit-warning {
  color: #fffaf4;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 130, 83, 0.27), transparent 38%),
    linear-gradient(145deg, var(--mg-brown-2), #2b170f);
}

#memat-guide .memat-guide__benefit-warning h3 {
  color: #fffaf4;
}

#memat-guide .memat-guide__benefit-warning p {
  color: rgba(255, 250, 244, 0.76);
}

#memat-guide .memat-guide__benefit-warning > span {
  color: #2b170f !important;
  border-color: #efb98f !important;
  background: #efb98f;
}

#memat-guide .memat-guide__evidence-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--mg-caramel);
  border-bottom: 1px solid rgba(201, 130, 83, 0.35);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.8;
}

#memat-guide .memat-guide__care {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 34px;
  align-items: start;
}

#memat-guide .memat-guide__care-heading {
  position: sticky;
  top: 100px;
  padding: 12px 0;
}

#memat-guide .memat-guide__care-heading p {
  margin: 0;
  color: var(--mg-muted);
  font-size: 14px;
  line-height: 1.95;
}

#memat-guide .memat-guide__care-shell {
  overflow: hidden;
  border: 1px solid var(--mg-line);
  border-radius: 28px;
  background: var(--mg-paper);
  box-shadow: 0 21px 48px rgba(59, 33, 23, 0.07);
}

#memat-guide .memat-guide__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid var(--mg-line);
  background: var(--mg-paper-2);
}

#memat-guide .memat-guide__tabs button {
  min-height: 48px;
  padding: 8px 12px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--mg-muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

#memat-guide .memat-guide__tabs button[aria-selected="true"] {
  color: #fffaf4;
  background: var(--mg-brown);
  box-shadow: 0 9px 20px rgba(59, 33, 23, 0.14);
}

#memat-guide .memat-guide__panels {
  min-height: 370px;
}

#memat-guide .memat-guide__panel {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  min-height: 370px;
  padding: clamp(30px, 5vw, 52px);
}

#memat-guide .memat-guide__panel-metric {
  display: grid;
  width: 150px;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

#memat-guide .memat-guide__panel-number {
  display: grid;
  width: 142px;
  height: 142px;
  place-content: center;
  color: var(--mg-caramel);
  border: 1px solid var(--mg-sand);
  border-radius: 50%;
  font-size: 42px;
  font-weight: 900;
}

#memat-guide .memat-guide__panel small {
  display: block;
  max-width: 145px;
  color: var(--mg-caramel);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.7;
}

#memat-guide .memat-guide__panel h3 {
  margin: 9px 0 16px;
  color: var(--mg-brown);
  font-size: clamp(23px, 3.3vw, 33px);
  line-height: 1.45;
}

#memat-guide .memat-guide__panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--mg-muted);
  list-style: none;
}

#memat-guide .memat-guide__panel li {
  position: relative;
  padding-right: 19px;
  font-size: 13px;
  line-height: 1.8;
}

#memat-guide .memat-guide__panel li::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mg-caramel);
}

#memat-guide .memat-guide__product {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 20px;
}

#memat-guide .memat-guide__product-copy,
#memat-guide .memat-guide__allergen {
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid var(--mg-line);
  border-radius: 28px;
  background: var(--mg-paper);
}

#memat-guide .memat-guide__product-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 0;
}

#memat-guide .memat-guide__product-facts div {
  padding: 18px;
  border: 1px solid var(--mg-line);
  border-radius: 17px;
  background: var(--mg-paper-2);
}

#memat-guide .memat-guide__product-facts dt {
  color: var(--mg-muted);
  font-size: 10px;
  font-weight: 750;
}

#memat-guide .memat-guide__product-facts dd {
  margin: 7px 0 0;
  color: var(--mg-brown);
  font-size: 16px;
  font-weight: 850;
}

#memat-guide .memat-guide__allergen {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  color: #fffaf4;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 15% 10%, rgba(201, 130, 83, 0.3), transparent 34%),
    linear-gradient(145deg, var(--mg-brown-2), #2b170f);
}

#memat-guide .memat-guide__allergen > span {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-content: center;
  color: #2b170f;
  border-radius: 50%;
  background: #efb98f;
  font-size: 24px;
  font-weight: 900;
}

#memat-guide .memat-guide__allergen small {
  color: #efb98f;
  font-size: 11px;
  font-weight: 850;
}

#memat-guide .memat-guide__allergen h3 {
  margin: 8px 0 13px;
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.45;
}

#memat-guide .memat-guide__allergen p {
  margin: 0;
  color: rgba(255, 250, 244, 0.76);
  font-size: 13px;
  line-height: 1.95;
}

#memat-guide .memat-guide__quick-care {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 26px;
  align-items: center;
  margin-top: 26px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--mg-line);
  border-radius: 28px;
  background: #ecdece;
}

#memat-guide .memat-guide__quick-care h2 {
  margin-bottom: 0;
  font-size: clamp(25px, 3.2vw, 38px);
}

#memat-guide .memat-guide__quick-care-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

#memat-guide .memat-guide__quick-care-steps article {
  min-height: 150px;
  padding: 19px;
  border: 1px solid rgba(59, 33, 23, 0.1);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.72);
}

#memat-guide .memat-guide__quick-care-steps span,
#memat-guide .memat-guide__quick-care-steps strong {
  display: block;
}

#memat-guide .memat-guide__quick-care-steps span {
  color: var(--mg-caramel);
  font-size: 10px;
  font-weight: 900;
}

#memat-guide .memat-guide__quick-care-steps strong {
  margin-top: 18px;
  color: var(--mg-brown);
  font-size: 15px;
}

#memat-guide .memat-guide__quick-care-steps p {
  margin: 7px 0 0;
  color: var(--mg-muted);
  font-size: 11px;
  line-height: 1.75;
}

#memat-guide .memat-guide__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-top: 34px;
  padding: clamp(36px, 6vw, 64px);
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 9% 0%, rgba(201, 130, 83, 0.34), transparent 35%),
    linear-gradient(135deg, var(--mg-brown-2), #2b170f);
}

#memat-guide .memat-guide__cta .memat-guide__section-label {
  color: #efb98f;
}

#memat-guide .memat-guide__cta h2 {
  max-width: 610px;
  color: #fffaf4;
}

#memat-guide .memat-guide__cta p {
  color: rgba(255, 250, 244, 0.76);
}

#memat-guide .memat-guide__cta-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

#memat-guide .memat-guide__sources {
  margin-top: 22px;
}

#memat-guide .memat-guide__sources details {
  border: 1px solid var(--mg-line);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.78);
}

#memat-guide .memat-guide__sources summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 18px 24px;
  color: var(--mg-brown);
  cursor: pointer;
  list-style: none;
}

#memat-guide .memat-guide__sources summary::-webkit-details-marker {
  display: none;
}

#memat-guide .memat-guide__sources summary::after {
  content: "+";
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-content: center;
  border: 1px solid var(--mg-line);
  border-radius: 50%;
  font-size: 20px;
}

#memat-guide .memat-guide__sources details[open] summary::after {
  content: "−";
}

#memat-guide .memat-guide__sources summary span,
#memat-guide .memat-guide__sources summary small {
  display: block;
}

#memat-guide .memat-guide__sources summary span {
  font-size: 15px;
  font-weight: 850;
}

#memat-guide .memat-guide__sources summary small {
  margin-right: auto;
  color: var(--mg-muted);
  font-size: 11px;
}

#memat-guide .memat-guide__sources ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 22px 46px 10px 28px;
  border-top: 1px solid var(--mg-line);
}

#memat-guide .memat-guide__sources li {
  padding-right: 4px;
  color: var(--mg-muted);
  font-size: 12px;
  line-height: 1.8;
}

#memat-guide .memat-guide__sources li a {
  text-decoration: underline;
  text-decoration-color: rgba(201, 130, 83, 0.45);
  text-underline-offset: 4px;
}

#memat-guide .memat-guide__sources details > p {
  margin: 12px 28px 24px;
  color: var(--mg-muted);
  font-size: 10px;
  line-height: 1.7;
}

#memat-guide [data-guide-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

#memat-guide [data-guide-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  #memat-guide .memat-guide__hero {
    min-height: 560px;
  }

  #memat-guide .memat-guide__hero-stamp {
    flex-basis: 142px;
    width: 142px;
    height: 142px;
  }

  #memat-guide .memat-guide__facts {
    width: calc(100% - 28px);
  }

  #memat-guide .memat-guide__definition,
  #memat-guide .memat-guide__benefits,
  #memat-guide .memat-guide__product {
    grid-template-columns: 1fr;
  }

  #memat-guide .memat-guide__benefits-visual,
  #memat-guide .memat-guide__benefits-visual img {
    min-height: 520px;
  }

  #memat-guide .memat-guide__history-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #memat-guide .memat-guide__history-line::before {
    display: none;
  }

  #memat-guide .memat-guide__history-card {
    min-height: 270px;
  }

  #memat-guide .memat-guide__name {
    grid-template-columns: 1fr;
  }

  #memat-guide .memat-guide__name-word {
    order: 2;
  }

  #memat-guide .memat-guide__care {
    grid-template-columns: 1fr;
  }

  #memat-guide .memat-guide__care-heading {
    position: static;
  }

  #memat-guide .memat-guide__cta {
    display: block;
  }

  #memat-guide .memat-guide__quick-care {
    grid-template-columns: 1fr;
  }

  #memat-guide .memat-guide__cta-actions {
    margin-top: 28px;
  }
}

@media (max-width: 720px) {
  #memat-guide {
    width: min(100% - 20px, 1240px);
    margin-top: 16px;
    margin-bottom: 52px;
  }

  #memat-guide .memat-guide__hero {
    display: block;
    min-height: 600px;
    padding: 32px 24px;
    border-radius: 26px;
    background-position: 28% center;
  }

  #memat-guide .memat-guide__hero-shade {
    background:
      linear-gradient(0deg, rgba(29, 14, 9, 0.95) 0%, rgba(29, 14, 9, 0.18) 82%),
      linear-gradient(90deg, rgba(29, 14, 9, 0.08), rgba(29, 14, 9, 0.22));
  }

  #memat-guide .memat-guide__hero-copy {
    position: absolute;
    right: 24px;
    bottom: 32px;
    left: 24px;
  }

  #memat-guide .memat-guide__hero h1 {
    font-size: clamp(43px, 14vw, 61px);
  }

  #memat-guide .memat-guide__hero p {
    font-size: 14px;
    line-height: 1.85;
  }

  #memat-guide .memat-guide__hero-actions {
    gap: 9px;
    margin-top: 22px;
  }

  #memat-guide .memat-guide__hero-actions .memat-guide__button {
    flex: 1 1 145px;
    min-height: 48px;
    padding: 0 17px;
    font-size: 12px;
  }

  #memat-guide .memat-guide__hero-stamp {
    position: absolute;
    top: 24px;
    right: 22px;
    left: auto;
    width: 105px;
    height: 105px;
    margin: 0;
  }

  #memat-guide .memat-guide__hero-stamp strong {
    font-size: 38px;
  }

  #memat-guide .memat-guide__hero-stamp span {
    margin-top: 3px;
    font-size: 10px;
  }

  #memat-guide .memat-guide__hero-stamp small {
    display: none;
  }

  #memat-guide .memat-guide__facts {
    grid-template-columns: 1fr;
    gap: 10px;
    width: calc(100% - 16px);
    margin-top: 14px;
  }

  #memat-guide .memat-guide__facts article {
    min-height: 0;
    padding: 20px 21px;
  }

  #memat-guide .memat-guide__nav {
    top: 7px;
    justify-content: flex-start;
    width: calc(100% - 8px);
    max-width: none;
    margin-top: 26px;
    padding: 6px;
    border-radius: 18px;
  }

  #memat-guide .memat-guide__nav a {
    padding: 9px 13px;
    font-size: 11px;
  }

  #memat-guide .memat-guide__content {
    margin-top: 52px;
  }

  #memat-guide .memat-guide__definition {
    gap: 12px;
  }

  #memat-guide .memat-guide__definition-copy,
  #memat-guide .memat-guide__science,
  #memat-guide .memat-guide__benefits-copy,
  #memat-guide .memat-guide__product-copy,
  #memat-guide .memat-guide__allergen {
    padding: 28px 22px;
    border-radius: 22px;
  }

  #memat-guide .memat-guide__definition-copy h2,
  #memat-guide .memat-guide__section-heading h2,
  #memat-guide .memat-guide__name-copy h2,
  #memat-guide .memat-guide__benefits-copy h2,
  #memat-guide .memat-guide__care-heading h2,
  #memat-guide .memat-guide__time h2,
  #memat-guide .memat-guide__product h2,
  #memat-guide .memat-guide__quick-care h2,
  #memat-guide .memat-guide__cta h2 {
    font-size: 29px;
    letter-spacing: -0.025em;
  }

  #memat-guide .memat-guide__definition-copy p,
  #memat-guide .memat-guide__section-heading p,
  #memat-guide .memat-guide__name-copy p,
  #memat-guide .memat-guide__benefits-copy > p,
  #memat-guide .memat-guide__time p,
  #memat-guide .memat-guide__product-copy > p,
  #memat-guide .memat-guide__cta p {
    font-size: 13px;
    line-height: 1.95;
  }

  #memat-guide .memat-guide__definition-copy .memat-guide__lead {
    font-size: 14px;
  }

  #memat-guide .memat-guide__history,
  #memat-guide .memat-guide__process,
  #memat-guide .memat-guide__care,
  #memat-guide .memat-guide__product {
    margin-top: 82px;
  }

  #memat-guide .memat-guide__section-heading {
    display: block;
    margin-bottom: 25px;
  }

  #memat-guide .memat-guide__section-heading > p {
    margin-top: 14px;
  }

  #memat-guide .memat-guide__history-line {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #memat-guide .memat-guide__history-card {
    min-height: 0;
    padding: 24px 21px 48px;
    border-radius: 19px;
  }

  #memat-guide .memat-guide__region-note {
    display: block;
    padding: 28px 22px;
    border-radius: 22px;
  }

  #memat-guide .memat-guide__region-mark {
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    font-size: 44px;
  }

  #memat-guide .memat-guide__region-note h3 {
    font-size: 27px;
  }

  #memat-guide .memat-guide__region-note p {
    font-size: 13px;
  }

  #memat-guide .memat-guide__name {
    gap: 27px;
    margin-top: 82px;
    padding: 30px 22px;
    border-radius: 22px;
  }

  #memat-guide .memat-guide__name-word {
    gap: 7px;
  }

  #memat-guide .memat-guide__name-word span {
    min-height: 84px;
    padding: 12px 8px;
    border-radius: 15px;
    font-size: 22px;
  }

  #memat-guide .memat-guide__name-word i {
    font-size: 20px;
  }

  #memat-guide .memat-guide__process-shell {
    border-radius: 22px;
  }

  #memat-guide .memat-guide__process-view,
  #memat-guide .memat-guide__process-slide {
    height: 515px;
    min-height: 515px;
  }

  #memat-guide .memat-guide__process-slide figcaption {
    right: 25px;
    bottom: 30px;
    width: calc(100% - 50px);
  }

  #memat-guide .memat-guide__process-slide figcaption h3 {
    font-size: 27px;
  }

  #memat-guide .memat-guide__process-slide figcaption p {
    font-size: 12px;
    line-height: 1.8;
  }

  #memat-guide .memat-guide__process-arrow {
    top: 42%;
    width: 40px;
    height: 40px;
    font-size: 29px;
  }

  #memat-guide .memat-guide__process-arrow--prev {
    right: 12px;
  }

  #memat-guide .memat-guide__process-arrow--next {
    left: 12px;
  }

  #memat-guide .memat-guide__process-dots {
    overflow-x: auto;
    grid-template-columns: repeat(5, 92px);
    scrollbar-width: none;
  }

  #memat-guide .memat-guide__process-dots::-webkit-scrollbar {
    display: none;
  }

  #memat-guide .memat-guide__process-dots button {
    min-height: 78px;
  }

  #memat-guide .memat-guide__time {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 18px;
    padding: 30px 22px;
    border-radius: 22px;
  }

  #memat-guide .memat-guide__time-rings {
    width: 178px;
    height: 178px;
  }

  #memat-guide .memat-guide__time-rings strong {
    font-size: 55px;
  }

  #memat-guide .memat-guide__benefits {
    gap: 12px;
  }

  #memat-guide .memat-guide__benefits-visual,
  #memat-guide .memat-guide__benefits-visual img {
    min-height: 440px;
    border-radius: 22px;
  }

  #memat-guide .memat-guide__benefits-visual img {
    object-position: 69% center;
  }

  #memat-guide .memat-guide__benefits-visual > div {
    right: 23px;
    bottom: 27px;
    left: 23px;
  }

  #memat-guide .memat-guide__benefits-visual strong {
    font-size: 27px;
  }

  #memat-guide .memat-guide__benefit-grid {
    grid-template-columns: 1fr;
  }

  #memat-guide .memat-guide__benefit-grid article {
    min-height: 0;
    padding: 21px;
  }

  #memat-guide .memat-guide__care {
    gap: 16px;
  }

  #memat-guide .memat-guide__care-shell {
    border-radius: 22px;
  }

  #memat-guide .memat-guide__tabs {
    overflow-x: auto;
    grid-template-columns: repeat(3, minmax(112px, 1fr));
    scrollbar-width: none;
  }

  #memat-guide .memat-guide__tabs::-webkit-scrollbar {
    display: none;
  }

  #memat-guide .memat-guide__panel {
    grid-template-columns: 1fr;
    gap: 23px;
    min-height: 430px;
    align-content: center;
    padding: 28px 22px;
  }

  #memat-guide .memat-guide__panel-number {
    width: 100px;
    height: 100px;
    font-size: 31px;
  }

  #memat-guide .memat-guide__panel-metric {
    width: 140px;
    gap: 9px;
  }

  #memat-guide .memat-guide__product {
    gap: 12px;
  }

  #memat-guide .memat-guide__product-facts {
    grid-template-columns: 1fr;
  }

  #memat-guide .memat-guide__allergen {
    display: block;
  }

  #memat-guide .memat-guide__allergen > span {
    margin-bottom: 20px;
  }

  #memat-guide .memat-guide__quick-care {
    gap: 22px;
    padding: 27px 21px;
    border-radius: 22px;
  }

  #memat-guide .memat-guide__quick-care-steps {
    grid-template-columns: 1fr;
  }

  #memat-guide .memat-guide__quick-care-steps article {
    min-height: 0;
  }

  #memat-guide .memat-guide__cta {
    margin-top: 18px;
    padding: 32px 22px;
    border-radius: 22px;
  }

  #memat-guide .memat-guide__cta-actions {
    display: grid;
  }

  #memat-guide .memat-guide__sources summary {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 17px 19px;
  }

  #memat-guide .memat-guide__sources summary small {
    grid-row: 2;
    margin: 3px 0 0;
  }

  #memat-guide .memat-guide__sources summary::after {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  #memat-guide .memat-guide__sources ol {
    padding: 20px 35px 8px 20px;
  }
}

/* Keep the temporary Salla upload banners as image hosts, but hide them on this guide page. */
body:has(#memat-guide) .s-block--fixed-banner {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  #memat-guide,
  #memat-guide *,
  #memat-guide *::before,
  #memat-guide *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  #memat-guide [data-guide-reveal] {
    opacity: 1;
    transform: none;
  }
}


/* الواجهة الرئيسية الجديدة لصفحة ما هو الساوردو */
#memat-guide .memat-guide__hero {
  background-image: url("https://cdn.files.salla.network/homepage/223978771/3aac3893-01d4-4273-a54e-36c6c06b6583_1440x675.webp") !important;
}

@media (max-width: 720px) {
  #memat-guide .memat-guide__hero {
    background-position: 28% center !important;
  }

  #memat-guide .memat-guide__hero-stamp {
    right: 22px !important;
    left: auto !important;
  }
}

/* إخفاء بانر استضافة صورة حكاية ميمات فقط */
html:has(link[rel="canonical"][href*="page-1214191720"])
section[data-testid="store-home-fixed-banner"]:has(
  img[src*="9fd73223-d81a-48ed-9b42-4edeb6143467"]
) {
  display: none !important;
}

/* =========================================================
   Memat Bakery — Shipping & Delivery Policy V2
   Scoped completely to .memat-shipping-v2
   ========================================================= */

.memat-shipping-v2 {
  --memat-bg: #f6f1ea;
  --memat-paper: #fffdfa;
  --memat-paper-2: #fbf6ef;
  --memat-ink: #321d14;
  --memat-muted: #765f53;
  --memat-brown: #3c2117;
  --memat-brown-2: #603823;
  --memat-caramel: #c78251;
  --memat-sand: #ead8c5;
  --memat-line: #e6d8cb;
  --memat-shadow: 0 18px 50px rgba(60, 33, 23, 0.09);
  width: min(1180px, calc(100% - 32px));
  margin: 40px auto 72px;
  color: var(--memat-ink);
  font-family: inherit;
  line-height: 1.9;
}

.memat-shipping-v2,
.memat-shipping-v2 * {
  box-sizing: border-box;
}

.memat-shipping-v2 h1,
.memat-shipping-v2 h2,
.memat-shipping-v2 h3,
.memat-shipping-v2 p {
  margin: 0;
}

.memat-shipping-v2 a {
  color: inherit;
  text-decoration: none;
}

.memat-shipping-v2__hero {
  position: relative;
  isolation: isolate;
  min-height: 410px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 56px;
  overflow: hidden;
  padding: clamp(42px, 7vw, 82px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  color: #fffaf4;
  background:
    radial-gradient(circle at 8% 115%, rgba(199, 130, 81, 0.34) 0 21%, transparent 22%),
    radial-gradient(circle at 98% -15%, rgba(255, 255, 255, 0.10) 0 20%, transparent 21%),
    linear-gradient(125deg, var(--memat-brown-2), var(--memat-brown) 54%, #24120d);
  box-shadow: 0 24px 60px rgba(50, 29, 20, 0.18);
}

.memat-shipping-v2__hero::before,
.memat-shipping-v2__hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 50%;
}

.memat-shipping-v2__hero::before {
  width: 280px;
  height: 280px;
  inset: -140px auto auto 9%;
}

.memat-shipping-v2__hero::after {
  width: 170px;
  height: 170px;
  inset: auto 34% -120px auto;
}

.memat-shipping-v2__hero-content {
  max-width: 760px;
}

.memat-shipping-v2__eyebrow,
.memat-shipping-v2__section-heading > span,
.memat-shipping-v2__cta > div > span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #e8b083;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.memat-shipping-v2__eyebrow::after,
.memat-shipping-v2__section-heading > span::after,
.memat-shipping-v2__cta > div > span::after {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
}

.memat-shipping-v2__hero h1 {
  color: #fffaf4;
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.memat-shipping-v2__hero p {
  max-width: 720px;
  margin-top: 20px;
  color: rgba(255, 250, 244, 0.86);
  font-size: clamp(16px, 1.7vw, 20px);
}

.memat-shipping-v2__hero strong {
  color: #ffffff;
}

.memat-shipping-v2__hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.memat-shipping-v2__hero-tags span {
  padding: 7px 15px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 999px;
  color: #fffaf4;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.memat-shipping-v2__seal {
  width: 170px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  outline: 1px solid rgba(255, 255, 255, 0.10);
  outline-offset: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.memat-shipping-v2__seal strong {
  display: block;
  color: #f0b484;
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.memat-shipping-v2__seal span {
  display: block;
  margin-top: 8px;
  color: #fffaf4;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.memat-shipping-v2__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
  padding: 10px;
  border: 1px solid var(--memat-line);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.92);
  box-shadow: 0 10px 30px rgba(60, 33, 23, 0.06);
}

.memat-shipping-v2__nav a {
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--memat-muted);
  font-size: 14px;
  font-weight: 800;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.memat-shipping-v2__nav a:hover,
.memat-shipping-v2__nav a:focus-visible,
.memat-shipping-v2__nav a[aria-current="true"] {
  color: #fffaf4;
  background: var(--memat-brown);
  transform: translateY(-1px);
  outline: none;
}

.memat-shipping-v2__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.memat-shipping-v2__stats article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--memat-line);
  border-radius: 22px;
  background: var(--memat-paper);
  box-shadow: 0 12px 30px rgba(60, 33, 23, 0.05);
}

.memat-shipping-v2__stats span {
  display: block;
  color: var(--memat-caramel);
  font-size: 12px;
  font-weight: 900;
}

.memat-shipping-v2__stats strong {
  display: block;
  margin-top: 16px;
  color: var(--memat-ink);
  font-size: 19px;
}

.memat-shipping-v2__stats p {
  margin-top: 7px;
  color: var(--memat-muted);
  font-size: 14px;
  line-height: 1.75;
}

.memat-shipping-v2__section {
  scroll-margin-top: 110px;
  margin-top: 72px;
}

.memat-shipping-v2__section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.memat-shipping-v2__section-heading > span {
  margin-bottom: 7px;
  color: var(--memat-caramel);
}

.memat-shipping-v2__section-heading h2 {
  color: var(--memat-ink);
  font-size: clamp(29px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.memat-shipping-v2__section-heading p {
  margin-top: 10px;
  color: var(--memat-muted);
  font-size: 16px;
}

.memat-shipping-v2__routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.memat-shipping-v2__route {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--memat-line);
  border-radius: 28px;
  background: var(--memat-paper);
  box-shadow: var(--memat-shadow);
}

.memat-shipping-v2__route::after {
  content: "";
  position: absolute;
  inset: auto auto -74px -60px;
  width: 185px;
  height: 185px;
  border: 1px solid var(--memat-sand);
  border-radius: 50%;
  pointer-events: none;
}

.memat-shipping-v2__route--cold {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), transparent 50%),
    #f2ede7;
}

.memat-shipping-v2__route-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.memat-shipping-v2__route-badge {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--memat-brown-2);
  background: #f1dfcf;
  font-size: 12px;
  font-weight: 900;
}

.memat-shipping-v2__route-code {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--memat-line);
  border-radius: 50%;
  color: var(--memat-caramel);
  background: rgba(255, 253, 250, 0.82);
  font-size: 18px;
  font-weight: 900;
}

.memat-shipping-v2__route h3 {
  margin-top: 28px;
  color: var(--memat-ink);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 900;
  line-height: 1.4;
}

.memat-shipping-v2__route > p {
  margin-top: 11px;
  color: var(--memat-muted);
}

.memat-shipping-v2__route ul {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.memat-shipping-v2__route li {
  position: relative;
  padding-right: 22px;
  color: var(--memat-muted);
  font-size: 14px;
}

.memat-shipping-v2__route li::before {
  content: "";
  position: absolute;
  top: 13px;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--memat-caramel);
  box-shadow: 0 0 0 5px rgba(199, 130, 81, 0.12);
}

.memat-shipping-v2__route li strong {
  color: var(--memat-ink);
}

.memat-shipping-v2__table-wrap {
  overflow: hidden;
  border: 1px solid var(--memat-line);
  border-radius: 26px;
  background: var(--memat-paper);
  box-shadow: var(--memat-shadow);
}

.memat-shipping-v2__table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
}

.memat-shipping-v2__table th,
.memat-shipping-v2__table td {
  padding: 20px 22px;
  border-bottom: 1px solid var(--memat-line);
  vertical-align: middle;
}

.memat-shipping-v2__table thead th {
  color: #fffaf4;
  background: var(--memat-brown);
  font-size: 14px;
  font-weight: 900;
}

.memat-shipping-v2__table tbody th {
  color: var(--memat-ink);
  font-weight: 900;
}

.memat-shipping-v2__table tbody td {
  color: var(--memat-muted);
}

.memat-shipping-v2__table tbody tr:last-child th,
.memat-shipping-v2__table tbody tr:last-child td {
  border-bottom: 0;
}

.memat-shipping-v2__table tbody tr:nth-child(even) {
  background: var(--memat-paper-2);
}

.memat-shipping-v2__micro-note {
  margin-top: 14px !important;
  padding: 0 6px;
  color: var(--memat-muted);
  font-size: 13px;
}

.memat-shipping-v2__timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.memat-shipping-v2__timeline li {
  position: relative;
  min-height: 230px;
  padding: 28px 24px;
  border: 1px solid var(--memat-line);
  border-radius: 24px;
  background: var(--memat-paper);
}

.memat-shipping-v2__timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50px;
  left: -15px;
  width: 16px;
  height: 1px;
  background: var(--memat-caramel);
}

.memat-shipping-v2__timeline span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--memat-brown);
  background: #f1dfcf;
  font-size: 12px;
  font-weight: 900;
}

.memat-shipping-v2__timeline strong {
  display: block;
  margin-top: 22px;
  color: var(--memat-ink);
  font-size: 18px;
}

.memat-shipping-v2__timeline p {
  margin-top: 8px;
  color: var(--memat-muted);
  font-size: 14px;
  line-height: 1.75;
}

.memat-shipping-v2__cold-chain {
  padding: clamp(26px, 5vw, 52px);
  border-radius: 30px;
  background: #efe0d0;
}

.memat-shipping-v2__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.memat-shipping-v2__features article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid rgba(96, 56, 35, 0.11);
  border-radius: 22px;
  background: rgba(255, 253, 250, 0.82);
}

.memat-shipping-v2__features article > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fffaf4;
  background: var(--memat-brown);
  font-size: 16px;
  font-weight: 900;
}

.memat-shipping-v2__features strong {
  display: block;
  margin-top: 18px;
  color: var(--memat-ink);
  font-size: 18px;
}

.memat-shipping-v2__features p {
  margin-top: 7px;
  color: var(--memat-muted);
  font-size: 14px;
  line-height: 1.75;
}

.memat-shipping-v2__receiving-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.memat-shipping-v2__receiving-grid article {
  min-height: 190px;
  padding: clamp(24px, 3.5vw, 36px);
  border: 1px solid var(--memat-line);
  border-radius: 24px;
  background: var(--memat-paper);
}

.memat-shipping-v2__receiving-grid strong {
  color: var(--memat-ink);
  font-size: 20px;
}

.memat-shipping-v2__receiving-grid p {
  margin-top: 9px;
  color: var(--memat-muted);
  font-size: 14px;
}

.memat-shipping-v2__notice {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid #dec7b1;
  border-radius: 28px;
  background: #ead9c6;
}

.memat-shipping-v2__notice::after {
  content: "";
  position: absolute;
  inset: -75px auto auto -55px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(96, 56, 35, 0.11);
  border-radius: 50%;
}

.memat-shipping-v2__notice > div {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.memat-shipping-v2__notice span {
  display: inline-flex;
  padding: 5px 13px;
  border-radius: 999px;
  color: #fffaf4;
  background: var(--memat-brown);
  font-size: 12px;
  font-weight: 900;
}

.memat-shipping-v2__notice h2 {
  margin-top: 15px;
  color: var(--memat-ink);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 900;
}

.memat-shipping-v2__notice p {
  margin-top: 8px;
  color: var(--memat-muted);
}

.memat-shipping-v2__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 24px;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 28px;
  color: #fffaf4;
  background: linear-gradient(120deg, var(--memat-brown), #26130d);
  box-shadow: 0 20px 45px rgba(50, 29, 20, 0.16);
}

.memat-shipping-v2__cta > div {
  max-width: 720px;
}

.memat-shipping-v2__cta > div > span {
  margin-bottom: 6px;
}

.memat-shipping-v2__cta h2 {
  color: #fffaf4;
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 900;
}

.memat-shipping-v2__cta p {
  margin-top: 7px;
  color: rgba(255, 250, 244, 0.74);
}

.memat-shipping-v2__cta > a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--memat-brown);
  background: #fffaf4;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.memat-shipping-v2__cta > a:hover,
.memat-shipping-v2__cta > a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.17);
  outline: none;
}

.memat-shipping-v2__footnote {
  max-width: 860px;
  margin: 20px auto 0 !important;
  color: var(--memat-muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 960px) {
  .memat-shipping-v2 {
    width: min(100% - 24px, 820px);
    margin-top: 28px;
  }

  .memat-shipping-v2__hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .memat-shipping-v2__seal {
    width: 130px;
    position: absolute;
    left: 42px;
    bottom: 42px;
    opacity: 0.18;
  }

  .memat-shipping-v2__stats,
  .memat-shipping-v2__timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .memat-shipping-v2__timeline li:not(:last-child)::after {
    display: none;
  }

  .memat-shipping-v2__table-wrap {
    overflow-x: auto;
  }

  .memat-shipping-v2__table {
    min-width: 720px;
  }
}

@media (max-width: 720px) {
  .memat-shipping-v2 {
    width: calc(100% - 20px);
    margin: 20px auto 48px;
    line-height: 1.8;
  }

  .memat-shipping-v2__hero {
    padding: 32px 24px;
    border-radius: 25px;
  }

  .memat-shipping-v2__hero h1 {
    font-size: 36px;
  }

  .memat-shipping-v2__hero p {
    font-size: 15px;
  }

  .memat-shipping-v2__seal {
    width: 105px;
    left: 24px;
    bottom: 30px;
  }

  .memat-shipping-v2__nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 16px 0;
    padding: 8px;
    border-radius: 18px;
    scrollbar-width: none;
  }

  .memat-shipping-v2__nav::-webkit-scrollbar {
    display: none;
  }

  .memat-shipping-v2__nav a {
    flex: 0 0 auto;
    padding: 8px 13px;
    font-size: 12px;
  }

  .memat-shipping-v2__stats,
  .memat-shipping-v2__routes,
  .memat-shipping-v2__timeline,
  .memat-shipping-v2__features,
  .memat-shipping-v2__receiving-grid {
    grid-template-columns: 1fr;
  }

  .memat-shipping-v2__stats {
    gap: 10px;
    margin-top: 16px;
  }

  .memat-shipping-v2__stats article {
    min-height: 0;
    padding: 20px;
  }

  .memat-shipping-v2__stats strong {
    margin-top: 8px;
  }

  .memat-shipping-v2__section {
    margin-top: 48px;
  }

  .memat-shipping-v2__section-heading {
    margin-bottom: 18px;
  }

  .memat-shipping-v2__section-heading h2 {
    font-size: 29px;
  }

  .memat-shipping-v2__section-heading p {
    font-size: 14px;
  }

  .memat-shipping-v2__route {
    min-height: 0;
    padding: 25px 21px;
    border-radius: 22px;
  }

  .memat-shipping-v2__route h3 {
    margin-top: 22px;
    font-size: 25px;
  }

  .memat-shipping-v2__table th,
  .memat-shipping-v2__table td {
    padding: 16px;
    font-size: 13px;
  }

  .memat-shipping-v2__timeline li,
  .memat-shipping-v2__features article,
  .memat-shipping-v2__receiving-grid article {
    min-height: 0;
  }

  .memat-shipping-v2__cold-chain,
  .memat-shipping-v2__notice,
  .memat-shipping-v2__cta {
    border-radius: 22px;
  }

  .memat-shipping-v2__cta {
    align-items: stretch;
    flex-direction: column;
    padding: 28px 22px;
  }

  .memat-shipping-v2__cta > a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .memat-shipping-v2 *,
  .memat-shipping-v2 *::before,
  .memat-shipping-v2 *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}


/* =========================================================
   MEMAT BAKERY — Premium Header v1
   Scoped to the Salla advertisement and store header only.
   ========================================================= */

:root {
  --memat-header-brown: #3b2419;
  --memat-header-brown-deep: #2b1812;
  --memat-header-copper: #c88758;
  --memat-header-cream: #fcfaf7;
  --memat-header-beige: #f6f1ea;
  --memat-header-search: #efe5db;
  --memat-header-border: rgba(93, 58, 42, 0.14);
}

/* Announcement bar */
.s-advertisement {
  min-height: 42px !important;
  background: linear-gradient(
    90deg,
    var(--memat-header-brown-deep) 0%,
    #4a2d21 50%,
    var(--memat-header-brown-deep) 100%
  ) !important;
  color: #fff9f3 !important;
  border-bottom: 1px solid rgba(200, 135, 88, 0.34) !important;
  box-shadow: 0 5px 16px rgba(43, 24, 18, 0.12) !important;
}

.s-advertisement-content,
.s-advertisement-content-main {
  color: #fff9f3 !important;
}

.s-advertisement-content-main {
  font-weight: 700 !important;
  line-height: 1.7 !important;
}

.s-advertisement svg,
.s-advertisement i {
  color: #e3b58c !important;
}

/* Search and contact row */
.store-header .top-navbar {
  background: var(--memat-header-beige) !important;
  border-bottom: 1px solid var(--memat-header-border) !important;
}

.store-header .top-navbar .s-search-input {
  background: var(--memat-header-search) !important;
  color: var(--memat-header-brown) !important;
  border: 1px solid rgba(93, 58, 42, 0.12) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease !important;
}

.store-header .top-navbar .s-search-input:focus {
  background: #fffaf5 !important;
  border-color: rgba(200, 135, 88, 0.62) !important;
  box-shadow: 0 0 0 3px rgba(200, 135, 88, 0.12) !important;
}

.store-header .top-navbar .s-search-input::placeholder {
  color: rgba(59, 36, 25, 0.58) !important;
}

/* Main navigation */
.store-header #mainnav,
.store-header #mainnav .inner,
.store-header .main-nav-container {
  background: var(--memat-header-cream) !important;
}

.store-header #mainnav {
  color: var(--memat-header-brown) !important;
  border-bottom: 1px solid var(--memat-header-border) !important;
  box-shadow: 0 8px 24px rgba(59, 36, 25, 0.07) !important;
}

.store-header #mainnav .main-menu > li > a {
  position: relative !important;
  color: var(--memat-header-brown) !important;
  font-weight: 700 !important;
  transition: color 0.25s ease !important;
}

.store-header #mainnav .main-menu > li > a::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: calc(100% - 24px);
  height: 2px;
  border-radius: 999px;
  background: var(--memat-header-copper);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.25s ease;
}

.store-header #mainnav .main-menu > li > a:hover,
.store-header #mainnav .main-menu > li > a:focus-visible {
  color: #9b6041 !important;
}

.store-header #mainnav .main-menu > li > a:hover::after,
.store-header #mainnav .main-menu > li > a:focus-visible::after {
  transform: scaleX(1);
}

/* Header action icons */
.store-header #mainnav button,
.store-header #mainnav salla-cart-summary,
.store-header #mainnav salla-user-menu {
  color: var(--memat-header-brown) !important;
}

@media (max-width: 767px) {
  .s-advertisement {
    min-height: 38px !important;
    box-shadow: 0 4px 12px rgba(43, 24, 18, 0.1) !important;
  }

  .s-advertisement-content-main {
    font-size: 11px !important;
    line-height: 1.55 !important;
    padding-inline: 22px !important;
  }

  .store-header .top-navbar {
    background: var(--memat-header-cream) !important;
  }

  .store-header #mainnav {
    box-shadow: 0 5px 18px rgba(59, 36, 25, 0.06) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-header .top-navbar .s-search-input,
  .store-header #mainnav .main-menu > li > a,
  .store-header #mainnav .main-menu > li > a::after {
    transition: none !important;
  }
}


/* =========================================================
   MEMAT BAKERY — Premium Header v2
   Add this block AFTER Premium Header v1.
   Visual enhancement only: no links or functions are changed.
   ========================================================= */

:root {
  --memat-v2-brown: #3b2419;
  --memat-v2-brown-deep: #29160f;
  --memat-v2-copper: #c88758;
  --memat-v2-copper-soft: #e3b58c;
  --memat-v2-cream: #fcfaf7;
  --memat-v2-beige: #f6f1ea;
  --memat-v2-search: #efe5db;
  --memat-v2-border: rgba(93, 58, 42, 0.16);
  --memat-v2-shadow: 0 12px 32px rgba(59, 36, 25, 0.09);
}

/* 01 — Premium announcement bar */
.s-advertisement {
  position: relative !important;
  min-height: 46px !important;
  background: linear-gradient(
    100deg,
    var(--memat-v2-brown-deep) 0%,
    #4d2e21 48%,
    #352017 100%
  ) !important;
  border-top: 1px solid rgba(227, 181, 140, 0.18) !important;
  border-bottom: 1px solid rgba(227, 181, 140, 0.42) !important;
  box-shadow: 0 6px 20px rgba(41, 22, 15, 0.16) !important;
}

.s-advertisement-content-main {
  font-size: 14.5px !important;
  font-weight: 800 !important;
  line-height: 1.75 !important;
  color: #fffaf4 !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.16) !important;
}

.s-advertisement svg,
.s-advertisement i {
  color: var(--memat-v2-copper-soft) !important;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.18));
}

/* 02 — Refined search and contact row */
.store-header .top-navbar {
  min-height: 60px !important;
  padding-block: 8px !important;
  background: linear-gradient(
    180deg,
    #f8f4ee 0%,
    var(--memat-v2-beige) 100%
  ) !important;
  border-bottom: 1px solid var(--memat-v2-border) !important;
}

.store-header .top-navbar .container {
  align-items: center !important;
  gap: 20px !important;
}

.store-header .top-navbar .s-search-input {
  height: 44px !important;
  padding-inline: 48px 18px !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  background: rgba(255, 252, 248, 0.86) !important;
  color: var(--memat-v2-brown) !important;
  border: 1px solid rgba(93, 58, 42, 0.18) !important;
  border-radius: 999px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 5px 14px rgba(59, 36, 25, 0.05) !important;
}

.store-header .top-navbar .s-search-input:focus {
  background: #ffffff !important;
  border-color: rgba(200, 135, 88, 0.72) !important;
  box-shadow:
    0 0 0 4px rgba(200, 135, 88, 0.13),
    0 7px 18px rgba(59, 36, 25, 0.07) !important;
}

.store-header .top-navbar .s-search-icon-wrap {
  color: var(--memat-v2-copper) !important;
}

/* 03 — Main premium navigation */
.store-header #mainnav,
.store-header #mainnav .inner,
.store-header .main-nav-container {
  background: rgba(252, 250, 247, 0.98) !important;
}

.store-header #mainnav {
  min-height: 98px !important;
  color: var(--memat-v2-brown) !important;
  border-bottom: 1px solid var(--memat-v2-border) !important;
  box-shadow: var(--memat-v2-shadow) !important;
}

.store-header #mainnav .inner {
  min-height: 98px !important;
}

/* Brand mark becomes a visible premium focal point */
.store-header #mainnav .navbar-brand {
  width: 68px !important;
  height: 68px !important;
  padding: 7px !important;
  margin-inline-end: 18px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid rgba(200, 135, 88, 0.3) !important;
  border-radius: 20px !important;
  box-shadow:
    0 8px 20px rgba(59, 36, 25, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.85) !important;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease !important;
}

.store-header #mainnav .navbar-brand:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 26px rgba(59, 36, 25, 0.14) !important;
}

.store-header #mainnav .navbar-brand img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Larger, clearer menu typography */
.store-header #mainnav .main-menu > li > a {
  min-height: 50px !important;
  padding-inline: 15px !important;
  font-size: 16.5px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  color: var(--memat-v2-brown) !important;
  border-radius: 999px !important;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease !important;
}

.store-header #mainnav .main-menu > li > a:hover,
.store-header #mainnav .main-menu > li > a:focus-visible,
.store-header #mainnav .main-menu > li > a[aria-current="page"] {
  color: #8f5336 !important;
  background: rgba(200, 135, 88, 0.11) !important;
  transform: translateY(-1px) !important;
}

.store-header #mainnav .main-menu > li > a::after {
  right: 18px !important;
  bottom: 5px !important;
  width: calc(100% - 36px) !important;
  height: 2px !important;
  background: linear-gradient(
    90deg,
    transparent,
    var(--memat-v2-copper),
    transparent
  ) !important;
}

/* Coordinated account and cart controls */
.store-header #mainnav .s-user-menu-login-btn {
  width: 46px !important;
  height: 46px !important;
  color: var(--memat-v2-brown) !important;
  background: #ffffff !important;
  border: 1px solid var(--memat-v2-border) !important;
  border-radius: 50% !important;
  box-shadow: 0 7px 18px rgba(59, 36, 25, 0.08) !important;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease !important;
}

.store-header #mainnav .s-cart-summary-wrapper {
  min-height: 46px !important;
  padding: 0 13px !important;
  color: var(--memat-v2-brown) !important;
  background: #ffffff !important;
  border: 1px solid var(--memat-v2-border) !important;
  border-radius: 999px !important;
  box-shadow: 0 7px 18px rgba(59, 36, 25, 0.08) !important;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease !important;
}

.store-header #mainnav .s-user-menu-login-btn:hover,
.store-header #mainnav .s-cart-summary-wrapper:hover {
  color: #8f5336 !important;
  border-color: rgba(200, 135, 88, 0.52) !important;
  transform: translateY(-2px) !important;
}

.store-header #mainnav .s-cart-summary-count {
  background: var(--memat-v2-copper) !important;
  color: #ffffff !important;
  border: 2px solid var(--memat-v2-cream) !important;
  box-shadow: 0 3px 9px rgba(59, 36, 25, 0.16) !important;
}

@media (min-width: 768px) {
  .store-header .top-navbar .header-search {
    max-width: 860px !important;
    margin-inline-start: auto !important;
  }

  .store-header .top-navbar .s-contacts-header {
    min-width: max-content !important;
    height: 44px !important;
    padding-inline: 16px !important;
    display: flex !important;
    align-items: center !important;
    background: rgba(255, 252, 248, 0.72) !important;
    border: 1px solid rgba(93, 58, 42, 0.14) !important;
    border-radius: 999px !important;
  }

  .store-header .top-navbar .s-contacts-topnav-link {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: rgba(59, 36, 25, 0.76) !important;
  }
}

/* 04 — Deliberate mobile proportions */
@media (max-width: 767px) {
  .s-advertisement {
    min-height: 40px !important;
  }

  .s-advertisement-content-main {
    font-size: 12px !important;
    line-height: 1.6 !important;
    padding-inline: 24px !important;
  }

  .store-header .top-navbar {
    min-height: 54px !important;
    padding-block: 6px !important;
  }

  .store-header .top-navbar .container {
    gap: 8px !important;
  }

  .store-header .top-navbar .s-search-input {
    height: 42px !important;
    font-size: 13px !important;
  }

  .store-header #mainnav,
  .store-header #mainnav .inner {
    min-height: 76px !important;
  }

  .store-header #mainnav .navbar-brand {
    width: 54px !important;
    height: 54px !important;
    padding: 6px !important;
    margin-inline-end: 6px !important;
    border-radius: 17px !important;
  }

  .store-header #mainnav .s-user-menu-login-btn {
    width: 42px !important;
    height: 42px !important;
  }

  .store-header #mainnav .s-cart-summary-wrapper {
    min-height: 42px !important;
    padding-inline: 10px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-header #mainnav .navbar-brand,
  .store-header #mainnav .main-menu > li > a,
  .store-header #mainnav .s-user-menu-login-btn,
  .store-header #mainnav .s-cart-summary-wrapper {
    transition: none !important;
  }
}

#featured-products-style2-2 {
  background-color: #f6f1ea !important;
  background-image: none !important;
}


/* =========================================================
   MEMAT BAKERY — Premium Footer v1
   Visual enhancement only. Links and contact data stay intact.
   ========================================================= */

:root {
  --memat-footer-brown: #3b2419;
  --memat-footer-brown-deep: #29160f;
  --memat-footer-copper: #c88758;
  --memat-footer-copper-soft: #e3b58c;
  --memat-footer-cream: #fcfaf7;
  --memat-footer-beige: #f6f1ea;
  --memat-footer-text: #563b2e;
  --memat-footer-muted: rgba(86, 59, 46, 0.76);
  --memat-footer-border: rgba(93, 58, 42, 0.14);
}

/* Full-width dark base for the lower copyright strip */
.store-footer {
  background: linear-gradient(
    100deg,
    var(--memat-footer-brown-deep) 0%,
    #4d2e21 48%,
    #352017 100%
  ) !important;
  color: var(--memat-footer-text) !important;
}

/* Main footer uses the same warm palette as the premium header */
.store-footer .store-footer__inner {
  position: relative !important;
  padding-block: 72px 62px !important;
  overflow: hidden !important;
  background: linear-gradient(
    180deg,
    var(--memat-footer-cream) 0%,
    var(--memat-footer-beige) 100%
  ) !important;
  color: var(--memat-footer-text) !important;
  border-top: 1px solid rgba(200, 135, 88, 0.34) !important;
}

.store-footer .store-footer__inner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 4%,
    var(--memat-footer-copper) 28%,
    var(--memat-footer-copper-soft) 50%,
    var(--memat-footer-copper) 72%,
    transparent 96%
  );
  opacity: 0.92;
}

.store-footer .store-footer__inner > .container {
  position: relative !important;
  gap: 0 !important;
}

.store-footer .store-footer__inner > .container > * {
  padding-inline: 30px !important;
}

/* Stronger section headings */
.store-footer .store-footer__inner h3,
.store-footer .store-footer__inner .s-contacts-title {
  position: relative !important;
  margin-bottom: 22px !important;
  padding-bottom: 14px !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.55 !important;
  color: var(--memat-footer-brown) !important;
}

.store-footer .store-footer__inner h3::after,
.store-footer .store-footer__inner .s-contacts-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--memat-footer-copper),
    var(--memat-footer-copper-soft)
  );
}

/* Store description */
.store-footer .store-footer__inner .max-w-sm {
  max-width: 390px !important;
  margin-bottom: 24px !important;
  font-size: 15.5px !important;
  font-weight: 500 !important;
  line-height: 2 !important;
  color: var(--memat-footer-muted) !important;
}

/* Important links */
.store-footer .s-menu-footer-list {
  display: grid !important;
  gap: 5px !important;
}

.store-footer .s-menu-footer-item {
  position: relative !important;
  min-height: 39px !important;
  margin-inline: -10px !important;
  padding: 8px 24px 8px 10px !important;
  display: flex !important;
  align-items: center !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
  color: var(--memat-footer-muted) !important;
  border-radius: 11px !important;
  transition:
    color 0.24s ease,
    background-color 0.24s ease,
    transform 0.24s ease !important;
}

.store-footer .s-menu-footer-item::before {
  content: "";
  position: absolute;
  right: 10px;
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--memat-footer-copper);
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.24s ease !important;
}

.store-footer .s-menu-footer-item:hover,
.store-footer .s-menu-footer-item:focus-visible {
  color: #8f5336 !important;
  background: rgba(200, 135, 88, 0.1) !important;
  transform: translateX(-4px) !important;
}

.store-footer .s-menu-footer-item:hover::before,
.store-footer .s-menu-footer-item:focus-visible::before {
  background: var(--memat-footer-copper) !important;
}

/* Contact information */
.store-footer .s-contacts-list-vertical {
  display: grid !important;
  gap: 7px !important;
}

.store-footer .s-contacts-list-vertical .s-contacts-item {
  min-height: 45px !important;
  padding: 5px 7px !important;
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: var(--memat-footer-muted) !important;
  border-radius: 12px !important;
  transition:
    color 0.24s ease,
    background-color 0.24s ease,
    transform 0.24s ease !important;
}

.store-footer .s-contacts-list-vertical .s-contacts-icon {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  display: grid !important;
  place-items: center !important;
  color: var(--memat-footer-brown) !important;
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid var(--memat-footer-border) !important;
  border-radius: 50% !important;
  box-shadow: 0 5px 14px rgba(59, 36, 25, 0.07) !important;
}

.store-footer .s-contacts-list-vertical .s-contacts-item:hover,
.store-footer .s-contacts-list-vertical .s-contacts-item:focus-visible {
  color: #8f5336 !important;
  background: rgba(200, 135, 88, 0.09) !important;
  transform: translateX(-3px) !important;
}

/* Social buttons */
.store-footer .s-social-list {
  gap: 10px !important;
}

.store-footer .s-social-link a {
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  color: var(--memat-footer-brown) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid var(--memat-footer-border) !important;
  border-radius: 50% !important;
  box-shadow: 0 7px 18px rgba(59, 36, 25, 0.08) !important;
  transition:
    color 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease,
    transform 0.24s ease !important;
}

.store-footer .s-social-link a:hover,
.store-footer .s-social-link a:focus-visible {
  color: #fffaf4 !important;
  background: var(--memat-footer-brown) !important;
  border-color: var(--memat-footer-brown) !important;
  transform: translateY(-3px) !important;
}

/* Freelance document / trust badge */
.store-footer .s-trust-badges-wrapper {
  width: fit-content !important;
  max-width: 100% !important;
  padding: 11px 14px !important;
  gap: 12px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid var(--memat-footer-border) !important;
  border-radius: 15px !important;
  box-shadow: 0 8px 22px rgba(59, 36, 25, 0.07) !important;
}

.store-footer .s-trust-badges-label {
  color: var(--memat-footer-muted) !important;
  font-weight: 600 !important;
}

.store-footer .s-trust-badges-number {
  color: var(--memat-footer-brown) !important;
  font-weight: 800 !important;
}

/* Bottom copyright and payments strip */
.store-footer > .container {
  min-height: 78px !important;
  padding-block: 16px !important;
  color: #fffaf4 !important;
  border-top: 1px solid rgba(227, 181, 140, 0.28) !important;
}

.store-footer > .container .copyright-text,
.store-footer > .container .copyright-text p,
.store-footer > .container .copyright-text a {
  color: rgba(255, 250, 244, 0.9) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
}

.store-footer > .container .copyright-text a:hover {
  color: var(--memat-footer-copper-soft) !important;
}

.store-footer > .container .s-payments-list {
  min-height: 42px !important;
  padding: 8px 13px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 13px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.11) !important;
}

@media (min-width: 1024px) {
  .store-footer .store-footer__inner > .container > * + * {
    border-inline-start: 1px solid rgba(200, 135, 88, 0.2) !important;
  }
}

@media (max-width: 1023px) {
  .store-footer .store-footer__inner {
    padding-block: 44px 34px !important;
  }

  .store-footer .store-footer__inner > .container > * {
    padding: 25px 18px !important;
  }

  .store-footer .store-footer__inner > .container > * + * {
    border-top: 1px solid rgba(200, 135, 88, 0.18) !important;
  }
}

@media (max-width: 767px) {
  .store-footer .store-footer__inner {
    padding-block: 28px 22px !important;
  }

  .store-footer .store-footer__inner h3,
  .store-footer .store-footer__inner .s-contacts-title {
    margin-bottom: 18px !important;
    font-size: 19px !important;
  }

  .store-footer .store-footer__inner .max-w-sm {
    font-size: 14.5px !important;
    line-height: 1.9 !important;
  }

  .store-footer .s-menu-footer-item {
    font-size: 14.5px !important;
  }

  .store-footer > .container {
    min-height: 112px !important;
    padding: 20px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 16px !important;
  }

  .store-footer > .container .s-payments-list {
    justify-content: center !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-footer .s-menu-footer-item,
  .store-footer .s-contacts-item,
  .store-footer .s-social-link a {
    transition: none !important;
  }
}

/* =========================================================
   MEMAT BAKERY — Premium Footer v3
   Load after: memat-footer-premium-v1.css
   - Converts the desktop footer to three balanced columns.
   - Adds the Saudi Business Center authentication card.
   ========================================================= */

/* Keep the two trust records vertically aligned below the store identity. */
.store-footer .store-footer__inner > .container > :first-child > .flex.gap-4 {
  width: min(100%, 310px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

/* Saudi Business Center e-commerce authentication certificate. */
.store-footer
  .store-footer__inner
  > .container
  > :first-child
  > .flex.gap-4::after {
  content: "توثيق التجارة الإلكترونية\A 0000311166";
  width: 100%;
  min-height: 82px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 15px 104px 15px 16px;
  direction: rtl;
  white-space: pre-line;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--memat-footer-brown, #3b2419);
  background-color: rgba(255, 255, 255, 0.78);
  background-image: url("data:image/png;base64,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");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 74px auto;
  border: 1px solid var(--memat-footer-border, rgba(93, 58, 42, 0.14));
  border-radius: 15px;
  box-shadow: 0 8px 22px rgba(59, 36, 25, 0.07);
}

/* Cropped official logo for clear display inside the compact certificate card. */
.store-footer
  .store-footer__inner
  > .container
  > :first-child
  > .flex.gap-4::after {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAAAfCAYAAADAzK5jAAAACXBIWXMAAB2HAAAdhwGP5fFlAAAMBElEQVR4nO1af0yU5x13WbalcUllh50xYY3R2XLwIuYY5b4PwraSuh52lru5ck5dzUx6lxfjYIAtrC5dbJGr41g2o/YHl7AtXUlM53LXMPzHhhBjCGtlCV00pkt0wWjcWBvSkqEsn/c+z/l45dcxDNbeHw/3vs/7PM/3eb7fz/fnw7It4fpl2Vb/meSBXdH5jcaSyL9Dj/5mw/+zzpIfJNvqF8yDn5W8/IOmkshUk6f9mSwIPqdgavREmgGCRk/kxSwIPr8geJGWoDMLgrtAIFuyIFh6htzrbX/JoTWNnsg/Gj2RR3Vfk6e9wXEHJZEDus+u+PX6Jk/7cLPnUOl8117yw2Vb/bx4UFf8Um6Tp/2jRk/kCp7RB0AABAgQ8b7b89svAwBNnvabAEMWBPd2DNC7fK3vCxB6c8mh3filZehkoPh6Jusu+cGyrX7ePIAFQF1gurSwsSRSDQvQWBKZgOvIguAeA9cm66cr0uMAuAYtbAccnsiV9ExhR033yqwluAdaXfFLuf7C1kl/QcuP8Q7TjwDRdAuNnsgfNDB0vBCseX130B+bQlVxLhpLfshsq5+TB36r5S8Awrai1vKU6YfQk/4/CYAkCBrw/amaWGmwJjZe64/1AyR3FQhEJE9EtmYFX58R3wKFzxU51qCw9XJFQf3X0QcrkBJ+EgDDsBJwAbU1scuwAgDDfNbPaDOlpaX3eb3eB/FcWVm54ttbdn4xQxB0eb3ewuLiR77k8XjuRx+esdZSA6O0tPS+Stm+HGcSkZzFXh/nxVk1nUzn+wtbjwas1il/YcubqbpBSWSCALip6wfBmq43AYBgTax7vmtntBGlVFBERsioSRGZ9+0V5iilXsAaSqk9IjJEYPxQRM4vNQiUUq+KyBGlVKVS6kPzm9frdYlImzF2vVJqEP3zXV9ExrG2iBxDW1BsYLX+KwmEnz+JPhSJzJSwtib2OAEwXhvoXn1HQCAiLSLSKyJrlVJTWpszmH8J7kBEDorICfY1i0jfLHNyRGSzUmrjnQSBiJzCXrxe724Rec/8VlZW9oCI7CMgCnkOx//Op5WXl68Ev+gOe5VS+zPZGxRoW+FzlX6rZSAJgtbL2pog8IPf/+aPfr9cu4Faf9e7AISuHywqCAxtqVJKXTcYCMEehrCMsUpEOtGPQ2za9P2vKKVukond6OdcrPfKdPQ4dlRE3hCREEypiBynRXEqYl6vdzVpQ8PWatockxo3g+DbtDWDNSovL9/GOSfTxvlgwSoqKlaJyBhAAoUAbeP8ATzjnACMiLRr2mVlZd8SkQla0POwfhnEAke1BdAN8UGg4Nl15lhofrCma8KxBLrVxMbhFuaKDRaiLQ0w5zCHhos4D3RDyLQSjkml5dhhmNCpsrKqr4pIv4jYXBOWpUXToKDb8auUeh4Mx3OSmc7cECwHaMLHkqkAxkmsReDAVTUQPNrt9ECYFFg3BTIBAZnP+KaU6kg7twNaCB3n5LmGQI9nOwnw6LHcS7d2cwAXnk06swq/4Nl1/sLWP90meKv1gt9q/V3AarXTAaAbSsW1T8ZCEHxtTezvJiCQKcz0zyezCp0MdWIAHvAiEE8N6mHfGQABrgEgICMP6+/GWt8FI6gpY1pzCKCgMS5ljqnlZ0TkAzP+UErtgkkGLdDkmraInAZQDCEAtAfJ/HHuoZ1CW6NNtNfrfRDP9P0A6N40EHyqj2A4xedh7JvzJ/BLwY+ZY0ELdOAeZuO732p5GdqPIBD1AZ0RaCWZLSBf9ouelAtApvCUv2u7Awp/7FptTddrGYMADFRKxQ0zN0FgtMAd8GCT1MazYDQ1ZABjoYnQZvhzamIPhTpGQGHOmDarpAktOwMtN+iOiMgBZBdcYxQuBOaZFuc0x1zjcy8FfI3jz3LcAPcNUA2xb4Stn/Th731pfLhEIMCyHKe2X9e+nefuJ52b3MMHXL+XNG0GhuOZWF8I3W2FnnAXhY4UWKF33Vbohrso/P50QHDVJfpy7cQNV138XK6dOJpblwggVpiLxlwgOEBNrWQwdxFBCCN9+Py9MP80sTtgDXBYaIFunJun3zEWgZZSyoM56RE2tWWQQDmvBam1i2tWaSZw/QaOa+eetkLTSQ/fttJSlYEuNXYzUlNJZiebATbSD+g98ZxVFCzc4C69B1gVuq4Av9u0BqtpqXyMIWxtxWjZbgPYTM1dGFZuK/xHtxX6uKAoPGU2txUaw94Q+D3s6/ieFrTLTlzJrUtMmc1Vlxh32fGTLjv+2EyFo1k3QiZ1UbuhUfmZoHihDZslA9fOVYvgvqB5LZnWLeZqIpJPi3FbjKAbQMXvTjywGA1aD41PE/oNtxW+mnovCrVibH519JC7OjqV74t24X2lHd+bEj4AYcf/mwaIC666RDAdDHdcoAtpjAtgekfudGq45S66JHJboXduCT58tcAKxdxWOOB8KwoNEBD/RHrofuJX69zV0U8AgiQQOh9BPABBJwUeP/fA0z33u+x4teMa7PilW2CIn8utS6y6q0GgU8qFVNY+q+2hjfbqAiv8Vwi+wAo9Zlo1AOGWZQjtRF9+dfStpPA7PuKvE9MgDtDC/pqdeFqvAe3Psf/sddUloq66xMAKO566WHL+0HciX+8wg7RMG2IIrrUBNQLzG9PG/YyU92VCh27pOGKJOwk8EdnBzOaAjhHm0xa79I0MR9PH2gVFoQu0Au9AmNB6WoBPHqqOFudXR6/iHfEB5iAG0C7BDAzNzMFsENxepdTfWOBoy+Tw6Q3roIbADCKUBpAu0jnMgM/JsefTEKgBPLpesNitNFmTQDD6Hvw7QJDJ/PLy8p3IBhZjLwVF4Z8g8HNbIScOcVshmwD42G0943b6qjvedrS/OnoI7/m+6D7TGkDLERASCL90gFGXaGLgGPgUCJhTnzAZzGgfgrqIFI99RzRzmCk4ms6CziWkkojoGU0/n14fZ/Cmc/Zupo9rQANBIDMLpI35vFsYZRpWxf0MkN4g4wWkbUMACItGRzh/BCBEcYoBLbKMY8wI+vh+Kg28L2CeqQDcpwbsedYkPKThpIikuYHPSImPM209yTS0HxaC5znNlDhVVTUbNByC1wLPLwptdHw/A0IdDELzCYCrWsuRJeT7ou/r2MAMEgmGVS77bXc6MEwQKDJ0VFf3sHFG50ivJilEMLTZqPK1UeAfskoYZG6OlPFEujsgU8bJrGss0FTpcioCQH0fQTDBbeSwToDaQT81VqdjLtLz8XsfBX0Cbo0lazA9h/2oNI7CDeFsaSAYNKuW3C/y+kHW/V9lC/IMaynYCW3lAAwITZ+dNJ1CmAZoOl2zGQC44bZC2x2rYIWbCYBhDdD86o6Y4wp80ZS/R4MrIDje0qCC7ycQorQGQdQR0oHg/CGjwbQJ5r69LPgAvdfIqOu65s3D7TErg9SSSWrlkL5wQWMfikpbCa6zrNxhjYtcM6ArbJhLeiPMu1+h9YCVmOKFTg6eWYg6TVdzii3E/iHe3gWZo+PbhLZuBgiGp+mLs4ik12wg2AaMDMZxATpF5fMEeefMQz2Ba7XPCIDC8G4NALgDLRNkAg4oCsMKfes3R13MCM5Ml/PDTeT7opPuLcn/JjK0/z/IFNCHYFGnjjpwdA7DIkoHfSK0c5yMhtkbBEFqYLNRHNlMtzBEs95jMGXM/OcRfeuoiy009Xu43ijzcQBviOazkkKcYDGoj7R8uuKmLQeDRriHNyjoPH6v5H1FnPFIGekA7GfStL6N+wgQzLjtO0az7pSVjQu0bsOFnOZ8uIg23m049yjgn3HBhFR3z3QAQEnYbYURA4whK7gVG4R2EhipGsXD1dFdEDJcwnRrPfz44fUACWIE3YdYwMkW7ETq1hOFIwCDbZVG/BAFvoZmNk40g2FHeOj9HHeQAs8j03upCajWddKqnDJv78h8XTaGwPbS5+ZRwE6Nn9mDx/CfTgGI5tZHgOpYpEyXtLkP7H8YNDjHuTzibx4tzyDmpNceipOWCtVRlH0xphJugOCBlXDomBdirCDqsjH6cWbcR3hIA3txYijeVXimExxSw2RlMBn0pUCwIfwd9JtpMrRZ+/yZGr7DYqRMPWoHduI11AvMcbQSfQgi/wdlc+S9e0ap0AAAAABJRU5ErkJggg==");
  background-size: 82px auto;
}

/* Replace the unused apps slot with a wider, balanced 3-column layout. */
@media (min-width: 1024px) {
  .store-footer .store-footer__inner > .container {
    display: grid !important;
    grid-template-columns:
      minmax(0, 1.55fr) minmax(260px, 1fr)
      minmax(285px, 1.05fr) !important;
    align-items: start !important;
  }

  .store-footer .store-footer__inner > .container > * {
    grid-column: auto !important;
    padding-inline: 34px !important;
  }

  .store-footer .store-footer__inner > .container > salla-apps-icons {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .store-footer .store-footer__inner > .container > :first-child > .flex.gap-4 {
    width: 100% !important;
  }

  .store-footer
    .store-footer__inner
    > .container
    > :first-child
    > .flex.gap-4::after {
    min-height: 78px;
    padding: 13px 92px 13px 14px;
    font-size: 13px;
    background-position: right 13px center;
    background-size: 66px auto;
  }
}

/* =========================================================
   MEMAT BAKERY — Premium Footer v4
   Load after: memat-footer-premium-v3.css
   - Removes the standalone contact column.
   - Keeps the footer intentionally minimal with two columns.
   - Contact remains available through the Contact Us link
     and the floating WhatsApp button.
   ========================================================= */

/* Remove the now-redundant contact column on every screen size. */
.store-footer .store-footer__inner > .container > :nth-child(3) {
  display: none !important;
}

@media (min-width: 1024px) {
  /* Store identity + important links. */
  .store-footer .store-footer__inner > .container {
    grid-template-columns:
      minmax(0, 1.45fr) minmax(340px, 0.95fr) !important;
    column-gap: clamp(52px, 7vw, 110px) !important;
  }

  /* Keep Salla's unused apps slot hidden. */
  .store-footer .store-footer__inner > .container > salla-apps-icons {
    display: none !important;
  }

  /* Give the two visible columns comfortable, balanced spacing. */
  .store-footer .store-footer__inner > .container > :first-child {
    padding-inline-start: clamp(20px, 3vw, 44px) !important;
    padding-inline-end: clamp(28px, 4vw, 64px) !important;
  }

  .store-footer .store-footer__inner > .container > :nth-child(2) {
    padding-inline-start: clamp(28px, 4vw, 64px) !important;
    padding-inline-end: clamp(20px, 3vw, 44px) !important;
  }
}

/* =========================================================
   MEMAT BAKERY — Featured Products Add-to-Cart Button v1
   Scope: Homepage featured-products section only
   Purpose: Make the active action unmistakably clickable while
            preserving a clearly different disabled state.
   ========================================================= */

body.index
  .s-block--tabs-produtcs
  salla-add-product-button
  .s-button-element {
  min-height: 48px !important;
  padding: 12px 22px !important;
  border: 1px solid #4a2c20 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #553225 0%, #4a2c20 55%, #3f251b 100%) !important;
  color: #fff8f1 !important;
  box-shadow: 0 9px 22px rgba(59, 36, 25, 0.18) !important;
  font-size: 15.5px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  opacity: 1 !important;
  cursor: pointer !important;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease !important;
}

body.index
  .s-block--tabs-produtcs
  salla-add-product-button
  .s-button-element
  :is(svg, i) {
  color: currentColor !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

body.index
  .s-block--tabs-produtcs
  salla-add-product-button
  .s-button-element:not(:disabled):not([aria-disabled="true"]):hover {
  border-color: #321a12 !important;
  background: #321a12 !important;
  color: #fffaf5 !important;
  box-shadow: 0 12px 28px rgba(50, 26, 18, 0.26) !important;
  transform: translateY(-2px) !important;
}

body.index
  .s-block--tabs-produtcs
  salla-add-product-button
  .s-button-element:not(:disabled):not([aria-disabled="true"]):active {
  box-shadow: 0 5px 14px rgba(50, 26, 18, 0.2) !important;
  transform: translateY(0) scale(0.99) !important;
}

body.index
  .s-block--tabs-produtcs
  salla-add-product-button
  .s-button-element:focus-visible {
  outline: 3px solid rgba(176, 112, 75, 0.34) !important;
  outline-offset: 3px !important;
}

/* Preserve an unmistakable disabled state. */
body.index
  .s-block--tabs-produtcs
  salla-add-product-button
  .s-button-element:is(:disabled, [aria-disabled="true"]) {
  border-color: #cbbeb2 !important;
  background: #d9cfc5 !important;
  color: #84766c !important;
  box-shadow: none !important;
  opacity: 0.72 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

@media (max-width: 767px) {
  body.index
    .s-block--tabs-produtcs
    salla-add-product-button
    .s-button-element {
    min-height: 46px !important;
    padding: 11px 18px !important;
    border-radius: 13px !important;
    font-size: 15px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.index
    .s-block--tabs-produtcs
    salla-add-product-button
    .s-button-element {
    transition: none !important;
  }
}

/* =========================================================
   MEMAT BAKERY — أحدث المنتجات v1
   مخصص لقسم المنتجات في الصفحة الرئيسية فقط
   ========================================================= */

/* خلفية القسم متوافقة مع هوية المتجر */
[data-testid="store-home-featured-products-tabs"] {
  background: #f6f1ea !important;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) !important;
}

/* عنوان القسم — يظهر حتى عندما يخفي قالب رائد اسم التبويب الواحد */
[data-testid="store-home-featured-products-tabs"] > .container::before {
  content: "أحدث المنتجات";
  display: block;
  width: fit-content;
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem) auto;
  padding: 0.2rem 1rem 0.35rem 0;
  border-inline-start: 3px solid #c68a5b;
  color: #4a2c20;
  font-family: inherit;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* إبقاء أحدث منتجين فقط ظاهرين تلقائيًا */
[data-testid="store-home-featured-products-tabs"]
  .s-products-list-wrapper
  > custom-salla-product-card:nth-of-type(n + 3) {
  display: none !important;
}

/* لمسة ناعمة لبطاقات القسم دون التأثير على بقية المتجر */
[data-testid="store-home-featured-products-tabs"]
  custom-salla-product-card.s-product-card-entry {
  border: 1px solid rgba(74, 44, 32, 0.1);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(74, 44, 32, 0.07);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  [data-testid="store-home-featured-products-tabs"]
    custom-salla-product-card.s-product-card-entry:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(74, 44, 32, 0.11);
  }
}

@media (max-width: 767px) {
  [data-testid="store-home-featured-products-tabs"] {
    padding-block: 2.25rem !important;
  }

  [data-testid="store-home-featured-products-tabs"] > .container::before {
    margin-bottom: 1.25rem;
    padding-inline-start: 0.75rem;
    font-size: 1.7rem;
  }

  [data-testid="store-home-featured-products-tabs"]
    custom-salla-product-card.s-product-card-entry {
    border-radius: 15px;
  }
}

/* =========================================================
   MEMAT BAKERY — أحدث المنتجات v2
   تصميم تحريري فاخر + خط عربي مستقل
   يُلصق بعد v1 ليُلغي تنسيق العنوان السابق تلقائيًا
   ========================================================= */

@font-face {
  font-family: "Memat El Messiri";
  src: url("https://raw.githubusercontent.com/Gue3bara/El-Messiri/master/fonts/webfonts/ElMessiri-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Memat El Messiri";
  src: url("https://raw.githubusercontent.com/Gue3bara/El-Messiri/master/fonts/webfonts/ElMessiri-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* خلفية دافئة بعمق بصري خفيف */
section[data-testid="store-home-featured-products-tabs"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5.5rem) !important;
  background:
    radial-gradient(circle at 92% 8%, rgba(190, 132, 88, 0.14), transparent 28%),
    radial-gradient(circle at 8% 90%, rgba(74, 44, 32, 0.07), transparent 30%),
    #f6f1ea !important;
}

/* الشارة الصغيرة */
section[data-testid="store-home-featured-products-tabs"]::before {
  content: "من ميمات إلى مائدتكم";
  display: block;
  grid-column: 1 / -1;
  justify-self: center;
  width: fit-content;
  margin: 0 auto 0.85rem;
  padding: 0.5rem 1.25rem 0.58rem;
  border: 1px solid rgba(171, 112, 72, 0.28);
  border-radius: 999px;
  color: #8a5538;
  background: rgba(255, 251, 247, 0.86);
  box-shadow: 0 8px 24px rgba(74, 44, 32, 0.06);
  font-family: "Memat El Messiri", "Dubai", sans-serif;
  font-size: clamp(0.82rem, 1.4vw, 0.95rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.015em;
  text-align: center;
}

/* العنوان الرئيسي */
section[data-testid="store-home-featured-products-tabs"] > .container::before {
  content: "أحدث المنتجات";
  display: block;
  width: fit-content;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  padding: 0.1rem clamp(2rem, 6vw, 4.5rem) 1.15rem;
  border: 0 !important;
  color: #3d241a;
  background: linear-gradient(90deg, transparent, #c4885b, transparent)
    center bottom / 110px 2px no-repeat;
  font-family: "Memat El Messiri", "Dubai", sans-serif;
  font-size: clamp(2.35rem, 4.8vw, 4rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
  text-align: center;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.75);
}

/* بطاقات أكثر نقاءً وعمقًا */
section[data-testid="store-home-featured-products-tabs"]
  custom-salla-product-card.s-product-card-entry {
  border: 1px solid rgba(74, 44, 32, 0.1);
  border-radius: 22px;
  background: rgba(255, 253, 250, 0.96);
  box-shadow:
    0 18px 45px rgba(74, 44, 32, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

@media (hover: hover) {
  section[data-testid="store-home-featured-products-tabs"]
    custom-salla-product-card.s-product-card-entry:hover {
    transform: translateY(-6px);
    box-shadow:
      0 24px 55px rgba(74, 44, 32, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }
}

/* يبقى القسم على أحدث منتجين فقط */
section[data-testid="store-home-featured-products-tabs"]
  .s-products-list-wrapper
  > custom-salla-product-card:nth-of-type(n + 3) {
  display: none !important;
}

@media (max-width: 767px) {
  section[data-testid="store-home-featured-products-tabs"] {
    padding-block: 2.75rem 3.25rem !important;
    background:
      radial-gradient(circle at 92% 5%, rgba(190, 132, 88, 0.12), transparent 34%),
      #f6f1ea !important;
  }

  section[data-testid="store-home-featured-products-tabs"]::before {
    margin-bottom: 0.65rem;
    padding: 0.42rem 1rem 0.48rem;
    font-size: 0.78rem;
  }

  section[data-testid="store-home-featured-products-tabs"] > .container::before {
    margin-bottom: 1.75rem;
    padding: 0.1rem 1.5rem 0.9rem;
    background-size: 78px 2px;
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.3;
  }

  section[data-testid="store-home-featured-products-tabs"]
    custom-salla-product-card.s-product-card-entry {
    border-radius: 17px;
    box-shadow: 0 12px 30px rgba(74, 44, 32, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  section[data-testid="store-home-featured-products-tabs"]
    custom-salla-product-card.s-product-card-entry {
    transition: none;
  }
}

/* =========================================================
   MEMAT BAKERY — أحدث المنتجات v3
   تصحيح المسافة بين البنر الثاني وبداية قسم أحدث المنتجات
   يُلصق بعد v1 و v2 دون حذف أي كود سابق
   ========================================================= */

/* الكمبيوتر والأجهزة اللوحية */
section[data-testid="store-home-featured-products-tabs"] {
  margin-top: 12px !important;
  padding-top: 40px !important;
}

/* الجوال */
@media (max-width: 767px) {
  section[data-testid="store-home-featured-products-tabs"] {
    margin-top: 8px !important;
    padding-top: 30px !important;
  }
}