/*
 * LadyLife Manager · Storefront mobile shell (1.2.0)
 * Phone widths only (<=781px) for layout; desktop (>=782px) is untouched.
 * Every layout rule is scoped to body.ll-ms (store pages except checkout/payment).
 * Selectors are prefixed with body.ll-ms so they win over the template-part inline styles.
 */

/* Cart badges are filled from the live Woo cart; hidden until a real count exists. */
.ll-store [data-ll-cart-count][hidden] { display: none !important; }

/* 1.2.10: overlays stay closed until opened. The header template part forces
   .ll-mobile-only { display:block !important } on phones, which used to show the search sheet
   (and the drawer backdrop) on load. These selectors are more specific and win. */
.ll-store .ll-mobile-search-sheet:not(.is-open) { display: none !important; }
.ll-store .ll-mobile-search-sheet.is-open { display: flex !important; }
/* Mobile side drawer stays parked (commented out in the template part since 1.2.0). */
.ll-store .ll-drawer-backdrop,
.ll-store .ll-drawer-content,
.ll-store .ll-mobile-appbar [onclick*="llToggleDrawer"] { display: none !important; }

/* ---------- Categories screen (/shop/?ll_categories=1) ---------- */
.ll-store.ll-cats-view .ll-cats-head { margin: 20px 0 14px; }
.ll-store.ll-cats-view .ll-cats-title { font-size: clamp(19px, 2.4vw, 24px); font-weight: 900; color: var(--ll-p, #47267f); margin: 0 0 4px; line-height: 1.6; }
.ll-store.ll-cats-view .ll-cats-sub { margin: 0; font-size: 13px; color: var(--ll-mu, #6b6f80); line-height: 1.8; }
.ll-store.ll-cats-view .ll-cats-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ll-store.ll-cats-view .ll-cats-list > li { list-style: none; margin: 0; min-width: 0; }
.ll-store.ll-cats-view .ll-cats-item { box-sizing: border-box; display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px 14px; background: #fff; border: 1px solid var(--ll-bd, #e8e3f1); border-radius: 14px; color: var(--ll-tx, #2a1c47); text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.ll-store.ll-cats-view .ll-cats-item:hover { border-color: var(--ll-a, #be438f); }
.ll-store.ll-cats-view .ll-cats-item:active { background: var(--ll-pl, #efe9f7); }
.ll-store.ll-cats-view .ll-cats-item:focus-visible { outline: 3px solid var(--ll-a, #be438f); outline-offset: 2px; }
.ll-store.ll-cats-view .ll-cats-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--ll-pl, #efe9f7); display: grid; place-items: center; font-size: 22px; overflow: hidden; }
.ll-store.ll-cats-view .ll-cats-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ll-store.ll-cats-view .ll-cats-meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ll-store.ll-cats-view .ll-cats-name { font-size: 14.5px; font-weight: 800; line-height: 1.7; overflow-wrap: anywhere; }
.ll-store.ll-cats-view .ll-cats-count { font-size: 12px; color: var(--ll-mu, #6b6f80); font-weight: 600; }
.ll-store.ll-cats-view .ll-cats-arrow { color: var(--ll-a, #be438f); font-weight: 800; flex: 0 0 auto; }
.ll-store.ll-cats-view .ll-cats-item.is-sale .ll-cats-name { color: var(--ll-a, #be438f); }
.ll-store.ll-cats-view .ll-cats-item.is-sale .ll-cats-icon { background: #fdeaf4; }

/* ---------- Shell navigation loading state ---------- */
.ll-spa-progress { position: fixed; left: 0; right: 0; top: var(--ll-spa-top, 0px); height: 3px; z-index: 99991; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity .15s ease; }
.ll-spa-progress::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(90deg, #47267f, #be438f); border-radius: 0 3px 3px 0; animation: llSpaBar 1.1s cubic-bezier(.4, 0, .2, 1) infinite; }
.ll-spa-veil { position: fixed; left: 0; right: 0; top: var(--ll-spa-top, 0px); bottom: var(--ll-spa-bottom, 0px); z-index: 990; display: grid; place-items: center; background: rgba(247, 246, 251, .88); opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility 0s linear .18s; }
.ll-spa-spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #efe9f7; border-top-color: #47267f; border-left-color: #be438f; animation: llSpaSpin .75s linear infinite; }
.ll-spa-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html.ll-spa-loading .ll-spa-progress { opacity: 1; }
html.ll-spa-veil-on .ll-spa-veil { opacity: 1; visibility: visible; transition: opacity .18s ease; }
html.ll-spa-loading main.ll-main { cursor: progress; }
@keyframes llSpaBar { 0% { transform: translateX(-110%); } 100% { transform: translateX(240%); } }
@keyframes llSpaSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .ll-spa-progress::before { animation-duration: 2.4s; }
  .ll-spa-spinner { animation-duration: 1.6s; }
}

/* ================= PHONE LAYOUT (<=781px) ================= */
@media (max-width: 781px) {
  body.ll-ms { --ll-gutter: 16px; }

  /* 1. Shell gutters: one 16px leading/trailing gutter on the content wrapper. */
  body.ll-ms .ll-store.ll-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: clip;
  }
  body.ll-ms .ll-store .ll-wrap {
    padding-left: var(--ll-gutter) !important;
    padding-right: var(--ll-gutter) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Nested Woo/page wrappers inside main must not add a second gutter. */
  body.ll-ms .ll-store.ll-main .site-main,
  body.ll-ms .ll-store.ll-main .entry-content,
  body.ll-ms .ll-store.ll-main .woocommerce {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }

  /* Header: edge-aligned app bar with the same 16px visual inset. */
  body.ll-ms .ll-store.ll-store-header { padding-left: 0 !important; padding-right: 0 !important; max-width: 100% !important; }
  body.ll-ms .ll-mobile-appbar { padding: 0 var(--ll-gutter) !important; }
  body.ll-ms .ll-mobile-appbar-left { margin-inline-end: -10px; }

  /* Footer clears the fixed bottom tab bar (60px + safe area). */
  body.ll-ms .ll-store.ll-store-footer {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    max-width: 100% !important;
  }
  body.ll-ms .ll-store .ll-foot { padding-left: var(--ll-gutter) !important; padding-right: var(--ll-gutter) !important; max-width: 100% !important; }

  /* 2. Banner carousel: full-bleed native snap track, phone-width slides, peek of the next one. */
  body.ll-ms .ll-store .ll-carousel-wrap {
    margin: 8px calc(-1 * var(--ll-gutter)) 22px !important;
    width: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    background: transparent !important;
  }
  body.ll-ms .ll-store .ll-carousel-viewport {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--ll-gutter);
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  body.ll-ms .ll-store .ll-carousel-viewport::-webkit-scrollbar { display: none; }
  body.ll-ms .ll-store .ll-carousel-track {
    width: max-content !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
    gap: 8px;
    padding: 0 var(--ll-gutter) !important;
    align-items: stretch;
  }
  body.ll-ms .ll-store .ll-slide {
    /* --ll-vw = real layout width (set by storefront.js); 100vw would include a desktop scrollbar. */
    flex: 0 0 calc(var(--ll-vw, 100vw) - var(--ll-gutter) - 18px) !important;
    width: calc(var(--ll-vw, 100vw) - var(--ll-gutter) - 18px) !important;
    max-width: none !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border-radius: 12px !important;
    overflow: hidden;
    /* Compact phone banner: copy beside a small product visual, not a tall stacked card. */
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: right !important;
    min-height: 0 !important;
    padding: 16px 14px 30px !important;
    gap: 10px !important;
  }
  body.ll-ms .ll-store .ll-slide-content { flex: 1 1 auto; min-width: 0; max-width: none !important; }
  body.ll-ms .ll-store .ll-slide-content > div { margin-bottom: 8px !important; gap: 6px !important; }
  body.ll-ms .ll-store .ll-slide-badge { font-size: 10.5px !important; padding: 4px 10px !important; margin-bottom: 8px !important; }
  body.ll-ms .ll-store .ll-hero-timer-box { font-size: 10.5px !important; padding: 3px 8px !important; }
  body.ll-ms .ll-store .ll-slide-title { font-size: 15.5px !important; line-height: 1.65 !important; margin: 0 0 6px !important; }
  body.ll-ms .ll-store .ll-slide-desc {
    font-size: 12px !important;
    line-height: 1.75 !important;
    margin: 0 0 10px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body.ll-ms .ll-store .ll-slide-btn { padding: 8px 14px !important; font-size: 12px !important; border-radius: 10px !important; }
  body.ll-ms .ll-store .ll-slide-visual { flex: 0 0 auto !important; width: auto !important; }
  body.ll-ms .ll-store .ll-slide-img-box { width: 92px !important; height: 92px !important; }
  body.ll-ms .ll-store .ll-slide-img { width: 86px !important; height: 86px !important; }
  body.ll-ms .ll-store .ll-slide-chip { display: none !important; }
  body.ll-ms .ll-store .ll-carousel-dots { bottom: 10px; }
  body.ll-ms .ll-store .ll-dot { width: 7px; height: 7px; }
  body.ll-ms .ll-store .ll-dot.is-active { width: 20px; }

  /* 3. Product rails: full-bleed band, first card on the gutter, next card peeking. */
  body.ll-ms .ll-store .ll-h-section {
    margin: 20px calc(-1 * var(--ll-gutter)) !important;
    padding: 16px 0 12px !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
  }
  body.ll-ms .ll-store .ll-h-header {
    margin: 0 var(--ll-gutter) 12px !important;
    padding: 0 0 12px !important;
  }
  body.ll-ms .ll-store .ll-h-scroll-container {
    padding-bottom: 4px !important;
    scroll-padding-inline: var(--ll-gutter);
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  body.ll-ms .ll-store .ll-h-scroll-container::-webkit-scrollbar { display: none; }
  body.ll-ms .ll-store .ll-h-track {
    display: inline-flex !important;
    gap: 10px !important;
    padding: 4px var(--ll-gutter) !important;
    box-sizing: content-box;
  }
  body.ll-ms .ll-store .ll-h-card {
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    width: clamp(150px, 42vw, 180px) !important;
    scroll-snap-align: start;
  }

  /* 4. Black Friday rail from this plugin: same full-bleed treatment. */
  body.ll-ms .ll-store .ll-bf-carousel {
    margin-left: calc(-1 * var(--ll-gutter)) !important;
    margin-right: calc(-1 * var(--ll-gutter)) !important;
    max-width: none !important;
  }
  body.ll-ms .ll-store .ll-bf-carousel > .ll-bf-section-head { padding-left: var(--ll-gutter); padding-right: var(--ll-gutter); }
  body.ll-ms .ll-store .ll-bf-carousel .ll-bf-track {
    gap: 10px;
    padding: 4px var(--ll-gutter) 12px !important;
    scroll-padding-inline: var(--ll-gutter);
    max-width: none !important;
    scrollbar-width: none;
  }
  body.ll-ms .ll-store .ll-bf-carousel .ll-bf-track::-webkit-scrollbar { display: none; }
  body.ll-ms .ll-store .ll-bf-carousel .ll-bf-track > li { flex: 0 0 clamp(200px, 60vw, 250px) !important; }

  /* Very narrow phones: keep the banner copy readable. */
  @media (max-width: 359px) {
    body.ll-ms .ll-store .ll-slide-img-box { width: 72px !important; height: 72px !important; }
    body.ll-ms .ll-store .ll-slide-img { width: 66px !important; height: 66px !important; }
  }

  /* 5. Categories screen on phones: single-column list. */
  body.ll-ms .ll-store.ll-cats-view .ll-cats-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}


/* 1.2.9 — Seamless hero: CSS backgrounds, transparent product stage, visible RTL arrows */
body.ll-ms .ll-store .ll-slide { position: relative; overflow: hidden; isolation: isolate; }
body.ll-ms .ll-store .ll-slide-visual { display: none !important; }
body.ll-ms .ll-store .ll-slide-content { position: relative; z-index: 2; }
body.ll-ms .ll-store .ll-slide-art {
  position: absolute !important;
  inset: auto !important;
  left: 1.5% !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: 50% !important;
  height: 88% !important;
  max-width: 50% !important;
  max-height: 88% !important;
  z-index: 1 !important;
  pointer-events: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
body.ll-ms .ll-store .ll-slide-art-img {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  pointer-events: none !important;
}
body.ll-ms .ll-store .ll-carousel-btn {
  display: flex !important;
  width: 36px;
  height: 36px;
  font-size: 16px;
  top: auto;
  bottom: 14px;
  transform: none;
  z-index: 12;
}
body.ll-ms .ll-store .ll-carousel-btn:hover { transform: scale(1.06); }
body.ll-ms .ll-store .ll-carousel-btn-right { right: 10px; left: auto; }
body.ll-ms .ll-store .ll-carousel-btn-left { left: 10px; right: auto; }
body.ll-ms .ll-store .ll-carousel-dots { bottom: 18px; }

@media (max-width: 781px) {
  body.ll-ms .ll-store .ll-slide {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    text-align: right !important;
    min-height: 540px !important;
    padding: 18px 16px 58px !important;
    gap: 0 !important;
  }
  body.ll-ms .ll-store .ll-slide-content {
    max-width: 100% !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-height: none !important;
    padding-bottom: 8px !important;
  }
  body.ll-ms .ll-store .ll-slide-art {
    left: 4% !important;
    right: 4% !important;
    width: 92% !important;
    max-width: 92% !important;
    top: auto !important;
    bottom: 20px !important;
    transform: none !important;
    height: 46% !important;
    max-height: 46% !important;
  }
  body.ll-ms .ll-store .ll-slide-art-img { object-position: center bottom !important; }
  body.ll-ms .ll-store .ll-slide-desc { -webkit-line-clamp: 3; }
}
@media (max-width: 359px) {
  body.ll-ms .ll-store .ll-slide { min-height: 560px !important; }
}

/* ================= 1.2.11 — Digikala-style phone shell ================= */

/* --- Hero countdown (boxed Persian digits, driven by campaign.js) --- */
.ll-store .ll-hero-timer-box.ll-cd-on #llHeroTimer,
.ll-store .ll-hero-timer-box.ll-cd-on .ll-hero-timer-digits { display: none !important; }
.ll-store .ll-hero-timer-box.ll-cd-on { display: inline-flex !important; align-items: center; gap: 8px; flex-wrap: nowrap; }
.ll-store .ll-cd { display: inline-flex; align-items: center; gap: 6px; direction: rtl; font-variant-numeric: tabular-nums; }
.ll-store .ll-cd-time { display: inline-flex; align-items: center; gap: 3px; direction: ltr; }
.ll-store .ll-cd-u { display: inline-flex; align-items: baseline; gap: 3px; min-width: 26px; height: 26px; padding: 0 5px; box-sizing: border-box; justify-content: center; align-items: center; border-radius: 7px; background: #fff; color: #341b5e; box-shadow: 0 1px 2px rgba(0,0,0,.18); }
.ll-store .ll-cd-u b { font-size: 13.5px; font-weight: 900; line-height: 1; }
.ll-store .ll-cd-u i { font-style: normal; font-size: 10.5px; font-weight: 700; color: #6b5a8a; }
.ll-store .ll-cd-sep { font-weight: 900; color: #fff; opacity: .85; line-height: 1; }

@media (max-width: 781px) {
  /* --- Hero banners: compact ~2:1 cards, rounded, inset, neighbours peeking --- */
  body.ll-ms .ll-store #llStoreCarousel { --ll-bn-inset: 18px; --ll-bn-gap: 6px; margin: 10px calc(-1 * var(--ll-gutter)) 16px !important; position: relative; }
  body.ll-ms .ll-store #llStoreCarousel .ll-carousel-viewport { scroll-padding-inline: var(--ll-bn-inset) !important; scroll-snap-type: x mandatory; }
  body.ll-ms .ll-store #llStoreCarousel .ll-carousel-track { gap: var(--ll-bn-gap) !important; padding: 0 var(--ll-bn-inset) !important; align-items: stretch !important; }
  body.ll-ms .ll-store #llStoreCarousel .ll-slide {
    flex: 0 0 calc(var(--ll-vw, 100vw) - 2 * var(--ll-bn-inset)) !important;
    width: calc(var(--ll-vw, 100vw) - 2 * var(--ll-bn-inset)) !important;
    aspect-ratio: 2 / 1;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    box-sizing: border-box !important;
    padding: 14px 16px 22px !important;
    border-radius: 16px !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 0 !important;
    scroll-snap-align: start;
    box-shadow: none !important;
    border: 0 !important;
  }
  body.ll-ms .ll-store #llStoreCarousel .ll-slide-content {
    width: 56% !important; max-width: 56% !important; flex: 0 0 auto !important;
    padding: 0 !important; margin: 0 !important;
    display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 6px !important;
  }
  body.ll-ms .ll-store #llStoreCarousel .ll-slide-content > div { margin: 0 !important; gap: 6px !important; }
  body.ll-ms .ll-store #llStoreCarousel .ll-slide-badge { font-size: 10px !important; padding: 3px 8px !important; margin: 0 !important; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-sizing: border-box; }
  body.ll-ms .ll-store #llStoreCarousel .ll-slide-title {
    font-size: 14.5px !important; line-height: 1.6 !important; margin: 0 !important;
    display: -webkit-box !important; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  body.ll-ms .ll-store #llStoreCarousel .ll-slide-desc { display: none !important; }
  body.ll-ms .ll-store #llStoreCarousel .ll-slide-btn { font-size: 11px !important; padding: 6px 12px !important; border-radius: 999px !important; margin: 2px 0 0 !important; line-height: 1.5 !important; white-space: nowrap; }
  /* Product art: transparent cut-out on the left half, contained (never cropped or boxed). */
  body.ll-ms .ll-store #llStoreCarousel .ll-slide-art {
    left: 2% !important; right: auto !important; top: 7% !important; bottom: auto !important;
    width: 42% !important; max-width: 42% !important; height: 80% !important; max-height: 80% !important;
    transform: none !important;
  }
  body.ll-ms .ll-store #llStoreCarousel .ll-slide-art-img { object-fit: contain !important; object-position: center center !important; }
  /* 1.2.15/1.2.16: BF slide typography uses the full width; product art is hidden (see section below). */
  body.ll-ms .ll-store #llStoreCarousel #llSlideBF .ll-slide-content {
    width: 100% !important; max-width: 100% !important;
    padding-left: 28% !important; /* physical left: confetti art zone */
  }
  body.ll-ms .ll-store #llStoreCarousel #llSlideBF .ll-slide-badge {
    display: inline-flex !important;
    font-size: 10px !important; padding: 3px 8px !important; margin: 0 !important;
    max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-sizing: border-box;
  }
  body.ll-ms .ll-store #llStoreCarousel #llSlideBF .ll-slide-title {
    font-size: 16px !important; line-height: 1.45 !important; -webkit-line-clamp: 2;
  }
  body.ll-ms .ll-store #llStoreCarousel .ll-hero-timer-box { padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; margin: 0 !important; }
  body.ll-ms .ll-store #llStoreCarousel .ll-hero-timer-box > span:not(.ll-cd):not(.ll-hero-timer-digits) { display: none !important; }
  body.ll-ms .ll-store #llStoreCarousel .ll-cd-u { min-width: 24px; height: 24px; padding: 0 4px; }
  body.ll-ms .ll-store #llStoreCarousel .ll-cd-u b { font-size: 12.5px; }
  /* Dots inside the banner; no arrows on phones (swipe + dots). */
  body.ll-ms .ll-store #llStoreCarousel .ll-carousel-btn { display: none !important; }
  body.ll-ms .ll-store #llStoreCarousel .ll-carousel-dots { position: absolute !important; bottom: 8px !important; top: auto !important; left: 50% !important; right: auto !important; transform: translateX(-50%) !important; margin: 0 !important; gap: 4px !important; z-index: 5; pointer-events: auto; }
  body.ll-ms .ll-store #llStoreCarousel .ll-dot { width: 6px !important; height: 6px !important; background: rgba(255,255,255,.55) !important; border: 0 !important; }
  body.ll-ms .ll-store #llStoreCarousel .ll-dot.is-active { width: 16px !important; background: #fff !important; }

  /* --- Bottom navigation: floating white pill, icons only (1.2.12) --- */
  body.ll-ms .ll-store .ll-bottom-nav {
    left: 12px !important; right: 12px !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    height: 64px !important; padding: 0 6px !important;
    border-radius: 999px !important; border: 1px solid rgba(71, 38, 127, .07) !important;
    background: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
    box-shadow: 0 8px 28px rgba(52, 27, 94, .16), 0 2px 6px rgba(52, 27, 94, .07) !important;
    justify-content: space-between !important; align-items: center !important; box-sizing: border-box;
  }
  body.ll-ms .ll-store .ll-bottom-nav .ll-tab-item {
    flex: 1 1 0 !important; height: 100% !important; gap: 0 !important;
    justify-content: center !important; align-items: center !important;
    color: #5f6274 !important;
    background: none !important; border: 0 !important; padding: 0 !important;
    -webkit-tap-highlight-color: transparent; font-family: inherit;
  }
  /* Labels stay in the DOM for screen readers; hide them visually and take them out of flex layout. */
  body.ll-ms .ll-store .ll-bottom-nav .ll-tab-item > span:not(.ll-tab-icon):not(.ll-tab-badge) {
    position: absolute !important;
    width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  body.ll-ms .ll-store .ll-bottom-nav .ll-tab-icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background-color .07s ease, color .07s ease, box-shadow .07s ease, transform .07s ease; }
  body.ll-ms .ll-store .ll-bottom-nav .ll-tab-icon svg { width: 22px; height: 22px; stroke-width: 1.7; }
  body.ll-ms .ll-store .ll-bottom-nav .ll-tab-item:active .ll-tab-icon { background: #efe9f7; }
  body.ll-ms .ll-store .ll-bottom-nav .ll-tab-item.is-active { color: #47267f !important; }
  body.ll-ms .ll-store .ll-bottom-nav .ll-tab-item.is-active .ll-tab-icon { background: #47267f; color: #fff; box-shadow: 0 4px 10px rgba(71, 38, 127, .28); }
  body.ll-ms .ll-store .ll-bottom-nav .ll-tab-item.is-active .ll-tab-icon svg { stroke-width: 1.9; }
  /* Badge sits on the top-start of the centered 38px icon circle. */
  body.ll-ms .ll-store .ll-bottom-nav .ll-tab-badge { top: calc(50% - 25px) !important; left: calc(50% - 22px) !important; min-width: 18px !important; height: 18px !important; font-size: 10px !important; border: 2px solid #fff !important; background: #be438f !important; z-index: 2; }
  /* Content clears the floating bar (64 + 10 gap + breathing room + safe area). */
  body.ll-ms .ll-store.ll-store-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important; }
  body.ll-ms { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* 1.2.11: rail countdown rendered by campaign.js next to the template's badge. */
.ll-store #llRailTimerBadge.ll-cd-src { display: none !important; }
.ll-store .ll-cd-rail { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; background: #000; color: #ff9ed6; padding: 4px 10px; border-radius: 6px; border: 1px solid #333; direction: rtl; unicode-bidi: isolate; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ================= 1.2.13 — Single product page ================= */
/* Scoped to .ll-store. Does not touch campaign settings, prices, Coming Soon,
   the homepage, the blog, or the header/footer template parts. */

/* Hide SKU everywhere on the store product page (data stays on the product). */
.ll-store .wp-block-woocommerce-product-sku,
.ll-store .ll-buybox .product_meta,
.ll-store .ll-buybox .sku_wrapper { display: none !important; }

/* Currency and amount should not collide (Woo's dir=auto symbol has no gap). */
.ll-store .woocommerce-Price-amount { unicode-bidi: isolate; }
.ll-store .woocommerce-Price-amount .woocommerce-Price-currencySymbol { margin-inline: 0.3em; }

/* Mixed Persian/English titles: keep Latin parentheticals from splitting. */
.ll-store.ll-main h1.wp-block-post-title,
.ll-store .wp-block-post-title { unicode-bidi: isolate; }

/* Category chip above the title. */
.ll-store.ll-main .ll-pdp .wp-block-post-terms,
.ll-store .ll-pdp .wp-block-post-terms { margin: 0 0 8px; font-size: 12px; font-weight: 700; }
.ll-store .ll-pdp .wp-block-post-terms a {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: var(--ll-pl, #efe9f7); color: var(--ll-p, #47267f); text-decoration: none;
}

/* Excerpt under the title. */
.ll-store .ll-pdp .wp-block-post-excerpt,
.ll-store .ll-pdp .wp-block-post-excerpt p {
  margin: 0 0 14px; font-size: 14.5px; line-height: 1.9; color: var(--ll-tx, #2a1c47);
}

/* ---- Buy box (desktop sticky; roomy padding; one stock line) ---- */
.ll-store .ll-buybox {
  background: #faf9fd;
  border: 1px solid var(--ll-bd, #e8e3f1);
  border-radius: 16px;
  padding: 18px 20px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 782px) {
  .ll-store .ll-buybox { position: sticky; top: 96px; padding: 20px 22px 22px; gap: 12px; }
}
.ll-store .ll-buybox .wp-block-woocommerce-product-price,
.ll-store .ll-buybox .wc-block-components-product-price {
  margin: 0; font-size: 22px; font-weight: 800; color: var(--ll-p, #47267f); line-height: 1.5; text-align: right;
}
.ll-store .ll-buybox .woocommerce-Price-amount { font-weight: 800; }
.ll-store .ll-buybox del, .ll-store .ll-buybox del .woocommerce-Price-amount {
  color: var(--ll-mu, #6b6f80); font-weight: 500; font-size: 0.72em;
}
.ll-store .ll-buybox ins { text-decoration: none; background: none; }
/* BF / sale consistency: sale price stays brand purple; the previous price is muted. */
.ll-store .ll-buybox .ll-bf-price,
.ll-store .ll-buybox .price ins .woocommerce-Price-amount { color: var(--ll-p, #47267f); }

.ll-store .ll-buybox .stock,
.ll-store .ll-buybox .wc-block-components-product-stock-indicator {
  margin: 0; font-size: 13px; font-weight: 700; color: #1f8a4c; line-height: 1.6;
}
.ll-store .ll-buybox .stock.ll-stock-low { color: var(--ll-a, #be438f); }
.ll-store .ll-buybox .stock.out-of-stock { color: #9b1c3a; }

.ll-store .ll-buybox form.cart,
.ll-store .ll-buybox .wp-block-add-to-cart-form form.cart {
  display: flex; flex-direction: row-reverse; align-items: stretch; gap: 10px; margin: 4px 0 0;
}
.ll-store .ll-buybox .quantity { margin: 0; display: flex; align-items: stretch; }
.ll-store .ll-buybox .quantity .qty,
.ll-store .ll-buybox .quantity input.qty {
  width: 64px; min-height: 48px; box-sizing: border-box;
  border: 1px solid var(--ll-bd, #e8e3f1); border-radius: 12px;
  padding: 8px 6px; font: inherit; font-size: 15px; font-weight: 700;
  text-align: center; background: #fff; color: var(--ll-tx, #2a1c47);
}
.ll-store .ll-buybox .single_add_to_cart_button,
.ll-store .ll-buybox button[type="submit"],
.ll-store .ll-buybox button.button {
  flex: 1 1 auto; min-height: 48px; margin: 0 !important;
  background: var(--ll-p, #47267f) !important; color: #fff !important;
  border: 0 !important; border-radius: 12px !important;
  font: inherit !important; font-size: 15px !important; font-weight: 800 !important;
  padding: 12px 16px !important; width: auto;
}
.ll-store .ll-buybox .single_add_to_cart_button:hover,
.ll-store .ll-buybox button[type="submit"]:hover {
  background: var(--ll-pd, #341b5e) !important;
}

/* ---- Description / long-text sections (tabs, headings, lists, FAQ) ---- */
.ll-store .wp-block-woocommerce-product-details,
.ll-store .woocommerce-tabs {
  background: #fff;
  border: 1px solid var(--ll-bd, #e8e3f1);
  border-radius: 18px;
  padding: 8px 24px 24px;
  margin: 8px 0 28px;
  box-sizing: border-box;
}
.ll-store .woocommerce-tabs ul.tabs,
.ll-store .woocommerce-tabs .wc-tabs {
  display: flex; gap: 4px; list-style: none;
  margin: 0 0 8px; padding: 0 0 0;
  border-bottom: 1px solid var(--ll-bd, #e8e3f1);
  overflow-x: auto; scrollbar-width: none;
}
.ll-store .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
.ll-store .woocommerce-tabs ul.tabs li {
  border: 0 !important; background: none !important; margin: 0 !important; padding: 0 !important;
  border-radius: 0 !important; box-shadow: none !important;
}
.ll-store .woocommerce-tabs ul.tabs li a,
.ll-store .woocommerce-tabs ul.tabs li a:hover {
  display: block; padding: 12px 16px; text-decoration: none;
  color: var(--ll-mu, #6b6f80); font-weight: 700; font-size: 14px; line-height: 1.6;
  border: 0; border-bottom: 3px solid transparent; background: none; box-shadow: none;
  white-space: nowrap;
}
.ll-store .woocommerce-tabs ul.tabs li.active a,
.ll-store .woocommerce-tabs ul.tabs li.is-active a {
  color: var(--ll-p, #47267f); border-bottom-color: var(--ll-p, #47267f);
}
.ll-store .woocommerce-Tabs-panel,
.ll-store .wp-block-woocommerce-product-details .woocommerce-Tabs-panel,
.ll-store .woocommerce-Tabs-panel--description,
.ll-store .accordion-content__wrapper {
  font-size: 15px; line-height: 2; color: var(--ll-tx, #2a1c47);
  padding: 8px 0 0 !important; margin: 0;
}
/* The tab already names the section; hide the repeated panel heading Woo prints. */
.ll-store .woocommerce-Tabs-panel > h2:first-child:empty,
.ll-store .woocommerce-Tabs-panel--description > h2:first-child { display: none !important; }
.ll-store .woocommerce-Tabs-panel h2,
.ll-store .wp-block-woocommerce-product-details h2,
.ll-store .accordion-content__wrapper h2 {
  font-size: 17px; font-weight: 800; line-height: 1.7;
  color: var(--ll-p, #47267f); margin: 1.35em 0 0.45em; padding: 0;
}
.ll-store .woocommerce-Tabs-panel h3,
.ll-store .wp-block-woocommerce-product-details h3,
.ll-store .accordion-content__wrapper h3 {
  font-size: 15.5px; font-weight: 800; line-height: 1.7;
  color: var(--ll-pd, #341b5e); margin: 1.15em 0 0.35em; padding: 0;
}
.ll-store .woocommerce-Tabs-panel p,
.ll-store .wp-block-woocommerce-product-details p,
.ll-store .accordion-content__wrapper p { margin: 0 0 0.9em; padding: 0; }
.ll-store .woocommerce-Tabs-panel p:last-child,
.ll-store .wp-block-woocommerce-product-details p:last-child { margin-bottom: 0; }
.ll-store .woocommerce-Tabs-panel ul,
.ll-store .woocommerce-Tabs-panel ol,
.ll-store .wp-block-woocommerce-product-details ul,
.ll-store .wp-block-woocommerce-product-details ol,
.ll-store .accordion-content__wrapper ul,
.ll-store .accordion-content__wrapper ol {
  margin: 0 0 1em; padding: 0 1.25em 0 0; line-height: 2;
}
.ll-store .woocommerce-Tabs-panel li,
.ll-store .wp-block-woocommerce-product-details li { margin: 0 0 0.35em; }
.ll-store .ll-section-title {
  font-size: 18px; font-weight: 800; margin: 8px 0 14px;
  padding-right: 12px; border-right: 4px solid var(--ll-p, #47267f);
  color: var(--ll-p, #47267f); line-height: 1.7;
}

/* Related product cards keep the store card language on the PDP too. */
.ll-store .wp-block-woocommerce-product-collection .wc-block-product,
.ll-store .wp-block-woocommerce-product-collection li.wc-block-product {
  background: #fff; border: 1px solid var(--ll-bd, #e8e3f1); border-radius: 16px;
  padding: 12px; box-sizing: border-box;
}

/* Mobile sticky buy bar (sits above the 1.2.12 floating tab pill). Hidden on desktop. */
.ll-pdp-buybar { display: none; }

@media (max-width: 781px) {
  /* One 16px gutter on the product wrap (wins over leftover header CSS). */
  body.ll-ms.ll-is-pdp .ll-store .ll-wrap {
    padding-left: var(--ll-gutter, 16px) !important;
    padding-right: var(--ll-gutter, 16px) !important;
  }

  body.ll-ms.ll-is-pdp .ll-store.ll-main {
    padding-bottom: 16px !important;
  }

  /* Flatten the PDP panel: image goes edge-to-edge, copy uses the wrap gutter. */
  body.ll-ms.ll-is-pdp .ll-store .ll-pdp {
    display: flex; flex-direction: column; gap: 12px !important;
    background: transparent; border: 0; box-shadow: none;
    border-radius: 0; padding: 0 !important; margin: 0 0 16px;
  }
  body.ll-ms.ll-is-pdp .ll-store .ll-pdp > .wp-block-column {
    flex-basis: 100% !important; width: 100% !important; max-width: 100% !important;
  }
  body.ll-ms.ll-is-pdp .ll-store .ll-pdp-media {
    margin-inline: calc(-1 * var(--ll-gutter, 16px));
    background: #fff;
  }
  body.ll-ms.ll-is-pdp .ll-store .ll-pdp-media img,
  body.ll-ms.ll-is-pdp .ll-store .ll-pdp-media .wp-block-post-featured-image img {
    width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain;
    background: #fff; border: 0; border-radius: 0; display: block;
  }
  body.ll-ms.ll-is-pdp .ll-store .ll-pdp h1.wp-block-post-title {
    font-size: 20px; font-weight: 800; line-height: 1.7; margin: 4px 0 8px; text-align: right;
  }

  /* Buy box: comfortable 16px padding; stack qty + full-width button. */
  body.ll-ms.ll-is-pdp .ll-store .ll-buybox {
    position: static; width: 100%; box-sizing: border-box;
    padding: 16px !important; margin: 4px 0 0; gap: 10px;
  }
  body.ll-ms.ll-is-pdp .ll-store .ll-buybox .wp-block-woocommerce-product-price,
  body.ll-ms.ll-is-pdp .ll-store .ll-buybox .wc-block-components-product-price { font-size: 20px; }
  body.ll-ms.ll-is-pdp .ll-store .ll-buybox form.cart,
  body.ll-ms.ll-is-pdp .ll-store .ll-buybox .wp-block-add-to-cart-form form.cart {
    flex-direction: column; gap: 10px;
  }
  body.ll-ms.ll-is-pdp .ll-store .ll-buybox .quantity { width: 100%; }
  body.ll-ms.ll-is-pdp .ll-store .ll-buybox .quantity .qty,
  body.ll-ms.ll-is-pdp .ll-store .ll-buybox .quantity input.qty { width: 100%; min-height: 44px; }
  body.ll-ms.ll-is-pdp .ll-store .ll-buybox .single_add_to_cart_button,
  body.ll-ms.ll-is-pdp .ll-store .ll-buybox button[type="submit"] {
    width: 100%; min-height: 48px;
  }

  /* Description card uses the same 16px gutter, not the 12px leftover edge. */
  body.ll-ms.ll-is-pdp .ll-store .wp-block-woocommerce-product-details,
  body.ll-ms.ll-is-pdp .ll-store .woocommerce-tabs {
    padding: 4px 16px 20px !important;
    margin: 0 0 24px; border-radius: 16px;
  }
  body.ll-ms.ll-is-pdp .ll-store .woocommerce-tabs ul.tabs li a { padding: 10px 12px; font-size: 13.5px; }
  body.ll-ms.ll-is-pdp .ll-store .woocommerce-Tabs-panel,
  body.ll-ms.ll-is-pdp .ll-store .accordion-content__wrapper {
    font-size: 14.5px; line-height: 2;
  }

  /* Related products: full-bleed horizontal rail with next-card peek. */
  body.ll-ms.ll-is-pdp .ll-store .wp-block-woocommerce-product-collection.alignwide,
  body.ll-ms.ll-is-pdp .ll-store .wp-block-woocommerce-product-collection {
    margin: 8px calc(-1 * var(--ll-gutter, 16px)) 8px !important;
    width: auto !important; max-width: none !important; padding: 0 !important;
  }
  body.ll-ms.ll-is-pdp .ll-store .wp-block-woocommerce-product-collection .ll-section-title {
    padding-right: var(--ll-gutter, 16px); padding-left: var(--ll-gutter, 16px);
    margin: 0 0 12px;
  }
  body.ll-ms.ll-is-pdp .ll-store .wp-block-woocommerce-product-collection .wc-block-product-template,
  body.ll-ms.ll-is-pdp .ll-store .wp-block-woocommerce-product-collection ul,
  body.ll-ms.ll-is-pdp .ll-store .wp-block-woocommerce-product-collection .is-product-collection-layout {
    display: flex !important; flex-wrap: nowrap !important;
    gap: 10px !important; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 var(--ll-gutter, 16px) 8px !important;
    margin: 0 !important;
  }
  body.ll-ms.ll-is-pdp .ll-store .wp-block-woocommerce-product-collection .wc-block-product-template::-webkit-scrollbar,
  body.ll-ms.ll-is-pdp .ll-store .wp-block-woocommerce-product-collection ul::-webkit-scrollbar { display: none; }
  body.ll-ms.ll-is-pdp .ll-store .wp-block-woocommerce-product-collection .wc-block-product,
  body.ll-ms.ll-is-pdp .ll-store .wp-block-woocommerce-product-collection li.wc-block-product,
  body.ll-ms.ll-is-pdp .ll-store .wp-block-woocommerce-product-collection li {
    flex: 0 0 clamp(168px, 58vw, 220px) !important;
    width: clamp(168px, 58vw, 220px) !important;
    max-width: 220px !important;
    scroll-snap-align: start;
    margin: 0 !important;
  }

  /* Sticky compact buy bar above the floating tab pill. */
  body.ll-ms.ll-is-pdp .ll-pdp-buybar {
    display: flex; align-items: center; gap: 12px;
    direction: rtl; flex-direction: row;
    position: fixed; z-index: 99980;
    left: 12px; right: 12px;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    height: 60px; box-sizing: border-box;
    padding: 8px 10px 8px 8px;
    background: #fff;
    border: 1px solid rgba(71, 38, 127, .08);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(52, 27, 94, .16), 0 2px 6px rgba(52, 27, 94, .07);
  }
  body.ll-ms.ll-is-pdp .ll-pdp-buybar-price {
    flex: 1 1 auto; min-width: 0;
    font-size: 16px; font-weight: 800; color: var(--ll-p, #47267f);
    line-height: 1.4; text-align: right; direction: rtl;
  }
  body.ll-ms.ll-is-pdp .ll-pdp-buybar-price .woocommerce-Price-amount,
  body.ll-ms.ll-is-pdp .ll-pdp-buybar-price bdi {
    display: inline-flex; flex-direction: row; align-items: baseline; gap: 0.3em; direction: rtl;
  }
  body.ll-ms.ll-is-pdp .ll-pdp-buybar-price del { color: var(--ll-mu, #6b6f80); font-weight: 500; font-size: 0.75em; }
  body.ll-ms.ll-is-pdp .ll-pdp-buybar-btn {
    flex: 0 0 auto; min-width: 132px; height: 44px;
    padding: 0 16px; border: 0; border-radius: 12px;
    background: var(--ll-p, #47267f); color: #fff;
    font: inherit; font-size: 13.5px; font-weight: 800;
    cursor: pointer;
  }
  body.ll-ms.ll-is-pdp .ll-pdp-buybar-btn:disabled { opacity: .55; cursor: not-allowed; }
  body.ll-ms.ll-has-pdp-buybar .ll-store.ll-store-footer {
    padding-bottom: calc(168px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.ll-ms.ll-has-pdp-buybar { scroll-padding-bottom: calc(168px + env(safe-area-inset-bottom, 0px)); }
}


/* ================= 1.2.16 — Black Friday hero (option 4: geometric / confetti tags) ================= */
/* Scoped to the shop carousel BF slide. No product photos. The slide stays display:none
   when the campaign is off/ended (shop template + carousel.js); these rules only style it when shown.
   The `background` shorthand + !important beats the shop template's later baked WebP
   background-image (template CSS is printed after this sheet). 1.2.16 also stamps the
   same rules inline on the slide and in a late <style id="ll-bf-hero-override">. */
.ll-store #llStoreCarousel #llSlideBF {
  background:
    radial-gradient(ellipse 50% 70% at 18% 80%, rgba(190, 67, 143, 0.28) 0%, transparent 60%),
    linear-gradient(135deg, #1b0e2c 0%, #341b5e 42%, #47267f 100%) !important;
  background-color: #1b0e2c !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: #fff;
  isolation: isolate;
}
.ll-store #llStoreCarousel #llSlideBF .ll-slide-art,
.ll-store #llStoreCarousel #llSlideBF .ll-slide-visual {
  display: none !important;
}
.ll-store #llStoreCarousel #llSlideBF .ll-bf-confetti {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 44%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to right, #000 72%, transparent 100%);
  mask-image: linear-gradient(to right, #000 72%, transparent 100%);
}
.ll-store #llStoreCarousel #llSlideBF .ll-bf-confetti-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 140%;
  top: -15%;
  display: block;
}
.ll-store #llStoreCarousel #llSlideBF .ll-slide-content {
  position: relative;
  z-index: 2;
  width: min(620px, 52%) !important;
  max-width: min(620px, 52%) !important;
  margin-inline-end: auto;
  margin-inline-start: 0;
}
.ll-store #llStoreCarousel #llSlideBF .ll-slide-badge {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.ll-store #llStoreCarousel #llSlideBF .ll-slide-title { color: #fff !important; }
.ll-store #llStoreCarousel #llSlideBF .ll-slide-title span { color: #ffd6ed !important; }
.ll-store #llStoreCarousel #llSlideBF .ll-slide-desc { color: #efe9f7 !important; }
.ll-store #llStoreCarousel #llSlideBF .ll-slide-btn {
  background: #be438f !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(190, 67, 143, 0.38);
}

@media (max-width: 781px) {
  body.ll-ms .ll-store #llStoreCarousel #llSlideBF .ll-bf-confetti {
    width: 28%;
    -webkit-mask-image: linear-gradient(to right, #000 50%, transparent 100%);
    mask-image: linear-gradient(to right, #000 50%, transparent 100%);
  }
}

/* 1.2.19 — Shop rail cards: full-width titles, muted subtitle, live price HTML */
body.ll-ms .ll-store .ll-h-card {
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}
body.ll-ms .ll-store .ll-h-card .ll-h-card-body,
body.ll-ms .ll-store .ll-h-card > div:not(.ll-h-img-wrap) {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  box-sizing: border-box !important;
}
body.ll-ms .ll-store .ll-h-card .ll-h-card-title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2;
  overflow: hidden !important;
  text-overflow: ellipsis;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  color: #2a1c47 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: right !important;
  min-height: 0 !important;
}
body.ll-ms .ll-store .ll-h-card .ll-h-card-sub,
body.ll-ms .ll-store .ll-h-card .ll-h-card-cat {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: #7c738f !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
body.ll-ms .ll-store .ll-h-card .ll-h-pricing,
body.ll-ms .ll-store .ll-h-card .wp-block-woocommerce-product-price,
body.ll-ms .ll-store .ll-h-card .wc-block-components-product-price {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #47267f !important;
  line-height: 1.4 !important;
}
body.ll-ms .ll-store .ll-h-card .ll-h-pricing del,
body.ll-ms .ll-store .ll-h-card .wc-block-components-product-price del {
  font-size: 11.5px !important;
  font-weight: 400 !important;
  color: #7c738f !important;
  text-decoration: line-through !important;
}
body.ll-ms .ll-store .ll-h-card .ll-h-pricing ins,
body.ll-ms .ll-store .ll-h-card .wc-block-components-product-price ins {
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #47267f !important;
  background: transparent !important;
}
body.ll-ms .ll-store .ll-h-card .woocommerce-Price-amount {
  font-weight: inherit;
  color: inherit;
}

body.ll-ms .ll-store .ll-h-card .ll-h-pricing {
  position: relative !important;
}
body.ll-ms .ll-store .ll-h-card .ll-h-pricing .screen-reader-text,
body.ll-ms .ll-store .ll-h-card .wc-block-components-product-price .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
  display: block !important;
}

body.ll-ms .ll-store .ll-h-card .ll-h-pricing,
body.ll-ms .ll-store .ll-h-card .ll-h-pricing .wc-block-components-product-price,
body.ll-ms .ll-store .ll-h-card .wp-block-woocommerce-product-price {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 2px !important;
  width: 100% !important;
}
body.ll-ms .ll-store .ll-h-card .ll-h-pricing del,
body.ll-ms .ll-store .ll-h-card .ll-h-pricing ins,
body.ll-ms .ll-store .ll-h-card .wc-block-components-product-price del,
body.ll-ms .ll-store .ll-h-card .wc-block-components-product-price ins {
  display: block !important;
  width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
body.ll-ms .ll-store .ll-h-card .ll-h-pricing bdi,
body.ll-ms .ll-store .ll-h-card .ll-h-pricing .woocommerce-Price-amount {
  white-space: nowrap !important;
}

/* 1.2.20 — One-line shop section titles; department tile subtitles */
body.ll-ms .ll-store .ll-h-header,
body.ll-ms .ll-store .ll-section-header {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 8px !important;
}
body.ll-ms .ll-store .ll-h-title-wrap {
  display: flex !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  flex-wrap: wrap !important;
  overflow: visible !important;
  align-items: center !important;
  column-gap: 8px !important;
  row-gap: 6px !important;
}
body.ll-ms .ll-store .ll-h-title-wrap > span:first-child {
  flex: 0 0 auto !important;
}
body.ll-ms .ll-store .ll-h-title,
body.ll-ms .ll-store .ll-section-title {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-width: 0 !important;
  flex: 0 1 auto !important;
  max-width: 100% !important;
}
body.ll-ms .ll-store .ll-h-viewall {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}
/* Narrow shop: badges drop to the next line so the shortened title stays fully visible next to «مشاهده همه». */
@media (max-width: 700px) {
  body.ll-ms .ll-store .ll-h-title-wrap > [class*="ll-badge"],
  body.ll-ms .ll-store .ll-h-title-wrap #llRailBfBadge,
  body.ll-ms .ll-store .ll-h-title-wrap #llRailTimerBadge {
    flex: 0 0 auto !important;
    flex-basis: 100% !important;
    width: fit-content !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
  }
}
body.ll-ms .ll-store .ll-dept-card p,
body.ll-ms .ll-store .ll-dept-card .ll-dept-sub,
body.ll-ms .ll-store a.ll-dept-card p {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: start !important;
  text-align-last: start !important;
  text-justify: auto !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #7c738f !important;
}
body.ll-ms .ll-store .ll-dept-grid {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
body.ll-ms .ll-store .ll-dept-card,
body.ll-ms .ll-store a.ll-dept-card {
  box-sizing: border-box !important;
  max-width: 100% !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}
@media (max-width: 700px) {
  body.ll-ms .ll-store .ll-dept-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
body.ll-ms .ll-store .ll-h-badge-break {
  display: none;
}
@media (max-width: 700px) {
  body.ll-ms .ll-store .ll-h-badge-break {
    display: block !important;
    flex: 1 0 100% !important;
    width: 100% !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }
  body.ll-ms .ll-store .ll-h-title-wrap > [class*="ll-badge"],
  body.ll-ms .ll-store .ll-h-title-wrap #llRailBfBadge,
  body.ll-ms .ll-store .ll-h-title-wrap #llRailTimerBadge {
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    width: auto !important;
    max-width: 100% !important;
  }
}

/* 1.2.21 — Aligned title/view-all row, clickable chevron link, title is also a link */
body.ll-ms .ll-store .ll-h-header {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 6px !important;
}
body.ll-ms .ll-store .ll-h-title-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
}
body.ll-ms .ll-store .ll-h-title-wrap {
  display: flex !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  flex-wrap: nowrap !important;
  overflow: hidden !important;
  align-items: center !important;
  column-gap: 8px !important;
  row-gap: 0 !important;
}
body.ll-ms .ll-store .ll-h-title-wrap > span:first-child {
  flex: 0 0 auto !important;
  line-height: 1 !important;
}
body.ll-ms .ll-store .ll-h-title,
body.ll-ms .ll-store .ll-section-title {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-width: 0 !important;
  flex: 0 1 auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  display: block !important;
}
body.ll-ms .ll-store .ll-h-title-link,
body.ll-ms .ll-store .ll-h-title-link:visited,
body.ll-ms .ll-store .ll-h-title-link:hover,
body.ll-ms .ll-store .ll-h-title-link:active,
body.ll-ms .ll-store .ll-h-title-link:focus {
  color: inherit !important;
  text-decoration: none !important;
  font: inherit !important;
  background: none !important;
  box-shadow: none !important;
  border: 0 !important;
  outline: none;
}
body.ll-ms .ll-store .ll-h-title-link:hover,
body.ll-ms .ll-store .ll-h-title-link:active {
  opacity: 0.86;
}
body.ll-ms .ll-store .ll-h-viewall,
body.ll-ms .ll-store a.ll-h-viewall {
  display: inline-flex !important;
  align-items: center !important;
  align-self: center !important;
  gap: 3px !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  color: #be438f !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  background: none !important;
  box-shadow: none !important;
  border: 0 !important;
  cursor: pointer;
}
body.ll-ms .ll-store .ll-h-viewall:hover,
body.ll-ms .ll-store .ll-h-viewall:focus-visible {
  color: #47267f !important;
  text-decoration: none !important;
}
body.ll-ms .ll-store .ll-h-viewall:active {
  color: #341b5e !important;
}
body.ll-ms .ll-store .ll-h-viewall .ll-h-chevron,
body.ll-ms .ll-store .ll-h-viewall svg {
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 14px !important;
  display: block !important;
  stroke: currentColor !important;
  fill: none !important;
}
body.ll-ms .ll-store .ll-h-header-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  width: 100% !important;
}
@media (max-width: 359px) {
  body.ll-ms .ll-store .ll-h-title {
    font-size: 15px !important;
  }
  body.ll-ms .ll-store .ll-h-title-wrap > span:first-child {
    font-size: 20px !important;
  }
  body.ll-ms .ll-store .ll-h-title-row {
    gap: 6px !important;
  }
  body.ll-ms .ll-store .ll-h-title-wrap {
    column-gap: 6px !important;
  }
}


/* --------------------------------------------------------------------------
   1.2.27 — Branded skeletons for instant tab shells (header + tab bar stay).
   Shown while fresh HTML / Store API / tickets REST is loading.
   -------------------------------------------------------------------------- */
@keyframes llSkel {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.ll-store.ll-main .ll-shell-skel {
  padding: 16px 16px 24px;
  direction: rtl;
  min-height: 60vh;
  box-sizing: border-box;
}
.ll-store.ll-main .ll-skel {
  background-image: linear-gradient(90deg, #efe9f7 0%, #f7f4fb 45%, #efe9f7 90%);
  background-size: 200% 100%;
  animation: llSkel 1.15s ease-in-out infinite;
  border-radius: 14px;
}
.ll-store.ll-main .ll-skel-hero { height: 150px; border-radius: 18px; margin-bottom: 18px; }
.ll-store.ll-main .ll-skel-title { height: 16px; width: 44%; margin: 4px 0 16px; }
.ll-store.ll-main .ll-skel-rail { display: flex; gap: 10px; margin-bottom: 18px; overflow: hidden; }
.ll-store.ll-main .ll-skel-card { flex: 0 0 42%; height: 176px; border-radius: 16px; }
.ll-store.ll-main .ll-skel-list { display: flex; flex-direction: column; gap: 10px; }
.ll-store.ll-main .ll-skel-item {
  height: 64px;
  border-radius: 16px;
  width: 100%;
}
.ll-store.ll-main .ll-skel-lines { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.ll-store.ll-main .ll-skel-line { height: 14px; width: 100%; }
.ll-store.ll-main .ll-skel-line.w70 { width: 70%; }
.ll-store.ll-main .ll-skel-line.w50 { width: 50%; }
.ll-store.ll-main .ll-skel-line.w35 { width: 35%; }
.ll-store.ll-main .ll-skel-totals { height: 132px; border-radius: 20px; margin-top: 18px; }
@media (prefers-reduced-motion: reduce) {
  .ll-store.ll-main .ll-skel { animation: none; background: #efe9f7; }
}

/* 1.2.35 — fast price-free search popup & top stacking / tap guarantees. */
@media (min-width: 782px) {
  .ll-store.ll-store-header,
  .ll-store.ll-store-header .ll-topbar,
  .ll-store.ll-store-header .ll-search-wrap {
    overflow: visible !important;
  }
  .ll-store .ll-search-dropdown {
    z-index: 10020 !important;
    pointer-events: auto !important;
    animation: none !important;
  }
}
.ll-store .ll-search-wrap,
.ll-store .ll-search-box,
.ll-store .ll-search-input,
.ll-store .ll-search-icon-btn,
.ll-store .ll-search-clear-btn,
.ll-store .ll-search-dropdown button,
.ll-store .ll-search-dropdown a {
  pointer-events: auto !important;
}
.ll-store .ll-search-icon-btn svg,
.ll-store .ll-pop-tag svg,
.ll-mobile-search-sheet .ll-sheet-search-icon,
.ll-mobile-search-sheet .ll-sheet-search-icon svg,
.ll-mobile-search-sheet .ll-pop-tag svg,
.ll-mobile-search-sheet .ll-app-btn svg {
  pointer-events: none !important;
}
.ll-mobile-search-sheet {
  z-index: 2147482900 !important;
  animation: none !important;
}
.ll-mobile-search-sheet.is-open,
body > .ll-mobile-search-sheet.is-open {
  display: flex !important;
  position: fixed !important;
  inset: 0 !important;
  background: #ffffff !important;
  flex-direction: column !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  direction: rtl !important;
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.ll-mobile-search-sheet .ll-sheet-topbar,
.ll-mobile-search-sheet .ll-sheet-body,
.ll-mobile-search-sheet .ll-sheet-input,
.ll-mobile-search-sheet button,
.ll-mobile-search-sheet a {
  pointer-events: auto !important;
  touch-action: manipulation;
}
.ll-store .ll-match-prod-item,
.ll-mobile-search-sheet .ll-match-prod-item {
  min-height: 52px;
  box-sizing: border-box;
}
.ll-store .ll-prod-pricing,
.ll-mobile-search-sheet .ll-prod-pricing {
  display: none !important;
}

/* 1.2.33 — product-page skeleton (image, title, price, button) */
.ll-store.ll-main .ll-skel-pdp { display: flex; flex-direction: column; gap: 18px; padding: 8px 0 24px; }
.ll-store.ll-main .ll-skel-pdp-img { width: 100%; aspect-ratio: 1 / 1; height: auto; min-height: 220px; border-radius: 22px; }
.ll-store.ll-main .ll-skel-pdp-body { display: flex; flex-direction: column; gap: 12px; }
.ll-store.ll-main .ll-skel-pdp-title { height: 22px; width: 86%; border-radius: 10px; }
.ll-store.ll-main .ll-skel-pdp-title--short { width: 54%; height: 16px; }
.ll-store.ll-main .ll-skel-pdp-price { height: 28px; width: 42%; border-radius: 10px; margin-top: 6px; }
.ll-store.ll-main .ll-skel-pdp-btn { height: 52px; width: 100%; border-radius: 16px; margin-top: 10px; }
@media (min-width: 782px) {
  .ll-store.ll-main .ll-skel-pdp { flex-direction: row; align-items: flex-start; gap: 28px; }
  .ll-store.ll-main .ll-skel-pdp-img { flex: 0 0 46%; max-width: 46%; }
  .ll-store.ll-main .ll-skel-pdp-body { flex: 1; padding-top: 12px; }
}
