/* ======================================================================
   MLEHA — Table of Contents
   ======================================================================
    1. Global Variables & Base  (line 36)
    2. Global Hidden Elements  (line 144)
    3. Scroll Arrow & WhatsApp Icons  (line 168)
    4. Main Navigation (Header)  (line 193)
    5. Mobile Menu  (line 271)
    6. Mobile Menu — Optional Polish  (line 567)
    7. Advanced Slider --2  (line 585)
    8. Twin Banners  (line 727)
    9. Advanced Slider --4  (line 850)
   10. Sections & Blocks (Hero Slider, Categories, About, Square Links, Tabs)  (line 1023)
   11. Reviews  (line 1578)
   12. Blog & Posts  (line 1797)
   13. Promotion Banner & Animated Text  (line 1882)
   14. Products Grid Layout  (line 1948)
   15. Home Listing — Product Video Thumbnail Fix  (line 1983)
   16. Videos Gallery Section  (line 2035)
   17. Product Slider  (line 2184)
   18. Product Page  (line 2206)
   19. Size Calculator — Styles  (line 3137)
   20. Filter Popup  (line 3791)
   21. Cart Page  (line 4495)
   22. Cart Drawer  (line 4546)
   23. Components & Utilities  (line 5057)
   24. Responsive Styles (Unified)  (line 5140)
   25. Footer  (line 5452)
   ====================================================================== */


/* ######################################################################
   FOUNDATION
   ###################################################################### */

/* =====================================
   DESIGN SYSTEM VARIABLES (SALLA + CUSTOM)
===================================== */
:root {
  /* Salla Base Variables */
  --font-main: "Zain";
  --color-primary: #9d3d38;
  --color-primary-dark: #771712;
  --color-primary-light: #c3635e;
  --color-primary-reverse: #ffffff;

  --bg-primary: #fafafa;
  --bg-secondary: #ffffff;
  --header-bg: #eee2d4;
  --header-text-color: #262626;

  --store-text-primary: #262626;
  --store-text-secondary: #777777;

  --product-bg: #ffffff;
  --product-border-color: #eeeeee;
  --product-enhanced-btn-bg: #9d3d38;
  --product-enhanced-btn-color: #ffffff;
  --products-per-row: 4;

  --footer-bg: #7B3432;
  --footer-text-color: #fff;
  --bottom-footer-bg: #7B3432;

  --countdown-bg: #f3f4f6;
  --countdown-color: #111827;
  --countdown-border-color: #f3f4f6;

  --bottom-nav-bg: #eee2d4;
  --bottom-nav-text-color: #432039;

  --wa-btn-bg: #22c55e;
  --wa-btn-text-color: #ffffff;

  /* Custom UI Helpers */
  --ui-text-soft: #444444;
  --ui-border: #cbcbcb;
  --ui-bg-light: #f5f5f5;
  --ui-bg-soft: #f1edeb;
  --ui-dark: #2f2f2f;
  --ui-black: #000000;
  --ui-white: #ffffff;

  /* Brand Text Scale */
  --text-overline: 10px;
  --text-label: 12px;
  --text-body: 11px;
  --text-price: 16px;
  --text-heading: 13px;
  --text-hero: 18px;

  --lh-overline: 14px;
  --lh-label: 14px;
  --lh-body: 15px;
  --lh-price: 18px;
  --lh-heading: 18px;
  --lh-hero: 20px;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-bold: 700;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 40px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-full: 50px;

  /* Sizing */
  --header-height-desktop: 95px;
  --header-height-mobile: 60px;
  --icon-size-sm: 34px;
  --icon-size-lg: 42px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
}

html {
  overflow-y: auto;
}

body,
input,
select,
textarea,
button {
  font-family: var(--font-main), -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
}


/* =====================================
   1. GLOBAL HIDDEN ELEMENTS
===================================== */
.product-card__addToCart,
.product-card__enhanced-mini-cart,
.product-options,
.store-footer__settings,
.footer-settings-btn,
.store-footer__contacts-row .enhanced-contact-item span,
.s-block--custom-reviews .sicon-quote,
#block-blog-5 .enhanced-title-border.home-block-line,
#block-blog-5 > .container > .flex.items-center.gap-8.mt-5,
#block-blog-5 .post-entry .mb-2\.5.text-store-text-secondary,
#block-blog-5 .post-entry p.text-store-text-secondary,
#block-blog-5 .post-entry > div > a:last-child,
.blog-category > .mb-10.text-gray-500,
aside[aria-label="Sidebar"],
.special-product .flex.justify-center,
.store-footer__curve {
  display: none !important;
}



/* =====================================
   scroll arrow & whatsapp icons
===================================== */

.scroll-to-top.left {
    left: 20px;
}

.scroll-to-top {
    bottom: 20px;
}

.wa-selia.right {
    right: 20px;
}
.wa-selia {
    bottom: 20px;
}



/* ######################################################################
   HEADER & NAVIGATION
   ###################################################################### */

/* =====================================
   4. MAIN NAVIGATION
===================================== */

:root {
  --mleha-navbar-transition: 0.3s ease;
}

body.trans_header .store-header {
  z-index: 30;
}

/* Overlay the product gallery without replacing Salla's scroll logic. */
body.product-single .store-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 30 !important;
}

#mainnav,
#mainnav .inner {
  height: 72px !important;
  min-height: 72px !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  transition: background-color var(--mleha-navbar-transition) !important;
}

#mainnav.main-nav-container.mleha-navbar-scrolled,
#mainnav.main-nav-container.fixed-pinned.mleha-navbar-scrolled,
#mainnav.mleha-navbar-scrolled .inner {
  background: #fafafa !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

.fixed-pinned .navbar-brand img {
  height: var(--space-2xl, 40px) !important;
}

.navbar-brand {
  font-size: var(--text-label, 12px) !important;
  font-weight: var(--fw-regular, 400) !important;
  line-height: var(--lh-body, 15px) !important;
}

.main-menu,
.mobile-menu,
.root-level,
.main-nav-container .root-level,
.main-nav-container .root-level a,
.main-nav-container .root-level span {
  font-size: var(--text-label, 12px) !important;
  font-weight: var(--fw-bold, 700) !important;
  line-height: var(--lh-label, 14px) !important;
}

.s-cart-summary-wrapper {
  font-size: var(--text-label, 12px) !important;
  font-weight: var(--fw-bold, 700) !important;
  line-height: var(--lh-body, 15px) !important;
}

.s-cart-summary-count {
  background-color: var(--color-primary, #9d3d38);
  font-size: 12px !important;
  font-weight: var(--fw-bold, 700) !important;
  line-height: 16px !important;
}



/* =========================================================
   MLEHA MOBILE MENU — FINAL STABLE CODE
========================================================= */

@media (max-width: 1024px) {
  :root {
    --mm-ocd-width: 100vw;
    --mm-ocd-min-width: 100vw;
    --mm-ocd-max-width: 100vw;

    --mm-spn-item-height: 58px;
    --mm-spn-item-indent: 24px;
    --mm-spn-line-height: 22px;
    --mm-spn-panel-offset: 0%;
  }

  /* DROP FROM TOP */
  .mm-ocd {
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 100% !important;
    background: rgba(0, 0, 0, 0) !important;
    transition:
      bottom 0s ease 0.35s,
      background-color 0.35s ease !important;
    overflow-x: hidden !important;
  }

  .mm-ocd.mm-ocd--open {
  bottom: 0 !important;
  background: rgba(20, 20, 20, 0.14) !important;
  backdrop-filter: blur(14px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
  transition:
    bottom 0s ease 0s,
    background-color 0.35s ease,
    backdrop-filter 0.35s ease !important;
}

  .mm-ocd__content {
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    bottom: auto !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    height: 80vh !important;
    max-height: 80vh !important;
    background: #f8f3ee !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    transform: translate3d(0, -100%, 0) !important;
    transition: transform 0.35s ease !important;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0);
  }

  .mm-ocd.mm-ocd--open .mm-ocd__content {
    transform: translate3d(0, 0, 0) !important;
  }

  .mm-ocd__backdrop {
    display: none !important;
  }

  /* MENU CONTAINER */
  #mobile-menu,
  #mobile-menu.mobile-menu,
  #mobile-menu.mm-spn {
    width: 100% !important;
    height: 80vh !important;
    min-height: 80vh !important;
    max-height: 80vh !important;
    background: #f8f3ee !important;
    color: #1f1f1f !important;
    text-align: right;
    direction: rtl;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .mm-spn {
    width: 100% !important;
    max-width: 100% !important;
    height: 80vh !important;
    min-height: 80vh !important;
    overflow-x: hidden !important;
  }

  /* PANEL BEHAVIOR */
  .mm-spn ul {
    width: 100% !important;
    max-width: 100% !important;
    left: 100% !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .mm-spn > ul {
    left: 0 !important;
  }

  .mm-spn ul.mm-spn--open {
    left: 0 !important;
  }

  .mm-spn ul.mm-spn--parent {
    left: -100% !important;
    overflow: hidden !important;
  }

  /* TOP BAR / TITLE */
  .mm-spn.mm-spn--navbar:after {
    height: 64px !important;
    line-height: 64px !important;
    padding-right: 52px !important;
    padding-left: 56px !important;
    text-align: right !important;
    font-size: 12px !important;
    font-weight: 300 !important;
    letter-spacing: 0 !important;
    color: #9D3D38 !important;
    opacity: 1 !important;
    background: #f8f3ee !important;
    border-bottom: 1px solid rgba(69, 46, 30, 0.08);
  }

  .mm-spn.mm-spn--navbar ul {
    top: 65px !important;
  }

  .mm-spn.mm-spn--navbar ul:before {
    display: none !important;
  }

  /* BACK ARROW */
  #mobile-menu.mm-spn.mm-spn--navbar:before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    right: 22px !important;
    left: auto !important;
    top: 32px !important;
    width: 13px !important;
    height: 13px !important;
    margin: 0 !important;
    border-left: 1px solid #9D3D38 !important;
    border-top: 1px solid #9D3D38 !important;
    opacity: 1 !important;
    transform: rotate(-45deg) translateY(-50%) !important;
    z-index: 6 !important;
  }

  /* MAIN MENU SPACING */
  #mobile-menu > ul.main-menu {
    padding-top: 6px !important;
    padding-bottom: 84px !important;
  }

  /* ITEMS / DIVIDERS */
  .mm-spn li {
    background: transparent !important;
    position: relative;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .mm-spn li:after {
    border-top: 0 !important;
    margin-right: 24px !important;
    margin-left: 24px !important;
    opacity: 1 !important;
  }

  /* أخفِ السهم من جميع العناصر */
  [dir="rtl"] .mm-spn li:before {
    content: none !important;
    display: none !important;
  }

  /* أظهر السهم فقط للعناصر التي تحتوي قائمة فرعية */
  [dir="rtl"] .mm-spn li:has(> ul):before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 24px !important;
    right: auto !important;
    top: 50% !important;
    width: 7px !important;
    height: 7px !important;
    border: 1.5px solid #452e1e !important;
    border-right: none !important;
    border-top: none !important;
    opacity: 0.9 !important;
    transform: translateY(-50%) rotate(45deg) !important;
  }

  /* ITEM ROWS */
  .mm-spn li > a,
  .mm-spn li > span {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 58px !important;
    padding: 16px 24px !important;
    color: #1f1f1f !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 100 !important;
    background: transparent !important;
    text-decoration: none !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .mm-spn li > a span,
  .mm-spn li > span span {
    padding: 0 !important;
  }

  /* SUB LEVELS */
  .mm-spn ul ul li > a,
  .mm-spn ul ul li > span {
    font-size: 18px !important;
    font-weight: 100 !important;
    color: #55483f !important;
    min-height: 50px !important;
    padding-top: 14px !important;
    padding-bottom: 1px !important;
  }

  .mm-spn ul ul li:first-child > a {
    font-weight: 100 !important;
    color: #2c221d !important;
  }

  /* THEME OVERRIDES */
  #mobile-menu a.text-gray-500,
  #mobile-menu .text-gray-500 {
    color: #1f1f1f !important;
  }

  #mobile-menu a.\!flex {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  /* CLOSE BUTTON */
  #mobile-menu .btn--close.close-mobile-menu {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    z-index: 7 !important;
    width: 36px !important;
    height: 36px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #9D3D38 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 32px !important;
    cursor: pointer;
  }

  #mobile-menu .btn--close.close-mobile-menu:before {
    font-size: 32px !important;
    font-weight: 200 !important;
  }

  .mm-spn--parent + .btn--close {
    display: none !important;
  }

  /* GENERAL POLISH */
  #mobile-menu,
  #mobile-menu * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}



/* =========================
   12) OPTIONAL POLISH
========================= */
#mobile-menu .main-menu > li:first-child > a,
#mobile-menu .main-menu > li:first-child > span,
#mobile-menu > ul > li:first-child > a,
#mobile-menu > ul > li:first-child > span {
  margin-top: 2px;
}





/* ######################################################################
   HOME PAGE SECTIONS
   ###################################################################### */

/* =========================================
   ADVANCED SLIDER --2 ONLY
========================================= */

/* === MAX WIDTH 1440 ==== */
section.advanced-slider.advanced-slider--2 {
  width: 100%;
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
  padding-bottom: 15px;
  box-sizing: border-box;
  overflow: hidden;
}
@media (min-width: 1510px) {
  section.advanced-slider.advanced-slider--2 {
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 15px;
  }
}
@media (max-width: 1199px) {
  section.advanced-slider.advanced-slider--2 {
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
  }
}

section.advanced-slider.advanced-slider--2 > salla-slider,
section.advanced-slider.advanced-slider--2 .advanced-slider__slide,
section.advanced-slider.advanced-slider--2 .advanced-slider__image,
section.advanced-slider.advanced-slider--2 .advanced-slider__caption,
section.advanced-slider.advanced-slider--2 .container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

section.advanced-slider.advanced-slider--2 img {
  display: block;
  width: 100%;
  max-width: 100%;
}

/* === BUTTON STYLE === */
section.advanced-slider.advanced-slider--2 .advanced-slider__caption__inner__content__button,
section.advanced-slider.advanced-slider--2 .advanced-slider__caption__inner__content__button:hover,
section.advanced-slider.advanced-slider--2 .advanced-slider__caption__inner__content__button:focus,
section.advanced-slider.advanced-slider--2 .advanced-slider__caption__inner__content__button:active,
section.advanced-slider.advanced-slider--2 .advanced-slider__caption__inner__content__button[style] {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: auto !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #000 !important;
  text-decoration: none !important;
}

section.advanced-slider.advanced-slider--2 .advanced-slider__caption__inner__content__button::before,
section.advanced-slider.advanced-slider--2 .advanced-slider__caption__inner__content__button::after {
  display: none !important;
  content: none !important;
}

section.advanced-slider.advanced-slider--2 .advanced-slider__caption__inner__content__button span {
  position: relative;
  display: inline-block;
  font-weight: 400 !important;
  color: #000 !important;
}

section.advanced-slider.advanced-slider--2 .advanced-slider__caption__inner__content__button span::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -4px;
  height: 1px;
  background: #000;
  opacity: 1;
  transform: none;
}

section.advanced-slider.advanced-slider--2 .advanced-slider__caption__inner__content__button[style] {
  background: transparent !important;
  color: #000 !important;
}

/* === MOBILE TEXT POSITION === */
@media (max-width: 1024px) {
  section.advanced-slider.advanced-slider--2 .advanced-slider__caption {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  section.advanced-slider.advanced-slider--2 .advanced-slider__caption .container {
    width: 100% !important;
    height: 100% !important;
  }

  section.advanced-slider.advanced-slider--2 .advanced-slider__caption__inner {
    width: 100% !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: right !important;
    padding-top: 24px !important;
  }

  section.advanced-slider.advanced-slider--2 .advanced-slider__caption__inner--left {
    justify-content: flex-start !important;
    text-align: right !important;
  }

  section.advanced-slider.advanced-slider--2 .advanced-slider__caption__inner__content {
    margin-right: 0 !important;
    margin-left: auto !important;
    text-align: right !important;
    max-width: 100% !important;
  }
}

/* === LIGHT OVERLAY === */
body.slider_has_overlay section.advanced-slider.advanced-slider--2 .swiper-slide:before,
body.slider_has_overlay section.advanced-slider.advanced-slider--2 salla-slider[static-when-single]:before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), transparent) !important;
}

/* =========================================
   ADVANCED SLIDER --2 ONLY
========================================= */


/* =========================================
   Twin Banners
========================================= */

section.s-block--fixed-banner.double-banner--2 +
section.s-block--fixed-banner.double-banner--3 {
  margin-top: 1rem !important;
}

section.s-block--fixed-banner.double-banner--2 .banner,
section.s-block--fixed-banner.double-banner--3 .banner {
  position: relative;
  overflow: hidden;
}

section.s-block--fixed-banner.double-banner--2 .banner::before,
section.s-block--fixed-banner.double-banner--3 .banner::before {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 50%;
  z-index: 1;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.9) 20%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.2) 78%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.9) 20%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.2) 78%,
    rgba(0, 0, 0, 0) 100%
  );
}

section.s-block--fixed-banner.double-banner--2 .mleha-banner-content,
section.s-block--fixed-banner.double-banner--3 .mleha-banner-content {
  position: absolute !important;
  right: var(--space-lg) !important;
  left: var(--space-lg) !important;
  bottom: var(--space-lg) !important;
  z-index: 10 !important;
  text-align: right !important;
  pointer-events: none !important;
}
@media (max-width: 767px) {
  section.s-block--fixed-banner.double-banner--2 .mleha-banner-content,
  section.s-block--fixed-banner.double-banner--3 .mleha-banner-content {
    position: absolute !important;
    right: var(--space-sm) !important;
    left: var(--space-sm) !important;
    bottom: var(--space-lg) !important;
    z-index: 10 !important;
    text-align: right !important;
    pointer-events: none !important;
  }
}
section.s-block--fixed-banner.double-banner--2 .mleha-banner-title,
section.s-block--fixed-banner.double-banner--3 .mleha-banner-title {
  margin: 0 0 6px 0 !important;
  font-size: var(--text-hero) !important;
  line-height: var(--lh-hero) !important;
  font-weight: var(--fw-bold) !important;
  color: #ffffff !important;
}
@media (max-width: 767px) {
  section.s-block--fixed-banner.double-banner--2 .mleha-banner-title,
  section.s-block--fixed-banner.double-banner--3 .mleha-banner-title {
    font-size: var(--text-heading) !important;
    line-height: var(--lh-heading) !important;
  }
}

section.s-block--fixed-banner.double-banner--2 .mleha-banner-text,
section.s-block--fixed-banner.double-banner--3 .mleha-banner-text {
  margin: 0 0 8px 0 !important;
  font-size: var(--text-body) !important;
  line-height: var(--lh-body) !important;
  font-weight: var(--fw-regular) !important;
  color: #ffffff !important;
}
@media (max-width: 767px) {
  section.s-block--fixed-banner.double-banner--2 .mleha-banner-text,
  section.s-block--fixed-banner.double-banner--3 .mleha-banner-text {
    font-size: var(--text-body) !important;
    line-height: var(--lh-body) !important;
  }
}

section.s-block--fixed-banner.double-banner--2 .mleha-banner-link,
section.s-block--fixed-banner.double-banner--3 .mleha-banner-link {
  display: inline-block !important;
  font-size: var(--text-body) !important;
  line-height: var(--lh-body) !important;
  font-weight: var(--fw-regular) !important;
  color: #ffffff !important;
  border-bottom: 1px solid currentColor !important;
  padding-bottom: 2px !important;
}
@media (max-width: 767px) {
  section.s-block--fixed-banner.double-banner--2 .mleha-banner-link,
  section.s-block--fixed-banner.double-banner--3 .mleha-banner-link {
    font-size: var(--text-body) !important;
    line-height: var(--lh-body) !important;
  }
}

/* =====================================
   Twin Banners
===================================== */


/* =====================================
   ADVANCED SLIDER --4 ONLY
===================================== */

/* === MAX WIDTH 1440 === */
section.advanced-slider.advanced-slider--4 {
  width: 100%;
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
  padding-top: 15px;
  box-sizing: border-box;
  overflow: hidden;
}
@media (min-width: 1510px) {
  section.advanced-slider.advanced-slider--4 {
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 15px;
  }
}
@media (max-width: 1199px) {
  section.advanced-slider.advanced-slider--4 {
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 10px;
  }
}

section.advanced-slider.advanced-slider--4 > salla-slider,
section.advanced-slider.advanced-slider--4 .advanced-slider__slide,
section.advanced-slider.advanced-slider--4 .advanced-slider__image,
section.advanced-slider.advanced-slider--4 .advanced-slider__caption,
section.advanced-slider.advanced-slider--4 .container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

section.advanced-slider.advanced-slider--4 img {
  display: block;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 1024px) {
  section.advanced-slider.advanced-slider--4 {
    padding-right: 10px;
    padding-left: 10px;
  }
}

/* === BUTTON STYLE === */
section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner__content__button,
section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner__content__button:hover,
section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner__content__button:focus,
section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner__content__button:active,
section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner__content__button[style] {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: auto !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #000 !important;
  text-decoration: none !important;
}

section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner__content__button::before,
section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner__content__button::after {
  display: none !important;
  content: none !important;
}

section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner__content__button span {
  position: relative;
  display: inline-block;
  font-weight: 400 !important;
  color: #000 !important;
}

section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner__content__button span::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -4px;
  height: 1px;
  background: #000;
  opacity: 1;
  transform: none;
}

section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner__content__button[style] {
  background: transparent !important;
  color: #000 !important;
}

/* === DESKTOP FONT SIZES === */
section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner__content__heading {
  font-size: var(--text-hero) !important;
  line-height: var(--lh-hero) !important;
  font-weight: var(--fw-bold) !important;
}

section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner__content__text,
section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner__content__button span {
  font-size: var(--text-body) !important;
  line-height: var(--lh-body) !important;
  font-weight: var(--fw-regular) !important;
}

/* === MOBILE TEXT POSITION + 
       FONT SIZES === */
@media (max-width: 1024px) {
  section.advanced-slider.advanced-slider--4 .advanced-slider__caption {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  section.advanced-slider.advanced-slider--4 .advanced-slider__caption .container {
    width: 100% !important;
    height: 100% !important;
  }

  section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner {
    width: 100% !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: right !important;
    padding-top: 24px !important;
  }

  section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner--left {
    justify-content: flex-start !important;
    text-align: right !important;
  }

  section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner__content {
    margin-right: 0 !important;
    margin-left: auto !important;
    text-align: right !important;
    max-width: 100% !important;
  }

  section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner__content__heading {
    font-size: var(--text-heading) !important;
    line-height: var(--lh-heading) !important;
  }

  section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner__content__text,
  section.advanced-slider.advanced-slider--4 .advanced-slider__caption__inner__content__button span {
    font-size: var(--text-body) !important;
    line-height: var(--lh-body) !important;
  }
}

/* === LIGHT OVERLAY === */
body.slider_has_overlay section.advanced-slider.advanced-slider--4 .swiper-slide:before,
body.slider_has_overlay section.advanced-slider.advanced-slider--4 salla-slider[static-when-single]:before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), transparent) !important;
}
/* =====================================
   ADVANCED SLIDER --4 ONLY
===================================== */

/* =====================================
   7. SECTIONS & BLOCKS
===================================== */

.product-card--fit-height .product-card__image {
    height: auto !important;
    max-height: 550px !important;
}

/* زر السلايدر — نص فقط مع خط سفلي بدون أي تأثير */
.advanced-slider--0 .advanced-slider__caption__inner__content__button,
.advanced-slider--0 .advanced-slider__caption__inner__content__button:hover,
.advanced-slider--0 .advanced-slider__caption__inner__content__button:focus,
.advanced-slider--0 .advanced-slider__caption__inner__content__button:active {
    background: transparent !important;
    background-color: transparent !important;
    color: #111111 !important;
    border: none !important;
    border-bottom: 1px solid currentColor !important;
    border-radius: 0 !important;
    padding: 0 0 6px 0 !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
    translate: none !important;
    scale: none !important;
    rotate: none !important;
    opacity: 1 !important;
    transition: none !important;
    animation: none !important;
}

/* النص داخل الزر */
.advanced-slider--0 .advanced-slider__caption__inner__content__button span,
.advanced-slider--0 .advanced-slider__caption__inner__content__button:hover span,
.advanced-slider--0 .advanced-slider__caption__inner__content__button:focus span,
.advanced-slider--0 .advanced-slider__caption__inner__content__button:active span {
    color: inherit !important;
    background: transparent !important;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
    animation: none !important;
}

/* إلغاء أي عناصر وهمية ممكن تسوي تأثير هوفر */
.advanced-slider--0 .advanced-slider__caption__inner__content__button::before,
.advanced-slider--0 .advanced-slider__caption__inner__content__button::after,
.advanced-slider--0 .advanced-slider__caption__inner__content__button span::before,
.advanced-slider--0 .advanced-slider__caption__inner__content__button span::after {
    display: none !important;
    content: none !important;
    transition: none !important;
    animation: none !important;
}

/* طبقة بلور أسفل النص وفوق الفيديو */
.advanced-slider--0 .advanced-slider__slide {
    position: relative !important;
    overflow: hidden !important;
}

/* الفيديو في الخلف */
.advanced-slider--0 .advanced-slider__slide video {
    position: relative !important;
    z-index: 1 !important;
}

/* طبقة البلور */
.advanced-slider--0 .advanced-slider__slide::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    width: 100%;
    height: 55%;
    z-index: 2;
    pointer-events: none;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    mask-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.9) 5%,
        rgba(0, 0, 0, 0.55) 30%,
        rgba(0, 0, 0, 0.2) 40%,
        rgba(0, 0, 0, 0) 100%
    );

    -webkit-mask-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.9) 5%,
        rgba(0, 0, 0, 0.55) 30%,
        rgba(0, 0, 0, 0.2) 40%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* النص فوق طبقة البلور */
.advanced-slider--0 .advanced-slider__caption {
    position: absolute !important;
    z-index: 3 !important;
}
/* ===================================== */

.advanced-slider--0 .advanced-slider__slide {
  position: relative !important;
  overflow: hidden !important;
}

.advanced-slider--0 .advanced-slider__caption {
  position: absolute !important;
  inset: 0 !important;
}

@media (min-width: 640px) {
  .advanced-slider--0,
  .advanced-slider--0 .s-slider-container,
  .advanced-slider--0 .swiper,
  .advanced-slider--0 .swiper-wrapper,
  .advanced-slider--0 .advanced-slider__slide {
    width: 100% !important;
    height: min(90vh, 56.25vw) !important;
    max-height: 90vh !important;
  }

  .advanced-slider--0 .advanced-slider__image {
    width: 100% !important;
    height: 100% !important;
    max-height: 90vh !important;
    object-fit: cover !important;
    object-position: top center !important;
  }
}

@media (max-width: 639px) {
  .advanced-slider--0,
  .advanced-slider--0 .s-slider-container,
  .advanced-slider--0 .swiper,
  .advanced-slider--0 .swiper-wrapper,
  .advanced-slider--0 .advanced-slider__slide {
    width: 100% !important;
    height: auto !important;
    max-height: 90vh !important;
    min-height: 550px !important;
  }

  .advanced-slider--0 .advanced-slider__image {
    width: 100% !important;
    height: auto !important;
    max-height: 90vh !important;
    object-fit: cover !important;
    object-position: top center !important;
  }
}

.advanced-slider__caption {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  height: 100% !important;
}

.advanced-slider__caption .container {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  position: relative !important;
  overflow: hidden !important;
}

.advanced-slider__caption .container::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.03) !important;
  -webkit-backdrop-filter: blur(26px) !important;
  -webkit-mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.75) 35%,
    rgba(0, 0, 0, 0.35) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.75) 35%,
    rgba(0, 0, 0, 0.35) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}

.advanced-slider__caption__inner,
.advanced-slider__caption__inner--left {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  text-align: right !important;
}

.advanced-slider__caption__inner__content {
  position: relative !important;
  z-index: 2 !important;
  text-align: right !important;
  margin-right: 0 !important;
  margin-left: auto !important;
  margin-bottom: var(--space-2xl) !important;
  max-width: 420px !important;
}

.advanced-slider__caption__inner__content__heading {
  font-size: var(--text-hero) !important;
  line-height: var(--lh-hero) !important;
  font-weight: var(--fw-bold) !important;
  color: var(--store-text-primary) !important;
  margin-bottom: var(--space-sm) !important;
}

.advanced-slider__caption__inner__content__text {
  font-size: var(--text-body) !important;
  line-height: var(--lh-body) !important;
  font-weight: var(--fw-regular) !important;
  color: var(--store-text-primary) !important;
  margin: 0 !important;
}

/* جعل نصوص السلايدر الرئيسي باللون الأسود فقط */
.advanced-slider--0 .advanced-slider__caption,
.advanced-slider--0 .advanced-slider__caption * {
    color: #000000 !important;
}

/* الزر نص أسود مع خط أسود فقط */
.advanced-slider--0 .advanced-slider__caption__inner__content__button,
.advanced-slider--0 .advanced-slider__caption__inner__content__button:hover,
.advanced-slider--0 .advanced-slider__caption__inner__content__button:focus,
.advanced-slider--0 .advanced-slider__caption__inner__content__button:active {
    color: #000000 !important;
    background: transparent !important;
    background-color: transparent !important;
    border-bottom-color: #000000 !important;
}

@media (max-width: 767px) {
  .advanced-slider__caption__inner__content {
    max-width: 280px !important;
    margin-bottom: var(--space-xl) !important;
  }

  .advanced-slider__caption__inner__content__heading {
    font-size: var(--text-heading) !important;
    line-height: var(--lh-heading) !important;
  }

  .advanced-slider__caption__inner__content__text {
    font-size: var(--text-body) !important;
    line-height: var(--lh-body) !important;
  }
}

/* =====================================
   sections header + paragraph
===================================== */
/* =========================================
   CATEGORY CONTENT TEXT STYLE
   نصوص محتوى التصنيف فقط
========================================= */

/* بنر التصنيفات */
.cat-content-wrapper {
    display: flex;
    align-items: stretch;
}

.cat-content-wrapper--banner {
  display: flex;
  height: auto;
  min-height: 300px;
}

.cat-content-wrapper--banner .banner {
    width: 100%;
}

.cat-content-wrapper--banner img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}
/* بنر التصنيفات */

.cat-content.cats_style_1 .cat-content-wrapper--content {
    text-align: right !important;
}

/* العنوان - الكمبيوتر */
.cat-content.cats_style_1 .cat-content-wrapper--content .font-bold.text-xl {
    font-size: var(--text-hero) !important;
    line-height: var(--lh-hero) !important;
    font-weight: var(--fw-bold) !important;
    color: var(--store-text-primary, #191919) !important;
    margin-bottom: 12px !important;
}

/* النص - الكمبيوتر */
.cat-content.cats_style_1 .cat-content-wrapper--content .text-base {
    font-size: var(--text-body) !important;
    line-height: var(--lh-body) !important;
    font-weight: var(--fw-regular) !important;
    color: var(--store-text-secondary, rgba(25, 25, 25, 0.72)) !important;
    max-width: 760px !important;
}

/* الجوال */
@media (max-width: 768px) {
    .cat-content.cats_style_1 .cat-content-wrapper--content {
        margin-top: 14px !important;
        padding-right: 2px !important;
        padding-left: 2px !important;
    }

    /* العنوان - الجوال */
    .cat-content.cats_style_1 .cat-content-wrapper--content .font-bold.text-xl {
        font-size: var(--text-heading) !important;
        line-height: var(--lh-heading) !important;
        font-weight: var(--fw-bold) !important;
        margin-bottom: 8px !important;
    }

    /* النص - الجوال */
    .cat-content.cats_style_1 .cat-content-wrapper--content .text-base {
        font-size: var(--text-body) !important;
        line-height: var(--lh-body) !important;
        font-weight: var(--fw-regular) !important;
        max-width: 100% !important;
    }
}

.cats_style_3 {
  width: 100%;
}

.cats_style_3 .cat-content-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 35px;
  background-size: cover;
  background-position: center;
  text-align: right;
}

.cats_style_3 .cat-content-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
}

.cats_style_3 .content {
  position: relative;
  z-index: 2;
  color: var(--color-primary);
  width: 100%;
}

.cats_style_3 .text-2xl,
.cats_style_3 .md\:text-4xl,
.mb-3.text-2xl.md\:text-4xl.text-white.font-bold,
.s-slider-block__title h2,
.fit-slider-products h2,
.text-lg.text-center.font-bold.tracking-tight.sm\:text-2xl {
  font-size: var(--text-heading) !important;
  line-height: var(--lh-heading) !important;
  font-weight: var(--fw-bold) !important;
  color: var(--color-primary) !important;
  margin-bottom: var(--space-sm) !important;
  text-align: right !important;
}

.cats_style_3 .text-base,
.cats_style_3 .md\:text-xl,
.text-base.md\:text-xl.text-white.max-w-\[32rem\] {
  font-size: var(--text-body) !important;
  line-height: var(--lh-body) !important;
  font-weight: var(--fw-light) !important;
  color: var(--color-primary) !important;
  text-align: right !important;
}


/* about */

#about-1 h2,
#about-1 .text-2xl,
#about-1 .lg\:text-4xl {
  font-size: var(--text-hero) !important;
  font-weight: var(--fw-bold) !important;
  line-height: var(--lh-hero) !important;
}

#about-1 p,
#about-1 p.text-store-text-primary,
#about-1 .mb-5.text-store-text-primary {
  font-size: var(--text-body) !important;
  font-weight: var(--fw-regular) !important;
  line-height: var(--lh-body) !important;
}

#about-1 p.text-store-text-primary {
  margin: 0 auto !important;
  max-width: 600px;
}

#about-1 h3.text-lg {
  margin-bottom: var(--space-xs) !important;
}

#about-1 h2.text-2xl {
  margin-bottom: var(--space-sm) !important;
}

#about-1 p.text-store-text-primary,
#about-1.s-block {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#about-1.s-block {
  padding: 70px 47px !important;
}

#about-1 .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.s-block--fixed-banner.s-block--double-banner,
.s-block--fixed-banner .container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
#about-1 .flex {
  flex-direction: column !important;
  align-items: center !important;
}

#about-1 .md\:w-5\/12 {
  order: -1 !important;
  width: 100% !important;
  text-align: center !important;
  margin-bottom: 12px !important;
}

#about-1 .md\:w-5\/12 img {
  display: block !important;
  max-width: 15px !important;
  width: 15px !important;
  height: auto !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

#about-1 .md\:w-7\/12 {
  width: 100% !important;
  text-align: center !important;
}

/*  */

.double-banner--2 {
  margin-top: 0.5rem !important;
}

.banner--fixed img {
  border-radius: 0;
}

.square-links-1 .text-store-text-primary {
  font-size: var(--text-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
}

.square-links-1 .text-store-text-secondary {
  margin: 0;
}

.index .s-block.s-block--square-links.square-links-1 {
  margin-top: var(--radius-lg);
}

.index .s-block.s-block--square-links.square-links-1 .carousel-slider .swiper-wrapper > div {
  padding-left: var(--radius-lg) !important;
  padding-right: 0 !important;
}

.index .s-block.s-block--square-links.square-links-1 .carousel-slider .swiper {
  padding-right: 0;
}

.index .s-block.s-block--square-links.square-links-1 .rounded-2xl {
  border-radius: 0;
  height: 180px;
}

.index .s-block.s-block--square-links.square-links-1 salla-slider .slide--one-sixth {
  width: 25%;
}

.index .s-block.s-block--square-links.square-links-1 .mt-6 {
  color: var(--ui-black);
  margin-top: 0;
  padding: 3px 0;
  background: var(--header-bg);
}

.index .s-block.s-block--square-links.square-links-1 .swiper:where([dir="rtl"], [dir="rtl"] *) {
  padding-left: 0;
}

.index .s-block--tabs-produtcs .tabs {
  justify-content: center;
  border: none;
  margin-bottom: var(--space-md);
}

.index .s-block--tabs-produtcs .tabs .s-button-text {
  font-size: var(--text-label) !important;
  font-weight: var(--fw-bold) !important;
  line-height: var(--lh-body) !important;
  color: var(--store-text-primary);
}

.index .s-block--tabs-produtcs .tabs .tab-trigger {
  border: none;
}


/* ========================================
   MLEHA REVIEWS 
======================================== */

/* =========================================================
   MLEHA REVIEWS — UPDATED LAYOUT FIXED
========================================================= */

section.s-block--custom-reviews {
  background: transparent !important;
  padding: 36px 0 !important;
  position: relative;
}

section.s-block--custom-reviews .container {
  max-width: 1440px !important;
  padding-right: 30px !important;
  padding-left: 30px !important;
}

section.s-block--custom-reviews .reviews-slider,
section.s-block--custom-reviews .swiper,
section.s-block--custom-reviews .swiper-wrapper {
  overflow: visible !important;
}

section.s-block--custom-reviews .swiper-wrapper {
  align-items: stretch !important;
}

section.s-block--custom-reviews .review.swiper-slide {
  height: auto !important;
  position: relative !important;
  padding: 0 14px !important;
  width: 20% !important;
}

section.s-block--custom-reviews .review.swiper-slide > div {
  position: relative !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 6px 20px !important;
  min-height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: right !important;
}

section.s-block--custom-reviews .review.swiper-slide > div::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: -1px;
  width: 1px;
  background: rgba(157, 61, 56, 0.35);
}

section.s-block--custom-reviews .review.swiper-slide:last-child > div::after {
  display: none;
}

section.s-block--custom-reviews .review .flex.items-center.mt-6 > img,
section.s-block--custom-reviews .review .flex.items-center.mt-6 img.object-cover,
section.s-block--custom-reviews .review .w-14.h-14.rounded-full {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

section.s-block--custom-reviews .sicon-quote {
  display: none !important;
}

/* الحاوية الخارجية للهوية */
section.s-block--custom-reviews .flex.items-center.mt-6 {
  order: 1 !important;
  margin: 0 0 30px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  width: 100% !important;
  display: block !important;
}

/* الحاوية الداخلية التي بداخلها الاسم والنجوم */
section.s-block--custom-reviews .flex.items-center.mt-6 .mx-2 {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 15px !important;
  margin: 0 !important;
  width: 100% !important;
  text-align: right !important;
}

/* النجوم بالأعلى */
section.s-block--custom-reviews .comment__rating {
  order: 1 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 2px !important;
  width: 100% !important;
}

section.s-block--custom-reviews .comment__rating i {
  font-size: 11px !important;
  color: #a94740 !important;
}

/* الاسم + المدينة تحت النجوم */
section.s-block--custom-reviews h4 {
  order: 2 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  gap: 15px !important;
  flex-wrap: nowrap !important;
  text-align: right !important;
  width: 100% !important;
}

section.s-block--custom-reviews .review-name {
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: var(--store-text-primary) !important;
}

section.s-block--custom-reviews .review-city {
  font-size: 10px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  color: var(--store-text-secondary) !important;
  padding: 0 !important;
}

section.s-block--custom-reviews .review-city::before {
  display: none !important;
}

/* التعليق */
section.s-block--custom-reviews #item-text {
  order: 2 !important;
  margin: 0 !important;
  width: 100% !important;
}

section.s-block--custom-reviews #item-text p {
  margin: 0 !important;
  max-width: 220px !important;
  font-size: 13px !important;
  line-height: 1.75 !important;
  font-weight: 400 !important;
  text-align: right !important;
  color: var(--store-text-primary) !important;
}

section.s-block--custom-reviews .mx-2 {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

section.s-block--custom-reviews .-mx-2 {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

@media (max-width: 1024px) {
  section.s-block--custom-reviews {
    padding: 28px 0 !important;
  }

  section.s-block--custom-reviews .container {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  section.s-block--custom-reviews .review.swiper-slide {
    width: 60% !important;
    padding: 0 10px !important;
  }

  section.s-block--custom-reviews .review.swiper-slide > div {
    padding: 6px 14px !important;
  }

  section.s-block--custom-reviews .review-name {
    font-size: 15px !important;
  }

  section.s-block--custom-reviews .review-city {
    font-size: 10px !important;
  }

  section.s-block--custom-reviews #item-text p {
    font-size: 13px !important;
    max-width: 100% !important;
  }
}

/* ========================================
   MLEHA REVIEWS 
======================================== */

/* ========================================
   8. BLOG & POSTS
======================================== */
#block-blog-5 .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 15px;
}

#block-blog-5 .post-entry {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  transition: none !important;
  border-radius: 0 !important;
}

#block-blog-5 .post-entry__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
}

#block-blog-5 .post-entry__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#block-blog-5 .post-entry__image:hover,
#block-blog-5 .post-entry:hover {
  opacity: 1 !important;
}

#block-blog-5 .post-entry .flex-1 {
  text-align: center;
}

#block-blog-5 .post-entry a.flex.items-center.justify-start {
  justify-content: center !important;
  text-align: center;
}

#block-blog-5 .home-block-title h2 {
  font-size: var(--text-hero) !important;
  line-height: var(--lh-hero) !important;
  font-weight: var(--fw-bold) !important;
}

@media (max-width: 1024px) {
  #block-blog-5 .home-block-title h2 {
    font-size: var(--text-heading) !important;
    line-height: var(--lh-heading) !important;
  }
}

#block-blog-5 .post-entry__title {
  font-size: var(--text-label) !important;
  font-weight: var(--fw-bold) !important;
  line-height: var(--lh-label) !important;
}

#block-blog-5 .post-entry p {
  font-size: var(--text-label) !important;
  font-weight: var(--fw-regular) !important;
  line-height: 22px !important;
}

.image-gallery {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--radius-lg);
}

.image-gallery img {
  width: 23%;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}


/* =====================================
   9. PROMOTION BANNER & ANIMATED TEXT
===================================== */
.promotion-banner ul li a,
.animated-text ul li a,
section.animated-text .animated-text__inner a {
  font-size: var(--text-label) !important;
  font-weight: var(--fw-bold) !important;
  line-height: var(--lh-label) !important;
}

.promotion-banner,
.animated-text {
  padding: 0;
}

.promotion-title {
  background-color: var(--color-primary) !important;
  top: 0;
}

section.animated-text {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

section.animated-text,
section.animated-text * {
  animation: none !important;
  transition: none !important;
}

section.animated-text .animated-text__inner {
  width: 100%;
}

section.animated-text .animated-text__inner ul {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  text-align: center;
}

section.animated-text .animated-text__inner li {
  display: none;
  max-width: 100%;
  text-align: center;
  padding: var(--space-sm) var(--space-lg);
}

section.animated-text .animated-text__inner li:first-child {
  display: block;
}

section.animated-text .animated-text__inner a {
  display: block;
  color: var(--ui-white);
  text-align: center;
  white-space: normal;
  word-break: break-word;
}


/* =====================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
  MLEHA — Products grid layout
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
======================================== */

@media (min-width: 1025px) {
  .s-products-list-wrapper {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}




/* =====================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
  MLEHA — Product Page Video Fix
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
======================================== */

/* الشريحة الرئيسية للفيديو - نفس نسبة الصور العمودية */
.swiper-slide.video-entry {
  aspect-ratio: 9 / 16 !important;
  height: auto !important;
}

.swiper-slide.video-entry img {
  height: 100% !important;
  object-fit: cover !important;
  width: 100% !important;
}

/* ثامب الفيديو - نفس ارتفاع الثامبات الأخرى */
.slide--one-fourth.video-entry {
  height: 80px !important;
  max-height: 80px !important;
}

.slide--one-fourth.video-entry img {
  height: 80px !important;
  width: 100% !important;
  object-fit: cover !important;
}



/* =====================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
  MLEHA — Videos Gallery Section
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
======================================== */

/* ─── عنوان القسم ─── */
.s-block--videos-gallery .home-block-title h2 {
  font-size: var(--text-hero) !important;
  line-height: var(--lh-hero) !important;
  font-weight: var(--fw-bold) !important;
  letter-spacing: normal !important;
}
@media (max-width: 1024px) {
  .s-block--videos-gallery .home-block-title h2 {
    font-size: var(--text-heading) !important;
    line-height: var(--lh-heading) !important;
  }
}

/* ─── إخفاء الشكل الديكوري تحت العنوان ─── */
.s-block--videos-gallery .enhanced-title-border,
.s-block--videos-gallery .home-block-line {
  display: none !important;
}

/* ─── تقليل الفراغ فوق نقاط السلايدر بوضع الفتح ─── */
.s-block--videos-gallery .swiper-wrapper {
  padding-bottom: 24px !important;
}

/* ─── حاوية القص ─── */
.s-block--videos-gallery .vg-clip {
  position: relative;
  overflow: hidden;
  will-change: height;
}

/* أنيميشن خفيف على محتوى السلايدر عند الفتح/الإغلاق */
.s-block--videos-gallery .vg-clip > .videos-gallery-container {
  transition: transform 780ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 780ms cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top center;
}
.s-block--videos-gallery.vg-closed .vg-clip > .videos-gallery-container {
  transform: translateY(-4px) scale(0.99);
  opacity: 0.95;
}
.s-block--videos-gallery.vg-animating .vg-clip > .videos-gallery-container,
.s-block--videos-gallery:not(.vg-closed) .vg-clip > .videos-gallery-container {
  transform: none;
  opacity: 1;
}

/* ─── طبقة البلور — مستقلة، تتحرك بـ backdrop-filter ─── */
.s-block--videos-gallery .vg-blur {
  position: absolute; inset: 0; z-index: 9; pointer-events: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: backdrop-filter 700ms cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-backdrop-filter 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.s-block--videos-gallery.vg-closed .vg-blur {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* ─── طبقة التغطية (تدرّج + زر الفتح) ─── */
.s-block--videos-gallery .vg-fade {
  position: absolute; inset: 0; z-index: 10;
  display: flex; align-items: flex-end; justify-content: center;
  transition: opacity 500ms ease;
}
.s-block--videos-gallery:not(.vg-closed) .vg-fade {
  opacity: 0;
  pointer-events: none;
}

/* تدرّج أبيض من شفاف إلى معتم */
.s-block--videos-gallery .vg-tint {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(250,250,250,0) 0%,
    rgba(250,250,250,1) 100%);
}

/* ─── الأزرار ─── */
.s-block--videos-gallery .vg-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: #7B3432; color: #fff; border: none;
  border-radius: 12px; padding: 12px 22px;
  font-size: 12px; font-weight: 400; font-family: inherit;
  cursor: pointer; direction: rtl;
  transition: background 0.25s ease, transform 0.25s ease;
}
.s-block--videos-gallery .vg-btn:hover { background: #9d3d38; transform: translateY(-1px); }
.s-block--videos-gallery .vg-btn:active { transform: translateY(0) scale(0.97); }

.s-block--videos-gallery .vg-fade .vg-btn {
  position: relative; z-index: 2;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.s-block--videos-gallery:not(.vg-closed) .vg-fade .vg-btn {
  transform: translateY(8px) scale(0.96);
  opacity: 0;
}

/* ─── زر الإغلاق أسفل السلايدر ─── */
.s-block--videos-gallery .vg-btn-bottom {
  display: flex; justify-content: center; overflow: hidden;
  transition: max-height 780ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 624ms ease,
              padding 780ms cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 80px; opacity: 1; padding: 16px 0 4px;
}
.s-block--videos-gallery.vg-closed .vg-btn-bottom {
  max-height: 0; opacity: 0; padding: 0;
}







/* ######################################################################
   PRODUCT SLIDER
   ###################################################################### */

/* =====================================
   PRODUCT SLIDER - PRE-INITIALIZATION
   Hide Salla's original gallery until the custom product slider replaces it.
   Visibility preserves the gallery space and prevents a layout jump.
===================================== */
body.product-single .details-slider.s-slider-wrapper:not(.ps-inj) {
  visibility: hidden !important;
}

body.product-single .details-slider.s-slider-wrapper.ps-pending:not(.ps-inj) {
  visibility: hidden !important;
}

body.product-single .details-slider.s-slider-wrapper.ps-inj {
  visibility: visible !important;
}


/* ######################################################################
   PRODUCT PAGE
   ###################################################################### */

/* =====================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
  MLEHA — Product Page
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
======================================== */

/* =====================================
   1. PRODUCT PAGE HIDDEN ELEMENTS
===================================== */

.product-card__addToCart,
.product-card__enhanced-mini-cart,
.product-options,
.product-single__inner .flex.flex-col.space-y-5.mb-5,
.product-single__discounted-amount,
.inventory-content,
.s-add-product-button-main i,
.sticky-product-bar__quantity label,
.s-social-share-btn.s-button-wrap.hydrated,
.product-single .btn--wishlist.animated,
.special-product .flex.justify-center,
.s-product-options-option-label small,
.store-footer__curve,
.product-single .breadcrumbs {
  display: none !important;
}

.sticky-product-bar > div.border-b-\[1px\]
Specificity: (0,2,1)
 {
    border-bottom: none !important;
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

.rtl\:space-x-reverse:where([dir=rtl],[dir=rtl] *)>:not([hidden])~:not([hidden]) {
    --tw-space-x-reverse: 1;
    font-size: 10px !important;
    font-weight: 300 !important;
}

/* =====================================
   2. PRODUCT SINGLE PAGE
===================================== */

.s-product-options-wrapper {
    margin-bottom: 0px !important;
    padding: 0px !important;
}

.s-product-options-option-label,
.s-product-options-option-label b,
.s-product-options-option-label span,
label.s-product-options-option-label {
  text-align: right !important;
  font-size: var(--text-label) !important;
  font-weight: var(--fw-bold) !important;
  line-height: 26px !important;
}

.s-product-options-option-label {
  width: 100% !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  direction: rtl !important;
  gap: 4px !important;
  text-align: right !important;
}

.product-single .s-product-options-option:has(.mleha-size-heading) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas:
    "heading"
    "choices" !important;
  row-gap: 14px !important;
  width: 100% !important;
}

.product-single .s-product-options-option-label.mleha-size-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-area: heading;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  margin-bottom: 14px !important;
  direction: rtl !important;
  text-align: right !important;
}

.product-single .mleha-size-heading #mlhcTrigger {
  width: auto !important;
  min-height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-self: end !important;
}

.product-single .s-product-options-option:has(.mleha-size-heading) .s-product-options-option-content {
  display: block !important;
  grid-area: choices;
  width: 100% !important;
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  .s-product-options-option-label {
    justify-content: center !important;
    text-align: center !important;
  }
}

.s-product-options-option {
  margin-top: 20px !important;
}

.center-between.pb-5.mb-5.border-b-\[1px\] {
  padding-bottom: 3px !important;
  margin-bottom: 3px !important;
  padding: 0 !important;
}

.pb-5 mb-5 border-b-[1px] {
  margin-top: 10px !important;
  margin-bottom: 0px !important;
  padding: 0 !important;
  background: transparent !important;
}

.mleha-weight-under-model.mleha-weight-under-model {
  margin-top: 5px !important;
  margin-bottom: 14px !important;
  padding: 0 !important;
  background: transparent !important;
}

.mleha-weight-under-model .center-between {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 10px !important;
}

.viewers-border {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.mleha-icons-under-viewers.mleha-icons-under-viewers {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}

/* أيقونات المشاركة — لون رصاصي فاتح بدل الأسود، مع هوفر سلس بدون ظل */
.mleha-icons-under-viewers .s-social-share-btn,
.mleha-icons-under-viewers .s-social-share-list a {
  background-color: #c2c2c2 !important;
  border-color: #c2c2c2 !important;
  box-shadow: none !important;
  transition: background-color 0.3s ease, border-color 0.3s ease !important;
}

.mleha-icons-under-viewers .s-social-share-btn:hover,
.mleha-icons-under-viewers .s-social-share-list a:hover {
  background-color: #9D3D38 !important;
  border-color: #9D3D38 !important;
  box-shadow: none !important;
}

/* الأيقونة نفسها تبقى بيضاء دائمًا، حتى أثناء الهوفر */
.mleha-icons-under-viewers .s-social-share-list a svg,
.mleha-icons-under-viewers .s-social-share-list a:hover svg,
.mleha-icons-under-viewers .s-social-share-btn svg,
.mleha-icons-under-viewers .s-social-share-btn:hover svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}

/* إزالة الفراغ الداخلي الموروث من زر المشاركة المخفي، عشان تتساوى المسافة فوق وتحت */
.mleha-icons-under-viewers .s-social-share-list {
  margin-top: 0 !important;
}

.mleha-icons-under-viewers salla-social-share {
  margin-top: 0 !important;
}

/* إزالة الهامش السفلي الموروث من ودجت tabby، عشان ما تتضاعف المسافة فوق الأيقونات */
salla-installment.mleha-payment-moved > div:last-child {
  margin-bottom: 0 !important;
}

/* إزالة الحشو السفلي لعمود معلومات المنتج، عشان ما تنضاف مسافة إضافية تحت الأيقونات */
.product-single__info {
  padding-bottom: 0 !important;
}

@media (max-width: 768px) {
  .mleha-icons-under-viewers.mleha-icons-under-viewers {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
  }

  /* إزالة الهامش العلوي الفارغ لزر الطلب السريع (يظهر بالجوال فقط) عشان ما تزيد المسافة تحت الأيقونات */
  .product-single__info > salla-quick-order {
    margin-top: 0 !important;
  }
}

.mleha-icons-under-viewers > div {
  margin-right: 0 !important;
  margin-left: 0 !important;
  margin-inline: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.product-single .product-single__info {
  text-align: center;
  place-items: center;
  display: flex;
  flex-direction: column;
  margin-top: 0;
  border: none !important;
  border-radius: var(--radius-lg);
  padding: 30px var(--radius-lg) 15px;
  background-color: #FAFAFA !important;
  box-shadow: none !important;
}

.product-single .product-single__info > :first-child {
  order: 1;
}

.product-single salla-slider {
  padding: var(--space-lg);
}

.product-single salla-slider img {
  border-radius: var(--radius-md) !important;
}

.s-slider-vertical .s-slider-thumbs-container .swiper-slide {
  height: auto;
  border-radius: 3px;
}

/* نقاط السلايدر (pagination) — تكون واضحة بدل ما تختفي بلون الخلفية */
.product-single__main-media .swiper-pagination-bullet {
  opacity: 1 !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
}

.product-single__main-media .swiper-pagination-bullet-active {
  background-color: #9d3d38 !important;
  border-color: #9d3d38 !important;
}

.product-single h1,
.product-single h1.text-xl,
.product-single h1.text-xl.md\:text-2xl {
  font-size: var(--lh-hero) !important;
  font-weight: var(--fw-bold) !important;
  line-height: 30px !important;
}

.product-single small,
.product-single .text-store-text-secondary.mb-3.block {
  font-size: 12px !important;
  font-weight: var(--fw-regular) !important;
  line-height: 18px !important;
}

.product-single__discounted-amount,
.product-single .product-count-sale {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.product-single__discounted-amount path:first-of-type,
.product-single .product-count-sale svg path:first-of-type {
  fill: var(--color-primary) !important;
}

.product-single .product-single__info .product-price-top,
.product-single .product-single__info > small.text-store-text-secondary.mb-3.block {
  display: none !important;
}

.form.product-form .bg-storeBG.p-5.rounded-md {
  padding: 6px 0;
  margin-bottom: 0;
}

.s-product-options-grid-mode {
  justify-content: center;
}

.s-product-options-grid-mode-span,
.product-single .s-product-options-grid-mode-span {
  font-size: 12px !important;
  font-weight: var(--fw-bold) !important;
  line-height: 16px !important;
}

.s-product-options-disabled .s-product-options-grid-mode-span {
  position: relative;
  color: var(--store-text-secondary) !important;
  direction: rtl;
  white-space: nowrap;
  overflow: hidden;
}

.s-product-options-disabled .s-product-options-grid-mode-span:lang(ar) {
  unicode-bidi: plaintext;
}

.s-product-options-disabled .s-product-options-grid-mode-span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    transparent 48%,
    var(--color-primary) 50%,
    transparent 52%
  );
  pointer-events: none;
}

.product-weight,
.text-sm.text-primary.underline,
.text-sm.text-store-text-secondary,
.product-single .text-sm,
.product-single a.text-sm {
  font-size: var(--text-label) !important;
  font-weight: var(--fw-regular) !important;
  line-height: var(--lh-label) !important;
}

.product-single b,
.product-single .text-store-text-primary,
.product-single label.text-store-text-primary,
.product-single .center-between b {
  font-size: var(--text-price) !important;
  font-weight: var(--fw-bold) !important;
  line-height: var(--lh-label) !important;
}

/* رقم الموديل والوزن — حجم الخط 10px ولون أسود (specificity مضاعفة لتغلب على القواعد المنافسة) */
.product-sku-wrapper.product-sku-wrapper b.text-store-text-primary,
.product-sku-wrapper.product-sku-wrapper span.text-store-text-primary,
.product-sku-wrapper.product-sku-wrapper .product-sku,
.mleha-weight-under-model.mleha-weight-under-model b.text-store-text-primary,
.mleha-weight-under-model.mleha-weight-under-model span.text-store-text-primary,
.mleha-weight-under-model.mleha-weight-under-model .product-weight {
  font-size: 10px !important;
  color: #000000 !important;
  font-weight: var(--fw-regular) !important;
}

.s-add-product-button-main .s-add-product-button-mini-checkout {
    --salla-fast-checkout-button-height: 32px;
}

.s-add-product-button-main:not(.w-full) > salla-button {
  width: 100% !important;
}

.s-add-product-button-with-quick-buy:not(.s-add-product-button-with-apple-pay)
  .s-add-product-button-main {
  flex-direction: column;
}

.s-add-product-button-main .s-add-product-button-mini-checkout {
  width: 100%;
  margin-top: 15px;
  --salla-fast-checkout-button-height: 40px;
}

.s-add-product-button-mini-checkout-content,
.s-add-product-button-main button,
.s-add-product-button-main .s-button-text {
  font-size: var(--text-label) !important;
  font-weight: var(--fw-bold) !important;
}

.s-add-product-button-mini-checkout-content,
.s-add-product-button-main .s-button-text {
  color: var(--ui-white);
}

.s-add-product-button-main,
.s-add-product-button-main salla-button,
.s-add-product-button-main salla-button button,
.s-add-product-button-main salla-mini-checkout-widget {
  width: 100% !important;
  display: block !important;
}

.s-add-product-button-main salla-button button {
  border: none !important;
  border-radius: var(--radius-md) !important;
  min-width: 100% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  direction: rtl;
  height: 40px;
}

.s-add-product-button-main salla-button button .flex.items-center.gap-2\.5 {
  margin: 0 auto;
  text-align: center;
  justify-content: center !important;
}

.s-add-product-button-main salla-mini-checkout-widget {
  display: flex;
  justify-content: center;
  text-align: center;
}

.s-add-product-button-main salla-mini-checkout-widget button {
  border: none !important;
  border-radius: var(--radius-md) !important;
  text-align: center;
}

.s-fast-checkout-button,
.s-add-product-button-main .s-fast-checkout-button.outline,
.s-add-product-button-main .s-fast-checkout-button.rtl {
  border: 0px !important;
}

.s-fast-checkout-button,
.s-fast-checkout-button button,
.s-add-product-button-mini-checkout,
salla-mini-checkout-widget {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

salla-mini-checkout-widget {
  border-radius: var(--radius-lg);
  background: var(--ui-dark);
}

.sticky-product-bar {
  padding: 0 !important;
}

.sticky-product-bar,
.sticky-product-bar * {
  border: none !important;
  box-shadow: none !important;
}

.sticky-product-bar > div.border-b-\[1px\] {
  border-bottom: none !important;
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}

.sticky-product-bar__quantity {
  flex-direction: column;
}

.sticky-product-bar button:nth-of-type(3) {
  border-radius: var(--radius-md);
}

.product-single .sticky-product-bar salla-add-product-button salla-button .s-button-btn {
  border-radius: var(--radius-md) !important;
}

.product-single__inner .s-quantity-input-input {
  width: 100%;
}

.product-single .product-single__info button.s-social-share-btn,
.product-single .product-single__info button.btn--wishlist {
  background-color: var(--ui-dark);
  color: var(--ui-white);
  border-radius: var(--radius-full) !important;
}

.s-social-share-list {
  position: initial;
  display: flex;
  flex-direction: row;
  transform: translateY(0) !important;
  opacity: 1 !important;
  height: auto !important;
  background-color: transparent;
  box-shadow: none;
  gap: var(--radius-lg);
  margin-top: var(--space-lg);
}

.s-social-share-list a {
  padding: 0.4rem;
  background: var(--ui-dark);
  border-radius: var(--radius-full);
}

.s-social-share-list a svg {
  fill: var(--ui-white);
}

salla-social-share {
  margin-top: var(--radius-lg);
}

.s-add-product-button-main salla-button button,
.s-add-product-button-main salla-mini-checkout-widget button,
.sticky-product-bar button:nth-of-type(3),
.product-single .sticky-product-bar salla-add-product-button salla-button .s-button-btn,
.product-single__inner .btn-tab,
.product-single__inner .s-button-btn,
.product-single__inner .s-quantity-input-container,
.product-single__inner .s-quick-order-container,
.product-single__inner .s-form-control,
.product-single__inner .s-product-options-thumbnails-wrapper label,
.product-single__inner .s-button-icon,
.product-single__inner .s-social-share-list,
.product-single__inner .s-comment-form-input {
  border-radius: var(--radius-md) !important;
}

#product-form {
  display: flex;
  flex-direction: column;
  width: 90%;
}
@media (max-width: 1024px) {
#product-form {
  width: auto;
}
}

.product-single .s-block--tabs-produtcs .tab-trigger button,
.product-single .s-block--tabs-produtcs .tab-trigger,
.product-single .s-block--tabs-produtcs .tab-trigger .s-button-text,
.index .s-block--tabs-produtcs .tabs .s-button-text {
  font-size: var(--text-label) !important;
  font-weight: var(--fw-bold) !important;
  line-height: var(--lh-body) !important;
}

.product-single .s-block--tabs-produtcs .tab-trigger button {
  border-radius: 0;
}

.s-block--tabs-produtcs .tabs {
  justify-content: right;
  padding: 0;
}

.tabs-wrapper p,
.tabs__item p,
.product-single .tabs-wrapper p,
.product-single .tabs__item p {
  font-size: var(--text-body) !important;
  font-weight: var(--fw-regular) !important;
  line-height: var(--lh-body) !important;
}


/* =====================================
   3. PRODUCT PAGE UTILITIES
===================================== */

.viewers-border {
  background: var(--ui-bg-soft);
  padding: var(--radius-lg) var(--space-xl);
  color: var(--store-text-secondary);
  font-size: var(--text-label) !important;
  font-weight: var(--fw-bold) !important;
  line-height: var(--lh-body) !important;
  text-align: center;
  width: 100%;
  margin: var(--space-xl) auto;
  border-radius: var(--radius-lg);
}

.viewers-border span {
  color: var(--ui-black);
  font-size: var(--text-label) !important;
  font-weight: var(--fw-bold) !important;
  margin-left: 5px;
}

.eye-icon {
  display: inline-block;
  width: var(--text-price);
  height: var(--text-price);
  vertical-align: middle;
  margin-left: 5px;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.text-primary,
.text-red-500,
.text-red-400,
.text-\[\#f11e1e\] {
  color: var(--color-primary) !important;
}

.s-button-primary {
  color: var(--ui-white);
}

.s-button-danger {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
}

label.hidden.sm\:block,
select.form-input,
form select,
.form-input,
.s-button-element,
.s-button-text {
  font-size: var(--text-label) !important;
  font-weight: var(--fw-regular) !important;
  line-height: var(--lh-label) !important;
}

salla-slider[type]:not(.hydrated) > div:where([dir="rtl"], [dir="rtl"] *),
salla-slider[type]:not(.hydrated) .swiper > div > div:where([dir="rtl"], [dir="rtl"] *),
.carousel-slider .swiper:where([dir="rtl"], [dir="rtl"] *) {
  padding-left: 5px;
}


/* =====================================
   5. URGENCY & PAYMENT BANNERS (FIGMA)
===================================== */

/* بانر "قارب على النفاذ" */
.mleha-low-stock-banner {
  background: #f8eee5;
  border-radius: var(--radius-lg);
  padding: 8px 15px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
  margin: var(--space-sm) 0;
}

.mleha-low-stock-banner .mleha-low-stock-text {
  font-size: var(--text-overline);
  font-weight: var(--fw-regular);
  color: var(--ui-black);
  line-height: 1.2;
  text-align: right;
}

.mleha-low-stock-banner .mleha-fire-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}


/* نص تفاصيل المنتج */
#single-product-details p {
  font-size: 16px !important;
  line-height: 26px !important;
}

/* =====================================
   4. PRODUCT PAGE RESPONSIVE
===================================== */

@media (max-width: 991px) {
  .product-single .scroll-to-top,
  .product-single .wa-selia {
    bottom: 90px;
  }

  [dir="rtl"] .s-slider-vertical .s-slider-thumbs-container {
    margin-right: var(--radius-lg);
    padding-left: 38px;
  }

  .product-card__title a {
    margin: 0;
    font-size: var(--text-label) !important;
    line-height: var(--lh-label) !important;
  }
}

@media (max-width: 768px) {
  .product-single__inner salla-quantity-input {
    width: 100% !important;
    display: block !important;
  }

  .product-single__inner .s-quantity-input-container {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 0.5rem;
  }

  .product-single__inner .s-quantity-input-button {
    flex: 1 1 0%;
    padding: 0 var(--radius-lg);
  }

  .product-single__inner .s-quantity-input-input {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: none !important;
    border-width: 0;
  }

  .product-single salla-slider {
    padding: 0 var(--space-lg);
  }

  .product-single__main-media {
    margin-top: var(--space-lg);
  }

  .product-card__title a,
  .main-nav-container .root-level a,
  .main-nav-container .root-level span,
  .s-add-product-button-main .s-button-text,
  .s-add-product-button-mini-checkout-content {
    font-size: var(--text-label) !important;
  }

  .total-price,
  .product-card__price .total-price,
  .product-single .total-price,
  h2.total-price {
    font-size: var(--text-price) !important;
    line-height: var(--lh-price) !important;
  }
}

@media (max-width: 767px) {
  .product-card__price .total-price,
  .product-card__price .starting-or-normal-price,
  .product-card__price .before-price {
    font-size: var(--text-label) !important;
  }
}

@media (max-width: 640px) {
  .product-card__content {
    position: relative !important;
    background: none !important;
    padding: var(--space-sm) 6px var(--radius-lg) !important;
    text-align: right !important;
    direction: rtl;
  }

  .product-card__title a {
    font-size: var(--text-label) !important;
    line-height: var(--lh-label) !important;
  }

  .product-card__price {
    font-size: var(--text-label) !important;
    margin-top: 2px;
  }

  .product-card__price .before-price,
  .product-card__price .starting-or-normal-price {
    font-size: var(--text-label) !important;
    line-height: var(--lh-label) !important;
  }

  .product-card__price .total-price {
    font-size: var(--text-price) !important;
    line-height: var(--lh-price) !important;
  }

  salla-product-options,
  .sticky-product-bar {
    min-width: 90vw;
  }

  .is-sticky-product-bar.product-single {
    padding-bottom: 11rem;
  }
}

/* =====================================
   6. PRODUCT PAGE VIDEO FIX
===================================== */

/* الشريحة الرئيسية للفيديو - نفس نسبة الصور العمودية */
.swiper-slide.video-entry {
  aspect-ratio: 9 / 16 !important;
  height: auto !important;
}

.swiper-slide.video-entry img {
  height: 100% !important;
  object-fit: cover !important;
  width: 100% !important;
}

/* ثامب الفيديو - نفس ارتفاع الثامبات الأخرى */
.slide--one-fourth.video-entry {
  height: 80px !important;
  max-height: 80px !important;
}

.slide--one-fourth.video-entry img {
  height: 80px !important;
  width: 100% !important;
  object-fit: cover !important;
}

/* =====================================
   7. SIZE CHART NOTICE BANNER
===================================== */

.mleha-size-chart-notice {
  background: var(--ui-bg-soft);
  border-radius: var(--radius-lg);
  padding: 8px 15px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: var(--space-sm) 0;
}

.mleha-size-chart-notice .mleha-size-chart-text {
  font-size: var(--text-overline);
  font-weight: var(--fw-regular);
  color: var(--ui-black);
  line-height: 1.2;
  text-align: center;
}

.mleha-size-chart-notice .mleha-ruler-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Purchase actions: one row on desktop, stacked on mobile. */
.product-single .s-add-product-button-main > salla-button,
.product-single .s-add-product-button-main > salla-mini-checkout-widget {
  width: 100% !important;
  margin: 0 !important;
}

@media (min-width: 769px) {
  .product-single .s-add-product-button-main {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
}

@media (max-width: 768px) {
  .product-single .s-add-product-button-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
}






/* ######################################################################
   SIZE & FIT TOOLS
   ###################################################################### */

/* =====================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
  MLEHA — Size Calculator Styles
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
===================================== */

:root{
--wine:#9d3d38;
--wine-dk:#7d2f2b;
--cream:#eeddc7;
--beige:#eee2d4;
--beige-s:#f8f0e8;
--beige-m:#e5d4c0;
--brown:#452e1e;
--ink:#262626;
--line:#ddd0c4;
--muted:#8a7f74;
--ok:#2f7d5b;
--bad:#b03a3a
}

/* ── Trigger button ── */
#mlhcTrigger{
display:inline-flex;
align-items:center;
gap:7px;
background:none;
border:1.5px solid #9d3d38;
color:#9d3d38;
border-radius:8px;
padding:8px 16px;
font-size:13.5px;
font-weight:700;
cursor:pointer;
font-family:'Zain',-apple-system,sans-serif;
transition:all .2s;
margin-top:10px
}
#mlhcTrigger:hover{
background:#9d3d38;
color:#fff
}
#mlhcTrigger svg{
width:16px;
height:16px;
flex-shrink:0
}

/* ── Overlay ── */
.mlhc-ov{
display:none;
position:fixed;
inset:0;
background:rgba(0,0,0,.45);
z-index:99998;
opacity:0;
transition:opacity .3s
}
.mlhc-ov.open{
display:block;
opacity:1
}

/* ── Drawer base ── */
.mlhc-drawer{
position:fixed;
z-index:99999;
background:#fafafa;
display:flex;
flex-direction:column;
font-family:'Zain',-apple-system,BlinkMacSystemFont,sans-serif;
direction:rtl;
-webkit-font-smoothing:antialiased;
transition:transform .35s cubic-bezier(.32,0,.67,0)
}

/* ── Desktop: from LEFT ── */
@media(min-width:700px){
.mlhc-drawer{
top:0;
left:0;
height:100vh;
width:440px;
border-radius:0 16px 16px 0;
transform:translateX(-100%);
box-shadow:4px 0 30px rgba(0,0,0,.15)
}
.mlhc-drawer.open{
transform:translateX(0)
}
}

/* ── Mobile: from BOTTOM 90% ── */
@media(max-width:699px){
.mlhc-drawer{
bottom:0;
left:0;
right:0;
height:90vh;
border-radius:18px 18px 0 0;
transform:translateY(100%);
box-shadow:0 -4px 30px rgba(0,0,0,.15)
}
.mlhc-drawer.open{
transform:translateY(0)
}
}

/* ── Drawer header ── */
.mlhc-dh{
background:linear-gradient(160deg,#e8d8c4,#eee2d4);
padding:20px 20px 16px;
border-bottom:1.5px solid #ddd0c4;
flex-shrink:0;
position:relative
}
.mlhc-dh-inner{
display:flex;
align-items:center;
gap:14px;
direction:rtl
}
.mlhc-dh-inner img{
height:48px;
width:48px;
object-fit:contain;
flex-shrink:0;
opacity:.85;
border-radius:8px
}
.mlhc-dh-text{
display:flex;
flex-direction:column;
gap:3px;
text-align:right
}
.mlhc-dh h3{
font-size:20px;
font-weight:900;
color:#452e1e;
margin:0
}
.mlhc-dh p{
font-size:12px;
color:#452e1e;
opacity:.6;
margin:0
}
.mlhc-close{
position:absolute;
top:14px;
left:16px;
background:none;
border:none;
font-size:22px;
cursor:pointer;
color:#8a7f74;
line-height:1;
padding:4px
}
.mlhc-close:hover{
color:#262626
}

/* ── Drawer body ── */
.mlhc-db{
flex:1;
overflow-y:auto;
padding:18px;
-webkit-overflow-scrolling:touch
}

/* ── Loading ── */
.mlhc-loading{
text-align:center;
padding:40px;
color:#8a7f74;
font-size:14px;
display:none
}
.mlhc-loading.show{
display:block
}

/* SKU bar */
.mlhc-db .sku-bar{
display:flex;
align-items:center;
justify-content:space-between;
background:var(--beige-s);
border:1.5px solid var(--line);
border-radius:10px;
padding:10px 15px;
margin-bottom:18px;
font-size:13.5px
}
.mlhc-db .sku-bar .lbl{
color:var(--muted);
font-size:12px
}
.mlhc-db .sku-bar .val{
font-weight:800;
font-size:15px;
color:var(--brown)
}

/* No data */
.mlhc-db .nodata{
display:none;
text-align:center;
padding:30px 0
}
.mlhc-db .nodata .icon{
font-size:36px;
margin-bottom:15px;
opacity:.7
}
.mlhc-db .nodata p{
font-size:15px;
color:var(--muted)
}

/* Accordion */
.mlhc-db .accordion{
margin-bottom:16px
}
.mlhc-db .acc-header{
display:flex;
align-items:center;
justify-content:space-between;
background:var(--beige-s);
border:1.5px solid var(--line);
border-radius:10px;
padding:11px 14px;
cursor:pointer;
font-size:13.5px;
font-weight:700;
color:var(--brown);
user-select:none;
transition:background .15s
}
.mlhc-db .acc-header:hover{
background:var(--beige)
}
.mlhc-db .acc-header.open{
border-radius:10px 10px 0 0
}
.mlhc-db .acc-header .arr{
font-size:10px;
color:var(--wine);
transition:transform .2s
}
.mlhc-db .acc-header.open .arr{
transform:rotate(180deg)
}
.mlhc-db .acc-body{
display:none
}
.mlhc-db .acc-body.show{
display:block
}

/* Measuring guide */
.mlhc-db .guide-simple{
display:flex;
align-items:center;
gap:14px;
background:var(--beige-s);
border:1.5px solid var(--line);
border-radius:12px;
padding:14px 15px;
margin-bottom:18px
}
.mlhc-db .guide-simple img{
width:82px;
flex-shrink:0;
display:block;
opacity:.93;
border-radius:8px
}
.mlhc-db .guide-simple-list{
font-size:13px;
color:var(--ink);
flex:1;
display:flex;
flex-direction:column;
gap:10px
}
.mlhc-db .guide-simple-list .gnum{
width:19px;
height:19px;
display:inline-flex;
align-items:center;
justify-content:center;
border-radius:50%;
background:#c25c3a;
color:#fff;
font-weight:800;
font-size:11px;
margin-left:6px;
vertical-align:middle;
flex-shrink:0
}
.mlhc-db .guide-item{
display:flex;
flex-direction:column;
gap:2px
}
.mlhc-db .guide-label{
font-size:13px;
font-weight:700;
color:var(--ink);
display:flex;
align-items:center
}
.mlhc-db .guide-hint{
font-size:11px;
color:#9b8c7f;
padding-right:25px
}

/* Section title row */
.mlhc-db .sec-title-row{
display:flex;
align-items:center;
justify-content:space-between;
margin-bottom:11px;
border-bottom:1.5px solid var(--line);
padding-bottom:8px
}
.mlhc-db .sec-title{
font-size:13px;
font-weight:800;
color:var(--brown);
letter-spacing:.2px
}

/* Unit switch */
.mlhc-db .unit-switch{
display:flex;
border:1.5px solid var(--line);
border-radius:8px;
overflow:hidden
}
.mlhc-db .us-btn{
padding:4px 11px;
border:none;
background:#fff;
font-size:12px;
font-weight:700;
cursor:pointer;
font-family:inherit;
color:var(--muted);
transition:all .2s
}
.mlhc-db .us-btn+.us-btn{
border-right:1.5px solid var(--line)
}
.mlhc-db .us-btn.active{
background:var(--wine);
color:var(--cream)
}

/* Unit hint */
.mlhc-db .unit-hint{
font-size:11.5px;
color:var(--muted);
margin:-6px 0 14px;
text-align:left
}

/* Inputs */
.mlhc-db .inputs-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:11px;
margin-bottom:18px
}
.mlhc-db .inp-group{
display:flex;
flex-direction:column;
gap:5px
}
.mlhc-db .inp-group label{
font-size:12.5px;
font-weight:700;
color:var(--brown);
display:flex;
align-items:center;
gap:6px
}
.mlhc-db .inp-group label .dot{
width:8px;
height:8px;
display:inline-block;
border-radius:2px
}
.mlhc-db .inp-wrap{
position:relative
}
.mlhc-db .inp-wrap input{
width:100%;
border:1.5px solid var(--line);
border-radius:9px;
padding:11px 12px;
padding-left:40px;
font-size:17px;
font-weight:700;
font-family:inherit;
transition:border-color .2s,box-shadow .2s;
direction:ltr;
text-align:center;
color:var(--ink);
background:#fff
}
.mlhc-db .inp-wrap input:focus{
outline:none;
border-color:var(--wine);
box-shadow:0 0 0 3px rgba(157,61,56,.08)
}
.mlhc-db .inp-wrap input::placeholder{
font-size:14px;
font-weight:400;
color:#ccc
}
.mlhc-db .inp-wrap .utag{
position:absolute;
left:10px;
top:50%;
transform:translateY(-50%);
font-size:11.5px;
color:var(--muted);
font-weight:700;
pointer-events:none
}

/* CTA */
.mlhc-db .calc-btn{
width:100%;
padding:15px;
background:var(--wine);
color:var(--cream);
border:none;
border-radius:11px;
font-size:17px;
font-weight:800;
cursor:pointer;
font-family:inherit;
transition:all .2s;
margin-bottom:18px;
letter-spacing:.4px;
box-shadow:0 3px 12px rgba(157,61,56,.25)
}
.mlhc-db .calc-btn:hover{
background:var(--wine-dk);
box-shadow:0 4px 16px rgba(157,61,56,.35);
transform:translateY(-1px)
}
.mlhc-db .calc-btn:active{
transform:translateY(0);
box-shadow:0 2px 8px rgba(157,61,56,.2)
}

/* ── Result ── */
.mlhc-db .result{
display:none
}
.mlhc-db .result.show{
display:block
}
.mlhc-db .rc{
background:linear-gradient(135deg,var(--wine-dk) 0%,#6b2420 100%);
color:var(--cream);
border-radius:14px;
padding:26px 22px;
text-align:center;
margin-bottom:16px;
box-shadow:0 4px 20px rgba(100,30,28,.2)
}
.mlhc-db .rc.no-fit{
background:linear-gradient(135deg,#6b5144 0%,#452e1e 100%)
}
.mlhc-db .rc.warning{
background:linear-gradient(135deg,var(--brown) 0%,#2d1a0e 100%)
}
.mlhc-db .rc.poor{
background:linear-gradient(135deg,var(--bad) 0%,#7a2020 100%)
}
.mlhc-db .rc-size{
font-size:64px;
font-weight:900;
color:#fff;
line-height:1;
margin-bottom:10px;
text-shadow:0 2px 8px rgba(0,0,0,.15)
}
.mlhc-db .rc.no-fit .rc-size{
font-size:24px;
line-height:1.45;
margin-bottom:12px;
text-shadow:none
}
.mlhc-db .rc.no-fit .rc-note{
font-size:14px;
line-height:1.8;
margin-bottom:0
}
.mlhc-db .rc-note{
font-size:14px;
color:var(--cream);
opacity:.92;
line-height:1.7;
margin-bottom:8px
}
.mlhc-db .rc-alt{
font-size:13.5px;
color:var(--cream);
opacity:.85;
line-height:1.65;
border-top:1px solid rgba(255,255,255,.18);
padding-top:10px;
margin-top:6px
}
/* Size table */
.mlhc-db .sizetable{
width:100%;
border-collapse:separate;
border-spacing:0;
font-size:13px
}
.mlhc-db .sizetable th{
background:var(--brown);
color:var(--cream);
padding:9px 5px;
text-align:center;
font-size:12px;
font-weight:700
}
.mlhc-db .sizetable th:first-child{
text-align:right;
padding-right:10px;
border-radius:0 8px 0 0
}
.mlhc-db .sizetable th:last-child{
border-radius:8px 0 0 0
}
.mlhc-db .sizetable td{
padding:9px 5px;
text-align:center;
border-bottom:1px solid var(--line);
color:var(--ink)
}
.mlhc-db .sizetable td:first-child{
text-align:right;
padding-right:10px;
font-weight:700;
font-size:12px;
color:var(--brown);
white-space:nowrap
}
.mlhc-db .sizetable tr:last-child td{
border-bottom:none
}
.mlhc-db .sizetable td.best{
background:var(--beige);
font-weight:800;
color:var(--wine)
}
.mlhc-db .sizetable td.info-col{
color:var(--beige-m)
}
.mlhc-db .sizetable tr.info-row{
opacity:.6
}
.mlhc-db .you-val{
display:block;
font-size:11px;
color:var(--muted);
margin-top:2px
}

/* Save row */
.mlhc-db .save-row{
display:flex;
align-items:center;
justify-content:space-between;
padding-top:12px;
font-size:12.5px;
color:var(--muted);
border-top:1.5px solid var(--line);
margin-top:4px
}
.mlhc-db .save-btn{
background:none;
border:1.5px solid var(--line);
border-radius:8px;
padding:6px 13px;
font-size:12.5px;
font-weight:700;
cursor:pointer;
font-family:inherit;
color:var(--brown);
transition:all .2s
}
.mlhc-db .save-btn:hover{
border-color:var(--wine);
color:var(--wine)
}
.mlhc-db .saved-ok{
color:var(--ok);
font-weight:700;
display:none;
font-size:13.5px
}
.mlhc-db .prev-size{
display:none;
background:linear-gradient(90deg,var(--beige-s),#fff);
border:1.5px solid var(--beige-m);
border-radius:10px;
padding:9px 14px;
font-size:13px;
color:var(--brown);
margin-bottom:14px;
font-weight:700
}





/* ######################################################################
   FILTERS
   ###################################################################### */

/* =====================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
  MLEHA — Filter Popup
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
======================================== */

:root {
  --mleha-filter-brand: var(--color-primary, var(--main-color, var(--primary-color, #9d3d38)));
  --mleha-filter-brand-dark: #7d2f2b;
  --mleha-filter-ink: #2e3329;
  --mleha-filter-muted: #9b918c;
  --mleha-filter-line: #e6ddd8;
  --mleha-filter-soft: #fbf8f6;
}

body.mleha-filter-lock {
  overflow: hidden !important;
  touch-action: none;
}

body.mleha-filter-enhanced .close-filters {
  display: none !important;
}

body.mleha-filter-enhanced a.filters-trigger[href="#filters-menu"] {
  display: none !important;
}

body.mleha-filter-enhanced #filters-menu {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  position: static !important;
  top: auto !important;
  flex: none !important;
}

.mleha-filter-toolbar-row {
  width: 100%;
  margin: 0 0 22px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  direction: rtl;
}

.mleha-filter-toolbar-row .center-between {
  margin: 0 !important;
  width: auto !important;
  flex: 0 0 auto;
}

.mleha-filter-trigger {
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--mleha-filter-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-main), inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.mleha-filter-trigger i {
  font-size: 16px;
  line-height: 1;
  color: var(--mleha-filter-brand);
}

.mleha-filter-trigger-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--mleha-filter-brand);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 400;
  line-height: 18px;
  text-decoration: none;
}

.mleha-filter-trigger-count.is-visible {
  display: inline-flex;
}

.mleha-filter-shell {
  position: fixed;
  inset: 0;
  z-index: 99980;
  pointer-events: none;
  visibility: hidden;
}

.mleha-filter-shell.is-open,
.mleha-filter-shell.is-closing {
  visibility: visible;
}

.mleha-filter-shell.is-open {
  pointer-events: auto;
}

.mleha-filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(46, 51, 41, 0.46);
  opacity: 0;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    opacity 420ms cubic-bezier(0.32, 0.72, 0, 1),
    backdrop-filter 420ms cubic-bezier(0.32, 0.72, 0, 1),
    -webkit-backdrop-filter 420ms cubic-bezier(0.32, 0.72, 0, 1);
}

.mleha-filter-shell.is-open .mleha-filter-overlay {
  opacity: 1;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mleha-filter-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(600px, 100vw);
  height: 100dvh;
  max-height: 100dvh;
  background: #fff;
  color: var(--mleha-filter-ink);
  transform: translateX(104%);
  transition: transform 540ms cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
  box-shadow: none;
  direction: rtl;
}

.mleha-filter-shell.is-open .mleha-filter-drawer {
  transform: translateX(0);
}

.mleha-filter-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--mleha-filter-ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 220ms ease,
    background-color 220ms ease;
}

.mleha-filter-close:hover {
  transform: scale(1.06);
  background: var(--mleha-filter-brand);
}

.mleha-filter-close i {
  font-size: 16px;
  line-height: 1;
}

.mleha-filter-panel {
  width: 100%;
  height: 100%;
  padding: 24px 42px 112px;
  overflow: hidden auto;
  scrollbar-width: thin;
  scrollbar-color: var(--mleha-filter-brand) transparent;
}

.mleha-filter-heading {
  min-height: 48px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mleha-filter-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mleha-filter-title {
  margin: 0;
  color: var(--mleha-filter-ink);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.mleha-filter-active-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--mleha-filter-brand);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 22px;
}

.mleha-filter-active-count.is-visible {
  display: inline-flex;
}

.mleha-filter-clear {
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mleha-filter-muted);
  font-family: var(--font-main), inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.mleha-filter-clear[disabled] {
  color: rgba(17, 17, 17, 0.35);
  cursor: default;
}

.mleha-filter-content {
  min-height: 220px;
}

.mleha-filter-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 42px 38px;
  background: linear-gradient(to top, #fff 0%, #fff 72%, rgba(255, 255, 255, 0) 100%);
  display: flex;
  gap: 12px;
}

.mleha-filter-clear {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 20px;
  border: 1px solid var(--mleha-filter-line);
  border-radius: 0;
  background: transparent;
  color: var(--mleha-filter-muted);
  font-family: var(--font-main), inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  text-decoration: none;
  text-underline-offset: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 180ms ease, color 180ms ease;
}

.mleha-filter-clear:hover:not([disabled]) {
  border-color: var(--mleha-filter-ink);
  color: var(--mleha-filter-ink);
}

.mleha-filter-clear[disabled] {
  opacity: 0.35;
  cursor: default;
}

.mleha-filter-show {
  flex: 1;
  height: 48px;
  border: 1px solid var(--mleha-filter-brand);
  border-radius: 0;
  background: var(--mleha-filter-brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main), inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 220ms ease,
    color 220ms ease;
}

.mleha-filter-show:hover {
  background: var(--mleha-filter-brand-dark);
  border-color: var(--mleha-filter-brand-dark);
}

body.mleha-filter-enhanced #filters-menu .s-filters-footer {
  display: none !important;
}

body.mleha-filter-enhanced #filters-menu salla-filters-widget {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding: 0 !important;
}

body.mleha-filter-enhanced #filters-menu .s-filters-widget-container {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--mleha-filter-line) !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.mleha-filter-enhanced #filters-menu salla-filters-widget:last-of-type .s-filters-widget-container {
  border-bottom: 1px solid var(--mleha-filter-line) !important;
}

body.mleha-filter-enhanced #filters-menu .s-filters-widget-title {
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--mleha-filter-ink) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 24px !important;
  cursor: pointer;
}

body.mleha-filter-enhanced #filters-menu .s-filters-widget-title:focus-visible {
  outline: 1px solid var(--mleha-filter-brand);
  outline-offset: 3px;
}

body.mleha-filter-enhanced #filters-menu .s-filters-widget-title > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
}

body.mleha-filter-enhanced #filters-menu salla-filters-widget.mleha-filter-widget-has-selection .s-filters-widget-title > span:first-child::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mleha-filter-brand);
  display: inline-block;
}

body.mleha-filter-enhanced #filters-menu .s-filters-widget-plusminus {
  display: none !important;
}

body.mleha-filter-enhanced #filters-menu .mleha-filter-accordion-icon {
  width: 18px;
  height: 18px;
  color: var(--mleha-filter-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
  margin-inline-start: auto;
  transform: translateY(-1px);
  transition: color 180ms ease, transform 240ms ease;
}

body.mleha-filter-enhanced #filters-menu salla-filters-widget.mleha-filter-widget-open .mleha-filter-accordion-icon {
  transform: translateY(-1px) scale(0.96);
}

body.mleha-filter-enhanced #filters-menu .s-filters-widget-content {
  display: block !important;
  max-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    max-height 240ms cubic-bezier(0.4, 0, 1, 1),
    opacity 160ms ease-in,
    transform 200ms ease-in,
    padding-bottom 200ms ease-in;
  will-change: max-height, opacity, transform;
}

body.mleha-filter-enhanced #filters-menu salla-filters-widget.mleha-filter-widget-open .s-filters-widget-content {
  display: block !important;
  height: auto !important;
  max-height: var(--mleha-content-h, 480px) !important;
  opacity: 1 !important;
  visibility: visible !important;
  padding-bottom: 10px !important;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    max-height 360ms cubic-bezier(0, 0, 0.2, 1),
    opacity 280ms ease-out,
    transform 300ms cubic-bezier(0, 0, 0.2, 1),
    padding-bottom 280ms ease-out;
}

body.mleha-filter-enhanced #filters-menu .s-filters-widget-values {
  padding: 0 0 6px !important;
  overflow: visible !important;
  max-height: none !important;
}

body.mleha-filter-enhanced #filters-menu .s-filters-label {
  min-height: 16px;
  margin: 0 0 5px !important;
  padding: 0 !important;
  color: var(--mleha-filter-muted) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 12px !important;
  font-weight: 300 !important;
  line-height: 15px !important;
  cursor: pointer;
}

body.mleha-filter-enhanced #filters-menu .s-filters-label:has(input:checked) {
  color: var(--mleha-filter-ink) !important;
  font-weight: 400 !important;
}

body.mleha-filter-enhanced #filters-menu .s-filters-radio {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  margin: 0 !important;
  border: 1px solid var(--mleha-filter-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-block !important;
  position: relative;
  box-shadow: none !important;
}

body.mleha-filter-enhanced #filters-menu .s-filters-radio:checked {
  background: var(--mleha-filter-brand) !important;
  box-shadow: inset 0 0 0 3px #fff !important;
}

body.mleha-filter-enhanced #filters-menu .s-filters-option-name {
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

body.mleha-filter-enhanced #filters-menu .s-filters-widget-search-wrapper {
  display: none !important;
}

body.mleha-filter-enhanced #filters-menu salla-price-range .s-price-range-inputs {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

body.mleha-filter-enhanced #filters-menu salla-price-range .s-price-range-number-input {
  height: 44px !important;
  border: 1px solid var(--mleha-filter-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--mleha-filter-ink) !important;
  font-size: 13px !important;
}

body.mleha-filter-enhanced #filters-menu salla-price-range salla-button button {
  border-radius: 0 !important;
  background: var(--mleha-filter-brand) !important;
  color: #fff !important;
  border-color: var(--mleha-filter-brand) !important;
}

body.mleha-filter-enhanced #filters-menu salla-filters-widget.mleha-filter-rating-widget,
body.mleha-filter-enhanced #filters-menu .s-rating-stars-wrapper {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.mleha-filter-enhanced #filters-menu salla-filters-widget.mleha-filter-rating-widget {
  display: block !important;
}

body.mleha-filter-enhanced #filters-menu salla-filters-widget:has(.s-rating-stars-wrapper) {
  display: none !important;
}

/* ── Responsive breakpoints ───────────────────────────── */

/* Tablet: 768px – 1023px */
@media (max-width: 1023px) {
  .mleha-filter-drawer {
    width: min(480px, 100vw);
  }

  .mleha-filter-panel {
    padding: 20px 32px 108px;
  }

  .mleha-filter-footer {
    padding: 14px 32px 36px;
  }

  .mleha-filter-title {
    font-size: 22px;
  }

  body.mleha-filter-enhanced #filters-menu .s-filters-widget-title {
    font-size: 15px !important;
  }
}

/* Mobile: ≤ 767px — full-width drawer */
@media (max-width: 767px) {
  .mleha-filter-drawer {
    width: 100vw;
    max-width: 100vw;
  }

  .mleha-filter-panel {
    padding: 20px 24px 108px;
  }

  .mleha-filter-footer {
    padding: 12px 24px 28px;
  }

  .mleha-filter-title {
    font-size: 20px;
  }

  body.mleha-filter-enhanced #filters-menu .s-filters-widget-title {
    font-size: 14px !important;
    min-height: 44px !important;
  }

  .mleha-filter-close {
    width: 36px;
    height: 36px;
  }

  .mleha-filter-show,
  .mleha-filter-clear {
    height: 44px;
    font-size: 12px;
  }
}

/* Small mobile: ≤ 479px */
@media (max-width: 479px) {
  .mleha-filter-panel {
    padding: 16px 18px 100px;
  }

  .mleha-filter-footer {
    padding: 10px 18px 24px;
    gap: 8px;
  }

  .mleha-filter-title {
    font-size: 18px;
  }

  .mleha-filter-heading {
    gap: 10px;
  }

  body.mleha-filter-enhanced #filters-menu .s-filters-widget-title {
    font-size: 13px !important;
    min-height: 40px !important;
  }

  body.mleha-filter-enhanced #filters-menu .s-filters-label {
    font-size: 11px !important;
    gap: 8px !important;
  }
}

/* Very small: ≤ 359px */
@media (max-width: 359px) {
  .mleha-filter-panel {
    padding: 14px 14px 96px;
  }

  .mleha-filter-footer {
    padding: 10px 14px 20px;
  }

  .mleha-filter-title {
    font-size: 16px;
  }

  .mleha-filter-show,
  .mleha-filter-clear {
    height: 40px;
    font-size: 11px;
  }
}

/* ── Landscape mobile: short viewport ───────────────── */
@media (max-width: 767px) and (max-height: 500px) {
  .mleha-filter-panel {
    padding-bottom: 80px;
  }

  .mleha-filter-footer {
    padding-bottom: 12px;
  }

  .mleha-filter-show,
  .mleha-filter-clear {
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mleha-filter-overlay,
  .mleha-filter-drawer,
  body.mleha-filter-enhanced #filters-menu .mleha-filter-accordion-icon,
  body.mleha-filter-enhanced #filters-menu .s-filters-widget-content {
    transition: none !important;
  }
}




/* ######################################################################
   CART
   ###################################################################### */

/* =====================================
   5. CART PAGE
===================================== */
body.cart .s-block--fixed-banner {
  height: 160px;
}

body.cart .s-block--fixed-banner .banner,
body.cart .s-block--fixed-banner img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.cart-submit-wrap {
  display: flex;
  flex-direction: column !important;
}

.terms-box {
  margin-bottom: 15px;
  width: 100%;
  font-size: 13px;
  color: var(--ui-text-soft);
}

.terms-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  line-height: 1.7;
}

.terms-label input {
  margin-top: var(--space-xs);
  width: var(--space-lg);
  height: var(--space-lg);
  cursor: pointer;
}

.terms-label a {
  color: var(--ui-black);
  text-decoration: underline;
  font-weight: 500;
}

.cart-item img.h-20 {
  height: auto;
}


/* =====================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
   MLEHA - CART DRAWER 
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
======================================== */

/* ---- PANEL — the whole panel scrolls; header stays sticky ---- */
.cart-drawer .drawer-container {
  background: #ffffff !important;
  width: 720px !important;
  max-width: 94vw !important;
  height: 100vh !important;
  display: block !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  box-shadow: -4px 0 40px rgba(0, 0, 0, 0.12) !important;
  border-radius: 0 !important;
}
.cart-drawer .drawer-container::-webkit-scrollbar { width: 4px !important; }
.cart-drawer .drawer-container::-webkit-scrollbar-thumb { background: #d0d0d0 !important; border-radius: 4px !important; }

/* ---- HEADER — sticky at top, not a flex sibling anymore ---- */
.cart-drawer .drawer-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
  padding: 64px 160px 24px 120px !important;
  border-bottom: none !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.cart-drawer .drawer-title {
  font-size: 19px !important;
  font-weight: 500 !important;
  letter-spacing: 0.4px !important;
  color: #1a1a1a !important;
  line-height: 25px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.cart-drawer .cart-products-count {
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.4px !important;
  color: #1a1a1a !important;
}
.cart-drawer .drawer-header button.drawer-close {
  background: #9d3d38 !important;
  border: none !important;
  box-shadow: none !important;
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: background 0.2s !important;
}
.cart-drawer .drawer-header button.drawer-close i {
  color: #fff !important;
  font-size: 16px !important;
}
.cart-drawer .drawer-header button.drawer-close:hover { background: #771712 !important; }

/* ---- BODY — no longer independently scrollable; flows with footer ---- */
.cart-drawer .drawer-body {
  flex: none !important;
  overflow: visible !important;
  height: auto !important;
  padding: 24px 120px 0 !important;
}

/* ---- ITEMS ---- */
.cart-drawer .cart-drawer-item {
  padding: 8px !important;
  border: 1px solid #ececec !important;
  border-radius: 8px !important;
  margin-bottom: 16px !important;
  background: #fff !important;
  overflow: visible !important;
  min-height: 207px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: flex-start !important;
  position: relative !important;
}
.cart-drawer .cart-drawer-item:last-child { margin-bottom: 0 !important; }
.cart-drawer .cart-drawer-hidden-options { display: none !important; }

/* ---- DELETE BADGE — floating circle at the top-left corner of the whole card ---- */
.cart-drawer .cart-drawer-item span.absolute {
  top: -10px !important;
  z-index: 3 !important;
}
.cart-drawer .cart-drawer-item button.cart-drawer-item__delete,
.cart-drawer .cart-drawer-item button.s-button-danger {
  background: #fff !important;
  border: 1px solid #e1e1e1 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.08) !important;
  color: #1a1a1a !important;
  width: 28px !important;
  height: 28px !important;
  min-width: unset !important;
  min-height: unset !important;
  padding: 0 !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.cart-drawer .cart-drawer-item button.cart-drawer-item__delete:hover,
.cart-drawer .cart-drawer-item button.s-button-danger:hover {
  color: #fff !important;
  background: #9d3d38 !important;
  border-color: #9d3d38 !important;
}
.cart-drawer .cart-drawer-item__delete .s-button-text {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.cart-drawer .cart-drawer-item__delete .s-button-text i { font-size: 13px !important; color: #1a1a1a !important; }
.cart-drawer .cart-drawer-item button.cart-drawer-item__delete:hover .s-button-text i,
.cart-drawer .cart-drawer-item button.s-button-danger:hover .s-button-text i { color: #fff !important; }

/* Image — 143×179px, rounded-12, bg #f8f8f8 */
.cart-drawer .cart-drawer-item a.shrink-0.relative {
  width: 143px !important;
  min-width: 143px !important;
  height: 179px !important;
  border-radius: 12px !important;
  background: #f8f8f8 !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  display: block !important;
}
.cart-drawer .cart-drawer-item a.shrink-0 img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 20% !important;
  border-radius: 12px !important;
  display: block !important;
}

/* Product info column — reordered to match Figma: name → attrs → price → qty */
.cart-drawer .cart-drawer-item .flex-1 {
  min-width: 0 !important;
  flex: 1 !important;
  padding-inline-end: 16px !important;
  padding-inline-start: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  height: 179px !important;
}
.cart-drawer .cart-drawer-item .flex-1 > h4 { order: 1 !important; margin: 0 0 8px !important; }
.cart-drawer .cart-drawer-item .flex-1 > ul { order: 2 !important; margin: 0 0 12px !important; }
.cart-drawer .cart-drawer-item .flex-1 > .flex.items-center.gap-1\.5:not(.offer-row) { order: 3 !important; margin: 0 0 12px !important; }
.cart-drawer .cart-drawer-item .flex-1 > .offer-row { order: 3 !important; }
.cart-drawer .cart-drawer-item .flex-1 > .flex.items-center.justify-between.gap-2 { order: 4 !important; margin-top: auto !important; }

/* Product name — 15.4px/500 */
.cart-drawer .cart-drawer-item .flex-1 h4 a {
  font-size: 15.4px !important;
  font-weight: 500 !important;
  color: #1a1a1a !important;
  letter-spacing: 0.4px !important;
  line-height: 24px !important;
  text-decoration: none !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
/* Color / size attributes — 14px gray */
.cart-drawer .cart-drawer-item .flex-1 ul,
.cart-drawer .cart-drawer-item .flex-1 ul li {
  font-size: 14px !important;
  color: #727272 !important;
  font-weight: 400 !important;
  line-height: 17.5px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Price — single line, 15.9px/500 (the qty-adjacent duplicate is hidden below) */
.cart-drawer .cart-drawer-item .item-price {
  font-size: 15.9px !important;
  font-weight: 500 !important;
  color: #1a1a1a !important;
  letter-spacing: 0.4px !important;
  display: inline-block !important;
}
/* Hide the duplicate price next to the qty stepper (Figma shows only one price per item) */
.cart-drawer .cart-drawer-item .item-total,
.cart-drawer .cart-drawer-item p:has(.item-total) {
  display: none !important;
}

/* ---- QUANTITY STEPPER — 87×26px pill, border #e1e1e1, rounded-4 ---- */
.cart-drawer .cart-drawer-item .flex-1 > .flex.items-center.justify-between.gap-2 {
  display: flex !important;
  justify-content: flex-start !important;
}
.cart-drawer .s-quantity-input-container {
  border: 1px solid #e1e1e1 !important;
  border-radius: 4px !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
  width: 87px !important;
  height: 26px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.cart-drawer .s-quantity-input-button {
  width: 32px !important;
  height: 24px !important;
  background: transparent !important;
  border: none !important;
  color: #1a1a1a !important;
  font-size: 14px !important;
  cursor: pointer !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
}
.cart-drawer .s-quantity-input-button:hover { background: #f5f5f5 !important; }
.cart-drawer .s-quantity-input-input {
  width: 22px !important;
  min-width: 22px !important;
  height: 24px !important;
  border: none !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.4px !important;
  background: transparent !important;
  color: #1a1a1a !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

/* (delete badge styling now lives with the item card rules above, so it isn't clipped) */
.cart-drawer .cart-drawer-item__delete .s-button-text {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.cart-drawer .cart-drawer-item__delete .s-button-text i { font-size: 13px !important; color: #1a1a1a !important; }
.cart-drawer .cart-drawer-item button.cart-drawer-item__delete:hover .s-button-text i,
.cart-drawer .cart-drawer-item button.s-button-danger:hover .s-button-text i { color: #fff !important; }

/* ---- FOOTER — flows directly after the item list (same scroll region) ---- */
.cart-drawer .drawer-footer {
  padding: 0 120px 40px !important;
  background: #fff !important;
  border-top: none !important;
}

/* Divider lines before/after the coupon row */
.cart-drawer .drawer-footer > salla-cart-coupons {
  display: block !important;
  border-top: 1px solid #e1e1e1 !important;
  padding-top: 24px !important;
  margin-top: 24px !important;
}

/* ---- DISCOUNT CODE — combined pill: red apply (start) + input (end) ---- */
.cart-drawer .s-cart-coupons-coupon-label { display: none !important; }
.cart-drawer .s-cart-coupons-coupon-input-container {
  display: flex !important;
  gap: 0 !important;
  margin: 0 0 24px !important;
  border: 1px solid #e1e1e1 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  height: 48px !important;
}
.cart-drawer .s-cart-coupons-coupon-input-container .form-input {
  flex: 1 !important;
  height: 48px !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 20px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: 0.4px !important;
  background: #fff !important;
  color: #1a1a1a !important;
  outline: none !important;
  box-shadow: none !important;
  text-align: end !important;
}
.cart-drawer button.s-cart-coupons-coupon-button {
  height: 48px !important;
  padding: 0 20px !important;
  background: #9d3d38 !important;
  border: none !important;
  color: #f8f8f8 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: 0.4px !important;
  text-transform: none !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: background 0.2s !important;
}
.cart-drawer button.s-cart-coupons-coupon-button:hover { background: #771712 !important; }

/* Remove/cancel state — once a coupon is applied, make it unmistakably a cancel action.
   Base theme sets .s-button-text to width:0/overflow:hidden for icon-only buttons —
   override that so both the icon and our added label are actually visible. */
.cart-drawer button.s-cart-coupons-coupon-button-remove {
  background: #1a1a1a !important;
  width: auto !important;
  gap: 6px !important;
}
.cart-drawer button.s-cart-coupons-coupon-button-remove:hover { background: #9d3d38 !important; }
.cart-drawer button.s-cart-coupons-coupon-button-remove .s-button-text {
  width: auto !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}
.cart-drawer button.s-cart-coupons-coupon-button-remove i {
  font-size: 16px !important;
  color: #fff !important;
}
.cart-drawer button.s-cart-coupons-coupon-button-remove .s-button-text::after {
  content: "إلغاء الكود" !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.4px !important;
  color: #fff !important;
  margin-inline-start: 4px !important;
}

/* ---- TOTALS ---- */
.cart-drawer .drawer-footer > .flex.justify-between.text-sm,
.cart-drawer .cart-drawer-discount {
  font-size: 15.3px !important;
  font-weight: 500 !important;
  letter-spacing: 0.4px !important;
  color: #1a1a1a !important;
  padding: 8px 0 !important;
}

/* Applied-coupon discount line — shown once Salla removes its "hidden" class */
.cart-drawer .cart-drawer-discount,
.cart-drawer .cart-drawer-discount b {
  color: #9d3d38 !important;
  font-weight: 500 !important;
}
.cart-drawer .cart-drawer-total {
  font-size: 15.3px !important;
  font-weight: 500 !important;
  letter-spacing: 0.4px !important;
  color: #1a1a1a !important;
  border-top: 1px solid #e1e1e1 !important;
  padding-top: 16px !important;
  margin-top: 8px !important;
}

/* ---- ACTIONS — checkout full-width first, then a row of two outline buttons ----
   The real DOM groups [checkout + view-cart] inside .drawer-actions-row, and
   places "continue shopping" as a separate sibling. display:contents lifts
   all three buttons to the same flex level so we can re-lay them out to
   match Figma: checkout alone on row 1, view-cart + continue-shopping on row 2. */
.cart-drawer .drawer-footer {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}
.cart-drawer .drawer-footer > * { flex: 1 0 100% !important; }
.cart-drawer .drawer-actions { display: contents !important; }
.cart-drawer .drawer-actions-row { display: contents !important; }

.cart-drawer .drawer-actions-row > salla-button.cart-drawer-submit {
  order: 5 !important;
  flex: 1 0 100% !important;
}
.cart-drawer .drawer-actions-row > salla-button:not(.cart-drawer-submit) {
  order: 6 !important;
  flex: 1 1 calc(50% - 8px) !important;
}
.cart-drawer .drawer-footer > button.btn--link {
  order: 7 !important;
  flex: 1 1 calc(50% - 8px) !important;
}
.cart-drawer .drawer-footer > salla-cart-coupons { order: 1 !important; }
.cart-drawer .drawer-footer > .flex.justify-between.text-sm { order: 2 !important; }
.cart-drawer .cart-drawer-discount { order: 3 !important; }
.cart-drawer .cart-drawer-total { order: 4 !important; }

/* Checkout — full-width brand red, rounded-12 */
.cart-drawer .cart-drawer-submit.s-button-btn,
.cart-drawer button.cart-drawer-submit {
  width: 100% !important;
  height: 48px !important;
  background: #9d3d38 !important;
  color: #f8f8f8 !important;
  font-size: 15.3px !important;
  font-weight: 500 !important;
  letter-spacing: 0.4px !important;
  text-transform: none !important;
  border: none !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.cart-drawer button.cart-drawer-submit:hover { background: #771712 !important; }

/* View cart + Continue shopping — outline black, rounded-12, 50/50 row */
.cart-drawer .drawer-actions-row > salla-button:not(.cart-drawer-submit) button,
.cart-drawer .drawer-footer > button.btn--link {
  width: 100% !important;
  height: 48px !important;
  background: transparent !important;
  border: 1px solid #000 !important;
  color: #000 !important;
  font-size: 15.3px !important;
  font-weight: 500 !important;
  letter-spacing: 0.4px !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  text-transform: none !important;
  text-decoration: none !important;
}
.cart-drawer .drawer-actions-row > salla-button:not(.cart-drawer-submit) button:hover,
.cart-drawer .drawer-footer > button.btn--link:hover {
  background: #000 !important;
  color: #fff !important;
}

/* Overlay backdrop */
.cart-drawer .drawer-backdrop {
  background: rgba(178, 178, 178, 0.2) !important;
  backdrop-filter: blur(8px) !important;
}

/* ==============================================
   MOBILE — bottom sheet covering ~80% of screen height
   ============================================== */
@media (max-width: 768px) {
  .cart-drawer .drawer-container {
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: 80vh !important;
    max-height: 80vh !important;
    border-radius: 20px 20px 0 0 !important;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.18) !important;
    transform: translateY(100%) !important;
  }
  .cart-drawer.is-open .drawer-container {
    transform: translateY(0) !important;
  }
  .cart-drawer .drawer-header { padding: 24px 20px 16px !important; }
  .cart-drawer .drawer-title { font-size: 16px !important; }
  .cart-drawer .cart-products-count { font-size: 13px !important; }
  .cart-drawer .drawer-header button.drawer-close { width: 36px !important; height: 36px !important; }
  .cart-drawer .drawer-header button.drawer-close i { font-size: 14px !important; }
  .cart-drawer .drawer-body { padding: 16px 20px 0 !important; }
  .cart-drawer .cart-drawer-item { min-height: 160px !important; }
  .cart-drawer .cart-drawer-item a.shrink-0.relative { width: 110px !important; min-width: 110px !important; height: 140px !important; }
  .cart-drawer .cart-drawer-item .flex-1 { height: 140px !important; }
  .cart-drawer .cart-drawer-item .flex-1 h4 a { font-size: 13.5px !important; }
  .cart-drawer .cart-drawer-item .item-price { font-size: 14px !important; }
  .cart-drawer .drawer-footer { padding: 0 20px 24px !important; }
}




/* ######################################################################
   GLOBAL COMPONENTS & UTILITIES
   ###################################################################### */

/* =====================================
   10. COMPONENTS & UTILITIES
===================================== */
.enhanced-title-border {
  border: 2px solid var(--ui-black);
  margin: 0 auto;
  width: var(--radius-lg);
  height: var(--radius-lg);
}

.enhanced-title-border::after,
.enhanced-title-border::before {
  background: var(--ui-black);
}

.enhanced-title-border::before {
  content: " ";
  width: 180px;
  height: 1px;
  right: var(--space-md);
}

.enhanced-title-border::after {
  content: " ";
  width: 180px;
  height: 1px;
  left: var(--space-md);
}

.text-primary,
.text-red-500,
.text-red-400,
.text-\[\#f11e1e\] {
  color: var(--color-primary) !important;
}

.s-button-primary {
  color: var(--ui-white);
}

.s-button-danger {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
}

.profile__cover--placeholder::before {
  background: var(--header-bg);
}

section.bg-storeBG.p-5.rounded-md.mb-5 {
  margin-top: var(--radius-lg);
}

section.bg-storeBG.p-5.rounded-md.mb-5 .center-between {
  display: flex;
  align-items: center;
  justify-content: initial;
  gap: var(--space-md);
}

.sicon-pencil-ruler {
  font-size: var(--text-price);
  vertical-align: middle;
}

label.hidden.sm\:block,
select.form-input,
form select,
.form-input,
.s-button-element,
.s-button-text {
  font-size: var(--text-label) !important;
  font-weight: var(--fw-regular) !important;
  line-height: var(--lh-label) !important;
}

salla-slider[type]:not(.hydrated) > div:where([dir="rtl"], [dir="rtl"] *),
salla-slider[type]:not(.hydrated) .swiper > div > div:where([dir="rtl"], [dir="rtl"] *),
.carousel-slider .swiper:where([dir="rtl"], [dir="rtl"] *) {
  padding-left: 5px;
}


/* =====================================
   11. RESPONSIVE STYLES (UNIFIED)
===================================== */
@media (max-width: 1024px) {
  .s-products-list-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .product-card__title a {
    margin: 0;
    font-size: var(--text-label) !important;
    line-height: var(--lh-label) !important;
  }
}

@media (max-width: 768px) {
  .cats_style_3 .text-2xl,
  .cats_style_3 .md\:text-4xl,
  .mb-3.text-2xl.md\:text-4xl.text-white.font-bold,
  .store-footer__newsletter h2,
  .text-lg.text-center.font-bold.tracking-tight.sm\:text-2xl,
  .link-group h3,
  .acc-item h3,
  #about-1 h2,
  #about-1 .text-2xl,
  #about-1 .lg\:text-4xl,
  .s-block--about h2.text-2xl,
  .s-block--about .text-2xl.lg\:text-4xl {
    font-size: var(--text-heading) !important;
    line-height: var(--lh-heading) !important;
  }

  .cats_style_3 .text-base,
  .cats_style_3 .md\:text-xl,
  .mleha-sub-text,
  #about-1 p,
  #about-1 p.text-store-text-primary,
  .s-block--about p.text-store-text-primary,
  .tabs-wrapper p,
  .tabs__item p {
    font-size: var(--text-body) !important;
    line-height: var(--lh-body) !important;
  }

  .mleha-row-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--text-price);
  }

  .mleha-cert-item img {
    height: 36px;
  }

  .cert-text .number {
    font-size: 12px !important;
  }

  .mleha-sub-text,
  .store-footer__newsletter input#cta-email,
  .store-footer__newsletter button {
    font-size: var(--text-body) !important;
  }

  .mleha-row-1 {
    text-align: center;
    padding: var(--radius-lg) 0;
  }

  .mleha-row-2 {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 24px 0 !important;
  }

  .social-icons {
    justify-content: center !important;
    margin-top: 0;
    padding: var(--space-xl) 0;
  }

  .acc-item {
    width: 100%;
  }

  .acc-item h3 {
    padding: 12px 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    margin-bottom: 0 !important;
  }

  .acc-item h3::after {
    content: "+" !important;
    font-size: 18px !important;
    line-height: 1 !important;
  }

  .acc-item.active h3::after {
    content: "-" !important;
  }

  .acc-item:not(.social-group):not(.settings-group) .footer-list {
    display: none !important;
    padding-top: 12px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding-bottom: 0 !important;
  }

  .acc-item.active:not(.social-group):not(.settings-group) .footer-list {
    display: block !important;
  }

  .social-group .social-icons--footer,
  .settings-group .mleha-settings-container--inline {
    display: flex !important;
  }

  .social-group h3,
  .settings-group h3 {
    cursor: default !important;
  }

  .social-group h3::after,
  .settings-group h3::after {
    content: none !important;
  }

  .social-group {
    padding-top: 8px !important;
  }

  .settings-group {
    padding-top: 8px !important;
  }

  .settings-group .mleha-settings-container--inline {
    gap: 10px !important;
    padding-top: 8px !important;
  }

  .social-icons--footer {
    justify-content: flex-start !important;
    padding: 0 !important;
  }

  #block-blog-5 .s-slider-container {
    padding-inline: var(--space-md);
  }

  #block-blog-5 .s-slider-container .swiper-wrapper > .swiper-slide {
    width: 45% !important;
  }

  #block-blog-5 .post-entry__image {
    height: 140px;
  }

  #block-blog-5 .post-entry__title {
    font-size: var(--text-label) !important;
  }

  #block-blog-5 .post-entry p {
    font-size: var(--text-label) !important;
    line-height: 22px !important;
  }

  .image-gallery img {
    width: 48%;
  }

  .product-card__title a,
  .main-nav-container .root-level a,
  .main-nav-container .root-level span {
    font-size: var(--text-label) !important;
  }

  .total-price,
  .product-card__price .total-price,
  h2.total-price {
    font-size: var(--text-price) !important;
    line-height: var(--lh-price) !important;
  }

  section.animated-text .animated-text__inner li {
    padding: var(--radius-lg) var(--text-label);
  }

  section.animated-text .animated-text__inner a {
    font-size: var(--text-label) !important;
    font-weight: var(--fw-bold) !important;
  }
}

@media (max-width: 767px) {
  .product-card__price .total-price,
  .product-card__price .starting-or-normal-price,
  .product-card__price .before-price {
    font-size: var(--text-label) !important;
  }
}

@media (max-width: 640px) {
  .s-products-list-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card__content {
    position: relative !important;
    background: none !important;
    padding: var(--space-sm) 6px var(--radius-lg) !important;
    text-align: right !important;
    direction: rtl;
  }

  .product-card__title a {
    font-size: var(--text-label) !important;
    line-height: var(--lh-label) !important;
  }

  .product-card__price {
    font-size: var(--text-label) !important;
    margin-top: 2px;
  }

  .product-card__price .before-price,
  .product-card__price .starting-or-normal-price {
    font-size: var(--text-label) !important;
    line-height: var(--lh-label) !important;
  }

  .product-card__price .total-price {
    font-size: var(--text-price) !important;
    line-height: var(--lh-price) !important;
  }

  .index .s-products-slider-card {
    max-width: 49vw;
  }

  .index .product-card--fit-height img.lazy.loaded {
    object-fit: cover;
    aspect-ratio: 2 / 3;
    height: auto;
    width: auto;
    display: block;
  }

  .index .s-block.s-block--square-links.square-links-1 salla-slider .slide--one-sixth {
    width: 30%;
  }

  .index .s-block.s-block--square-links.square-links-1 .mt-6 {
    padding: var(--radius-lg) 0;
    font-size: var(--text-label);
  }

  #about-1.s-block {
    margin-top: 0 !important;
    padding: 70px 47px !important;
  }

  .store-desc,
  .footer-list a,
  .link-group a, {
    font-size: var(--text-body) !important;
    line-height: 2px !important;
  }
}

@media (max-width: 567px) {
  .main-nav-container {
    height: var(--header-height-mobile);
  }

  .main-nav-container.fixed-pinned .inner {
    height: auto;
    margin-top: 0;
  }
}

.main-nav-container .inner {
    padding-bottom: 14px;
    padding-top: 14px;
}

.main-nav-container.fixed-pinned .inner {
    backdrop-filter: blur(40px);
    background: rgba(255, 255, 255, 0.6) !important;
}
@media (max-width: 480px) {
  .image-gallery img {
    width: 100%;
  }
}

@media (min-width: 640px) {
  .s-block--fixed-banner.s-block--double-banner {
    margin-top: 0 !important;
  }
}



/* ######################################################################
   FOOTER
   ###################################################################### */

/* =====================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
  MLEHA FOOTER
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
========================================
======================================== */

.store-footer.mleha-footer,
.mleha-footer {
  --mleha-font-family: "Zain", inherit;

  /* ====================================
    FOOTER TYPOGRAPHY CONTROLS
    عدّل المقاسات هنا فقط
  ==================================== */
  --mleha-fs-brand-description: 16px;

  --mleha-fs-links-heading: 16px;
  --mleha-fs-links-text: 13px;

  --mleha-fs-featured-cert-title: 16px;
  --mleha-fs-featured-cert-number: 13px;

  --mleha-fs-cert-title: 13px;
  --mleha-fs-cert-number: 13px;

  --mleha-fs-settings-text: 13px;
  --mleha-fs-rights-text: 10px;

  --mleha-lh-brand-description: 1.7;
  --mleha-lh-heading: 1.4;
  --mleha-lh-text: 1.6;
  --mleha-lh-cert: 1.4;
  --mleha-lh-rights: 1.6;

  --mleha-fw-regular: 400;
  --mleha-fw-bold: 700;

  background: #EEE2D4;
  color: #452E1E;
  font-family: inherit;
  direction: rtl;
  position: relative;
}

.mleha-footer * {
  box-sizing: border-box;
}

.mleha-footer a {
  color: inherit;
}

.mleha-footer-wrapper {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 24px 24px;
}


/* ====================================
  SECTION 1: LOGO + DESCRIPTION
==================================== */

.mleha-footer-brand-section {
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(69, 46, 30, 0.14);
}

.mleha-footer-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
}

.mleha-footer-logo {
  width: 130px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.mleha-footer-description {
  max-width: 680px;
  color: #452E1E;
  padding-inline-start: 22px;
  border-inline-start: 1px solid #F47B0F;
}


/* ====================================
  SECTION 2: LINKS + CERTIFICATES
==================================== */

.mleha-footer-content-section {
  padding: 40px 0;
  border-bottom: 1px solid rgba(69, 46, 30, 0.14);
  display: flex;
  flex-direction: column;
}

/* Desktop order */
.mleha-footer-columns {
  order: 1;
}

.mleha-footer-certificates {
  order: 2;
}


/* ====================================
  FOOTER COLUMNS
==================================== */

.mleha-footer-columns {
  display: flex;
  flex-direction: row;
  gap: 35px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 35px;
}

.mleha-footer-column h3 {
  margin: 0 0 16px;
  color: #452E1E;
}

.mleha-footer-column ul,
.mleha-footer-column li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mleha-footer-column .footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Desktop: icon on right (RTL start), text on left */
.mleha-footer-column .footer-list a {
  width: 100%;
  height: auto;
  padding: 8px 12px;
  border: 1px solid #e5d9cd;
  border-radius: 12px;
  background: #ede1d5;
  color: #452E1E;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mleha-footer-column .footer-list a:hover {
  background: #452E1E;
  color: #fff;
  border-color: #452E1E;
}

/* Link icon box */
.mleha-link-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  transition: all 0.25s ease;
}

.mleha-link-icon i {
  font-size: 14px;
  line-height: 1;
}

.mleha-link-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.mleha-footer-column .footer-list a:hover .mleha-link-icon {
  background: transparent;
  border-color: transparent;
  color: inherit;
}

.mleha-footer-column .footer-list a:hover .mleha-link-icon img {
  filter: brightness(0) invert(1);
}

.mleha-footer-column .footer-list a:hover .mleha-link-text {
  color: #ffffff;
}


/* ====================================
  SOCIAL ICONS
==================================== */

.mleha-footer-social .social-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 16px;
}

.mleha-footer-social .social-icons a {
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #452E1E;
  text-decoration: none;
  background: transparent;
  transition: all 0.25s ease;
}

.mleha-footer-social .social-icons a:hover {
  color: #9D3D38;
  background: transparent;
  transform: translateY(-2px);
}

.mleha-footer-social .social-icons i {
  font-size: 19px;
  line-height: 1;
}


/* ====================================
  LANGUAGE & CURRENCY
==================================== */

.mleha-settings-container {
  display: flex;
  flex-direction: row;
  gap: 25px;
}

.mleha-setting-btn {
  width: auto;
  min-height: auto;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  background: var(--color-primary, #9D3D38);
  color: #EEE2D4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.mleha-setting-btn:hover {
  background: var(--color-primary-dark, #771712);
  color: #EEE2D4;
  border-color: transparent;
}

.mleha-setting-btn i {
  font-size: 14px;
  color: #EEE2D4;
}

.mleha-setting-btn span:first-of-type {
  flex: unset;
  text-align: right;
}

/* Hide dropdown arrow on desktop */
.mleha-setting-btn .sicon-keyboard_arrow_down,
.mleha-setting-btn span:last-child {
  display: none;
}


/* ====================================
  CERTIFICATES
==================================== */

.mleha-footer-certificates {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: stretch;
  direction: rtl;
}

.mleha-cert-featured,
.mleha-cert-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #9c9289;
  border-radius: 12px;
  background: #f8eee5;
  color: #000;
  text-decoration: none;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}


/* Featured certificate — desktop: horizontal layout */
.mleha-cert-featured {
  flex: 1;
  min-width: 0;
  height: auto;
  padding: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  max-width: 370px;
  gap: 15px;
}

.mleha-cert-featured img {
  width: 53px;
  height: 57px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.mleha-cert-featured .cert-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: right;
  gap: 4px;
  border-inline-start: 1px solid #F47B0F;
  padding-inline-start: 15px;
}

.mleha-cert-featured .title,
.mleha-cert-featured .number,
.mleha-cert-featured .cert-subtitle {
  margin: 0;
  padding: 0;
  font-family: var(--mleha-font-family);
  color: #000;
}

.cert-subtitle {
  font-size: 9px;
  color: #000;
  font-family: var(--mleha-font-family);
  line-height: 1.4;
}

.mleha-cert-featured .number {
  font-size: 9px;
  direction: ltr;
}


/* Normal certificate cards */
.mleha-cert-card {
  width: 120px;
  flex-shrink: 0;
  height: auto;
  padding: 12px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Thin divider between img and number */
.cert-divider {
  display: block;
  width: 35px;
  height: 1px;
  background: #F47B0F;
  flex-shrink: 0;
}

.mleha-cert-card img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.mleha-cert-card .title,
.mleha-cert-card .number {
  margin: 0;
  padding: 0;
  font-family: var(--mleha-font-family);
  color: #000;
  text-align: center;
}

.mleha-cert-card .number {
  direction: ltr;
}


/* Certificate hover */
@media (hover: hover) and (pointer: fine) {
  .mleha-cert-featured,
  .mleha-cert-card:not(.mleha-cert-no-hover) {
    cursor: pointer;
  }

  .mleha-cert-featured:hover,
  .mleha-cert-card:not(.mleha-cert-no-hover):hover {
    transform: translateY(-4px);
    background: #fbf3ec;
    border-color: #8a7d73;
    box-shadow: 0 10px 24px rgba(69, 46, 30, 0.10);
  }

  .mleha-cert-featured img,
  .mleha-cert-card:not(.mleha-cert-no-hover) img {
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .mleha-cert-featured:hover img,
  .mleha-cert-card:not(.mleha-cert-no-hover):hover img {
    transform: scale(1.04);
    opacity: 0.95;
  }

  .mleha-cert-featured::after,
  .mleha-cert-card:not(.mleha-cert-no-hover)::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.28),
      rgba(255, 255, 255, 0)
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  .mleha-cert-featured:hover::after,
  .mleha-cert-card:not(.mleha-cert-no-hover):hover::after {
    opacity: 1;
  }
}


/* Disable hover for commercial registration */
.mleha-cert-no-hover,
.mleha-cert-no-hover:hover {
  cursor: default !important;
  transform: none !important;
  background: #f8eee5 !important;
  border-color: #9c9289 !important;
  box-shadow: none !important;
}

.mleha-cert-no-hover:hover img {
  transform: none !important;
  opacity: 1 !important;
}

.mleha-cert-no-hover::after,
.mleha-cert-no-hover:hover::after {
  display: none !important;
}


/* ====================================
  SECTION 3: COPYRIGHT + PAYMENT ICONS
==================================== */

.mleha-footer-bottom-section {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mleha-footer-rights {
  flex: 1;
}

.mleha-footer-rights p {
  margin: 0;
  color: rgba(69, 46, 30, 0.76);
}

.mleha-payments-list {
  margin: 0;
  padding: 0;
  list-style: none;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.mleha-payment-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mleha-payment-icon {
  height: 24px;
  width: auto;
  display: block;
  object-fit: contain;
}

.s-payments-list-item {
  background-color: rgb(255 255 255 / 0%);
}


/* ====================================
  FOOTER TYPOGRAPHY
  كل الخطوط هنا فقط
==================================== */

.mleha-footer-description {
  font-size: 14px;
  line-height: 1.75 !important;
  font-weight: 400 !important;
}
@media (max-width: 767px) {
 .mleha-footer-description {
   /* Figma: 11px */
   font-size: 11px;
   line-height: 1.35 !important;
   font-weight: 400 !important;
 }
}

/* عناوين: روابط مهمة + روابط سريعة */
.mleha-footer-columns .mleha-footer-column h3 {
  font-size: 16px !important;
  line-height: 1.4 !important;
}

/* الروابط */
.mleha-footer-columns .mleha-footer-column .footer-list a {
  font-size: 10px !important;
  line-height: 1.3 !important;
}

.mleha-setting-btn {
  font-size: 12px;
  line-height: 1.75 !important;
  font-weight: 400 !important;
}

.mleha-cert-featured .title {
  font-size: 9px;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

.mleha-cert-card .title {
  font-size: 9px;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

.mleha-cert-card .number {
  font-size: 11px;
  line-height: 1.3 !important;
  font-weight: 400 !important;
}

.mleha-footer-rights p {
  font-size: 10px;
  line-height: 1.25 !important;
  font-weight: 400 !important;
}


/* ====================================
  TABLET
==================================== */

@media (max-width: 1024px) {
  .mleha-footer-wrapper {
    padding: 40px 20px 22px;
  }

  .mleha-footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }

  .mleha-footer-bottom-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .mleha-payments-list {
    justify-content: flex-start;
  }
}

@media (max-width: 882px) and (min-width: 768px) {
  .mleha-footer-certificates {
    grid-template-columns:
      minmax(320px, 381px)
      repeat(3, minmax(120px, 1fr));
  }
}


/* ====================================
  MOBILE
==================================== */

@media (max-width: 767px) {
  /* Figma: pt-44 pr-28 pb-15 pl-31 */
  .mleha-footer-wrapper {
    padding: 44px 28px 15px 31px;
  }

  .mleha-footer-logo {
    width: 115px;
  }

  /* Figma: gap-22 between logo and description */
  .mleha-footer-brand {
    gap: 22px;
  }

  .mleha-footer-content-section {
    padding: 20px 0;
  }

  /* Mobile order: certificates first, then link columns */
  .mleha-footer-certificates {
    order: 1;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Figma: gap-5 */
    gap: 5px;
  }

  /* Featured cert: full width, horizontal layout matching Figma */
  .mleha-cert-featured {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 12px 8px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    border-color: #9c9289;
	max-width: none;
  }

  /* Figma: img 53px × 57px */
  .mleha-cert-featured img {
    width: 53px;
    height: 57px;
    flex-shrink: 0;
  }

  .mleha-cert-featured .cert-text {
    flex: unset;
    width: auto;
    min-width: 0;
    padding-inline-start: 30;
    border-inline-start: 1px solid #F47B0F;
    border-top: none;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: right;
    gap: 4px;
  }

  .mleha-cert-featured .title {
    text-align: right;
    font-size: 9px !important;
    font-weight: 700 !important;
    margin-bottom: 0;
  }

  .mleha-cert-featured .number {
    text-align: right;
    direction: ltr;
    font-size: 10px !important;
  }

  .cert-subtitle {
    font-size: 10px;
    text-align: right;
  }

  /* Small cert cards: 3-column grid, Figma: py-12 px-8 */
  .mleha-cert-card,
  .mleha-cert-no-hover {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: auto;
    padding: 12px 8px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  /* Figma: img ~42px */
  .mleha-cert-card img,
  .mleha-cert-no-hover img {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  .mleha-cert-card .title,
  .mleha-cert-no-hover .title {
    font-size: 9px !important;
    text-align: center;
    width: 100%;
  }

  .mleha-cert-card .number,
  .mleha-cert-no-hover .number {
    font-size: 11px !important;
    text-align: center;
    width: 100%;
  }

  .cert-divider {
    width: 18px;
  }

  /* Link columns: after certificates — Figma: gap-15 between sections */
  .mleha-footer-columns {
    order: 2;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 0;
  }

  /* Headings with decorative lines — Figma: 13px bold */
  .mleha-footer-columns > .mleha-footer-column:nth-child(1) h3,
  .mleha-footer-columns > .mleha-footer-column:nth-child(2) h3 {
    width: 100%;
    margin: 0 0 10px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    text-align: center;
    color: #452E1E;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }

  .mleha-footer-columns > .mleha-footer-column:nth-child(1) h3::before,
  .mleha-footer-columns > .mleha-footer-column:nth-child(1) h3::after,
  .mleha-footer-columns > .mleha-footer-column:nth-child(2) h3::before,
  .mleha-footer-columns > .mleha-footer-column:nth-child(2) h3::after {
    content: "";
    height: 1px;
    background: #e3d5ca;
    display: block;
  }

  /* Link lists: 4-column icon grid — Figma: gap-2 */
  .mleha-footer-columns > .mleha-footer-column:nth-child(1) .footer-list,
  .mleha-footer-columns > .mleha-footer-column:nth-child(2) .footer-list {
    width: 100%;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: none;
    border: none;
    border-radius: 0;
    direction: rtl;
  }

  .mleha-footer-columns > .mleha-footer-column:nth-child(1) .footer-list li,
  .mleha-footer-columns > .mleha-footer-column:nth-child(2) .footer-list li {
    width: 100%;
    text-align: center;
    display: flex;
  }

  /* Link <a>: vertical card — Figma: py-12 px-8 bg-#ede1d5 border-#e5d9cd rounded-12 gap-8 text-9px */
  .mleha-footer-columns > .mleha-footer-column:nth-child(1) .footer-list a,
  .mleha-footer-columns > .mleha-footer-column:nth-child(2) .footer-list a {
    width: 100%;
    height: auto;
    min-height: unset;
    padding: 12px 8px;
    box-sizing: border-box;
    border: 1px solid #D9CDC2;
    border-radius: 12px;
    background: #ede1d5;
    color: #452E1E;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    text-align: center;
    text-decoration: none;
    font-size: 9px !important;
    line-height: 1.3 !important;
    transition: all 0.25s ease;
  }

  .mleha-footer-columns > .mleha-footer-column:nth-child(1) .footer-list a:hover,
  .mleha-footer-columns > .mleha-footer-column:nth-child(2) .footer-list a:hover,
  .mleha-footer-columns > .mleha-footer-column:nth-child(1) .footer-list a:active,
  .mleha-footer-columns > .mleha-footer-column:nth-child(2) .footer-list a:active {
    background: #452E1E;
    color: #ffffff;
    border-color: #452E1E;
  }

  /* Icons on mobile — Figma: 20px */
  .mleha-footer-columns > .mleha-footer-column:nth-child(1) .footer-list .mleha-link-icon,
  .mleha-footer-columns > .mleha-footer-column:nth-child(2) .footer-list .mleha-link-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    flex-shrink: 0;
    transition: all 0.25s ease;
  }

  .mleha-footer-columns > .mleha-footer-column:nth-child(1) .footer-list .mleha-link-icon img,
  .mleha-footer-columns > .mleha-footer-column:nth-child(2) .footer-list .mleha-link-icon img {
    width: 20px;
    height: 20px;
  }

  .mleha-footer-columns > .mleha-footer-column:nth-child(1) .footer-list a:hover .mleha-link-icon img,
  .mleha-footer-columns > .mleha-footer-column:nth-child(2) .footer-list a:hover .mleha-link-icon img,
  .mleha-footer-columns > .mleha-footer-column:nth-child(1) .footer-list a:active .mleha-link-icon img,
  .mleha-footer-columns > .mleha-footer-column:nth-child(2) .footer-list a:active .mleha-link-icon img {
    filter: brightness(0) invert(1);
  }

  .mleha-footer-columns > .mleha-footer-column:nth-child(1) .footer-list a:hover .mleha-link-text,
  .mleha-footer-columns > .mleha-footer-column:nth-child(2) .footer-list a:hover .mleha-link-text,
  .mleha-footer-columns > .mleha-footer-column:nth-child(1) .footer-list a:active .mleha-link-text,
  .mleha-footer-columns > .mleha-footer-column:nth-child(2) .footer-list a:active .mleha-link-text {
    color: #ffffff;
  }

  /* "اتصل بنا" — Figma: full-width bar h-40 py-8 centered flex-row gap-12 bg-#ede1d5 rounded-12 */
  .mleha-footer-columns > .mleha-footer-column:nth-child(2) .footer-list li:last-child {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
  }

  .mleha-footer-columns > .mleha-footer-column:nth-child(2) .footer-list li:last-child a {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: unset;
    padding: 12px 8px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .mleha-footer-columns > .mleha-footer-column:nth-child(2) .footer-list li:last-child .mleha-link-icon {
    width: 20px;
    height: 20px;
  }

  /* Social column: heading hidden, content centered */
  .mleha-footer-social h3 {
    display: none;
  }

  .mleha-footer-social {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Figma: social icons gap-20, margin-bottom-15 */
  .mleha-footer-social .social-icons {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
  }

  .mleha-footer-social .social-icons a {
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #452E1E;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mleha-footer-social .social-icons a:hover {
    background: transparent;
    color: #9D3D38;
    transform: translateY(-2px);
  }

  .mleha-footer-social .social-icons i,
  .mleha-footer-social .social-icons i::before {
    display: inline-block;
    font-size: 19px;
    line-height: 1;
    color: #452E1E;
  }

  /* Figma: language/currency row gap-19 */
  .mleha-footer-social .mleha-settings-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 19px;
  }

  .mleha-setting-btn {
    width: auto;
    min-height: auto;
    padding: 8px 14px;
    border: 0;
    border-radius: 8px;
    background: var(--color-primary, #9D3D38);
    color: #EEE2D4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .mleha-setting-btn:hover {
    background: var(--color-primary-dark, #771712);
    border-color: transparent;
    color: #EEE2D4;
  }

  .mleha-setting-btn i {
    font-size: 18px;
    line-height: 1;
    color: #EEE2D4;
  }

  .mleha-setting-btn span:first-of-type {
    flex: unset;
    text-align: center;
  }

  /* Keep dropdown arrow hidden on mobile too */
  .mleha-setting-btn .sicon-keyboard_arrow_down,
  .mleha-setting-btn span:last-child {
    display: none;
  }

  /* Bottom section — Figma: gap-10 */
  .mleha-footer-bottom-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }

  .mleha-payments-list {
    order: 1;
    width: 100%;
    justify-content: center;
  }

  .mleha-footer-rights {
    order: 2;
    width: 100%;
    text-align: center;
  }

  .mleha-footer-rights p {
    text-align: center;
    /* Figma: 8px, color #666 */
    font-size: 8px !important;
    color: #666 !important;
  }
}


/* ====================================
  SMALL MOBILE
==================================== */

@media (max-width: 480px) {
  .mleha-footer-wrapper {
    padding-inline: 14px;
  }

  .mleha-footer-social .social-icons {
    gap: 16px;
  }

  .mleha-payments-list {
    gap: 7px;
  }

  .mleha-payment-icon {
    height: 29px;
  }
}

@media (max-width: 390px) {
  .mleha-footer-columns > .mleha-footer-column:nth-child(1) h3,
  .mleha-footer-columns > .mleha-footer-column:nth-child(2) h3 {
    gap: 10px;
  }
}

@media (max-width: 340px) {
  .mleha-footer-columns > .mleha-footer-column:nth-child(1) .footer-list,
  .mleha-footer-columns > .mleha-footer-column:nth-child(2) .footer-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .mleha-footer-columns > .mleha-footer-column:nth-child(2) .footer-list li:last-child {
    grid-column: 1 / -1;
  }
}