/* leboss home-v2 assembled */
/* --- _base.css --- */
/* Home v2 — base shell (no TheGem/Elementor). Scoped with .hv2-* */
:root {
  --hv2-black: #0a0a0a;
  --hv2-white: #fff;
  --hv2-muted: #5f727f;
  --hv2-border: #dfe5e8;
  --hv2-promo: #0a0a0a;
  --hv2-font: "YekanBakhFaNum", "YekanBakh", Tahoma, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html.hv2-html { scroll-behavior: smooth; }
body.hv2-page {
  margin: 0;
  padding: 0;
  font-family: var(--hv2-font);
  color: var(--hv2-black);
  background: var(--hv2-white);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  /* Android Chrome default tap overlay is light blue (rgba(51,181,229,.4)). */
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}
/* Cover Elementor/TheGem nodes that don't inherit tap-highlight from body. */
body.hv2-page a,
body.hv2-page button,
body.hv2-page [role="button"],
body.hv2-page input,
body.hv2-page select,
body.hv2-page summary,
body.hv2-page label,
body.hv2-page .portfolio-item,
body.hv2-page .image-link,
body.hv2-page .minicart-menu-link,
body.hv2-page .e-n-tab-title {
  -webkit-tap-highlight-color: transparent !important;
  tap-highlight-color: transparent !important;
}
img { max-width: 100%; height: auto; border: 0; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; }
.screen-reader-text, .hv2-skip:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.hv2-skip:focus {
  position: fixed; z-index: 100000; top: 8px; right: 8px; background: #fff; padding: 8px 12px;
}

/* Promo bar */
.hv2-promo { background: var(--hv2-promo); color: #fff; font-size: 12px; line-height: 1.4; }
.hv2-promo__inner {
  max-width: 1440px; margin: 0 auto; padding: 8px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.hv2-promo__center { flex: 1; text-align: center; }
.hv2-promo__side { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hv2-promo__digipay { width: 20px; height: 20px; object-fit: contain; }
@media (max-width: 767px) {
  .hv2-promo__side--start { display: none; }
  .hv2-promo__center { text-align: right; font-size: 11px; }
}

/* Top bar */
.hv2-bar { background: #fff; border-bottom: 1px solid #f0f0f0; }
.hv2-bar__inner {
  max-width: 1440px; margin: 0 auto; padding: 10px 16px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  min-height: 64px;
}
.hv2-burger {
  display: none; width: 40px; height: 40px; padding: 10px; box-sizing: border-box;
  border: 0; background: transparent; color: #0a0a0a; text-decoration: none; cursor: pointer;
}
.hv2-burger span { display: block; height: 2px; background: currentColor; margin: 5px 0; }
.hv2-logo { justify-self: end; }
.hv2-logo__mobile { display: none; }
.hv2-logo img { width: 168px; height: auto; }
.hv2-actions { display: inline-flex; align-items: center; gap: 4px; justify-self: start; }
.hv2-icon-btn {
  position: relative; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: #0a0a0a;
}
.hv2-cart-count {
  position: absolute; top: 2px; left: 2px; min-width: 18px; height: 18px; border-radius: 50%;
  background: #0a0a0a; color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center;
}
.hv2-cart-count.is-empty { display: none; }

/* Desktop nav */
.hv2-nav { background: #0a0a0a; color: #fff; }
.hv2-nav__inner {
  max-width: 1440px; margin: 0 auto; padding: 0 16px; min-height: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.hv2-nav__list {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center;
}
.hv2-nav__link { color: #fff; font-size: 13px; line-height: 48px; display: inline-block; white-space: nowrap; }
.hv2-nav__link:hover { opacity: .85; }
.hv2-nav__social { display: inline-flex; align-items: center; gap: 10px; }
/* Live social icons: plain glyphs, no circle border (circle was bleeding onto chrome). */
.hv2-nav__social-link {
  width: 20px; height: 20px; border: 0; border-radius: 0; background: transparent;
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.hv2-nav__social-link svg { width: 16px; height: 16px; display: block; }
.hv2-nav__social-link:hover { opacity: .85; }

/* Mobile drawer */
.hv2-drawer[hidden] { display: none !important; }
.hv2-drawer { position: fixed; inset: 0; z-index: 100050; }
.hv2-drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.hv2-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
  background: #fff; color: #0a0a0a; overflow: auto; box-shadow: -8px 0 24px rgba(0,0,0,.18);
}
.hv2-drawer__head {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #eee;
}
.hv2-drawer__close { font-size: 28px; line-height: 1; width: 40px; height: 40px; }
.hv2-drawer__list { list-style: none; margin: 0; padding: 8px 0; }
.hv2-drawer__list a { display: block; padding: 12px 16px; font-size: 15px; border-bottom: 1px solid #f3f3f3; }

/* Nav hidden below TheGem desktop breakpoint (live) */
@media (max-width: 1023px) {
  .hv2-nav { display: none; }
}
/* Phone chrome only — live Elementor mobile <768; tablet keeps desktop bar */
@media (max-width: 767px) {
  .hv2-burger { display: inline-block; }
  .hv2-bar__inner { grid-template-columns: 40px 1fr auto; }
  .hv2-logo__desktop { display: none; }
  .hv2-logo__mobile { display: block; }
  .hv2-logo img { width: 132px; }
}

/* Footer + WA */
/* footer styles live in _footer.css (live leboss-site-footer) */
.hv2-wa {
  position: fixed; left: 22px; bottom: 22px; z-index: 99999; width: 58px; height: 58px; max-width: 58px; max-height: 58px;
  border-radius: 50%; overflow: hidden; line-height: 0;
  background: #00592d; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.hv2-wa img, .hv2-wa svg, .hv2-wa .swb-float__icon { width: 21px !important; height: 21px !important; display: block; }

/* Body width */
.hv2-main { width: 100%; }
.hv2-home { width: 100%; }

/* --- _live-chrome.css --- */
/* Measured from live `/` at 1440 / 375 — do not invent values */

/* Promo — live #7c3c9c3: 58px @≥1024, 56px @768–1023, flex mobile ≤767 */
.hv2-promo-wrap {
  background: #000;
  color: #fcfcfc;
  min-height: 58px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 7px 0;
}
.hv2-page .leboss-promo-bar {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  column-gap: 16px;
  width: 100%;
  min-height: 36px;
  padding: 8px clamp(24px, 5vw, 56px);
  box-sizing: border-box;
  direction: rtl;
  color: #fcfcfc;
  font-family: "YekanBakhFaNum", "Yekan Bakh FaNum", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: 0;
  background: transparent;
}
.hv2-page .leboss-promo-bar__side {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font: inherit;
  white-space: nowrap;
  text-decoration: none;
}
.hv2-page .leboss-promo-bar__side--start { justify-self: start; justify-content: flex-start; }
.hv2-page .leboss-promo-bar__side--end { justify-self: end; justify-content: flex-end; }
.hv2-page .leboss-promo-bar__center {
  margin: 0;
  padding: 0;
  justify-self: center;
  text-align: center;
  color: inherit;
  font: inherit;
  white-space: nowrap;
}
.hv2-page .leboss-promo-bar__digipay {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 28px;
  border-radius: 7px;
  background: #0037fe;
}
.hv2-page .leboss-promo-bar__torob {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 28px;
  background: transparent;
}
.hv2-page .leboss-promo-bar__side--mobile { display: none; }

@media (max-width: 1023px) {
  .hv2-page .leboss-promo-bar {
    font-size: 12px;
    padding: 7px 16px;
    gap: 10px;
  }
}

@media (max-width: 767px) {
  .hv2-promo-wrap {
    min-height: 0;
    padding: 0;
  }
  .hv2-page .leboss-promo-bar {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
    width: 100%;
    min-height: 0;
    padding: 10px 12px;
    font-size: 10px;
    line-height: 1.2;
    overflow: hidden;
    white-space: nowrap;
  }
  .hv2-page .leboss-promo-bar__side--desktop,
  .hv2-page .leboss-promo-bar__center {
    display: none !important;
  }
  .hv2-page .leboss-promo-bar__side--end {
    order: 1;
    display: flex;
    flex: 0 0 auto;
    gap: 6px;
    margin: 0;
    direction: rtl;
  }
  .hv2-page .leboss-promo-bar__side--mobile {
    order: 2;
    display: block !important;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 0 0 8px;
    text-align: right;
    direction: rtl;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hv2-page .leboss-promo-bar__digipay,
  .hv2-page .leboss-promo-bar__torob {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 6px;
  }
}

/* Logo / search row — live container eb6c9de: h=128.5px */
.hv2-bar {
  position: relative;
  /* Above .hv2-nav so desktop minicart dropdown paints over the black menu bar. */
  z-index: 1100;
  background: #fff;
  border-bottom: 0;
  min-height: 128.5px;
  display: flex;
  align-items: center;
}
.hv2-bar__inner {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 clamp(24px, 3vw, 42px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 128.5px;
  box-sizing: border-box;
}
.hv2-logo {
  justify-self: end;
  display: flex;
  align-items: center;
}
.hv2-logo img,
.hv2-logo .logo img {
  width: 168px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}
.hv2-logo__mobile { display: none; }

/* Live search widget #d715100 — first-paint Juwan chrome (do not wait on deferred CSS) */
.hv2-search-slot {
  min-width: 0;
  width: 100%;
  justify-self: stretch;
}
.hv2-search-slot > .elementor-element-d715100 {
  width: 100%;
}
.hv2-page .elementor-element-d715100 > .elementor-widget-container {
  padding-right: 0 !important;
  margin-right: 0 !important;
}
@media (min-width: 768px) {
  .hv2-page .hv2-search-slot .thegem-te-search-form,
  .hv2-page .elementor-element-d715100 .thegem-te-search-form {
    width: 100%;
    max-width: 750px;
    margin-inline: auto;
  }
  .hv2-page .elementor-element-d715100 .thegem-te-search-form .search-field {
    height: 46px !important;
    line-height: 46px !important;
    border: 1px solid #0a0a0a !important;
    border-radius: 0 !important;
    padding: 0 44px !important;
    background: #fff !important;
    color: #0a0a0a !important;
    font-size: 16px !important;
    text-transform: none !important;
  }
  .hv2-page .elementor-element-d715100 .thegem-te-search-form .search-submit .open {
    display: none !important;
  }
}
/* Mobile closed icon: hide bordered field immediately (class may arrive after park). */
@media (max-width: 767px) {
  .hv2-page .elementor-element-d715100:not(.is-search-open) .thegem-te-search-form .search-field,
  .elementor-334 .elementor-element.elementor-element-d715100:not(.is-search-open) .thegem-te-search-form .search-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    pointer-events: none !important;
  }
}

.hv2-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
}
.hv2-icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
}
.hv2-burger { display: none; width: 40px; height: 40px; padding: 10px; }
.hv2-burger span { display: block; height: 2px; background: #0a0a0a; margin: 5px 0; }

/* Nav — live section 2a88f07: h=80px */
.hv2-nav {
  background: #0a0a0a;
  color: #fff;
  min-height: 80px;
  display: flex;
  align-items: center;
}
.hv2-nav__inner {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 clamp(24px, 3vw, 42px);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}
.hv2-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  align-items: center;
}
.hv2-nav__link {
  color: #fff;
  font-family: "YekanBakhFaNum", "YekanBakh", Tahoma, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 80px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.hv2-nav__link:hover { opacity: .85; }
.hv2-nav__social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hv2-nav__social-link {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.hv2-nav__social-link svg { width: 16px; height: 16px; display: block; }
.hv2-nav__social-link:hover { opacity: .85; }

/*
 * Live Elementor/TheGem chrome (measured 2026-11-11):
 *   ≤767  — mobile bar #5800f24 (~56px); desktop bar/nav hidden; header ~98
 *   ≥768  — desktop bar #eb6c9de (128.5px); mobile bar hidden
 *   ≤1023 — horizontal megamenu hidden (TheGem desktop-breakpoint 1023);
 *           at 768 nav section display:none; at 800–1023 live shows "Menu" overlay bar
 *   ≥1024 — full horizontal nav (~89px @1024, ~80px @1280+)
 */

/* Hide full horizontal nav below TheGem desktop breakpoint */
@media (max-width: 1023px) {
  .hv2-nav { display: none; }
}

/* Phone only — live mobile section #5800f24 */
@media (max-width: 767px) {
  .hv2-burger { display: inline-flex; align-items: center; justify-content: center; }
  /* Live mobile header total ~98px; promo ~42 → bar ~56 */
  .hv2-bar { min-height: 56px; }
  .hv2-bar__inner {
    /* Live #5800f24: burger | logo | actions — RTL grid so burger sits on the right. */
    grid-template-columns: 40px minmax(0, 1fr) auto;
    direction: rtl;
    min-height: 56px;
    padding: 0 12px;
    gap: 4px;
  }
  .hv2-logo { justify-self: stretch; justify-content: flex-start; }
  .hv2-actions {
    justify-self: start;
    direction: ltr; /* cart | account | search left→right like live photo 3 */
    gap: 0;
  }
  .hv2-icon-btn,
  .hv2-actions .thegem-te-cart {
    width: 40px;
    height: 40px;
  }
  .hv2-account { order: 2; }
  .hv2-cart-slot { order: 1; }
  .hv2-logo__desktop { display: none; }
  .hv2-logo__mobile { display: block; }
  .hv2-logo img { width: 118px; max-height: 36px; }
}

/* Desktop nav + search @1024–1279 — live search ~708, nav ~89.2 */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hv2-bar__inner {
    padding: 0 20px;
    gap: 14px;
  }
  .hv2-nav { min-height: 89px; }
  .hv2-nav__inner { min-height: 89px; }
  .hv2-nav__list {
    flex-wrap: nowrap;
    gap: 0 10px;
    overflow: hidden;
  }
  .hv2-nav__link {
    font-size: 13px;
    line-height: 89px;
  }
  .hv2-nav__social { flex-shrink: 0; gap: 8px; }
  .hv2-nav__social-link { width: 18px; height: 18px; }
  .hv2-nav__social-link svg { width: 14px; height: 14px; }
}

/* Hero mobile — main BF art is 1080×1350; keep flush under header (no letterbox). */
@media (max-width: 767px) {
  .hv2-page .leboss-hero {
    background: #fff;
  }
  .hv2-page .leboss-hero__img {
    aspect-ratio: 1080 / 1350 !important;
    object-fit: cover;
    object-position: center top;
  }
}

/*
 * MUST come after base .hv2-bar__inner rules above,
 * or clamp(24px) and max-width:750 win the cascade.
 */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Live #7c3c9c3 @768: h=56; Elementor inset → promo ~716×42; search 452×46 */
  .hv2-promo-wrap {
    min-height: 56px;
    height: 56px;
    /* live measured promo x=47 w=716 → left 47 / right 5 */
    padding: 7px 5px 7px 47px;
    box-sizing: border-box;
  }
  .hv2-page .leboss-promo-bar {
    min-height: 42px;
    height: 42px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 7px 16px;
    font-size: 12px;
    line-height: 25px;
    box-sizing: border-box;
  }
  .hv2-bar__inner {
    padding: 0 25px !important;
    gap: 5px !important;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hv2-bar__inner {
    padding: 0 20px !important;
    gap: 14px !important;
  }
}

/* --- _live-mobile-chrome.css --- */
/* Live mobile header (#5800f24) + ekit offcanvas — cut from main.css / header critical.
 * Requires .elementor-334 wrapper on Home V2 (same IDs as live `/`).
 */
.hv2-page .hv2-live-mobile-chrome {
  width: 100%;
}
.hv2-page .hv2-live-mobile-chrome .ekit-sidebar-group:not(.ekit_isActive) {
  display: none !important;
}
@media (max-width: 767px) {
  .hv2-page .hv2-bar--desktop { display: none !important; }
}
@media (min-width: 768px) {
  .hv2-page .hv2-live-mobile-chrome { display: none !important; }
}

/* from main.css L6741-7198 */
@media (max-width: 767px) {
  .thegem-template-334 > .elementor.elementor-334,
  .thegem-template-header .elementor.elementor-334 {
    display: block;
  }

  /* Desktop header row emptied on mobile (search lives in chrome row) */
  .elementor-334 .elementor-element.elementor-element-eb6c9de {
    display: none !important;
  }

  /* Promo strip */
  .elementor-334 .elementor-element.elementor-element-7c3c9c3.elementor-hidden-mobile {
    display: block !important;
  }
  .elementor-334 .elementor-element.elementor-element-7c3c9c3 {
    padding: 0 !important;
  }
  .elementor-334 .elementor-element.elementor-element-7c3c9c3 .elementor-widget-container {
    padding: 0 !important;
  }
  .elementor-334 .elementor-element.elementor-element-7c3c9c3 .elementor-container,
  .elementor-334 .elementor-element.elementor-element-7c3c9c3 .elementor-row,
  .elementor-334 .elementor-element.elementor-element-7c3c9c3 .elementor-column,
  .elementor-334 .elementor-element.elementor-element-7c3c9c3 .elementor-element-populated,
  .elementor-334 .elementor-element.elementor-element-7c3c9c3 .elementor-widget-wrap,
  .elementor-334 .elementor-element.elementor-element-7c3c9c3 .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  /*
   * Offcanvas HTML is nested inside the hamburger widget. If it stays in
   * normal flow, the entire menu (extra logos + accordion repeats) dumps
   * under the header. Keep it out of layout until portaled + opened.
   */
  .elementor-334 .ekit-sidebar-group:not(.ekit_isActive) {
    display: none !important;
  }

  .elementor-334 .elementor-element.elementor-element-5800f24 {
    /* LTR: cart | account | search | spacer | logo | burger — match header.php */
    direction: ltr !important;
    display: grid !important;
    grid-template-columns: 40px 40px 40px minmax(8px, 1fr) auto 40px !important;
    grid-template-rows: 40px !important;
    align-items: center !important;
    justify-items: center !important;
    column-gap: 4px !important;
    width: 100% !important;
    min-height: 56px !important;
    height: 56px !important;
    max-height: 56px !important;
    overflow: visible !important;
    padding: 8px 12px !important;
    box-sizing: border-box !important;
    border-bottom: 0 !important;
  }

  #site-header,
  #site-header .header-wrapper,
  #site-header .header-background,
  #site-header .fullwidth-content,
  #site-header .thegem-template-334,
  #site-header .elementor-334 {
    overflow: visible !important;
  }

  .elementor-334 .elementor-element.elementor-element-5800f24 > .elementor-element {
    flex: none !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    overflow: visible !important;
    position: relative !important;
  }

  /* One logo — hide TheGem desktop span (no toggle JS). */
  .elementor-334 .elementor-element.elementor-element-6dca4d1 .logo.desktop {
    display: none !important;
  }
  .elementor-334 .elementor-element.elementor-element-6dca4d1 .logo.mobile {
    display: inline-block !important;
    line-height: 0 !important;
  }

  /* Columns: 1 cart | 2 account | 3 search | 4 spacer | 5 logo | 6 burger.
   * Do NOT set z-index on #b84274e — it traps position:fixed minicart in a
   * low stacking context (icons paint over the drawer). Drawer is portaled. */
  .elementor-334 .elementor-element.elementor-element-b84274e {
    grid-column: 1 !important;
    grid-row: 1 !important;
    overflow: visible !important;
    z-index: auto !important;
  }

  /* Badge sits on the cart glyph, not the outer 40×40 cell corner */
  .elementor-334 .elementor-element.elementor-element-b84274e .minicart-item-count {
    position: absolute !important;
    top: 6px !important;
    right: 4px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: auto !important;
    height: 15px !important;
    min-width: 15px !important;
    padding: 0 3px !important;
    font-size: 9px !important;
    line-height: 15px !important;
    max-width: none !important;
    border-radius: 999px !important;
    z-index: 3;
    pointer-events: none;
  }
  .elementor-334 .elementor-element.elementor-element-b84274e .minicart-menu-link.empty .minicart-item-count {
    display: none !important;
  }
  .elementor-334 .elementor-element.elementor-element-44e3909 {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  .elementor-334 .elementor-element.elementor-element-44e3909 .thegem-te-account .gem-icon {
    margin-right: 32px !important;
  }
  .elementor-334 .elementor-element.elementor-element-5800f24 > .elementor-element.elementor-element-d715100.leboss-mobile-search-icon,
  .elementor-334 .elementor-element.elementor-element-d715100,
  .elementor-334 .elementor-element.elementor-element-d715100.elementor-hidden-mobile {
    grid-column: 3 !important;
    grid-row: 1 !important;
    display: flex !important;
    margin: 0 !important;
    width: 40px !important;
    max-width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    z-index: 6 !important;
    pointer-events: auto !important;
  }
  /* Higher specificity than the 40×40 icon cell rule — match header.php logo box */
  .elementor-334 .elementor-element.elementor-element-5800f24 > .elementor-element.elementor-element-6dca4d1 {
    grid-column: 5 !important;
    grid-row: 1 !important;
    width: auto !important;
    min-width: 96px !important;
    max-width: 110px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    overflow: visible !important;
    justify-self: end !important;
    align-self: center !important;
    margin-inline-end: 2px !important;
    /* Sit flush with burger — no optical float-up */
    transform: none !important;
  }
  .elementor-334 .elementor-element.elementor-element-5800f24 > .elementor-element.elementor-element-4c7f629 {
    grid-column: 6 !important;
    grid-row: 1 !important;
    overflow: visible !important;
    z-index: 5;
    align-self: center !important;
    justify-self: end !important;
    justify-content: flex-end !important;
    margin: 0 -12px 0 0 !important;
  }

  .elementor-334 .elementor-element.elementor-element-5800f24 > .elementor-element > .elementor-widget-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
  }

  .elementor-334 .elementor-element.elementor-element-6dca4d1 .site-logo,
  .elementor-334 .elementor-element.elementor-element-6dca4d1 .logo,
  .elementor-334 .elementor-element.elementor-element-6dca4d1 .logo.mobile,
  .elementor-334 .elementor-element.elementor-element-6dca4d1 .thegem-te-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    height: 40px !important;
    width: 100% !important;
    transform: none !important;
  }
  .elementor-334 .elementor-element.elementor-element-6dca4d1 .site-logo > a > span.logo {
    margin-left: 5px !important;
  }

  .elementor-334 .elementor-element.elementor-element-6dca4d1 .site-logo img,
  .elementor-334 .elementor-element.elementor-element-6dca4d1 .logo.mobile img,
  .elementor-334 .elementor-element.elementor-element-6dca4d1 .logo img {
    max-width: 100px !important;
    width: 100px !important;
    height: 24px !important;
    max-height: 24px !important;
    aspect-ratio: auto !important;
    display: block !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center right !important;
    vertical-align: middle !important;
  }

  .elementor-334 .elementor-element.elementor-element-4c7f629 .ekit-wid-con,
  .elementor-334 .elementor-element.elementor-element-4c7f629 .ekit-offcanvas-toggle-wraper,
  .elementor-334 .elementor-element.elementor-element-4c7f629 .ekit_navSidebar-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .elementor-334 .elementor-element.elementor-element-4c7f629 .ekit_navSidebar-button {
    margin-left: 3px !important;
  }

  .elementor-334 .elementor-element.elementor-element-4c7f629 .ekit_navSidebar-button svg {
    max-width: 20px !important;
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    margin-inline-start: auto !important;
    pointer-events: none;
  }

  .elementor-334 .elementor-element.elementor-element-44e3909 .thegem-te-account,
  .elementor-334 .elementor-element.elementor-element-b84274e .thegem-te-cart,
  .elementor-334 .elementor-element.elementor-element-b84274e .menu-item-cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    line-height: 0 !important;
  }

  .elementor-334 .elementor-element.elementor-element-b84274e .minicart,
  .elementor-334 .elementor-element.elementor-element-b84274e .mobile-minicart-overlay {
    position: fixed !important;
  }

  /*
   * TheGem stacks cart as: flow-sized hit link + absolute glyph overlay.
   * Forcing both to position:relative made empty-cart (no badge) push the
   * trolley icon off the shared optical center with account/search.
   */
  .elementor-334 .elementor-element.elementor-element-b84274e .minicart-menu-link {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
  }

  .elementor-334 .elementor-element.elementor-element-b84274e .minicart-menu-link:before {
    /* TheGem invisible sizing glyph — kill so empty link stays a flat 40×40 */
    content: none !important;
    display: none !important;
  }

  .elementor-334 .elementor-element.elementor-element-b84274e .te-cart-icon {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    pointer-events: none;
    transform: none !important;
  }

  .elementor-334 .elementor-element.elementor-element-b84274e .minicart-menu-link.empty .minicart-item-count {
    display: none !important;
  }

  .elementor-334 .elementor-element.elementor-element-44e3909 .thegem-te-account a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
  }

  /* Uniform 20px glyphs — beat desktop 24px rules later in the cascade */
  .hv2-page .elementor-334 .elementor-element.elementor-element-b84274e .te-cart-icon i,
  .hv2-page .elementor-334 .elementor-element.elementor-element-b84274e .te-cart-icon i:before,
  .hv2-page .elementor-334 .elementor-element.elementor-element-b84274e .te-cart-icon i::before,
  .hv2-page .elementor-334 .elementor-element.elementor-element-44e3909 .thegem-te-account i,
  .hv2-page .elementor-334 .elementor-element.elementor-element-44e3909 .thegem-te-account i:before,
  .hv2-page .elementor-334 .elementor-element.elementor-element-44e3909 .thegem-te-account i::before,
  .hv2-page .elementor-334 .elementor-element.elementor-element-d715100 .search-submit .open i,
  .hv2-page .elementor-334 .elementor-element.elementor-element-d715100 .search-submit .open i:before,
  .hv2-page .elementor-334 .elementor-element.elementor-element-d715100 .search-submit .open i::before {
    font-size: 20px !important;
    line-height: 1 !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    display: block !important;
  }
  .hv2-page .elementor-334 .elementor-element.elementor-element-4c7f629 .ekit_navSidebar-button svg {
    width: 20px !important;
    height: 20px !important;
  }

  .elementor-334 .elementor-element.elementor-element-44e3909 .thegem-te-account svg,
  .elementor-334 .elementor-element.elementor-element-44e3909 .thegem-te-account img,
  .elementor-334 .elementor-element.elementor-element-b84274e .thegem-te-cart svg,
  .elementor-334 .elementor-element.elementor-element-b84274e .cart-contents {
    max-width: 20px !important;
    width: 20px !important;
    height: 20px !important;
    display: block !important;
  }

  /* ---- Search widget shell (details in search-dropdown.css) ---- */
  .elementor-334 .elementor-element.elementor-element-d715100.leboss-mobile-search-icon > .elementor-widget-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 40px !important;
    height: 40px !important;
  }

  /* Match live header.php optical nudge for search glyph */
  .elementor-334 .elementor-element.elementor-element-d715100 .thegem-te-search-form .search-submit .open {
    margin-right: 43px !important;
  }

  /* Keep search glyph on the same optical center as cart/account */
  .elementor-334 .elementor-element.elementor-element-d715100.leboss-mobile-search-icon .thegem-te-search-form .search-submit .open i.default,
  .elementor-334 .elementor-element.elementor-element-d715100.leboss-mobile-search-icon .thegem-te-search-form .search-submit .open i.default:before {
    font-size: 20px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
  }

  .elementor-334 .elementor-element.elementor-element-5800f24 > .elementor-element.elementor-element-d715100.leboss-mobile-search-icon.is-search-open {
    grid-column: 2 / 6 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    justify-self: stretch !important;
    overflow: visible !important;
  }

  .elementor-334 .elementor-element.elementor-element-d715100.leboss-mobile-search-icon.is-search-open > .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* User preference: hide logo while search field is expanded */
  html.leboss-mobile-search-open .elementor-334 .elementor-element.elementor-element-5800f24 > .elementor-element.elementor-element-6dca4d1,
  html.leboss-mobile-search-open .elementor-334 .elementor-element.elementor-element-5800f24 > .elementor-element.elementor-element-44e3909 {
    display: none !important;
  }

  /* Keep duplicate desktop bottom nav hidden on phones */
  .elementor-334 .elementor-element.elementor-element-2a88f07 {
    display: none !important;
  }

  .ekit-wid-con .ekit_sidebar-textwidget,
  body > .ekit-sidebar-group .ekit_sidebar-textwidget {
    direction: rtl;
    text-align: right;
  }

  body.leboss-ekit-open {
    overflow: hidden !important;
  }

  /* Panel portaled to body — beat #page overflow:clip */
  body > .ekit-sidebar-group {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 1000000 !important;
    pointer-events: none;
  }
  body > .ekit-sidebar-group.ekit_isActive {
    pointer-events: auto;
  }
  body > .ekit-sidebar-group .ekit-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1000001 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  body > .ekit-sidebar-group.ekit_isActive .ekit-overlay {
    opacity: 1 !important;
    visibility: visible !important;
  }
  body > .ekit-sidebar-group .ekit-sidebar-widget {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: min(86vw, 360px) !important;
    max-width: 360px !important;
    z-index: 1000002 !important;
    background: #fff !important;
    transform: translateX(105%);
    visibility: visible !important;
    opacity: 1 !important;
    transition: transform 0.3s ease !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  body > .ekit-sidebar-group.ekit_isActive .ekit-sidebar-widget {
    transform: translateX(0) !important;
  }
}

/* from main.css L7209-7466 */
/* Mobile offcanvas / hamburger menu — fix giant X + tidy RTL panel */
@media (max-width: 767px) {
  .ekit-wid-con,
  .elementskit-menu-container,
  .ekit-menu-offcanvas-container,
  .elementor-334 .e-n-accordion,
  .elementor-334 .elementor-icon-list-items,
  body > .ekit-sidebar-group,
  body > .ekit-sidebar-group .elementor-17829 {
    direction: rtl;
    text-align: right;
  }

  .elementor-334 .menu-toggle {
    font-size: 0 !important;
    line-height: 0 !important;
  }
  .elementor-334 .menu-toggle .menu-line-1,
  .elementor-334 .menu-toggle .menu-line-2,
  .elementor-334 .menu-toggle .menu-line-3 {
    display: block !important;
  }

  /* Close button — Elementor icon SVG was filling the panel width */
  body > .ekit-sidebar-group .ekit_widget-heading,
  .ekit-sidebar-group .ekit_widget-heading {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding: 14px 16px 8px !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }
  body > .ekit-sidebar-group .ekit_close-side-widget,
  .ekit-sidebar-group .ekit_close-side-widget {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-size: 18px !important;
    color: #0a0a0a !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  body > .ekit-sidebar-group .ekit_close-side-widget svg,
  body > .ekit-sidebar-group .ekit_close-side-widget .e-font-icon-svg,
  body > .ekit-sidebar-group .ekit_close-side-widget .leboss-ekit-close-icon,
  .ekit-sidebar-group .ekit_close-side-widget svg,
  .ekit-sidebar-group .ekit_close-side-widget .e-font-icon-svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    fill: #0a0a0a !important;
    flex: 0 0 18px !important;
  }

  /* Panel content */
  body > .ekit-sidebar-group .ekit_sidebar-textwidget,
  .ekit-sidebar-group .ekit_sidebar-textwidget {
    padding: 0 8px 24px !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .elementor-element-848f506,
  .ekit-sidebar-group .elementor-17829 .elementor-element-848f506 {
    display: flex !important;
    justify-content: center !important;
    padding: 4px 16px 20px !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .elementor-element-848f506 img,
  .ekit-sidebar-group .elementor-17829 .elementor-element-848f506 img {
    width: auto !important;
    max-width: 140px !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  /* Accordion rows */
  body > .ekit-sidebar-group .elementor-17829 .e-n-accordion-item,
  .ekit-sidebar-group .elementor-17829 .e-n-accordion-item {
    border: 0 !important;
    border-bottom: 1px solid #e8e8e8 !important;
    margin: 0 !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .e-n-accordion-item-title,
  .ekit-sidebar-group .elementor-17829 .e-n-accordion-item-title {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;
    padding: 14px 12px !important;
    margin: 0 !important;
    min-height: 48px !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .e-n-accordion-item-title-text,
  .ekit-sidebar-group .elementor-17829 .e-n-accordion-item-title-text {
    font-family: "YekanBakh", "YekanBakhFaNum", Tahoma, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #0a0a0a !important;
    text-align: right !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .e-n-accordion-item-title-icon,
  .ekit-sidebar-group .elementor-17829 .e-n-accordion-item-title-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    order: -1 !important; /* chevron on the left in RTL row */
    color: #828282 !important;
    font-size: 18px !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .e-n-accordion-item-title-icon i,
  .ekit-sidebar-group .elementor-17829 .e-n-accordion-item-title-icon i {
    font-size: 18px !important;
    width: auto !important;
    height: auto !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .elementor-icon-list-items,
  .ekit-sidebar-group .elementor-17829 .elementor-icon-list-items {
    padding: 4px 8px 12px !important;
    margin: 0 !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .elementor-icon-list-item,
  .ekit-sidebar-group .elementor-17829 .elementor-icon-list-item {
    margin: 0 !important;
    padding: 0 !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .elementor-icon-list-item a,
  .ekit-sidebar-group .elementor-17829 .elementor-icon-list-item a {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    padding: 10px 8px !important;
    font-size: 14px !important;
    color: #0a0a0a !important;
    text-align: right !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .elementor-icon-list-icon svg,
  .ekit-sidebar-group .elementor-17829 .elementor-icon-list-icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  /* «فروش شگفت انگیز» + «خرید با لینک» — match accordion row style */
  body > .ekit-sidebar-group .elementor-17829 .elementor-element-9d7cb82,
  body > .ekit-sidebar-group .elementor-17829 .elementor-element-leboss-sbl,
  .ekit-sidebar-group .elementor-17829 .elementor-element-9d7cb82,
  .ekit-sidebar-group .elementor-17829 .elementor-element-leboss-sbl {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e8e8e8 !important;
    background: transparent !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .elementor-element-9d7cb82 .elementor-heading-title,
  body > .ekit-sidebar-group .elementor-17829 .elementor-element-leboss-sbl .elementor-heading-title,
  .ekit-sidebar-group .elementor-17829 .elementor-element-9d7cb82 .elementor-heading-title,
  .ekit-sidebar-group .elementor-17829 .elementor-element-leboss-sbl .elementor-heading-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .elementor-element-9d7cb82 .elementor-heading-title a,
  body > .ekit-sidebar-group .elementor-17829 .elementor-element-leboss-sbl .elementor-heading-title a,
  .ekit-sidebar-group .elementor-17829 .elementor-element-9d7cb82 .elementor-heading-title a,
  .ekit-sidebar-group .elementor-17829 .elementor-element-leboss-sbl .elementor-heading-title a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 14px 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    font-family: "YekanBakh", "YekanBakhFaNum", Tahoma, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #0a0a0a !important;
    text-align: right !important;
    text-decoration: none !important;
    background: transparent !important;
  }

  /* BF mobile pill — black oval / white text / nowrap (link only). */
  body > .ekit-sidebar-group .elementor-17829 .elementor-element-9d7cb82.leboss-mobile-bf-item .elementor-heading-title,
  .ekit-sidebar-group .elementor-17829 .elementor-element-9d7cb82.leboss-mobile-bf-item .elementor-heading-title,
  .leboss-mobile-bf-item .elementor-heading-title {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    min-height: 0 !important;
    line-height: 1 !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .elementor-element-9d7cb82.leboss-mobile-bf-item .elementor-heading-title a,
  .ekit-sidebar-group .elementor-17829 .elementor-element-9d7cb82.leboss-mobile-bf-item .elementor-heading-title a,
  .leboss-mobile-bf-item .elementor-heading-title a,
  a.leboss-mobile-bf-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 6px 14px !important;
    margin: 8px 12px !important;
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    border: none !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    text-decoration: none !important;
  }

  /* Badge «ارسال فوری» — see also global hardened rules below */
  body > .ekit-sidebar-group .elementor-17829 .leboss-mobile-irani-link,
  .ekit-sidebar-group .elementor-17829 .leboss-mobile-irani-link,
  .leboss-mobile-irani-link {
    gap: 8px !important;
  }
}

/*
 * Badge «ارسال فوری» — hardened (keeps breaking when Elementor/heading
 * CSS loads after main.css or when ver=LEBOSS_VERSION is cached stale).
 * Outside the 767 block so tablet offcanvas gets it too.
 */
.leboss-mobile-irani-link {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
body > .ekit-sidebar-group .elementor-17829 .elementor-heading-title a.leboss-mobile-irani-link .leboss-mobile-irani-badge,
.ekit-sidebar-group .elementor-17829 .elementor-heading-title a.leboss-mobile-irani-link .leboss-mobile-irani-badge,
.elementor-heading-title a.leboss-mobile-irani-link .leboss-mobile-irani-badge,
a.leboss-mobile-irani-link .leboss-mobile-irani-badge,
span.leboss-mobile-irani-badge,
.leboss-mobile-irani-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  margin: 0 !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  background: #e8f8ef !important;
  background-color: #e8f8ef !important;
  color: #0f7a3d !important;
  font-family: "YekanBakhFaNum", "YekanBakh", Tahoma, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
}

/* from main.css L8593-8678 */
.leboss-menu-brands-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.leboss-menu-brands {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 8px;
  direction: rtl;
  width: 100%;
  box-sizing: border-box;
}

.leboss-menu-brands__item {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1 1 0;
  min-width: 0;
}

.leboss-menu-brands__card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 58px;
  min-height: 58px;
  overflow: hidden;
  background: #1a1a1a;
  text-decoration: none;
  box-sizing: border-box;
}

/* Photo layer — dimmed to opacity 0.4 */
.leboss-menu-brands__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

/* Logo / text, fully opaque, centered (up to 71×15 in design) */
.leboss-menu-brands__logo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(71px, 88%);
  height: 15px;
  opacity: 1;
  pointer-events: none;
}

.leboss-menu-brands__logo img {
  display: block;
  width: 100%;
  height: 15px;
  max-width: 71px;
  max-height: 15px;
  object-fit: contain;
  opacity: 1;
  /* logos are white-on-black PNG; drop black so photo shows through */
  mix-blend-mode: screen;
}

.leboss-menu-brands__card:hover .leboss-menu-brands__bg,
.leboss-menu-brands__card:focus-visible .leboss-menu-brands__bg {
  opacity: 0.55;
}

/* --- header.php #leboss-header-critical (inline after main.css on live) --- */
@media (max-width: 767px) {
        .elementor-334 .elementor-element.elementor-element-eb6c9de {
          display: none !important;
        }
        /* Promo strip visible on mobile */
        .elementor-334 .elementor-element.elementor-element-7c3c9c3.elementor-hidden-mobile {
          display: block !important;
        }
        .elementor-334 .elementor-element.elementor-element-7c3c9c3,
        .elementor-334 .elementor-element.elementor-element-7c3c9c3 .elementor-container,
        .elementor-334 .elementor-element.elementor-element-7c3c9c3 .elementor-column,
        .elementor-334 .elementor-element.elementor-element-7c3c9c3 .elementor-widget-wrap,
        .elementor-334 .elementor-element.elementor-element-7c3c9c3 .elementor-widget-container {
          padding: 0 !important;
          margin: 0 !important;
          width: 100% !important;
          max-width: none !important;
        }
        .leboss-promo-bar {
          display: flex !important;
          flex-direction: row !important;
          flex-wrap: nowrap !important;
          align-items: center !important;
          justify-content: space-between !important;
          direction: ltr !important;
          height: auto !important;
          max-height: none !important;
          padding: 10px 12px !important;
          overflow: hidden !important;
          box-sizing: border-box !important;
        }
        .leboss-promo-bar__side--end {
          order: 1 !important;
          display: flex !important;
          flex: 0 0 auto !important;
          flex-wrap: nowrap !important;
          align-items: center !important;
          gap: 6px !important;
          margin: 0 !important;
        }
        .leboss-promo-bar__torob {
          width: 22px !important;
          height: 22px !important;
          flex: 0 0 22px !important;
          padding: 0 !important;
          box-sizing: border-box !important;
          background: transparent !important;
        }
        .leboss-promo-bar__side--mobile {
          order: 2 !important;
          flex: 1 1 auto !important;
          min-width: 0 !important;
          text-align: right !important;
          white-space: nowrap !important;
          overflow: hidden !important;
          text-overflow: ellipsis !important;
        }
        /* Drawer must never sit in header flex flow */
        .elementor-334 .ekit-sidebar-group:not(.ekit_isActive) {
          display: none !important;
        }
        .elementor-334 .elementor-element.elementor-element-5800f24 {
          direction: ltr !important;
          display: grid !important;
          grid-template-columns: 40px 40px 40px minmax(8px, 1fr) auto 40px !important;
          grid-template-rows: 40px !important;
          align-items: center !important;
          justify-items: center !important;
          column-gap: 4px !important;
          min-height: 56px !important;
          height: 56px !important;
          max-height: 56px !important;
          overflow: visible !important;
          padding: 8px 12px !important;
          box-sizing: border-box !important;
        }
        .elementor-334 .elementor-element.elementor-element-5800f24 > .elementor-element {
          display: flex !important;
          align-items: center !important;
          justify-content: center !important;
          align-self: center !important;
          width: 40px !important;
          height: 40px !important;
          margin: 0 !important;
          padding: 0 !important;
          overflow: visible !important;
          transform: none !important;
        }
        .elementor-334 .elementor-element.elementor-element-b84274e { grid-column: 1 !important; grid-row: 1 !important; justify-self: start !important; justify-content: flex-start !important; }
        .elementor-334 .elementor-element.elementor-element-b84274e .te-cart-icon { justify-content: flex-start !important; }
        .elementor-334 .elementor-element.elementor-element-44e3909 { grid-column: 2 !important; grid-row: 1 !important; }
        .elementor-334 .elementor-element.elementor-element-44e3909 .thegem-te-account .gem-icon { margin-right: 32px !important; }
        .elementor-334 .elementor-element.elementor-element-d715100,
        .elementor-334 .elementor-element.elementor-element-d715100.elementor-hidden-mobile {
          grid-column: 3 !important;
          grid-row: 1 !important;
          display: flex !important;
          margin: 0 !important;
          z-index: 6 !important;
        }
        .elementor-334 .elementor-element.elementor-element-d715100.is-search-open,
        .elementor-334 .elementor-element.elementor-element-d715100.leboss-mobile-search-icon.is-search-open {
          grid-column: 2 / 6 !important;
          width: auto !important;
          min-width: 0 !important;
          max-width: none !important;
          justify-self: stretch !important;
        }
        /* Beat the 40px child rule — logo needs real width or «لباس» clips */
        .elementor-334 .elementor-element.elementor-element-5800f24 > .elementor-element.elementor-element-6dca4d1 {
          grid-column: 5 !important;
          width: auto !important;
          min-width: 96px !important;
          max-width: 110px !important;
          height: 40px !important;
          overflow: visible !important;
          justify-self: end !important;
          align-self: center !important;
          transform: none !important;
        }
        .elementor-334 .elementor-element.elementor-element-6dca4d1 .site-logo > a > span.logo { margin-left: 5px !important; }
        .elementor-334 .elementor-element.elementor-element-5800f24 > .elementor-element.elementor-element-4c7f629 { grid-column: 6 !important; justify-self: end !important; justify-content: flex-end !important; margin: 0 -12px 0 0 !important; }
        .elementor-334 .elementor-element.elementor-element-4c7f629 .ekit_navSidebar-button { justify-content: flex-end !important; margin-left: 3px !important; }
        .elementor-334 .elementor-element.elementor-element-d715100 .thegem-te-search-form .search-submit .open { margin-right: 43px !important; }
        .elementor-334 .elementor-element.elementor-element-4c7f629 .ekit_navSidebar-button svg { margin-inline-start: auto !important; }
        .elementor-334 .elementor-element.elementor-element-6dca4d1 .logo.desktop {
          display: none !important;
        }
        .elementor-334 .elementor-element.elementor-element-6dca4d1 .logo.mobile {
          display: flex !important;
          align-items: center !important;
          justify-content: flex-end !important;
          height: 40px !important;
          line-height: 0 !important;
        }
        .elementor-334 .elementor-element.elementor-element-6dca4d1 .site-logo img,
        .elementor-334 .elementor-element.elementor-element-6dca4d1 .logo.mobile img {
          width: 100px !important;
          max-width: 100px !important;
          height: 24px !important;
          max-height: 24px !important;
          object-fit: contain !important;
          display: block !important;
          margin: 0 !important;
        }
        .elementor-334 .elementor-element.elementor-element-b84274e .minicart-item-count {
          position: absolute !important;
          top: 5px !important;
          right: 5px !important;
          left: auto !important;
          min-width: 15px !important;
          height: 15px !important;
          padding: 0 3px !important;
          font-size: 9px !important;
          line-height: 15px !important;
          border-radius: 999px !important;
        }
        html.leboss-mobile-search-open .elementor-334 .elementor-element.elementor-element-5800f24 > .elementor-element.elementor-element-6dca4d1,
        html.leboss-mobile-search-open .elementor-334 .elementor-element.elementor-element-5800f24 > .elementor-element.elementor-element-44e3909 {
          display: none !important;
        }
        #site-header,
        #site-header .header-wrapper,
        #site-header .header-background,
        #site-header .thegem-template-334 {
          overflow: visible !important;
        }
        #site-header .thegem-template-334 {
          min-height: 56px;
        }
      }
      @media (min-width: 768px) {
        .elementor-334 .elementor-element.elementor-element-5800f24 {
          display: none !important;
        }
      }

/* --- _live-mega.css --- */
/* Live megamenu chrome on Home V2 — pairs with leboss-ui.css + megamenu-tabs.js.
   Category panels are position:fixed (not absolute-under-li) so they never
   inflate document scrollWidth / create the giant horizontal scrollbar. */

html.hv2-html,
html.hv2-html body.hv2-page {
  overflow-x: clip;
  max-width: 100%;
}

.hv2-shell,
.hv2-page .hv2-header,
.hv2-page .hv2-nav {
  overflow-x: clip;
  max-width: 100%;
}

.hv2-nav.thegem-te-menu__default {
  position: relative;
  /* Above hero arrows (z 500) so open megamenus are never painted under them. */
  z-index: 1000;
  overflow: visible;
}

.hv2-page .hv2-nav__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hv2-nav #menu-main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  /* live measured @1440 used 25px; keep airy spacing, never wrap */
  gap: 0;
  align-items: center;
  direction: rtl;
  min-width: 0;
  flex: 1 1 auto;
}

.hv2-nav #menu-main-menu > li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 0 0 auto;
}

.hv2-nav #menu-main-menu > li > a {
  color: #fff !important;
  font-family: "YekanBakhFaNum", "YekanBakh", Tahoma, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 80px;
  display: inline-flex;
  align-items: center;
  gap: 9.5px;
  padding: 0 18px;
  white-space: nowrap;
  text-decoration: none;
}

/* BF pill — must beat #menu-main-menu > li > a {color:#fff!important} (home-only). */
.hv2-nav #menu-main-menu > li.menu-item-leboss-bf > a,
.hv2-nav #menu-main-menu > li.leboss-bf-nav > a {
  background: #fff !important;
  background-color: #fff !important;
  color: #0a0a0a !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  padding: 6px 14px !important;
  margin: 0 4px !important;
  border: none !important;
  border-radius: 999px !important;
  border-bottom: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
.hv2-nav #menu-main-menu > li.menu-item-leboss-bf > a:hover,
.hv2-nav #menu-main-menu > li.leboss-bf-nav > a:hover,
.hv2-nav #menu-main-menu > li.menu-item-leboss-bf:focus-within > a,
.hv2-nav #menu-main-menu > li.leboss-bf-nav:focus-within > a {
  background: #f2f2f2 !important;
  color: #0a0a0a !important;
  opacity: 1 !important;
}

.hv2-nav #menu-main-menu > li > a:hover,
.hv2-nav #menu-main-menu > li:focus-within > a {
  opacity: 0.85;
}

/* @1440 home has room — open spacing a bit more between items */
@media (min-width: 1360px) {
  .hv2-nav #menu-main-menu > li > a {
    padding: 0 22px;
  }
}

/* @1024 home — keep one row, clear of socials (1440 spacing untouched above) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hv2-page .hv2-nav__inner {
    gap: 12px;
  }

  .hv2-nav #menu-main-menu {
    flex-wrap: nowrap;
  }

  .hv2-nav #menu-main-menu > li > a {
    padding: 0 8px;
    font-size: 13px;
    gap: 5px;
  }

  .hv2-nav #menu-main-menu > li.megamenu-template-enable:not(#menu-item-9460) > a::after,
  .hv2-nav #menu-main-menu > li.menu-item-has-children > a::after {
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    -webkit-mask-size: 5px 10px;
    mask-size: 5px 10px;
  }
}

.hv2-nav__social {
  flex: 0 0 auto;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  background: #0a0a0a;
}

.hv2-nav #menu-main-menu > li.menu-item-type-search-widget {
  display: none !important;
}

/* Keep panels above hero; geometry comes from megamenu-tabs.js + leboss-ui */
.hv2-nav .megamenu-template,
.hv2-page .megamenu-template {
  z-index: 80;
  box-sizing: border-box;
}

/* Full-bleed under the black nav — fixed, never relative to the menu <li>. */
@media (min-width: 1024px) {
  /* TheGem core.css (not loaded on HV2) hides every panel until hover.
     Without this the stores panel sat open over the hero/category menus. */
  .hv2-page .thegem-te-menu__default.desktop-view #menu-main-menu > li > .megamenu-template {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.2s linear, visibility 0.2s linear;
  }
  /* Category + stores open (leboss-ui selectors need HV2 !important twin —
     home-v2.css loads after leboss-ui and previously only unhid stores). */
  .hv2-page .thegem-te-menu__default.desktop-view #menu-item-9456.leboss-megamenu-open > .megamenu-template,
  .hv2-page .thegem-te-menu__default.desktop-view #menu-item-9457.leboss-megamenu-open > .megamenu-template,
  .hv2-page .thegem-te-menu__default.desktop-view #menu-item-leboss-kids.leboss-megamenu-open > .megamenu-template,
  .hv2-page .thegem-te-menu__default.desktop-view #menu-main-menu > li#menu-item-838491:hover > .megamenu-template,
  .hv2-page .thegem-te-menu__default.desktop-view #menu-main-menu > li#menu-item-838491.leboss-stores-open > .megamenu-template,
  body.hv2-page > .megamenu-template.leboss-menu-stores-panel {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .hv2-page .thegem-te-menu__default.desktop-view #menu-main-menu > li > .megamenu-template.template-width-fullwidth:not(.leboss-menu-stores-panel) {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
  }
}

@media (max-width: 1023px) {
  .hv2-nav.thegem-te-menu__default.desktop-view,
  .hv2-page .hv2-nav,
  .hv2-page .hv2-nav__social {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  /* Never leave absolute/fullwidth templates in the mobile document flow. */
  .hv2-page .megamenu-template {
    display: none !important;
  }
}

/* --- _mega-search-cart.css --- */
/* Megamenu — full-bleed white panel under nav (live Elementor parity, no Elementor JS) */
html.hv2-mega-open { overflow-x: hidden; }
.hv2-nav { position: relative; z-index: 70; }
.hv2-nav__item { position: static; }
.hv2-nav__item.has-mega:hover > .hv2-nav__link,
.hv2-nav__link[aria-expanded="true"] {
  color: #0a0a0a;
  opacity: 1;
}
.hv2-nav__caret {
  display: inline-block; width: 0; height: 0; margin-right: 6px; vertical-align: middle;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor;
}
/* Legacy custom mega panels — unused once live .megamenu-template is mounted.
   Never use 100vw + 50vw margins here; that alone creates horizontal scroll. */
.hv2-nav__panel {
  position: absolute; top: 100%; right: 0; left: 0; z-index: 80;
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #fff; color: #0a0a0a; border-top: 1px solid #e8eef2;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12); padding: 0;
  display: none !important;
}
.hv2-nav__panel[hidden] { display: none !important; }
.hv2-mega {
  max-width: 1280px; margin: 0 auto; padding: 28px 40px 36px;
  direction: rtl; text-align: right;
}
.hv2-mega__tabs {
  display: flex; gap: 0; border-bottom: 1px solid #e8eef2; margin: 0 0 24px;
  flex-wrap: wrap;
}
.hv2-mega__tab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; font-size: 15px; font-weight: 600; color: #828282;
  border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  background: transparent; cursor: pointer; font-family: inherit;
}
.hv2-mega__tab-icon { display: inline-flex; color: inherit; }
.hv2-mega__tab.is-active { color: #0a0a0a; border-bottom-color: #0a0a0a; }
.hv2-mega__panel[hidden] { display: none !important; }
.hv2-mega__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(var(--hv2-mega-cols, 3), minmax(0, 1fr));
  gap: 2px 40px; justify-content: start; max-width: 920px;
}
.hv2-mega__grid a {
  display: block; padding: 10px 0; font-size: 14px; font-weight: 500;
  color: #0a0a0a; line-height: 1.45; text-decoration: none;
}
.hv2-mega__grid a:hover { color: #e63946; }
.hv2-mega__all {
  display: inline-block; margin-top: 22px; font-size: 13px; font-weight: 700;
  border-bottom: 1px solid #0a0a0a; padding-bottom: 2px; color: #0a0a0a; text-decoration: none;
}
.hv2-mega__all:hover { color: #e63946; border-bottom-color: #e63946; }
.hv2-mega__empty { color: #5f727f; font-size: 13px; margin: 8px 0; }
.hv2-mega--stores .leboss-menu-stores {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px;
}
.hv2-mega--stores .leboss-menu-stores__card {
  position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: #f3f3f3;
}
.hv2-mega--stores .leboss-menu-stores__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.hv2-mega--stores .leboss-menu-stores__logo {
  position: absolute; inset: auto 12px 12px auto; background: rgba(255,255,255,.92); padding: 6px 10px;
}
.hv2-mega--stores .leboss-menu-stores__logo img { width: 72px; height: auto; }

/* Mobile drawer drill-down */
html.hv2-menu-open, html.hv2-menu-open body { overflow: hidden; }
.hv2-drawer__head-actions { display: flex; align-items: center; gap: 4px; }
.hv2-drawer__back { font-size: 28px; width: 40px; height: 40px; line-height: 1; }
.hv2-drawer__link {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; font-size: 15px; border-bottom: 1px solid #f3f3f3; text-align: right; color: #0a0a0a;
}
.hv2-drawer__sub { list-style: none; margin: 0; padding: 0; }
.hv2-drawer__sub a, .hv2-drawer__sub .hv2-drawer__link { padding-right: 16px; }

/* Search: live TheGem markup + search-dropdown.css + live-search-core.css (see bootstrap). */

/* Mini-cart — TheGem bag glyph (`\e67d`). Desktop 24px; mobile matches live header 20px. */
.hv2-page .thegem-te-cart { position: relative; }
.hv2-page .thegem-te-cart .te-cart-icon {
  position: absolute;
  inset: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.hv2-page .thegem-te-cart .te-cart-icon i,
.hv2-page .thegem-te-cart .te-cart-icon i.default {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 20px !important;
  font-family: 'thegem-icons' !important;
  font-style: normal !important;
  font-weight: 400 !important;
  color: #0a0a0a !important;
  background: none !important;
  speak: none;
}
.hv2-page .thegem-te-cart .te-cart-icon i::before,
.hv2-page .thegem-te-cart .te-cart-icon i.default::before {
  content: '\e67d' !important;
  font-family: 'thegem-icons' !important;
  font-size: 20px !important;
  line-height: 1 !important;
  color: #0a0a0a !important;
}
@media (min-width: 768px) {
  .hv2-page .thegem-te-cart.desktop-view .te-cart-icon i,
  .hv2-page .thegem-te-cart.desktop-view .te-cart-icon i.default {
    width: 24px !important;
    height: 24px !important;
    font-size: 24px !important;
  }
  .hv2-page .thegem-te-cart.desktop-view .te-cart-icon i::before,
  .hv2-page .thegem-te-cart.desktop-view .te-cart-icon i.default::before {
    font-size: 24px !important;
  }
}
.hv2-page .thegem-te-cart .minicart-menu-link {
  position: relative; display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  z-index: 2;
}
.hv2-page .thegem-te-cart .minicart-menu-link::before { content: none; }
.hv2-page .thegem-te-cart .minicart-item-count {
  position: absolute; top: 2px; left: 2px; min-width: 18px; height: 18px; border-radius: 50%;
  background: #0a0a0a; color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center;
}
.hv2-page .thegem-te-cart .minicart-menu-link.empty .minicart-item-count { display: none; }
/* Mobile header badge — live header.php position (not desktop left:2px) */
@media (max-width: 767px) {
  .hv2-page .elementor-element-b84274e .minicart-item-count,
  .hv2-page .hv2-live-mobile-chrome .minicart-item-count {
    top: 5px !important;
    right: 5px !important;
    left: auto !important;
    min-width: 15px !important;
    height: 15px !important;
    padding: 0 3px !important;
    font-size: 9px !important;
    line-height: 15px !important;
  }
}
.hv2-page .thegem-te-cart.desktop-view .minicart {
  position: absolute; top: 100%; left: 0; width: 360px; max-width: calc(100vw - 24px);
  background: #fff; border: 1px solid #c5d4de; box-shadow: 0 10px 30px rgba(0,0,0,.12);
  /* Above .hv2-nav (z-index 1000) — was 100 and slid under the black menu bar. */
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px); z-index: 1200;
  padding: 0; overflow: hidden;
}
.hv2-page .thegem-te-cart.desktop-view:hover .minicart,
.hv2-page .thegem-te-cart.desktop-view .minicart.active {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
}
.hv2-page .thegem-te-cart.mobile-view .minicart {
  position: fixed; top: 0; bottom: 0; right: 0; width: min(86vw, 400px); z-index: 100060;
  background: #fff; transform: translateX(105%); transition: transform .25s ease;
  overflow: auto; opacity: 1; visibility: visible;
}
.hv2-page .thegem-te-cart.mobile-view .minicart.active { transform: translateX(0); }
.hv2-page .mobile-minicart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 100055;
  opacity: 0; visibility: hidden; pointer-events: none;
}
.hv2-page .mobile-minicart-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }
.hv2-page .mobile-cart-header {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #eee;
}
.hv2-page .thegem-te-cart.desktop-view .mobile-cart-header { display: none; }
.hv2-cart-mobile-host { position: absolute; width: 0; height: 0; overflow: visible; }

/* Mega/menu mobile — USP rules live in _extracted-body (match home-critical) */
@media (max-width: 767px) {
  .hv2-mega--stores .leboss-menu-stores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv2-nav__panel { position: fixed; left: 12px; right: 12px; top: 120px; min-width: 0; max-height: 70vh; overflow: auto; }
}

@media (min-width: 768px) {
  .hv2-cart-mobile-host { display: none; }
}
@media (max-width: 767px) {
  .hv2-cart-slot .thegem-te-cart.desktop-view .minicart { display: none !important; }
}

/* --- _extracted-body.css --- */
.extended-carousel-wrap.leboss-carousel-nav-host,
.leboss-carousel-nav-host {
  position: relative !important;
  overflow: visible !important;
  /* Pull host off the clipped viewport edge; arrows sit in the side gutters */
  margin-left: 8px !important;
  margin-right: 8px !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  box-sizing: border-box !important;
  width: auto !important;
  max-width: 100% !important;
}

/* Owl sizes each .owl-item. Bootstrap col-* on .portfolio-item would then
 * shrink the card to a fraction of that slot (col-md-3 → ~25% of owl-item),
 * clustering cards on the RTL edge with overlapping titles/prices. */
.extended-products-grid-carousel .owl-item,
.leboss-home-section__carousel .owl-item {
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.extended-products-grid-carousel .owl-item .portfolio-item,
.leboss-home-section__carousel .owl-item .portfolio-item {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.extended-products-grid-carousel .owl-item .portfolio-item .wrap,
.leboss-home-section__carousel .owl-item .portfolio-item .wrap {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
}

.extended-products-grid-carousel .owl-item .portfolio-item .caption,
.leboss-home-section__carousel .owl-item .portfolio-item .caption {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Kill Owl / TheGem built-in nav — we use .leboss-carousel-arrow instead.
   Bundle CSS hides .owl-next on desktop (the physical LEFT control in RTL),
   which made left slider buttons disappear. Keep BOTH owl buttons dead. */
.extended-products-grid-carousel .extended-carousel-item .owl-nav,
.extended-carousel-item.owl-carousel .owl-nav,
.extended-carousel-grid .owl-carousel .owl-nav {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.leboss-carousel-arrow {
  position: absolute !important;
  top: 32% !important;
  transform: translateY(-50%) !important;
  z-index: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22) !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  pointer-events: auto !important;
}

/* Sit in the host padding gutter (not under overflow clip at the viewport edge) */
.leboss-carousel-arrow--left {
  left: 6px !important;
  right: auto !important;
}

.leboss-carousel-arrow--right {
  right: 6px !important;
  left: auto !important;
}

.leboss-carousel-arrow span {
  display: block !important;
  width: 10px !important;
  height: 10px !important;
  border: solid #0a0a0a !important;
  border-width: 0 2.5px 2.5px 0 !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
  background: transparent !important;
}

.leboss-carousel-arrow--left span {
  transform: translateX(2px) rotate(135deg) !important; /* ‹ */
}

.leboss-carousel-arrow--right span {
  transform: translateX(-2px) rotate(-45deg) !important; /* › */
}

.leboss-carousel-arrow:hover {
  background: #fff !important;
  border-color: #0a0a0a !important;
}

/* Brand logo badge lives inside .image-inner — never treat it like the product photo. */
.leboss-product-brand-badge--logo img {
  position: static !important;
  inset: auto !important;
  width: 44px !important;
  height: auto !important;
  max-width: 44px !important;
  max-height: 29px !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

.portfolio-item.has-hover-image .image-inner img.leboss-card-img--hover {
  z-index: 2;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .48s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
}

.portfolio.extended-products-grid .portfolio-item .caption .leboss-card-brand,
.leboss-shop .portfolio-item .caption .leboss-card-brand,
.portfolio.products .portfolio-item .caption .leboss-card-brand,
.elementor-16803 .portfolio.products .caption .leboss-card-brand {
  color: #5f727f !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 23.2px !important;
  margin: 5px 0 0 !important;
  text-align: right !important;
}

/* Product card caption: flush with photo edges (home + shop + carousels).
   TheGem / Elementor Caption Container Style often injects side padding so
   title/price sit inward of the image — kill that everywhere. */
.portfolio.extended-products-grid .portfolio-item .wrap,
.portfolio.products .portfolio-item .wrap,
.leboss-shop .portfolio-item .wrap,
.elementor-16803 .portfolio.products .portfolio-item .wrap,
.extended-products-grid-carousel .portfolio-item .wrap,
.leboss-home .portfolio-item .wrap,
.leboss-home-section__carousel .portfolio-item .wrap,
.products-compact-grid .wrap {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.portfolio.extended-products-grid .portfolio-item .wrap > .image,
.portfolio.products .portfolio-item .wrap > .image,
.leboss-shop .portfolio-item .wrap > .image,
.elementor-16803 .portfolio.products .portfolio-item .wrap > .image,
.extended-products-grid-carousel .portfolio-item .wrap > .image,
.leboss-home .portfolio-item .wrap > .image,
.leboss-home-section__carousel .portfolio-item .wrap > .image,
.products-compact-grid .wrap > .image {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

.portfolio.extended-products-grid .portfolio-item .caption,
.portfolio.products .portfolio-item .caption,
.leboss-shop .portfolio-item .caption,
.elementor-16803 .portfolio.products .portfolio-item .caption,
.extended-products-grid-carousel .portfolio-item .caption,
.leboss-home .portfolio-item .caption,
.leboss-home-section__carousel .portfolio-item .caption,
.products-compact-grid .caption,
.portfolio.extended-products-grid .portfolio-item .wrap > .caption,
.portfolio.products .portfolio-item .wrap > .caption {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top: 14px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-inline: 0 !important;
  text-align: right !important;
  direction: rtl;
  min-height: 0;
  box-sizing: border-box !important;
}

.portfolio.extended-products-grid .portfolio-item .caption .product-info,
.portfolio.products .portfolio-item .caption .product-info,
.elementor-16803 .portfolio.products .caption .product-info,
.extended-products-grid-carousel .portfolio-item .caption .product-info,
.leboss-home .portfolio-item .caption .product-info,
.products-compact-grid .caption .product-info,
.portfolio.extended-products-grid .portfolio-item .caption .list-right,
.portfolio.products .portfolio-item .caption .list-right,
.leboss-shop .portfolio-item .caption .list-right,
.elementor-16803 .portfolio.products .caption .list-right,
.extended-products-grid-carousel .portfolio-item .caption .list-right {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-inline: 0 !important;
  line-height: 1.45 !important;
  text-align: right !important;
  direction: rtl;
  min-height: 0;
  box-sizing: border-box !important;
}

.single-product-related .leboss-carousel-arrow {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border-color: #e0e0e0 !important;
  box-shadow: none !important;
}

.single-product-related .portfolio-item.has-hover-image .image-inner img.leboss-card-img--hover {
  z-index: 2;
  opacity: 0;
  transform: none;
  pointer-events: none;
  transition: opacity .35s ease;
}

.single-product-related .portfolio-item.has-hover-image:hover .image-inner img.leboss-card-img--hover,
.single-product-related .portfolio-item.has-hover-image:focus-within .image-inner img.leboss-card-img--hover {
  opacity: 1;
  transform: none;
}

.leboss-card-brand {
  display: block;
  width: 100%;
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: #828282;
  text-align: right; /* desktop: match title/price; mobile centers below */
  direction: rtl;
  unicode-bidi: isolate;
}

.single-product-related .leboss-card-brand {
  display: block !important;
  width: 100% !important;
  margin: 4px 0 8px !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #0a0a0a;
  text-align: right !important;
  direction: rtl;
  unicode-bidi: isolate;
}

.leboss-instagram-strip .leboss-ig-item {
  position: relative;
  flex: 0 0 calc((100% - 16px) / 5);
  max-width: calc((100% - 16px) / 5);
  min-width: 0;
  aspect-ratio: 1 / 1;
  display: block;
  overflow: hidden;
  background: #f0f0f0;
}

.leboss-instagram-strip .leboss-ig-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}

/* Dark wash + Instagram glyph on hover (matches TheGem gallery hover) */
.leboss-instagram-strip .leboss-ig-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 10, 10, 0.42);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.leboss-instagram-strip .leboss-ig-item::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin: 0;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  /* White badge + dark Instagram glyph (readable on any photo) */
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%230a0a0a' d='M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z'/%3E%3C/svg%3E");
}

.leboss-instagram-strip .leboss-ig-item:hover img,
.leboss-instagram-strip .leboss-ig-item:focus-visible img {
  transform: scale(1.05);
}

.leboss-instagram-strip .leboss-ig-item:hover::before,
.leboss-instagram-strip .leboss-ig-item:focus-visible::before {
  opacity: 1;
}

.leboss-instagram-strip .leboss-ig-item:hover::after,
.leboss-instagram-strip .leboss-ig-item:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.leboss-brand-landing--adidas .leboss-product-brand-badge,
.leboss-brand-landing--adidas .leboss-product-brand-badge--logo,
.leboss-brand-landing--adidas .leboss-brand-picked-row .leboss-product-brand-badge--logo {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  z-index: 4 !important;
  pointer-events: none;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: clamp(72px, 23.611%, 102px) !important;
  height: auto !important;
  aspect-ratio: 102 / 47 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 102px !important;
  max-height: none !important;
  padding: 0 !important;
  background: #fff !important;
  box-sizing: border-box !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.leboss-brand-landing--adidas .leboss-product-brand-badge--logo img,
.leboss-brand-landing--adidas .leboss-brand-picked-row .leboss-product-brand-badge--logo img {
  display: block !important;
  width: 43.14% !important; /* 44/102 */
  height: auto !important;
  max-width: 44px !important;
  max-height: 29px !important;
  aspect-ratio: 44 / 29 !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  object-fit: contain !important;
  background: transparent !important;
}

.leboss-brand-landing--adidas .leboss-brand-picked-row .leboss-carousel-arrow {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* ==========================================================================
   Homepage redesign (Figma JuwanCopy home 1180:2)
   ========================================================================== */
.leboss-home {
  /* Homepage paint containment — keeps scroll smooth with many product images */
  content-visibility: visible;
}

.leboss-home-section,
.leboss-home-duo,
.leboss-home-brands,
.leboss-home-instagram {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.leboss-home .portfolio-item {
  contain: layout style;
}

.leboss-home .portfolio-item .image img {
  /* Decode off main path; avoid forced sync paints while scrolling */
  decoding: async;
}

/* Home carousel arrows: fixed CSS insets — no JS on scroll */
.leboss-home .leboss-carousel-arrow--left {
  left: 8px !important;
}

.leboss-home .leboss-carousel-arrow--right {
  right: 8px !important;
}

.leboss-home-duo {
  background: #fff;
  color: #0a0a0a;
}

.leboss-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f5f5f5;
}

.leboss-hero > .elementor-widget-container {
  position: relative;
}

.leboss-hero__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  z-index: 1;
}

.leboss-hero__viewport:active {
  cursor: pointer;
}

.leboss-hero__track {
  display: flex;
  flex-direction: row;
  direction: ltr;
  width: 100%;
  transition: transform .45s ease;
  will-change: transform;
}

.leboss-hero__track a {
  -webkit-user-drag: none;
}

.leboss-hero__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  position: relative;
  z-index: 2;
}

.leboss-hero__link {
  display: block;
  position: relative;
  z-index: 3;
  line-height: 0;
  cursor: pointer;
  pointer-events: auto !important;
}

.leboss-home-usps {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  direction: rtl;
}

.leboss-home-usps__list {
  list-style: none;
  margin: 0 auto;
  padding: 36px clamp(20px, 5vw, 72px);
  max-width: 1440px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
  align-items: start;
}

.leboss-home-usps__item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.leboss-home-usps__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leboss-home-usps__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.leboss-home-usps__copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.leboss-home-usps__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: #0a0a0a;
}

.leboss-home-usps__text {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
  color: #5c5c5c;
}

/* Ported from home-critical.css — live measured breakpoints */
@media (max-width: 1023px) {
  .leboss-home-usps__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 28px 20px;
    gap: 24px 20px;
  }
}
@media (max-width: 767px) {
  .leboss-home-usps__list {
    grid-template-columns: 1fr;
    padding: 28px 24px 32px;
    gap: 28px;
  }
  .leboss-home-usps__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .leboss-home-usps__copy {
    align-items: center;
  }
  .leboss-home-usps__title {
    font-size: 15px;
  }
  .leboss-home-usps__text {
    font-size: 13px;
    max-width: 320px;
  }
}

.leboss-hero__img {
  display: block;
  width: 100%;
  height: auto;
  /* Match Ali desktop art 1440×560 — cover@1920/870 was soft-cropping/upscaling. */
  aspect-ratio: 1440 / 560;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  image-rendering: -webkit-optimize-contrast;
}

.leboss-hero__nav {
  position: absolute;
  top: 50%;
  z-index: 500 !important;
  transform: translateY(-50%);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
  color: #0a0a0a;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
  pointer-events: auto !important;
  appearance: none;
  -webkit-appearance: none;
}

.leboss-hero__nav svg {
  display: block;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* RTL chrome: next (‹) on the left, prev (›) on the right */
.leboss-hero__nav--prev {
  right: 16px;
  left: auto;
  background: #fff;
  color: #0a0a0a;
}

.leboss-hero__nav--next {
  left: 16px;
  right: auto;
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
}

.leboss-hero__dots,
.leboss-hero__dot {
  display: none !important;
}

/* Mobile / tablet: swipe only — hide hero L/R arrows.
 * Must live AFTER .leboss-hero__nav { display:inline-flex !important }
 * so assemble order beats that rule (main.css alone loses). */
@media (max-width: 991px) {
  .leboss-hero__nav,
  .leboss-hero__nav--prev,
  .leboss-hero__nav--next {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

.leboss-home-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: min(1920px, 100%);
  margin: 0 auto;
  padding: 24px 24px 0;
}

.leboss-home-duo--cats {
  padding-top: 40px;
  padding-bottom: 8px;
}

.leboss-home-duo__card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f3f3f3;
  color: #fff;
  text-decoration: none;
}

.leboss-home-duo__card--wide {
  aspect-ratio: 880 / 460;
}

.leboss-home-duo__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}

.leboss-home-duo__card:hover .leboss-home-duo__img {
  transform: scale(1.04);
}

.leboss-home-duo__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.28));
  text-align: center;
}

.leboss-home-duo__title {
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.03em;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}

.leboss-home-duo__title--light {
  color: #fff;
}

.leboss-home-duo__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -.03em;
}

.leboss-home-duo__cta--light {
  background: #fff;
  color: #0a0a0a;
}

.leboss-home-duo__cta--dark {
  background: #0a0a0a;
  color: #fff;
}

.leboss-home-section {
  padding: 48px 0 24px;
  overflow: hidden;
}
.leboss-home-section--muted {
  background: #f9f9f9;
}

/* RTL: first column (head) sits on the RIGHT beside the product rail.
   Figma home 1180:2 — newest + sale rails share the same x (title 1635 / cards 1152). */
.leboss-home-section__inner {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  width: min(1856px, calc(100% - 48px));
  margin: 0 auto;
  box-sizing: border-box;
}

.leboss-home-section__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  min-height: clamp(280px, 42vw, 432px);
  padding-top: 4px;
}

.leboss-home-section__title-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  direction: rtl;
}

.leboss-home-section__sale-icon {
  display: inline-flex;
  flex: 0 0 auto;
  order: 2;
  line-height: 0;
  color: #e63946;
}

.leboss-home-section__sale-icon svg {
  width: 36px;
  height: 36px;
  display: block;
}

.leboss-home-section__title-row .leboss-home-section__title {
  flex: 0 1 auto;
  width: auto;
  max-width: calc(100% - 46px);
}

.leboss-home-section__title {
  margin: 0;
  width: 100%;
  max-width: 250px;
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.03em;
  color: #1a1a1a;
  text-align: right;
}

.leboss-home-section__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 153px;
  margin-top: auto;
  margin-bottom: 8px;
  padding: 10px 18px;
  border: 1px solid #0a0a0a;
  color: #0a0a0a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -.03em;
  text-decoration: none;
  background: transparent;
  transition: background .2s ease, color .2s ease;
}

.leboss-home-section__more:hover {
  background: #0a0a0a;
  color: #fff;
}

.leboss-home-section--sale .leboss-home-section__title {
  color: #e63946;
}

.leboss-home-section--sale .leboss-home-section__more {
  border-color: #e63946;
  color: #e63946;
}

.leboss-home-section--sale .leboss-home-section__more:hover {
  background: #e63946;
  color: #fff;
}

.leboss-home-section__carousel {
  min-width: 0;
}

.leboss-home-section__carousel .portfolio-preloader-wrapper {
  margin: 0;
}

/* live main.css — section grid must shrink title column so rail ≈552px @768 */
@media (max-width: 991px) {
  .leboss-home-section {
    padding: 32px 0 16px;
  }
  .leboss-home-section__inner {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 12px;
    width: calc(100% - 24px);
  }
  .leboss-home-section__head {
    min-height: clamp(220px, 48vw, 360px);
  }
  .leboss-home-section__more {
    min-width: 0;
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
  }
  .leboss-home-section__title {
    max-width: 180px;
    /* live @768 measured 22px / 33px (2-line title); clamp(18px,2.4vw) was 18.4 */
    font-size: 22px;
    line-height: 33px;
  }
}
@media (max-width: 767px) {
  .leboss-home-duo {
    grid-template-columns: 1fr;
  }
  .leboss-home-duo__card {
    aspect-ratio: 1 / 1;
  }
  .leboss-home-duo__card--wide {
    aspect-ratio: 880 / 460;
  }
  .leboss-home-section__inner {
    grid-template-columns: 1fr;
  }
  .leboss-home-section__head {
    min-height: 0;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    margin-bottom: 12px;
    width: 100%;
  }
  .leboss-home-section__sale-icon {
    display: none !important;
  }
  /* Title (right) ↔ مشاهده همه (left) on one row — all sections. */
  .leboss-home-section__title-row {
    width: auto !important;
    flex: 1 1 auto;
    min-width: 0;
  }
  .leboss-home-section__title-row .leboss-home-section__title,
  .leboss-home-section__title {
    flex: 1 1 auto;
    width: auto !important;
    max-width: none !important;
    font-size: 20px;
  }
  .leboss-home-section__more {
    flex: 0 0 auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: auto !important;
    min-width: 120px;
    align-self: center;
  }
  .leboss-hero__img {
    aspect-ratio: 1080 / 1350;
    object-fit: cover;
    object-position: center top;
  }
}

.leboss-home .portfolio-item .image {
  position: relative;
}

.leboss-product-brand-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  max-width: 45%;
  min-height: 40px;
  padding: 8px 12px;
  background: #fff;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -.03em;
  text-align: center;
  pointer-events: none;
}

/* Brand-landing logo badge — Adidas overrides to Figma white plate 102×47. */
.leboss-product-brand-badge--logo {
  top: 0;
  right: 0;
  min-width: 102px;
  max-width: 102px;
  min-height: 47px;
  padding: 0;
  background: #fff;
}

.leboss-product-brand-badge--logo img {
  display: block;
  width: 44px;
  height: 29px;
  max-height: 29px;
  object-fit: contain;
}

.leboss-home .portfolio-item .caption .categories {
  display: none;
}

.leboss-home .portfolio-item .caption .title,
.leboss-home .portfolio-item .caption .title a {
  font-size: 14px;
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: -.03em;
}

.leboss-home .portfolio-item .product-price,
.leboss-home .portfolio-item .product-price .price,
.leboss-home .portfolio-item .product-price .amount {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.leboss-home-brands {
  padding: 56px 24px 72px;
}

.leboss-home-brands__title {
  margin: 0 0 28px;
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.03em;
  color: #1a1a1a;
  text-align: center;
}

.leboss-home-brands__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: min(1856px, 100%);
  margin: 0 auto;
  direction: ltr;
}

.leboss-home-brands__tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 431 / 294;
  background: #f3f3f3;
  text-decoration: none;
}

.leboss-home-brands__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.leboss-home-brands__tile:hover .leboss-home-brands__photo {
  transform: scale(1.04);
}

.leboss-home-brands__logo-wrap {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(70%, 190px);
  transform: translate(-50%, -50%);
  padding: 10px 14px;
  background: rgba(255, 255, 255, .92);
}

.leboss-home-brands__logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

/* Homepage Instagram strip (above footer) — flex row from live main.css */
.leboss-instagram-strip {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  direction: ltr;
  gap: 4px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .leboss-instagram-strip {
    flex-wrap: wrap;
    gap: 3px;
  }
  .leboss-instagram-strip .leboss-ig-item {
    flex: 0 0 calc(50% - 1.5px);
    max-width: calc(50% - 1.5px);
  }
}
.leboss-home-instagram {
  padding: 56px 0 64px;
  text-align: center;
  overflow-x: clip;
}

.leboss-home-instagram__title {
  margin: 0 0 28px;
  padding: 0 16px;
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.02em;
  color: #0a0a0a;
}

.leboss-home-instagram__title span {
  display: inline;
}

.leboss-home-instagram__title-light {
  font-weight: 400;
  color: #8a8a8a;
}

/* Ensure strip stays a row even if earlier rules lose specificity */
.hv2-page .leboss-instagram-strip {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 4px;
}
.hv2-page .leboss-instagram-strip .leboss-ig-item {
  flex: 0 0 calc((100% - 16px) / 5);
  max-width: calc((100% - 16px) / 5);
  aspect-ratio: 1 / 1;
}
@media (max-width: 767px) {
  .hv2-page .leboss-instagram-strip {
    flex-wrap: wrap !important;
    gap: 3px;
  }
  .hv2-page .leboss-instagram-strip .leboss-ig-item {
    flex: 0 0 calc(50% - 1.5px);
    max-width: calc(50% - 1.5px);
  }
}

.leboss-home-instagram__cta-wrap {
  margin-top: 28px;
}

.leboss-home-instagram__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 148px;
  padding: 14px 32px;
  background: #0a0a0a;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1;
  transition: opacity .2s ease;
}

.leboss-home-instagram__cta:hover {
  color: #fff;
  opacity: .88;
}

/* ==========================================================================
   Live main.css tablet/mobile overrides — must come AFTER the base rules
   above (brands/IG base was winning over the earlier media blocks).
   ========================================================================== */
@media (max-width: 991px) {
  .leboss-home-duo {
    gap: 12px;
    padding: 16px 12px 0;
  }
  .leboss-home-brands {
    padding: 40px 12px 56px;
  }
  .leboss-home-brands__grid {
    gap: 12px;
  }
}
@media (max-width: 767px) {
  .leboss-home-duo {
    grid-template-columns: 1fr;
  }
  .leboss-home-brands__grid {
    grid-template-columns: 1fr 1fr;
  }
  .leboss-home-instagram {
    padding: 40px 0 48px;
  }
  .leboss-home-instagram__title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .leboss-home-instagram__cta {
    min-width: 128px;
    padding: 12px 24px;
    font-size: 16px;
  }
  /* live: native swipe strip, no rail arrows on phones */
  .hv2-page .leboss-home .leboss-carousel-arrow {
    display: none !important;
  }
  .hv2-page .leboss-home .extended-carousel-item.owl-carousel {
    touch-action: pan-x pan-y !important;
  }
}

/* live rail wrap keeps a 15px foot under the cards (all widths) */
.hv2-page .leboss-home .extended-carousel-wrap {
  margin-bottom: 15px;
}

/* Live sale badge: 13px bold digits inside the 44px disc */
.hv2-page .leboss-home .onsale .text,
.hv2-page .leboss-home .onsale b {
  font-size: 13px;
  font-weight: 700;
}

/* Elementor kit (post-7.css) re-declares a-JannatLT from uploads and wins on
   live — that face is what section titles actually render with. */
@font-face {
  font-family: "a-JannatLT";
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url("/wp-content/uploads/2025/10/a-JannatLT-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "a-JannatLT";
  font-style: normal;
  font-weight: bold;
  font-display: swap;
  src: url("/wp-content/uploads/2025/10/a-JannatLT-Bold.ttf") format("truetype");
}

/* ==========================================================================
   Live font stacks (computed on leboss.shop). Live body is YekanBakh (Latin
   digits); headings come from Elementor kit (a-JannatLT); TheGem card text
   uses Montserrat / "Source Sans Pro" stacks (unloaded → same UA fallback).
   ========================================================================== */
.hv2-page .leboss-home {
  font-family: "YekanBakh", sans-serif;
  /* TheGem body metrics inherited on live */
  line-height: 25px;
  color: #5f727f;
}
.hv2-page .leboss-home h1,
.hv2-page .leboss-home h2,
.hv2-page .leboss-home h3,
.hv2-page .leboss-home h4,
.hv2-page .leboss-home h5,
.hv2-page .leboss-home h6,
.hv2-page .leboss-home-section__title,
.hv2-page .leboss-home-brands__title,
.hv2-page .leboss-home-instagram__title {
  font-family: "a-JannatLT", sans-serif;
  /* Elementor kit resets heading tracking on live */
  letter-spacing: normal;
}
.hv2-page .leboss-home .portfolio-item .title {
  font-family: Montserrat;
}
.hv2-page .leboss-home .portfolio-item .title a {
  font-family: "YekanBakhFaNum", sans-serif;
}
.hv2-page .leboss-home .portfolio-item .categories {
  font-family: Montserrat;
}
.hv2-page .leboss-home .portfolio-item .price,
.hv2-page .leboss-home .portfolio-item .price .amount,
.hv2-page .leboss-home .portfolio-item .product-price .amount {
  font-family: "Source Sans Pro";
}
.hv2-page .leboss-home .onsale,
.hv2-page .leboss-home .product-labels .label {
  font-family: Montserrat;
}
.hv2-page .leboss-home .leboss-product-brand-badge {
  font-family: "YekanBakh", sans-serif;
}
.hv2-page .leboss-home-section__more,
.hv2-page .leboss-home-brands__tile,
.hv2-page .leboss-home-duo__card,
.hv2-page .leboss-ig-item {
  font-family: "YekanBakhFaNum", sans-serif;
}
/* --- _extracted-cards.css --- */
/* Product carousels: TheGem hides .extended-carousel-item until owl adds
 * .owl-loaded. We render server-side, so reveal it and lay the cards out
 * in a single horizontal strip that mirrors the initial carousel view. */
.extended-carousel-item {
  opacity: 1 !important;
  height: auto !important;
}

.extended-carousel-item.owl-carousel:not(.owl-loaded) {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.extended-carousel-item.owl-carousel:not(.owl-loaded)::-webkit-scrollbar { display: none; }

.extended-carousel-item.owl-carousel:not(.owl-loaded) > .portfolio-item {
  flex: 0 0 calc((100% - 3 * 20px) / 4);
  max-width: calc((100% - 3 * 20px) / 4);
  margin: 0 !important;
  float: none !important;
  scroll-snap-align: start;
}
/* Match live Owl columns when Owl is absent (HV2). See _hand-rails.css for .hv2-page !important. */
@media (max-width: 1024px) {
  .extended-carousel-item.owl-carousel:not(.owl-loaded) {
    gap: 16px;
  }
  .extended-carousel-item.owl-carousel:not(.owl-loaded) > .portfolio-item {
    flex-basis: calc((100% - 2 * 16px) / 3);
    max-width: calc((100% - 2 * 16px) / 3);
  }
}
@media (max-width: 767px) {
  .extended-carousel-item.owl-carousel:not(.owl-loaded) {
    gap: 8px;
    padding: 0 4px;
    box-sizing: border-box;
  }
  .extended-carousel-item.owl-carousel:not(.owl-loaded) > .portfolio-item {
    flex-basis: calc((100% - 8px) / 2);
    max-width: calc((100% - 8px) / 2);
  }
}

/* Product carousel — custom L/R arrows (Owl native nav is hidden) */
.extended-products-grid-carousel,
.extended-products-grid-carousel .portfolio-preloader-wrapper,
.extended-products-grid-carousel .portfolio-row-outer,
.extended-products-grid-carousel .portfolio-filter-tabs-content,
.extended-products-grid-carousel .portfolio-row,
.extended-products-grid-carousel .portfolio-set,
.extended-products-grid-carousel .extended-carousel-wrap,
.extended-products-grid-carousel .extended-carousel-item.owl-carousel,
.elementor-widget-thegem-extended-products-carousel,
.elementor-widget-thegem-extended-products-carousel .elementor-widget-container,
.elementor-16803 .elementor-element.elementor-element-472b61f,
.elementor-16803 .elementor-element.elementor-element-c3cdf6d,
.elementor-16803 .elementor-element.elementor-element-cc23185,
.elementor-16803 .elementor-element.elementor-element-fb50180,
.elementor-16803 .elementor-element.elementor-element-72743be,
.elementor-16803 .elementor-element.elementor-element-1a626fc {
  overflow: visible !important;
}

.extended-carousel-wrap.leboss-carousel-nav-host,
.leboss-carousel-nav-host {
  position: relative !important;
  overflow: visible !important;
  /* Pull host off the clipped viewport edge; arrows sit in the side gutters */
  margin-left: 8px !important;
  margin-right: 8px !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  box-sizing: border-box !important;
  width: auto !important;
  max-width: 100% !important;
}

.extended-carousel-item.owl-carousel .owl-stage-outer {
  overflow: hidden !important;
}

/* Owl sizes each .owl-item. Bootstrap col-* on .portfolio-item would then
 * shrink the card to a fraction of that slot (col-md-3 → ~25% of owl-item),
 * clustering cards on the RTL edge with overlapping titles/prices. */
.extended-products-grid-carousel .owl-item,
.leboss-home-section__carousel .owl-item {
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.extended-products-grid-carousel .owl-item .portfolio-item,
.leboss-home-section__carousel .owl-item .portfolio-item {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.extended-products-grid-carousel .owl-item .portfolio-item .wrap,
.leboss-home-section__carousel .owl-item .portfolio-item .wrap {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
}

.extended-products-grid-carousel .owl-item .portfolio-item .caption,
.leboss-home-section__carousel .owl-item .portfolio-item .caption {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Kill Owl / TheGem built-in nav — we use .leboss-carousel-arrow instead.
   Bundle CSS hides .owl-next on desktop (the physical LEFT control in RTL),
   which made left slider buttons disappear. Keep BOTH owl buttons dead. */
.extended-products-grid-carousel .extended-carousel-item .owl-nav,
.extended-carousel-item.owl-carousel .owl-nav,
.extended-carousel-grid .owl-carousel .owl-nav {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.extended-products-grid-carousel .extended-carousel-item .owl-nav .owl-prev,
.extended-products-grid-carousel .extended-carousel-item .owl-nav .owl-next,
.extended-carousel-item.owl-carousel .owl-nav .owl-prev,
.extended-carousel-item.owl-carousel .owl-nav .owl-next,
.extended-carousel-grid .owl-carousel .owl-nav .owl-prev,
.extended-carousel-grid .owl-carousel .owl-nav .owl-next {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.leboss-carousel-arrow {
  position: absolute !important;
  top: 32% !important;
  transform: translateY(-50%) !important;
  z-index: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22) !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  pointer-events: auto !important;
}

/* Sit in the host padding gutter (not under overflow clip at the viewport edge) */
.leboss-carousel-arrow--left {
  left: 6px !important;
  right: auto !important;
}

.leboss-carousel-arrow--right {
  right: 6px !important;
  left: auto !important;
}

.leboss-carousel-arrow span {
  display: block !important;
  width: 10px !important;
  height: 10px !important;
  border: solid #0a0a0a !important;
  border-width: 0 2.5px 2.5px 0 !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
  background: transparent !important;
}

.leboss-carousel-arrow--left span {
  transform: translateX(2px) rotate(135deg) !important; /* ‹ */
}

.leboss-carousel-arrow--right span {
  transform: translateX(-2px) rotate(-45deg) !important; /* › */
}

.leboss-carousel-arrow:hover {
  background: #fff !important;
  border-color: #0a0a0a !important;
}

.extended-products-grid.disable-isotope:not(.extended-products-grid-carousel) .portfolio-set > .portfolio-item,
.leboss-shop .extended-products-grid.main-loop-grid .portfolio-set > .portfolio-item {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Brand logo badge lives inside .image-inner — never treat it like the product photo. */
.leboss-product-brand-badge--logo img {
  position: static !important;
  inset: auto !important;
  width: 44px !important;
  height: auto !important;
  max-width: 44px !important;
  max-height: 29px !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

.portfolio-item.has-hover-image .image-inner img.leboss-card-img--hover {
  z-index: 2;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .48s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
}

/* Equal-height cards: photo on top, caption fills remaining space, price on
   one shared row baseline (reserved title slot + .list-right margin-top:auto). */
.portfolio.extended-products-grid.disable-isotope.caption-position-page .wrap,
.leboss-shop .extended-products-grid.main-loop-grid .portfolio-item .wrap,
.portfolio.products.disable-isotope .portfolio-item .wrap {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  min-height: 100%;
}

.portfolio.extended-products-grid.disable-isotope.caption-position-page .wrap .caption,
.leboss-shop .extended-products-grid.main-loop-grid .portfolio-item .caption,
.portfolio.products.disable-isotope .portfolio-item .caption {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
}

.portfolio.extended-products-grid .portfolio-item .caption .product-info,
.leboss-shop .portfolio-item .caption .product-info,
.portfolio.products .portfolio-item .caption .product-info {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
}

.portfolio.extended-products-grid .portfolio-item .caption .list-right,
.leboss-shop .portfolio-item .caption .list-right,
.portfolio.products .portfolio-item .caption .list-right {
  margin-top: auto !important;
  width: 100%;
  padding-top: 8px;
}

/* Categories: one line. Titles: fixed two-line slot so prices line up. */
.portfolio.extended-products-grid .portfolio-item .caption .categories,
.leboss-shop .portfolio-item .caption .categories,
.portfolio.products .portfolio-item .caption .categories {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 1 !important;
  line-clamp: 1;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  min-height: 1.35em;
  max-height: 1.35em;
  margin: 0 0 6px !important;
  line-height: 1.35 !important;
}

/* The clamp lives on the inner <a>, never on .title: .title is a flex item of
 * .product-info, so display:-webkit-box on it is blockified and the clamp is
 * silently dropped — max-height then cuts through the middle of a line instead.
 * Persian glyph ink also needs ~1.75 leading; tighter values get shaved by
 * overflow:hidden. min-height matches the clamp so sibling cards in a row
 * share one title-box height and prices start on one baseline; max-height +
 * line-clamp keep long titles from overflowing. */
.portfolio.extended-products-grid .portfolio-item .caption .title,
.leboss-shop .portfolio-item .caption .title,
.portfolio.products .portfolio-item .caption .title {
  display: block !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  white-space: normal !important;
  min-height: calc(1.75em * 2) !important;
  max-height: calc(1.75em * 2) !important;
  margin: 0 !important;
  line-height: 1.75 !important;
}

.portfolio.extended-products-grid .portfolio-item .caption .title > a,
.leboss-shop .portfolio-item .caption .title > a,
.portfolio.products .portfolio-item .caption .title > a {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  overflow: hidden !important;
  margin: 0 !important;
  line-height: inherit !important;
  white-space: inherit !important;
}

/* Sale prices in product cards: .product-info sets line-height:0, so when a
 * discounted product's struck price + sale price wrap to two lines on narrow
 * cards they collapse and overlap. Restore a real line-height on the price. */
.portfolio.extended-products-grid .portfolio-item.product .caption .product-price,
.portfolio.extended-products-grid .portfolio-item.product .caption .product-price .price {
  line-height: 1.5;
}

.portfolio.extended-products-grid .portfolio-item.product .caption .product-price .price del,
.portfolio.extended-products-grid .portfolio-item.product .caption .product-price .price ins,
.portfolio.extended-products-grid .portfolio-item.product .caption .product-price .price .amount {
  line-height: 1.5;
}

/*
 * Product cards — Figma 2746:1318 (desktop row 1 / mobile row 2)
 * Categories 11.5/#99a9b5 · title 14 bold/#5f727f · brand 16/#5f727f
 * Price 14 semibold + تومان 13 · struck #9aa4ad
 * Desktop: sale + struck on one row · Mobile: stacked
 */
.portfolio.extended-products-grid .portfolio-item .caption,
.portfolio.products .portfolio-item .caption,
.leboss-shop .portfolio-item .caption,
.elementor-16803 .portfolio.products .portfolio-item .caption {
  padding-top: 14px !important;
  gap: 0;
}

.portfolio.extended-products-grid .portfolio-item .caption .categories,
.leboss-shop .portfolio-item .caption .categories,
.portfolio.products .portfolio-item .caption .categories,
.elementor-16803 .portfolio.products .caption .categories {
  color: #99a9b5 !important;
  font-size: 11.5px !important;
  font-weight: 400 !important;
  line-height: 15.53px !important;
  letter-spacing: -0.55px;
  margin: 0 0 7px !important;
  text-align: right !important;
}

.portfolio.extended-products-grid .portfolio-item .caption .categories a,
.leboss-shop .portfolio-item .caption .categories a,
.portfolio.products .portfolio-item .caption .categories a,
.elementor-16803 .portfolio.products .caption .categories a {
  color: inherit !important;
  font: inherit !important;
}

.portfolio.extended-products-grid .portfolio-item .caption .title,
.leboss-shop .portfolio-item .caption .title,
.portfolio.products .portfolio-item .caption .title,
.elementor-16803 .portfolio.products .caption .title,
.portfolio.extended-products-grid .portfolio-item .caption .title > a,
.leboss-shop .portfolio-item .caption .title > a,
.portfolio.products .portfolio-item .caption .title > a,
.elementor-16803 .portfolio.products .caption .title > a {
  color: #5f727f !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: normal !important;
  text-align: right !important;
}

.portfolio.extended-products-grid .portfolio-item .caption .leboss-card-brand,
.leboss-shop .portfolio-item .caption .leboss-card-brand,
.portfolio.products .portfolio-item .caption .leboss-card-brand,
.elementor-16803 .portfolio.products .caption .leboss-card-brand {
  color: #5f727f !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 23.2px !important;
  margin: 5px 0 0 !important;
  text-align: right !important;
}

.portfolio-item .caption .product-price .price,
.portfolio-item .caption .product-price .amount,
.portfolio-item .caption .product-price bdi,
.elementor-16803 .portfolio.products .caption .product-price .price,
.elementor-16803 .portfolio.products .caption .product-price .amount,
.elementor-16803 .portfolio.products .caption .product-price bdi {
  color: #0a0a0a !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: -0.14px;
  line-height: 1.5 !important;
}

.portfolio-item .caption .product-price .woocommerce-Price-currencySymbol,
.elementor-16803 .portfolio.products .caption .product-price .woocommerce-Price-currencySymbol {
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: -0.39px;
  line-height: 1.7 !important;
}

.portfolio-item .caption .product-price del,
.portfolio-item .caption .product-price del .amount,
.portfolio-item .caption .product-price del bdi,
.elementor-16803 .portfolio.products .caption .product-price del,
.elementor-16803 .portfolio.products .caption .product-price del .amount,
.elementor-16803 .portfolio.products .caption .product-price del bdi {
  color: #9aa4ad !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: line-through !important;
}

.portfolio-item .caption .product-price del .woocommerce-Price-currencySymbol,
.elementor-16803 .portfolio.products .caption .product-price del .woocommerce-Price-currencySymbol {
  font-size: 13px !important;
  font-weight: 400 !important;
}

/* Product badges — exact leboss.shop customizer colors. */
.product .onsale,
.product-labels .label.onsale,
.product-gallery-labels .product-labels .onsale {
  background-color: #0a0a0a !important;
  color: #fff !important;
}

.product .onsale:after,
.product-labels .label.onsale:after {
  border-left-color: #0a0a0a !important;
  border-right-color: #0a0a0a !important;
}

.product .out-of-stock-label,
.product-labels .label.out-of-stock-label,
.product-gallery-labels .product-labels .out-of-stock-label {
  background-color: #e63946 !important;
  color: #fff !important;
}

.product .out-of-stock-label:after,
.product-labels .label.out-of-stock-label:after {
  border-left-color: #e63946 !important;
  border-right-color: #e63946 !important;
}

.product .new-label,
.product-labels .label.new-label {
  background-color: #ababab !important;
  color: #fff !important;
}

/* Stack sale + out-of-stock badges vertically (no overlap). */
.portfolio-item.product .image { position: relative; }

.portfolio-item.product .labels-outer {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
  pointer-events: none;
}

.portfolio.extended-products-grid .portfolio-item.product .product-labels.style-1,
.product-gallery-labels .product-labels.style-1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  position: relative;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: auto;
  margin: 0 !important;
  transform: none !important;
}

.portfolio.extended-products-grid .portfolio-item.product .product-labels.style-1 .label,
.product-gallery-labels .product-labels.style-1 .label {
  margin: 0 !important;
  position: relative;
  flex-shrink: 0;
}

.portfolio.extended-products-grid .portfolio-item.product .product-labels.style-1 .out-of-stock-label + .onsale,
.portfolio.extended-products-grid .portfolio-item.product .product-labels.style-1 .out-of-stock-label + .new-label,
.portfolio.extended-products-grid .portfolio-item.product .product-labels.style-1 .onsale + .new-label,
.product .onsale + .new-label,
.product .onsale + .out-of-stock-label,
.product .new-label + .out-of-stock-label {
  margin-top: 0 !important;
}

/* Keep badge circles a consistent readable size. */
.portfolio.extended-products-grid .portfolio-item.product .product-labels.style-1 .label,
.product-gallery-labels .product-labels.style-1 .label {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 3px;
  border-radius: 50%;
  line-height: 1.1;
}

.portfolio.extended-products-grid .portfolio-item.product .product-labels.style-1 .out-of-stock-label .text,
.product-gallery-labels .product-labels.style-1 .out-of-stock-label .text {
  font-size: 7px;
  line-height: 1.15;
  display: block;
  text-align: center;
  word-break: break-word;
}

.portfolio.extended-products-grid .portfolio-item.product .product-labels.style-1 .onsale .text,
.product-gallery-labels .product-labels.style-1 .onsale .text {
  font-size: 13px;
  font-weight: 700;
}

.product-labels.style-1 .label.onsale,
.product-gallery-labels .product-labels.style-1 .label.onsale,
.portfolio.extended-products-grid .portfolio-item.product .product-labels.style-1 .label.onsale {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 52px !important;
  height: 32px !important;
  min-width: 52px !important;
  min-height: 32px !important;
  max-width: 52px !important;
  max-height: 32px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  direction: ltr !important;
  text-align: center !important;
  line-height: 1 !important;
  overflow: hidden !important;
}

.product-labels.style-1 .label.onsale .rotate-back,
.product-gallery-labels .product-labels.style-1 .label.onsale .rotate-back,
.portfolio.extended-products-grid .portfolio-item.product .product-labels.style-1 .label.onsale .rotate-back,
.product-labels.style-1 .label.onsale .text,
.product-gallery-labels .product-labels.style-1 .label.onsale .text,
.portfolio.extended-products-grid .portfolio-item.product .product-labels.style-1 .label.onsale .text,
.product-labels.style-1 .label.onsale b,
.product-gallery-labels .product-labels.style-1 .label.onsale b,
.portfolio.extended-products-grid .portfolio-item.product .product-labels.style-1 .label.onsale b {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  position: static !important;
  float: none !important;
  line-height: 1 !important;
  text-align: center !important;
}

/* Product card caption: flush with photo edges (home + shop + carousels).
   TheGem / Elementor Caption Container Style often injects side padding so
   title/price sit inward of the image — kill that everywhere. */
.portfolio.extended-products-grid .portfolio-item .wrap,
.portfolio.products .portfolio-item .wrap,
.leboss-shop .portfolio-item .wrap,
.elementor-16803 .portfolio.products .portfolio-item .wrap,
.extended-products-grid-carousel .portfolio-item .wrap,
.leboss-home .portfolio-item .wrap,
.leboss-home-section__carousel .portfolio-item .wrap,
.products-compact-grid .wrap {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.portfolio.extended-products-grid .portfolio-item .wrap > .image,
.portfolio.products .portfolio-item .wrap > .image,
.leboss-shop .portfolio-item .wrap > .image,
.elementor-16803 .portfolio.products .portfolio-item .wrap > .image,
.extended-products-grid-carousel .portfolio-item .wrap > .image,
.leboss-home .portfolio-item .wrap > .image,
.leboss-home-section__carousel .portfolio-item .wrap > .image,
.products-compact-grid .wrap > .image {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

.portfolio.extended-products-grid .portfolio-item .caption,
.portfolio.products .portfolio-item .caption,
.leboss-shop .portfolio-item .caption,
.elementor-16803 .portfolio.products .portfolio-item .caption,
.extended-products-grid-carousel .portfolio-item .caption,
.leboss-home .portfolio-item .caption,
.leboss-home-section__carousel .portfolio-item .caption,
.products-compact-grid .caption,
.portfolio.extended-products-grid .portfolio-item .wrap > .caption,
.portfolio.products .portfolio-item .wrap > .caption {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top: 14px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-inline: 0 !important;
  text-align: right !important;
  direction: rtl;
  min-height: 0;
  box-sizing: border-box !important;
}

.portfolio.extended-products-grid .portfolio-item .caption .product-info,
.portfolio.products .portfolio-item .caption .product-info,
.elementor-16803 .portfolio.products .caption .product-info,
.extended-products-grid-carousel .portfolio-item .caption .product-info,
.leboss-home .portfolio-item .caption .product-info,
.products-compact-grid .caption .product-info,
.portfolio.extended-products-grid .portfolio-item .caption .list-right,
.portfolio.products .portfolio-item .caption .list-right,
.leboss-shop .portfolio-item .caption .list-right,
.elementor-16803 .portfolio.products .caption .list-right,
.extended-products-grid-carousel .portfolio-item .caption .list-right {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-inline: 0 !important;
  line-height: 1.45 !important;
  text-align: right !important;
  direction: rtl;
  min-height: 0;
  box-sizing: border-box !important;
}

.portfolio.extended-products-grid .portfolio-item .caption .title,
.portfolio.products .portfolio-item .caption .title,
.portfolio-item .caption .title,
.leboss-shop .portfolio-item .caption .title,
.elementor-16803 .portfolio.products .caption .title,
.extended-products-grid-carousel .portfolio-item .caption .title {
  display: block !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  white-space: normal !important;
  width: 100%;
  min-height: calc(1.75em * 2) !important;
  max-height: calc(1.75em * 2) !important;
  margin: 0 !important;
  line-height: 1.75 !important;
  text-align: right !important;
  direction: rtl;
  unicode-bidi: plaintext;
}

.portfolio.extended-products-grid .portfolio-item .caption .title > a,
.portfolio.products .portfolio-item .caption .title > a,
.portfolio-item .caption .title > a,
.leboss-shop .portfolio-item .caption .title > a,
.elementor-16803 .portfolio.products .caption .title > a,
.extended-products-grid-carousel .portfolio-item .caption .title > a {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  overflow: hidden !important;
  width: auto;
  margin: 0 !important;
  line-height: inherit !important;
  text-align: inherit !important;
  direction: inherit;
  unicode-bidi: plaintext;
  white-space: inherit !important;
}

/* Product card price — same right edge as title */
.portfolio-item .caption .product-price,
.extended-products-grid .product-price,
.portfolio.products .portfolio-item .caption .product-price,
.elementor-16803 .portfolio.products .caption .product-price {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  text-align: right !important;
  direction: rtl;
}

.portfolio.extended-products-grid .portfolio-item .caption .list-right,
.leboss-shop .portfolio-item .caption .list-right,
.portfolio.products .portfolio-item .caption .list-right,
.elementor-16803 .portfolio.products .caption .list-right {
  margin-top: auto !important;
  width: 100%;
  padding-top: 8px;
}

.portfolio-item .caption .product-price .price,
.elementor-16803 .portfolio.products .caption .product-price .price {
  display: block !important;
  width: 100%;
  text-align: right !important;
  direction: rtl;
}

.portfolio-item .caption .product-price .price,
.portfolio-item .caption .product-price .amount,
.portfolio-item .caption .product-price bdi,
.elementor-16803 .portfolio.products .caption .product-price .price,
.elementor-16803 .portfolio.products .caption .product-price .amount,
.elementor-16803 .portfolio.products .caption .product-price bdi {
  color: #0a0a0a !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: right !important;
  direction: rtl;
  unicode-bidi: isolate;
}

.portfolio-item .caption .product-price del,
.portfolio-item .caption .product-price del .amount,
.portfolio-item .caption .product-price del bdi,
.elementor-16803 .portfolio.products .caption .product-price del,
.elementor-16803 .portfolio.products .caption .product-price del .amount,
.elementor-16803 .portfolio.products .caption .product-price del bdi,
.woocommerce .price del,
.woocommerce .price del .amount,
.woocommerce .price del bdi {
  color: #848484 !important;
  font-weight: 400;
  font-size: 12px;
  margin-left: 6px;
}

.portfolio-item .caption .product-price ins { text-decoration: none; }

.portfolio-item .caption .price-wrap { display: block; width: 100%; text-align: right !important; }

.leboss-product-page .page-breadcrumbs {
  min-height: 0;
  margin-bottom: 8px;
}

/* ============ Single product page (match leboss.shop / TheGem structure) ============ */
.leboss-product-page .block-content {
  padding: 40px 0 60px;
}

.leboss-product-page .container > .product-page__wrapper ~ .product-page__wrapper {
  display: none !important;
}

.single-product-related .leboss-carousel-arrow {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border-color: #e0e0e0 !important;
  box-shadow: none !important;
}

.single-product-related .portfolio-item .image {
  position: relative;
}

.single-product-related .owl-item .portfolio-item,
.single-product-related .extended-carousel-item > .portfolio-item {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.single-product-related .portfolio.extended-products-grid.disable-isotope.caption-position-page .wrap,
.single-product-related .portfolio-item .wrap {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
}

.single-product-related .portfolio-item .wrap > .image {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
}

.single-product-related .portfolio-item .caption {
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding-top: 12px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: right !important;
  direction: rtl;
  box-sizing: border-box !important;
}

.single-product-related .portfolio-item .caption .product-info,
.single-product-related .portfolio-item .caption .list-right,
.single-product-related .portfolio-item .caption .product-price,
.single-product-related .portfolio-item .caption .price-wrap {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  text-align: right !important;
  direction: rtl;
}

/* Avoid -webkit-box RTL char-stacking (titles/categories become vertical letters). */
.single-product-related .portfolio-item .caption .categories {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  line-clamp: unset !important;
  font-size: 12px;
  line-height: 1.4 !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 0 6px !important;
  color: #99a9b5;
  text-align: right !important;
  direction: rtl;
  unicode-bidi: isolate;
}

.single-product-related .portfolio-item .caption .title {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 8px !important;
  overflow: hidden !important;
  /* Line-based clamp without webkit-box (safer for Persian RTL in Owl).
     1.75 leading keeps Persian ascenders/descenders inside the box, and a
     whole-line max-height means the cut never lands mid-glyph. */
  max-height: calc(1.75em * 3) !important;
  min-height: 0 !important;
  line-height: 1.75 !important;
  font-size: 14px;
  text-align: right !important;
  direction: rtl;
  unicode-bidi: isolate;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  line-clamp: unset !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere;
}

.single-product-related .portfolio-item .caption .title a {
  display: inline !important;
  width: auto !important;
  white-space: normal !important;
  word-break: break-word !important;
  line-height: inherit !important;
  font-size: inherit !important;
  text-align: inherit !important;
  direction: inherit;
  unicode-bidi: isolate;
}

.single-product-related .portfolio-item .caption .product-price .price,
.single-product-related .portfolio-item .caption .product-price bdi {
  text-align: right !important;
  direction: rtl;
  unicode-bidi: isolate;
}

.single-product-related .portfolio-item.has-hover-image .image-inner img.leboss-card-img--hover {
  z-index: 2;
  opacity: 0;
  transform: none;
  pointer-events: none;
  transition: opacity .35s ease;
}

.single-product-related .portfolio-item.has-hover-image:hover .image-inner img.leboss-card-img--hover,
.single-product-related .portfolio-item.has-hover-image:focus-within .image-inner img.leboss-card-img--hover {
  opacity: 1;
  transform: none;
}

.single-product-related .portfolio-item .image .overlay,
.single-product-related .portfolio-item.image-hover .image .overlay,
.single-product-related .portfolio-item.image-hover .image:after,
.single-product-related .portfolio-item.image-hover .image-inner:after {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.leboss-brand-landing--adidas .leboss-product-brand-badge,
.leboss-brand-landing--adidas .leboss-product-brand-badge--logo,
.leboss-brand-landing--adidas .leboss-brand-picked-row .leboss-product-brand-badge--logo {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  z-index: 4 !important;
  pointer-events: none;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: clamp(72px, 23.611%, 102px) !important;
  height: auto !important;
  aspect-ratio: 102 / 47 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 102px !important;
  max-height: none !important;
  padding: 0 !important;
  background: #fff !important;
  box-sizing: border-box !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.leboss-brand-landing--adidas .leboss-product-brand-badge--logo img,
.leboss-brand-landing--adidas .leboss-brand-picked-row .leboss-product-brand-badge--logo img {
  display: block !important;
  width: 43.14% !important; /* 44/102 */
  height: auto !important;
  max-width: 44px !important;
  max-height: 29px !important;
  aspect-ratio: 44 / 29 !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  object-fit: contain !important;
  background: transparent !important;
}

/* Figma card caption: title + price only, flush to photo edges */
.leboss-brand-landing--adidas .portfolio-item .caption .categories,
.leboss-brand-landing--adidas .leboss-brand-picked-row .portfolio-item .caption .categories {
  display: none !important;
}

.leboss-brand-landing--adidas .portfolio-item .caption,
.leboss-brand-landing--adidas .leboss-brand-picked-row .portfolio-item .caption {
  padding: 26px 0 0 !important;
  text-align: right !important;
}

.leboss-brand-landing--adidas .portfolio-item .caption .title,
.leboss-brand-landing--adidas .portfolio-item .caption .title > a,
.leboss-brand-landing--adidas .portfolio-item .caption .product-price,
.leboss-brand-landing--adidas .portfolio-item .caption .product-price .price,
.leboss-brand-landing--adidas .portfolio-item .caption .product-price bdi {
  font-family: 'YekanBakhFaNum', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: -0.01em !important;
  color: #1a1a1a !important;
  text-align: right !important;
}

.leboss-brand-landing--adidas .portfolio-item .caption .title {
  margin: 0 0 10px !important;
  min-height: 0 !important;
}

.leboss-brand-landing--adidas .leboss-brand-picked-row .leboss-carousel-arrow {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.leboss-home .portfolio-item {
  contain: layout style;
}

.leboss-home .portfolio-item .image img {
  /* Decode off main path; avoid forced sync paints while scrolling */
  decoding: async;
}

/* Home carousel arrows: fixed CSS insets — no JS on scroll */
.leboss-home .leboss-carousel-arrow--left {
  left: 8px !important;
}

.leboss-home .leboss-carousel-arrow--right {
  right: 8px !important;
}

.leboss-home .portfolio-item .image {
  position: relative;
}

.leboss-product-brand-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  max-width: 45%;
  min-height: 40px;
  padding: 8px 12px;
  background: #fff;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -.03em;
  text-align: center;
  pointer-events: none;
}

/* Brand-landing logo badge — Adidas overrides to Figma white plate 102×47. */
.leboss-product-brand-badge--logo {
  top: 0;
  right: 0;
  min-width: 102px;
  max-width: 102px;
  min-height: 47px;
  padding: 0;
  background: #fff;
}

.leboss-product-brand-badge--logo img {
  display: block;
  width: 44px;
  height: 29px;
  max-height: 29px;
  object-fit: contain;
}

.leboss-home .portfolio-item .caption .categories {
  display: none;
}

.leboss-home .portfolio-item .caption .title,
.leboss-home .portfolio-item .caption .title a {
  font-size: 14px;
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: -.03em;
}

.leboss-home .portfolio-item .product-price,
.leboss-home .portfolio-item .product-price .price,
.leboss-home .portfolio-item .product-price .amount {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}
/* --- _hand-rails.css --- */
/*
 * Product rails — match live TheGem Owl columns (measured), not invent.
 * Live data-*: mobile 2 / tablet 3 / desktop 4; margins 8 mobile, 20 else.
 * HV2 has no Owl, so flex track must reproduce those column widths.
 */

/* Kill conflicting minimal layout from earlier drafts */
.hv2-page .extended-products-grid-carousel .owl-carousel,
.hv2-page .extended-carousel-item.owl-carousel,
.hv2-page .extended-carousel-item.leboss-native-carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.hv2-page .extended-carousel-item.owl-carousel::-webkit-scrollbar {
  display: none;
}

/* Desktop ≥1025 — 4 cols, margin 20 (live @1440 ≈265.5) */
.hv2-page .extended-carousel-item.owl-carousel > .portfolio-item,
.hv2-page .extended-carousel-item.leboss-native-carousel > .portfolio-item,
.hv2-page .extended-products-grid-carousel .owl-carousel > .portfolio-item {
  flex: 0 0 calc((100% - 3 * 20px) / 4) !important;
  max-width: calc((100% - 3 * 20px) / 4) !important;
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  scroll-snap-align: start;
  box-sizing: border-box !important;
}

/* Tablet / small laptop ≤1024 — 3 cols; live @768 spacing ≈16px → cards ≈173.3 */
@media (max-width: 1024px) {
  .hv2-page .extended-carousel-item.owl-carousel,
  .hv2-page .extended-carousel-item.leboss-native-carousel,
  .hv2-page .extended-products-grid-carousel .owl-carousel {
    gap: 16px !important;
  }
  .hv2-page .extended-carousel-item.owl-carousel > .portfolio-item,
  .hv2-page .extended-carousel-item.leboss-native-carousel > .portfolio-item,
  .hv2-page .extended-products-grid-carousel .owl-carousel > .portfolio-item {
    flex-basis: calc((100% - 2 * 16px) / 3) !important;
    max-width: calc((100% - 2 * 16px) / 3) !important;
  }
}

/* Phone ≤767 — 2 cols, gap 8, pad 4 (live @375 ≈163.5, flexBasis 50%-4px) */
@media (max-width: 767px) {
  .hv2-page .extended-carousel-item.owl-carousel,
  .hv2-page .extended-carousel-item.leboss-native-carousel,
  .hv2-page .extended-products-grid-carousel .owl-carousel {
    gap: 8px !important;
    padding: 0 4px !important;
  }
  .hv2-page .extended-carousel-item.owl-carousel > .portfolio-item,
  .hv2-page .extended-carousel-item.leboss-native-carousel > .portfolio-item,
  .hv2-page .extended-products-grid-carousel .owl-carousel > .portfolio-item {
    flex-basis: calc((100% - 8px) / 2) !important;
    max-width: calc((100% - 8px) / 2) !important;
  }
  .hv2-page .extended-carousel-wrap.leboss-carousel-nav-host,
  .hv2-page .leboss-carousel-nav-host {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ≥768 home sections: full-width track, no 40px arrow gutters (live main.css) */
@media (min-width: 768px) {
  .hv2-page .leboss-home-section .extended-carousel-wrap.leboss-carousel-nav-host,
  .hv2-page .leboss-home-section .leboss-carousel-nav-host {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .hv2-page .leboss-home-section__carousel,
  .hv2-page .leboss-home-section__carousel .portfolio-preloader-wrapper,
  .hv2-page .leboss-home-section__carousel .portfolio-row-outer,
  .hv2-page .leboss-home-section__carousel .portfolio-row,
  .hv2-page .leboss-home-section__carousel .portfolio-set,
  .hv2-page .leboss-home-section__carousel .extended-carousel-wrap,
  .hv2-page .leboss-home-section__carousel .extended-carousel-item.owl-carousel {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  /* Desktop home rails: only the left arrow (hide right) */
  .hv2-page .leboss-home-section .leboss-carousel-arrow--left {
    left: 8px !important;
    right: auto !important;
    display: inline-flex !important;
  }
  .hv2-page .leboss-home-section .leboss-carousel-arrow--right {
    display: none !important;
  }
}

.hv2-page .portfolio-item .image-inner,
.hv2-page .portfolio.extended-products-grid .image .image-inner {
  position: relative;
  /* live main.css default portrait frame */
  aspect-ratio: 0.8 !important;
  overflow: hidden;
  background: #f5f5f5;
}
@media (min-width: 992px) {
  .hv2-page .portfolio.extended-products-grid-carousel .image .image-inner,
  .hv2-page .portfolio-item .image-inner {
    aspect-ratio: 0.72 !important;
  }
}
@media (max-width: 767px) {
  .hv2-page .portfolio.extended-products-grid .image .image-inner,
  .hv2-page .portfolio-item .image-inner {
    aspect-ratio: 0.72 !important;
  }
}
/*
 * Caption / title / cats — live-measured.
 * Must beat `.portfolio… .wrap > .caption` (0,4,1) from extracted-cards.
 */
.hv2-page .portfolio.extended-products-grid .portfolio-item .wrap > .caption,
.hv2-page .portfolio.products .portfolio-item .wrap > .caption,
.hv2-page .extended-products-grid-carousel .portfolio-item .wrap > .caption,
.hv2-page .leboss-home-section .portfolio-item .wrap > .caption,
.hv2-page .portfolio-item .wrap > .caption {
  padding: 14px 0 13px !important;
  padding-top: 14px !important;
  padding-bottom: 13px !important;
}
@media (max-width: 767px) {
  .hv2-page .portfolio.extended-products-grid .portfolio-item .wrap > .caption,
  .hv2-page .portfolio.products .portfolio-item .wrap > .caption,
  .hv2-page .extended-products-grid-carousel .portfolio-item .wrap > .caption,
  .hv2-page .leboss-home-section .portfolio-item .wrap > .caption,
  .hv2-page .portfolio-item .wrap > .caption {
    padding: 6px 0 13px !important;
    padding-top: 6px !important;
    padding-bottom: 13px !important;
  }
  .hv2-page .portfolio.extended-products-grid .portfolio-item .caption .title,
  .hv2-page .portfolio.products .portfolio-item .caption .title,
  .hv2-page .leboss-home-section .portfolio-item .caption .title,
  .hv2-page .portfolio-item .caption .title {
    min-height: 59px !important;
    max-height: 59px !important;
    margin: 0 0 4px !important;
    font-size: 14px !important;
    line-height: 24.5px !important;
  }
  /* live main.css mobile: brand margin-top 4px (beat extracted-cards 5px) */
  .hv2-page .portfolio.extended-products-grid .portfolio-item .caption .leboss-card-brand,
  .hv2-page .portfolio.products .portfolio-item .caption .leboss-card-brand,
  .hv2-page .leboss-home-section .portfolio-item .caption .leboss-card-brand,
  .hv2-page .extended-products-grid-carousel .portfolio-item .caption .leboss-card-brand {
    margin: 4px 0 0 !important;
    margin-top: 4px !important;
  }
  .hv2-page .leboss-home-section__title {
    font-size: 20px !important;
    line-height: 30px !important;
  }
  /* live main.css mobile: list-right pad-top 4px (not 8), product-info no flex-grow */
  .hv2-page .portfolio.extended-products-grid .portfolio-item .caption .list-right,
  .hv2-page .portfolio.products .portfolio-item .caption .list-right,
  .hv2-page .extended-products-grid-carousel .portfolio-item .caption .list-right,
  .hv2-page .leboss-home-section .portfolio-item .caption .list-right {
    margin-top: 0 !important;
    padding-top: 4px !important;
  }
  .hv2-page .portfolio.extended-products-grid .portfolio-item .caption .product-info,
  .hv2-page .portfolio.products .portfolio-item .caption .product-info,
  .hv2-page .extended-products-grid-carousel .portfolio-item .caption .product-info,
  .hv2-page .leboss-home-section .portfolio-item .caption .product-info {
    flex: 0 0 auto !important;
  }
}
/* Live: cats clamp only on wide desktop; ≤1023 max-height is none → ~20.5px box */
@media (max-width: 1023px) {
  .hv2-page .portfolio.extended-products-grid .portfolio-item .caption .categories,
  .hv2-page .portfolio.products .portfolio-item .caption .categories,
  .hv2-page .leboss-home-section .portfolio-item .caption .categories,
  .hv2-page .portfolio-item .caption .categories {
    max-height: none !important;
    min-height: 20.5px !important;
    margin: 0 0 7px !important;
    line-height: 15.53px !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    display: flow-root !important;
  }
}
.hv2-page .portfolio-item .caption .categories {
  margin: 0 0 7px !important;
  line-height: 15.53px !important;
}
.hv2-page .portfolio-item .image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hv2-page .portfolio-item.has-hover-image .leboss-card-img--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .2s;
}
.hv2-page .portfolio-item.has-hover-image:hover .leboss-card-img--hover {
  opacity: 1;
}
/* Live parity: brand plate flush to physical top-right (RTL: do NOT use inset-inline-end — it maps to left). */
.hv2-page .leboss-product-brand-badge,
.hv2-page .leboss-product-brand-badge--logo {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  inset-inline: unset !important;
  margin: 0 !important;
  z-index: 3;
  background: #fff;
  border-radius: 0;
  box-sizing: border-box;
}
.hv2-page .leboss-product-brand-badge {
  min-width: 56px;
  min-height: 32px;
  padding: 6px 8px;
  font-size: 11px;
  line-height: 1.4;
}
@media (min-width: 1280px) {
  .hv2-page .leboss-product-brand-badge {
    min-width: 72px;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }
}
/* Discount badge — sharp black rectangle flush top-left (desktop 52×32 / mobile 48×28) */
.hv2-page .product-labels .onsale,
.hv2-page .portfolio-item .product-labels .label.onsale {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  width: 52px !important;
  height: 32px !important;
  min-width: 52px !important;
  min-height: 32px !important;
  max-width: 52px !important;
  max-height: 32px !important;
  border-radius: 0 !important;
  background: #0a0a0a !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  direction: ltr !important;
  text-align: center !important;
}
.hv2-page .product-labels .onsale:after,
.hv2-page .portfolio-item .product-labels .label.onsale:after {
  display: none !important;
  content: none !important;
  border: 0 !important;
}
.hv2-page .portfolio-item .product-labels .label.onsale .rotate-back,
.hv2-page .portfolio-item .product-labels .label.onsale .text,
.hv2-page .portfolio-item .product-labels .label.onsale b {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  position: static !important;
  font-family: "YekanBakhFaNum", "Yekan Bakh FaNum", "YekanBakh", Tahoma, sans-serif !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-align: center !important;
  white-space: nowrap !important;
}
.hv2-page .portfolio-item.product .image,
.hv2-page .portfolio-item.product .image-inner {
  position: relative !important;
}
.hv2-page .portfolio-item.product .labels-outer {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 6 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  pointer-events: none;
  width: auto !important;
  direction: ltr !important;
}
@media (max-width: 767px) {
  .hv2-page .product-labels .onsale,
  .hv2-page .portfolio-item .product-labels .label.onsale {
    width: 48px !important;
    height: 28px !important;
    min-width: 48px !important;
    min-height: 28px !important;
    max-width: 48px !important;
    max-height: 28px !important;
    border-radius: 0 !important;
  }
  .hv2-page .portfolio-item .product-labels .label.onsale .text,
  .hv2-page .portfolio-item .product-labels .label.onsale b {
    font-size: 12px !important;
  }
}
/* Section title — lock live tablet size (overrides rem/clamp drift) */
@media (min-width: 768px) and (max-width: 991px) {
  .hv2-page .leboss-home-section__title {
    font-size: 22px !important;
    line-height: 33px !important;
    max-width: 180px !important;
  }
}
/* title/cats/price typography comes from extracted-cards + live overrides above */
.hv2-page .leboss-carousel-nav-host {
  position: relative;
}
.hv2-page .leboss-carousel-arrow {
  position: absolute;
  top: 40%;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e0e0e0;
}
.hv2-page .leboss-carousel-arrow--left {
  left: 8px;
  right: auto;
}
.hv2-page .leboss-carousel-arrow--right {
  right: 8px;
  left: auto;
}
.hv2-page .owl-nav,
.hv2-page .owl-dots {
  display: none !important;
}
.hv2-page .portfolio-preloader-wrapper,
.hv2-page .portfolio-row-outer,
.hv2-page .portfolio-set,
.hv2-page .portfolio-filter-tabs-content,
.hv2-page .extended-carousel-wrap {
  display: block;
  width: 100%;
}

/* --- _minicart.css --- */
/* from mini-cart.css — used only on home-v2 */
/**
 * Header mini-cart — match Figma (RTL)
 * Row: title+price | thumb+remove — then outline / solid CTAs
 */

/* ---------- Shell ---------- */
.thegem-te-cart.desktop-view .minicart,
.thegem-te-cart .minicart {
  width: 360px !important;
  max-width: calc(100vw - 24px) !important;
  padding: 0 !important;
  border: 1px solid #c5d4de !important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.thegem-te-cart .minicart .widget_shopping_cart_content {
  background: #fff !important;
  padding: 0 !important;
  margin: 0 !important;
}

.thegem-te-cart.desktop-view .mobile-cart-header {
  display: none !important;
}

/* ---------- List ---------- */
.thegem-te-cart .minicart .woocommerce-mini-cart,
.thegem-te-cart .minicart ul.cart_list,
.thegem-te-cart .minicart ul.product_list_widget,
.thegem-te-cart .minicart ul.leboss-mini-cart-list {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 4px 18px 0 !important;
  list-style: none !important;
  box-shadow: none !important;
  border: 0 !important;
  max-height: min(52vh, 380px);
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box !important;
}

.thegem-te-cart .minicart .woocommerce-mini-cart-item,
.thegem-te-cart .minicart .leboss-mini-cart-item,
.thegem-te-cart .minicart ul.cart_list > li {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 16px 0 !important;
  border: 0 !important;
  border-bottom: 0 !important;
  position: relative !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

.thegem-te-cart .minicart .woocommerce-mini-cart-item:last-child,
.thegem-te-cart .minicart .leboss-mini-cart-item:last-child {
  border-bottom: 0 !important;
}

/* Row: image on the right (RTL), text on the left */
.thegem-te-cart .minicart .leboss-mini-cart-item__row {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 14px !important;
  width: 100% !important;
  direction: rtl !important;
}

/* ---------- Thumb + remove ---------- */
.thegem-te-cart .minicart .leboss-mini-cart-item__media,
.thegem-te-cart .minicart .woocommerce-mini-cart-item .minicart-image,
.thegem-te-cart .minicart .cart_list .minicart-image {
  float: none !important;
  position: relative !important;
  flex: 0 0 78px !important;
  width: 78px !important;
  min-width: 78px !important;
  height: 96px !important;
  margin: 0 !important;
  padding: 0 !important;
  order: 0 !important;
}

.thegem-te-cart .minicart .leboss-mini-cart-item__thumb,
.thegem-te-cart .minicart .leboss-mini-cart-item__media > a,
.thegem-te-cart .minicart .minicart-image > a:not(.remove) {
  display: block !important;
  width: 78px !important;
  height: 96px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  line-height: 0 !important;
  background: #f3f3f3 !important;
}

.thegem-te-cart .minicart .leboss-mini-cart-item__thumb img,
.thegem-te-cart .minicart .minicart-image img,
.thegem-te-cart .minicart .woocommerce-mini-cart-item img {
  display: block !important;
  width: 78px !important;
  height: 96px !important;
  max-width: 78px !important;
  object-fit: cover !important;
  object-position: center top !important;
  margin: 0 !important;
  float: none !important;
}

.thegem-te-cart .minicart .minicart-image::before,
.thegem-te-cart .minicart .minicart-image::after,
.thegem-te-cart .minicart .leboss-mini-cart-item__media::after,
.thegem-te-cart .minicart .woocommerce-mini-cart-item.sale .minicart-image::before {
  display: none !important;
  content: none !important;
}

/* Black circular × — next to title, not on the photo */
.thegem-te-cart .minicart .leboss-mini-cart-item__remove,
.thegem-te-cart .minicart .woocommerce-mini-cart-item a.remove,
.thegem-te-cart .minicart a.remove.remove_from_cart_button,
.thegem-te-cart .minicart .woocommerce-mini-cart-item a.remove_from_cart_button {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  flex: 0 0 22px !important;
  align-self: flex-start !important;
  order: 2 !important;
  z-index: 5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.thegem-te-cart .minicart .leboss-mini-cart-item__remove:hover,
.thegem-te-cart .minicart .woocommerce-mini-cart-item a.remove:hover {
  background: #000 !important;
  color: #fff !important;
  opacity: 1 !important;
}

/* ---------- Title + price ---------- */
.thegem-te-cart .minicart .leboss-mini-cart-item__body,
.thegem-te-cart .minicart .cart-item-info {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
  float: none !important;
}

.thegem-te-cart .minicart .leboss-mini-cart-item__title,
.thegem-te-cart .minicart .minicart-product-title,
.thegem-te-cart .minicart .leboss-mini-cart-item__body > a,
.thegem-te-cart .minicart .cart-item-info > a:not(.remove) {
  display: block !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  color: #111 !important;
  text-decoration: none !important;
  text-align: right !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

.thegem-te-cart .minicart .leboss-mini-cart-item__title:hover,
.thegem-te-cart .minicart .leboss-mini-cart-item__body > a:hover {
  color: #111 !important;
}

.thegem-te-cart .minicart .leboss-mini-cart-item .variation,
.thegem-te-cart .minicart .woocommerce-mini-cart-item .variation,
.thegem-te-cart .minicart .woocommerce-mini-cart-item dl.variation {
  display: none !important;
}

.thegem-te-cart .minicart .leboss-mini-cart-item__price,
.thegem-te-cart .minicart .leboss-mini-cart-item .quantity,
.thegem-te-cart .minicart .woocommerce-mini-cart-item .quantity {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #111 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

.thegem-te-cart .minicart .leboss-mini-cart-item__price .amount,
.thegem-te-cart .minicart .leboss-mini-cart-item__price .woocommerce-Price-amount,
.thegem-te-cart .minicart .leboss-mini-cart-item__price bdi {
  white-space: nowrap !important;
  word-break: keep-all !important;
  color: #111 !important;
  font-weight: 600 !important;
}

/* Kill TheGem link styling that breaks the row */
.thegem-te-cart .minicart .woocommerce-mini-cart-item a {
  color: inherit;
}

.thegem-te-cart .minicart .woocommerce-mini-cart-item > a {
  /* legacy WC wrap — our template doesn't use it, but neutralize if present */
  margin: 0 !important;
  padding: 0 !important;
}

/* Subtotal — full-width, same inset as list + buttons */
.thegem-te-cart .minicart .woocommerce-mini-cart__total,
.thegem-te-cart .minicart .leboss-mini-cart-total,
.thegem-te-cart .minicart .minicart-bottom,
.leboss-minicart-portal .minicart .woocommerce-mini-cart__total,
.leboss-minicart-portal .minicart .leboss-mini-cart-total {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 14px 20px !important;
  border: 0 !important;
  border-top: 1px solid #eee !important;
  background: #fff !important;
  box-sizing: border-box !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #111 !important;
  text-align: right !important;
}

.thegem-te-cart .minicart .woocommerce-mini-cart__total .woocommerce-Price-amount,
.leboss-minicart-portal .minicart .woocommerce-mini-cart__total .woocommerce-Price-amount,
.thegem-te-cart .minicart .woocommerce-mini-cart__total bdi,
.leboss-minicart-portal .minicart .woocommerce-mini-cart__total bdi {
  color: #111 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

/* ---------- CTAs — Figma: stacked full-width, view (outline) then checkout (solid) ---------- */
.thegem-te-cart .minicart .woocommerce-mini-cart__buttons,
.thegem-te-cart .minicart .leboss-mini-cart-buttons,
.thegem-te-cart .minicart p.buttons,
.leboss-minicart-portal .minicart .woocommerce-mini-cart__buttons,
.leboss-minicart-portal .minicart .leboss-mini-cart-buttons,
.leboss-minicart-portal .minicart p.buttons {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 14px 18px 18px !important;
  background: #fff !important;
  border: 0 !important;
  border-top: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  float: none !important;
  position: relative !important;
  clear: both !important;
}

.thegem-te-cart .minicart .woocommerce-mini-cart__buttons .mini-cart-view-cart,
.thegem-te-cart .minicart .woocommerce-mini-cart__buttons .mini-cart-checkout,
.thegem-te-cart .minicart .woocommerce-mini-cart__buttons .gem-button-container,
.leboss-minicart-portal .minicart .woocommerce-mini-cart__buttons .mini-cart-view-cart,
.leboss-minicart-portal .minicart .woocommerce-mini-cart__buttons .mini-cart-checkout,
.leboss-minicart-portal .minicart .woocommerce-mini-cart__buttons .gem-button-container {
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  position: static !important;
}

.thegem-te-cart .minicart .woocommerce-mini-cart__buttons a,
.thegem-te-cart .minicart .woocommerce-mini-cart__buttons a.button,
.thegem-te-cart .minicart .woocommerce-mini-cart__buttons .gem-button,
.thegem-te-cart .minicart .leboss-mini-cart-buttons a,
.thegem-te-cart .minicart p.buttons a,
.thegem-te-cart .minicart .leboss-mc-btn,
.leboss-minicart-portal .minicart .woocommerce-mini-cart__buttons a,
.leboss-minicart-portal .minicart .leboss-mini-cart-buttons a,
.leboss-minicart-portal .minicart .leboss-mc-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 50px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
  border: 0 !important;
  background: #f2f2f2 !important;
  color: #111 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-decoration: none !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  overflow: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

.thegem-te-cart .minicart .woocommerce-mini-cart__buttons a::before,
.thegem-te-cart .minicart .woocommerce-mini-cart__buttons a::after,
.thegem-te-cart .minicart .woocommerce-mini-cart__buttons .gem-button::before,
.leboss-minicart-portal .minicart .woocommerce-mini-cart__buttons a::before,
.leboss-minicart-portal .minicart .woocommerce-mini-cart__buttons a::after {
  display: none !important;
  content: none !important;
}

/* Checkout = solid black */
.thegem-te-cart .minicart .woocommerce-mini-cart__buttons a.checkout,
.thegem-te-cart .minicart .woocommerce-mini-cart__buttons a.wc-forward.checkout,
.thegem-te-cart .minicart .woocommerce-mini-cart__buttons .checkout .gem-button,
.thegem-te-cart .minicart .leboss-mini-cart-buttons a.checkout,
.thegem-te-cart .minicart p.buttons a.checkout,
.thegem-te-cart .minicart .leboss-mc-btn--checkout,
.leboss-minicart-portal .minicart .leboss-mc-btn--checkout,
.leboss-minicart-portal .minicart a.checkout {
  background: #111 !important;
  border: 0 !important;
  color: #fff !important;
}

.thegem-te-cart .minicart .woocommerce-mini-cart__buttons a:hover,
.thegem-te-cart .minicart .leboss-mini-cart-buttons a:hover,
.leboss-minicart-portal .minicart a:hover {
  opacity: 1;
}

.thegem-te-cart .minicart .woocommerce-mini-cart__empty-message {
  margin: 0 !important;
  padding: 32px 20px !important;
  text-align: center !important;
  font-size: 14px !important;
  color: #555 !important;
}

/* ---------- Mobile drawer (RTL + escape overflow clip) ---------- */
.thegem-te-cart.mobile-view .minicart,
.leboss-minicart-portal .minicart {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  right: 0 !important;
  overflow-y: auto !important;
  display: block !important;
  width: min(86vw, 420px) !important;
  max-width: 450px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateX(110%) !important;
  transition: transform 0.25s ease, opacity 0.2s ease, visibility 0.2s ease !important;
  z-index: 100050 !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: -8px 0 28px rgba(0, 0, 0, 0.12) !important;
}

.thegem-te-cart.mobile-view .minicart.active,
.leboss-minicart-portal .minicart.active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(0) !important;
}

.thegem-te-cart.mobile-view .mobile-cart-header,
.leboss-minicart-portal .mobile-cart-header {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  min-height: 56px !important;
  padding: 12px 48px !important;
  border: 0 !important;
  border-bottom: 0 !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

.thegem-te-cart.mobile-view .mobile-cart-header-title,
.leboss-minicart-portal .mobile-cart-header-title {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #111 !important;
  text-align: center !important;
}

.thegem-te-cart.mobile-view .mobile-cart-header-close,
.leboss-minicart-portal .mobile-cart-header-close {
  position: absolute !important;
  top: 50% !important;
  right: 16px !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #9aa0a6 !important;
  text-decoration: none !important;
  z-index: 2 !important;
}

.thegem-te-cart.mobile-view .mobile-cart-header-close::after,
.leboss-minicart-portal .mobile-cart-header-close::after {
  content: "" !important;
  position: absolute !important;
  inset: -10px !important;
}

.thegem-te-cart.mobile-view .mobile-cart-header-close .cart-close-line-1,
.thegem-te-cart.mobile-view .mobile-cart-header-close .cart-close-line-2,
.leboss-minicart-portal .mobile-cart-header-close .cart-close-line-1,
.leboss-minicart-portal .mobile-cart-header-close .cart-close-line-2 {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 14px !important;
  height: 1.5px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 1px !important;
  background: #9aa0a6 !important;
}

.thegem-te-cart.mobile-view .mobile-cart-header-close .cart-close-line-1,
.leboss-minicart-portal .mobile-cart-header-close .cart-close-line-1 {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

.thegem-te-cart.mobile-view .mobile-cart-header-close .cart-close-line-2,
.leboss-minicart-portal .mobile-cart-header-close .cart-close-line-2 {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

.thegem-te-cart.mobile-view .minicart .woocommerce-mini-cart,
.thegem-te-cart.mobile-view .minicart ul.leboss-mini-cart-list,
.leboss-minicart-portal .minicart .woocommerce-mini-cart,
.leboss-minicart-portal .minicart ul.leboss-mini-cart-list {
  max-height: none;
  padding: 4px 20px 0 !important;
}

.thegem-te-cart.mobile-view .minicart .woocommerce-mini-cart-item,
.thegem-te-cart.mobile-view .minicart .leboss-mini-cart-item,
.leboss-minicart-portal .minicart .woocommerce-mini-cart-item,
.leboss-minicart-portal .minicart .leboss-mini-cart-item {
  border: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.thegem-te-cart.mobile-view .minicart .leboss-mini-cart-item__row,
.leboss-minicart-portal .minicart .leboss-mini-cart-item__row {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  width: 100% !important;
  direction: rtl !important;
}

.thegem-te-cart.mobile-view .minicart .woocommerce-mini-cart__buttons,
.thegem-te-cart.mobile-view .minicart .leboss-mini-cart-buttons,
.leboss-minicart-portal .minicart .woocommerce-mini-cart__buttons {
  padding: 16px 20px 28px !important;
}

.thegem-te-cart.mobile-view .mobile-minicart-overlay,
.leboss-minicart-portal .mobile-minicart-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100040 !important;
  background: rgba(0, 0, 0, 0.45) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.thegem-te-cart.mobile-view .mobile-minicart-overlay.active,
.leboss-minicart-portal .mobile-minicart-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body.leboss-minicart-open {
  overflow: hidden !important;
}

/*
 * After AJAX add-to-cart we close TheGem's notification sidebar, but a race can
 * leave body.notification-locked / .active overlay and freeze the product page.
 * Keep the sidebar usable when intentionally opened; kill stale locks via JS.
 * This hardens against a leftover .active overlay that still captures taps.
 */
body.single-product .thegem-popup-notification-sidebar:not(.active) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Mobile: never let TheGem's notification sidebar steal taps / lock scroll. */
@media (max-width: 991px) {
  .thegem-popup-notification-sidebar {
    display: none !important;
    pointer-events: none !important;
  }
  body.notification-locked:not(.leboss-minicart-open) {
    overflow: visible !important;
  }
}

/* Toast — added to cart (top of viewport) */
.leboss-cart-toast {
  position: fixed;
  z-index: 1001000;
  left: 16px;
  right: 16px;
  top: 24px;
  bottom: auto;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.leboss-cart-toast[hidden] {
  display: none !important;
}

.leboss-cart-toast.is-visible {
  display: flex !important;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 991px) {
  .leboss-cart-toast {
    top: 16px;
  }
}

.leboss-cart-toast__inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #0a0a0a;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  direction: rtl;
  text-align: right;
}

.leboss-cart-toast__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.leboss-cart-toast__body {
  flex: 1 1 auto;
  min-width: 0;
}

.leboss-cart-toast__msg {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}

.leboss-cart-toast__link {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.leboss-cart-toast__close {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}

.leboss-cart-toast__close:hover {
  color: #fff;
}

form.cart.leboss-ajax-adding .single_add_to_cart_button {
  opacity: 0.7;
  pointer-events: none;
}

/* Kill WC view-cart link that briefly stretches the ATC row after add */
.single-product form.cart a.added_to_cart,
.product-page__wrapper form.cart a.added_to_cart {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Drawer items (portal has no .thegem-te-cart) */
.leboss-minicart-portal .minicart .woocommerce-mini-cart,
.leboss-minicart-portal .minicart ul.cart_list,
.leboss-minicart-portal .minicart ul.leboss-mini-cart-list {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 8px 20px 4px !important;
  list-style: none !important;
  box-sizing: border-box !important;
}

.leboss-minicart-portal .minicart .leboss-mini-cart-item,
.leboss-minicart-portal .minicart .woocommerce-mini-cart-item {
  padding: 14px 0 !important;
}

.leboss-minicart-portal .minicart .leboss-mini-cart-item__media,
.leboss-minicart-portal .minicart .minicart-image {
  float: none !important;
  position: relative !important;
  flex: 0 0 72px !important;
  width: 72px !important;
  min-width: 72px !important;
  height: 90px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.leboss-minicart-portal .minicart .leboss-mini-cart-item__thumb,
.leboss-minicart-portal .minicart .leboss-mini-cart-item__media > a:not(.remove) {
  display: block !important;
  width: 72px !important;
  height: 90px !important;
  overflow: hidden !important;
  background: #f4f4f4 !important;
}

.leboss-minicart-portal .minicart .leboss-mini-cart-item__thumb img,
.leboss-minicart-portal .minicart .minicart-image img {
  display: block !important;
  width: 72px !important;
  height: 90px !important;
  max-width: 72px !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.leboss-minicart-portal .minicart .leboss-mini-cart-item__remove,
.leboss-minicart-portal .minicart a.remove.remove_from_cart_button {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  flex: 0 0 22px !important;
  align-self: flex-start !important;
  order: 2 !important;
  z-index: 5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.leboss-minicart-portal .minicart .leboss-mini-cart-item__body,
.leboss-minicart-portal .minicart .cart-item-info {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 0 0 2px !important;
  text-align: right !important;
}

.leboss-minicart-portal .minicart .leboss-mini-cart-item__title,
.leboss-minicart-portal .minicart .minicart-product-title,
.thegem-te-cart .minicart .leboss-mini-cart-item__title,
.thegem-te-cart .minicart .minicart-product-title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  color: #111 !important;
  text-align: right !important;
  text-decoration: none !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

.leboss-mc-latin {
  unicode-bidi: isolate;
  direction: ltr;
  white-space: nowrap;
}

.leboss-minicart-portal .minicart .leboss-mini-cart-item__meta,
.thegem-te-cart .minicart .leboss-mini-cart-item__meta {
  display: block !important;
  margin: 0 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  color: #666 !important;
  text-align: right !important;
}

.leboss-minicart-portal .minicart .leboss-mini-cart-item__price,
.leboss-minicart-portal .minicart .leboss-mini-cart-item .quantity,
.thegem-te-cart .minicart .leboss-mini-cart-item__price {
  display: block !important;
  margin: 2px 0 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #111 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

.leboss-minicart-portal .minicart .leboss-mini-cart-item__price .amount,
.leboss-minicart-portal .minicart .leboss-mini-cart-item__price bdi,
.thegem-te-cart .minicart .leboss-mini-cart-item__price .amount,
.thegem-te-cart .minicart .leboss-mini-cart-item__price bdi {
  color: #111 !important;
  font-weight: 700 !important;
}

.thegem-te-cart .minicart .leboss-mini-cart-item__row {
  gap: 16px !important;
}

.thegem-te-cart .minicart .leboss-mini-cart-item__remove,
.leboss-minicart-portal .minicart .leboss-mini-cart-item__remove {
  top: auto !important;
  right: auto !important;
}

.leboss-minicart-portal .minicart .woocommerce-mini-cart__buttons,
.leboss-minicart-portal .minicart .leboss-mini-cart-buttons {
  gap: 12px !important;
  padding: 12px 20px 28px !important;
}

/* --- _footer.css --- */
/* Live footer — ported from main.css, scoped for Home V2 (no TheGem) */
.hv2-page .leboss-site-footer,
.hv2-page .hv2-site-footer {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  direction: rtl;
  box-sizing: border-box;
  color: #0a0a0a;
}
.hv2-page .leboss-site-footer *,
.hv2-page .leboss-site-footer *::before,
.hv2-page .leboss-site-footer *::after {
  box-sizing: border-box;
}
.hv2-page .leboss-footer-inner {
  width: 100%;
  margin: 0;
  padding: 56px clamp(32px, 5vw, 80px) 48px;
  display: grid;
  grid-template-columns: auto auto auto auto minmax(280px, 1fr);
  align-items: start;
  justify-content: start;
  column-gap: clamp(28px, 4vw, 80px);
  row-gap: 24px;
}
.hv2-page .leboss-footer-brand { display: flex; align-items: flex-start; justify-content: flex-start; }
.hv2-page .leboss-footer-logo { display: inline-block; line-height: 0; text-decoration: none; }
.hv2-page .leboss-footer-logo img {
  display: block;
  width: clamp(150px, 13vw, 210px);
  height: auto;
  max-width: 100%;
}
.hv2-page .leboss-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.hv2-page .leboss-footer-links a {
  display: inline-block;
  color: #1a1a1a;
  text-decoration: none;
  font-family: "YekanBakhFaNum", "Yekan Bakh FaNum", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: -0.01em;
}
.hv2-page .leboss-footer-links a:hover { opacity: 0.7; }
.hv2-page .leboss-footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.hv2-page .leboss-footer-social-title {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #0a0a0a;
}
.hv2-page .leboss-footer-social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  direction: rtl;
}
.hv2-page .leboss-footer-social-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #0a0a0a;
  text-decoration: none;
}
.hv2-page .leboss-footer-social-list a:hover { opacity: 0.7; }
.hv2-page .leboss-footer-social-list img,
.hv2-page .leboss-footer-social-list svg {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}
.hv2-page .leboss-footer-trust {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  justify-self: stretch;
  width: 100%;
  gap: 20px;
  min-height: 56px;
}
.hv2-page .leboss-footer-trust__item,
.hv2-page .leboss-footer-trust__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
  height: 56px;
}
.hv2-page .leboss-footer-trust__item {
  flex: 0 0 auto;
  width: 56px;
}
.hv2-page .leboss-footer-trust__item img,
.hv2-page .leboss-footer-enamad img,
.hv2-page .leboss-footer-emalls img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 56px;
  max-height: 48px;
  object-fit: contain;
  object-position: center;
  margin: 0;
}
.hv2-page .leboss-powered-by {
  width: 100%;
  background: #000;
  text-align: center;
  padding: 12px 16px;
}
.hv2-page .leboss-powered-by a {
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.hv2-page .leboss-powered-by a:hover { opacity: 0.85; }
/* Match live Simple WhatsApp Button (.swb-float) — dark green, not brand #25d366. */
.hv2-page a.hv2-wa,
.hv2-page a.swb-float.hv2-wa {
  --swb-size: 58px;
  position: fixed !important;
  right: auto !important;
  left: 22px !important;
  bottom: 22px !important;
  z-index: 99999;
  box-sizing: border-box;
  width: var(--swb-size) !important;
  height: var(--swb-size) !important;
  max-width: 58px !important;
  max-height: 58px !important;
  border-radius: 50% !important;
  background: #00592d !important;
  color: #fff;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: rgba(0, 0, 0, 0.22) 0 10px 28px;
  overflow: hidden;
  line-height: 0;
  text-decoration: none;
  isolation: isolate;
  transition: transform 0.25s, box-shadow 0.25s;
}
.hv2-page a.hv2-wa:hover,
.hv2-page a.hv2-wa:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: rgba(0, 0, 0, 0.28) 0 14px 32px;
  color: #fff;
  outline: none;
}
.hv2-page a.hv2-wa .swb-float__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  animation: hv2-swb-ring 2.8s ease-in-out infinite;
  transform-origin: 50% 55%;
}
.hv2-page a.hv2-wa .swb-float__label {
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  line-height: 1;
  color: #fff;
}
.hv2-page a.hv2-wa .swb-float__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #00592d;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  animation: hv2-swb-pulse 2.8s ease-out infinite;
}
.hv2-page a.hv2-wa .swb-float__icon svg {
  width: 100% !important;
  height: 100% !important;
  fill: currentColor;
}
@keyframes hv2-swb-ring {
  0%, 68%, 100% { transform: rotate(0deg); }
  72% { transform: rotate(12deg); }
  76% { transform: rotate(-10deg); }
  80% { transform: rotate(8deg); }
  84% { transform: rotate(-6deg); }
  88% { transform: rotate(3deg); }
  92% { transform: rotate(0deg); }
}
@keyframes hv2-swb-pulse {
  0%, 68% { transform: scale(1); opacity: 0; }
  72% { opacity: 0.45; }
  100% { transform: scale(1.45); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hv2-page a.hv2-wa .swb-float__inner,
  .hv2-page a.hv2-wa .swb-float__ring { animation: none; }
}
.hv2-page a.hv2-wa .swb-float__icon,
.hv2-page a.hv2-wa img,
.hv2-page a.hv2-wa svg {
  width: 21px !important;
  height: 21px !important;
  max-width: 21px !important;
  max-height: 21px !important;
  display: block;
  flex: 0 0 21px;
}
@media (max-width: 480px) {
  .hv2-page a.hv2-wa,
  .hv2-page a.swb-float.hv2-wa {
    --swb-size: 51px;
    left: 16px !important;
    bottom: 16px !important;
    max-width: 51px !important;
    max-height: 51px !important;
  }
  .hv2-page a.hv2-wa .swb-float__icon,
  .hv2-page a.hv2-wa img,
  .hv2-page a.hv2-wa svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex: 0 0 18px;
  }
  .hv2-page a.hv2-wa .swb-float__label { font-size: 7px; }
}
@media (max-width: 767px) {
  .hv2-page .leboss-footer-inner {
    padding: 28px 22px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }
  .hv2-page .leboss-footer-brand { order: 1; justify-content: center; }
  .hv2-page .leboss-footer-logo img { width: 168px; }
  .hv2-page .leboss-footer-social {
    order: 2;
    align-items: center;
    margin: 33px 0 0;
    gap: 0;
  }
  .hv2-page .leboss-footer-social-title { display: none; }
  .hv2-page .leboss-footer-social-list { justify-content: center; gap: 28px; }
  .hv2-page .leboss-footer-social-list a { width: 24px; height: 24px; }
  .hv2-page .leboss-footer-social-list img,
  .hv2-page .leboss-footer-social-list svg { width: 22px; height: 22px; }
  .hv2-page .leboss-footer-nav,
  .hv2-page .leboss-footer-pages { width: 100%; }
  .hv2-page .leboss-footer-nav { order: 3; margin: 43px 0 0; }
  .hv2-page .leboss-footer-pages { order: 4; margin: 43px 0 0; }
  .hv2-page .leboss-footer-nav .leboss-footer-links,
  .hv2-page .leboss-footer-pages .leboss-footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 55px;
    row-gap: 43px;
  }
  .hv2-page .leboss-footer-links a { white-space: nowrap; }
  .hv2-page .leboss-footer-trust {
    order: 6;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 42px 0 0;
    padding: 37px 0 4px;
    border-top: 1px solid #e5e5e5;
    min-height: 0;
  }
  .hv2-page .leboss-footer-emalls { display: none; }
  .hv2-page .leboss-footer-trust__item,
  .hv2-page .leboss-footer-trust__item a { height: 48px; }
}

/* --- _ekit-offcanvas.css --- */
/* HV2 mobile chrome glyphs only.
 * Menu spacing / RTL / grey nested panels come from live vendor sheets
 * (elementor-post-17829, widget-nested-accordion, widget-icon-list, thegem-mdi).
 */

/* TheGem header glyphs — beat Yekan inheritance on HV2 */
.hv2-page .thegem-te-account i.default,
.hv2-page .thegem-te-account i.default:before {
  font-family: 'thegem-icons' !important;
  font-style: normal !important;
  font-weight: 400 !important;
  speak: none;
}
.hv2-page .thegem-te-account i.default:before {
  content: '\e681' !important;
}

.hv2-page .thegem-te-search-form .search-submit .open i.default,
.hv2-page .thegem-te-search-form .search-submit .open i.default:before,
.hv2-page .elementor-element-d715100 .thegem-te-search-form .search-submit .open i.default,
.hv2-page .elementor-element-d715100 .thegem-te-search-form .search-submit .open i.default:before {
  font-family: 'thegem-icons' !important;
  font-style: normal !important;
  font-weight: 400 !important;
  speak: none;
  color: #0a0a0a !important;
}
.hv2-page .thegem-te-search-form .search-submit .open i.default:before,
.hv2-page .elementor-element-d715100 .thegem-te-search-form .search-submit .open i.default:before {
  content: '\e612' !important;
}

.hv2-page .elementor-element-b84274e .thegem-te-cart .te-cart-icon i,
.hv2-page .elementor-element-b84274e .thegem-te-cart .te-cart-icon i.default,
.hv2-page .elementor-element-b84274e .thegem-te-cart .te-cart-icon i::before,
.hv2-page .elementor-element-b84274e .thegem-te-cart .te-cart-icon i.default::before {
  font-family: 'thegem-icons' !important;
  font-style: normal !important;
  font-weight: 400 !important;
  color: #0a0a0a !important;
  speak: none;
}
.hv2-page .elementor-element-b84274e .thegem-te-cart .te-cart-icon i::before,
.hv2-page .elementor-element-b84274e .thegem-te-cart .te-cart-icon i.default::before {
  content: '\e67d' !important;
}

/*
 * Live offcanvas spacing (measured on `/` @393px).
 * post-17829 only sets CSS variables; without elementor-frontend those vars
 * never become real padding/margin — mirror live computed box here.
 */
@media (max-width: 1023px) {
  body > .ekit-sidebar-group .elementor-17829 .elementor-element-77dc756 {
    margin: 15px 0 !important;
    padding: 0 !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .elementor-element-848f506 {
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important; /* widget-image margin collapsed +5px vs live */
    padding: 4px 16px 20px !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .elementor-element-848f506 img {
    width: auto !important;
    max-width: 140px !important;
    height: auto !important;
    margin: 0 auto !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .elementor-element-af9f581 {
    margin: 45px 0 0 !important;
    padding: 0 10px !important;
    max-width: 100% !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .elementor-element-af9f581 > .e-con-inner {
    max-width: 1170px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  /* Nested «لباس» panel — live #f3f3f3 container, not a painted title row */
  body > .ekit-sidebar-group .elementor-17829 .elementor-element-6616943 {
    background-color: #f3f3f3 !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .e-n-accordion-item[open] > .e-n-accordion-item-title {
    background: transparent !important;
  }
  /* Live body line-height / families (main.css body) */
  body > .ekit-sidebar-group,
  body > .ekit-sidebar-group .elementor-17829 {
    line-height: 25px !important;
    font-family: "YekanBakh", sans-serif;
  }
  body > .ekit-sidebar-group .elementor-17829 .elementor-icon-list-item a,
  body > .ekit-sidebar-group .elementor-17829 .elementor-icon-list-text,
  body > .ekit-sidebar-group .elementor-17829 .elementor-icon-list-icon {
    font-family: "YekanBakhFaNum", sans-serif !important;
    line-height: 25px !important;
  }
  /* Level-2 list wrapper — live 10px 21px inset, no extra list margin */
  body > .ekit-sidebar-group .elementor-17829 .elementor-element-93e1d5e,
  body > .ekit-sidebar-group .elementor-17829 .e-n-accordion-item .e-n-accordion-item > [role="region"] {
    padding: 10px 21px !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .elementor-widget-icon-list {
    margin: 0 !important;
  }
  body > .ekit-sidebar-group .elementor-17829 .elementor-icon-list-item a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    direction: rtl !important;
    text-align: right !important;
    gap: 10px !important;
    padding: 10px 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* --- extras --- */
.hv2-page .woocommerce-mini-cart__empty-message{padding:24px;text-align:center}
.hv2-page .leboss-mini-cart-item__row,.hv2-page .woocommerce-mini-cart-item{display:flex;gap:12px;padding:12px 16px;border-bottom:1px solid #eee;position:relative}
.hv2-page .leboss-mini-cart-buttons,.hv2-page .woocommerce-mini-cart__buttons{display:flex;flex-direction:column;gap:8px;padding:12px 16px}
.hv2-page .leboss-mini-cart-buttons a,.hv2-page .woocommerce-mini-cart__buttons a{display:block;text-align:center;padding:12px;background:#0a0a0a;color:#fff;font-weight:700}
.hv2-page .leboss-mini-cart-buttons a:not(.checkout){background:#fff;color:#0a0a0a;border:1px solid #0a0a0a}
body.hv2-page{font-family:"YekanBakhFaNum","YekanBakh",Tahoma,sans-serif}
/* Do not pad .leboss-home-section__inner — live has pad 0; width/gap come from _extracted-body */

/* Skip style/layout for offscreen rails — biggest mobile TBT win on the 700KB home DOM */
.hv2-page .leboss-home > .leboss-home-section,
.hv2-page .leboss-home > .leboss-home-instagram,
.hv2-page .leboss-home > section:not(.leboss-hero) {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

