/* Step M4C dual-layout safety guards: mobile UI elements must never leak into PC. */
.balele-title-mobile-only { display: none !important; }
.balele-title-desktop-only { display: inline !important; }
@media (min-width: 769px) {
  .balele-cart-mobile-paybar,
  .balele-cart-details-overlay,
  .balele-cart-details-drawer,
  .balele-mobile-checkout-paybar,
  .balele-mobile-checkout-items-preview,
  .balele-mobile-address-sheet,
  .balele-mobile-address-drawer,
  .balele-address-mobile-summary,
  .balele-address-mobile-toggle,
  .balele-mobile-summary-toggle {
    display: none !important;
    visibility: hidden !important;
  }
}

/* =========================================================
   BALELE v3 Mobile UI Rebuild Contract v1.0
   Step M2C: global mobile legacy header removal.

   Scope rules:
   - Mobile viewport only.
   - PC layout remains untouched.
   - No business logic, REST API, PayPal, orders, messages,
     refunds, points, cart, checkout, or database changes.
   ========================================================= */

@media (max-width: 768px) {
  body.balele-mobile-ui-v2 {
    --balele-mobile-primary: #ff4f00;
    --balele-mobile-primary-2: #ff6a00;
    --balele-mobile-primary-soft: #fff1e8;
    --balele-mobile-bg: #f6f8fa;
    --balele-mobile-card: #ffffff;
    --balele-mobile-text: #1f2328;
    --balele-mobile-muted: #70757d;
    --balele-mobile-border: rgba(31, 35, 40, .12);
    --balele-mobile-top-shell-h: 106px;
    --balele-mobile-ticker-h: 46px;
    --balele-mobile-tabbar-h: 78px;
    padding-bottom: calc(var(--balele-mobile-tabbar-h) + env(safe-area-inset-bottom) + 12px) !important;
    color: var(--balele-mobile-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  }

  /* M2C: the new mobile UI uses page-owned headers plus the bottom tab bar.
     Remove the old global BALELE mobile header on every mobile page so Cart,
     Checkout, Orders, Messages, My Account, Single Pin, and auth pages do not
     keep the previous hamburger/logo/avatar top bar. PC remains untouched. */
  body.balele-mobile-ui-v2 .balele-site-header,
  body.balele-mobile-ui-v2 .balele-mobile-menu-panel {
    display: none !important;
  }

  /* With the global mobile header removed, cancel legacy header-reserved
     spacing on content pages. Each page keeps its own internal title/header;
     Home and Market retain the fixed World Pin Wall / Pin Trade Market shell. */
  body.balele-mobile-ui-v2:not(.balele-page-home):not(.balele-page-market) .balele-market-ui,
  body.balele-mobile-ui-v2:not(.balele-page-home):not(.balele-page-market) .ba-account-page,
  body.balele-mobile-ui-v2:not(.balele-page-home):not(.balele-page-market) .balele-account-page,
  body.balele-mobile-ui-v2:not(.balele-page-home):not(.balele-page-market) .balele-auth-page,
  body.balele-mobile-ui-v2:not(.balele-page-home):not(.balele-page-market) .balele-my-pins-page,
  body.balele-mobile-ui-v2:not(.balele-page-home):not(.balele-page-market) .balele-submit-pin-page,
  body.balele-mobile-ui-v2:not(.balele-page-home):not(.balele-page-market) .balele-my-wall-page,
  body.balele-mobile-ui-v2:not(.balele-page-home):not(.balele-page-market) .balele-member-wall-page,
  body.balele-mobile-ui-v2:not(.balele-page-home):not(.balele-page-market) .balele-archive-page,
  body.balele-mobile-ui-v2:not(.balele-page-home):not(.balele-page-market) .balele-single-pin-page {
    padding-top: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-home .balele-home-page,
  body.balele-mobile-ui-v2.balele-page-market .balele-market-page {
    height: 100dvh !important;
    padding-top: 0 !important;
    overflow: hidden !important;
    background: #eef3f7 !important;
  }

  body.balele-mobile-ui-v2.balele-page-home .balele-wall-section,
  body.balele-mobile-ui-v2.balele-page-market .balele-market-wall-section {
    height: 100dvh !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-home .balele-home-intro,
  body.balele-mobile-ui-v2.balele-page-market .balele-market-intro,
  body.balele-mobile-ui-v2.balele-page-home .balele-toolball,
  body.balele-mobile-ui-v2.balele-page-market .balele-toolball,
  body.balele-mobile-ui-v2.balele-page-market .balele-market-toolball {
    display: none !important;
  }

  /* =======================================================
     Bottom navigation: full-width rectangular bar matching the UI image.
     ======================================================= */
  body.balele-mobile-ui-v2 .balele-mobile-tabbar-v2 {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: var(--ba-z-tabbar, 900) !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: center !important;
    min-height: calc(var(--balele-mobile-tabbar-h) + env(safe-area-inset-bottom)) !important;
    padding: 6px 10px calc(7px + env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    border-top: 1px solid rgba(31,35,40,.10) !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: 0 -4px 18px rgba(31,35,40,.08) !important;
    color: #686d75 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-tabbar-v2 .balele-tabbar-item {
    position: relative !important;
    min-width: 0 !important;
    min-height: 64px !important;
    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    gap: 4px !important;
    padding: 0 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #70757d !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-tabbar-v2 .balele-tabbar-item.is-active,
  body.balele-mobile-ui-v2 .balele-mobile-tabbar-v2 .balele-tabbar-item[aria-current="page"] {
    color: var(--balele-mobile-primary) !important;
    background: transparent !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-tabbar-v2 .balele-tabbar-icon,
  body.balele-mobile-ui-v2 .balele-mobile-tabbar-v2 strong {
    display: block !important;
    color: inherit !important;
    opacity: 1 !important;
    line-height: 1 !important;
    text-shadow: none !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-tabbar-v2 .balele-tabbar-icon {
    width: 28px !important;
    height: 28px !important;
    display: grid !important;
    place-items: center !important;
    font-style: normal !important;
    font-weight: 800 !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-tabbar-v2 svg {
    width: 27px !important;
    height: 27px !important;
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-tabbar-v2 .balele-tabbar-icon-brand {
    width: 58px !important;
    height: 58px !important;
    margin-top: -4px !important;
    border-radius: 50% !important;
    background: var(--balele-mobile-primary) !important;
    color: #fff !important;
    font-size: 34px !important;
    line-height: 58px !important;
    letter-spacing: .01em !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-tabbar-v2 .balele-tabbar-home-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-tabbar-v2 strong {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: -.02em !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-tabbar-v2 .balele-tabbar-account strong {
    font-size: 11px !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-tabbar-v2 .balele-tabbar-badge,
  body.balele-mobile-ui-v2 .balele-mobile-tabbar-v2 .balele-cart-badge,
  body.balele-mobile-ui-v2 .balele-mobile-tabbar-v2 .balele-message-badge {
    position: absolute !important;
    top: 2px !important;
    right: 20% !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #fff !important;
    border-radius: 999px !important;
    background: var(--balele-mobile-primary) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-tabbar-v2 .balele-tabbar-badge[hidden],
  body.balele-mobile-ui-v2 .balele-mobile-tabbar-v2 .balele-cart-badge[hidden],
  body.balele-mobile-ui-v2 .balele-mobile-tabbar-v2 .balele-message-badge[hidden] {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-mobile-search-open .balele-mobile-tabbar-v2,
  body.balele-mobile-ui-v2.balele-modal-open .balele-mobile-tabbar-v2 {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* =======================================================
     Home / Market top tabs + search: no floating rounded card.
     ======================================================= */
  body.balele-mobile-ui-v2 .balele-mobile-hm-top {
    display: none;
  }

  body.balele-mobile-ui-v2.balele-page-home .balele-mobile-hm-top,
  body.balele-mobile-ui-v2.balele-page-market .balele-mobile-hm-top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: calc(var(--ba-z-header, 800) + 8) !important;
    display: grid !important;
    grid-template-rows: 56px 50px !important;
    gap: 0 !important;
    height: var(--balele-mobile-top-shell-h) !important;
    padding: 0 10px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    color: var(--balele-mobile-text) !important;
    overflow: hidden !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-hm-switch {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    min-height: 56px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-hm-switch a {
    position: relative !important;
    min-width: 0 !important;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 8px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #111 !important;
    text-decoration: none !important;
    text-align: center !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: .02em !important;
    white-space: nowrap !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-hm-switch a::before {
    content: none !important;
    display: none !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-hm-switch a.is-active,
  body.balele-mobile-ui-v2 .balele-mobile-hm-switch a[aria-current="page"] {
    background: #fff1e6 !important;
    color: #111 !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-hm-switch a:first-child.is-active,
  body.balele-mobile-ui-v2 .balele-mobile-hm-switch a:first-child[aria-current="page"] {
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 100%, 0 100%) !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-hm-switch a:nth-child(2).is-active,
  body.balele-mobile-ui-v2 .balele-mobile-hm-switch a:nth-child(2)[aria-current="page"] {
    clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%) !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-hm-search {
    position: relative !important;
    height: 48px !important;
    display: grid !important;
    grid-template-columns: 44px 1px 1fr 112px !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 0 !important;
    border: 2px solid var(--balele-mobile-primary) !important;
    border-radius: 7px !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-hm-search-icon {
    width: 23px !important;
    height: 23px !important;
    justify-self: center !important;
    border: 2px dashed var(--balele-mobile-primary) !important;
    border-radius: 6px !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-hm-search-divider {
    width: 1px !important;
    height: 26px !important;
    background: #d8d8d8 !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-hm-search input {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #2d2f33 !important;
    outline: 0 !important;
    font: inherit !important;
    font-size: 16px !important;
    font-weight: 400 !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-hm-search input::placeholder {
    color: #777 !important;
    font-weight: 400 !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-hm-search-submit {
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-left: 2px solid var(--balele-mobile-primary) !important;
    border-radius: 0 !important;
    background: var(--balele-mobile-primary) !important;
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    letter-spacing: .06em !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-hm-search-submit:active {
    background: #e74800 !important;
  }

  /* Wall viewport sits below the new top tabs/search and above ticker/nav. */
  body.balele-mobile-ui-v2.balele-page-home .balele-wall-viewport,
  body.balele-mobile-ui-v2.balele-page-market .balele-wall-viewport,
  body.balele-mobile-ui-v2.balele-page-market .balele-market-wall-viewport {
    inset: var(--balele-mobile-top-shell-h) 0 calc(var(--balele-mobile-tabbar-h) + var(--balele-mobile-ticker-h) + env(safe-area-inset-bottom)) 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-home .balele-wall-viewport,
  body.balele-mobile-ui-v2.balele-page-market .balele-wall-viewport,
  body.balele-mobile-ui-v2.balele-page-market .balele-market-wall-viewport {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-home .balele-wall-canvas,
  body.balele-mobile-ui-v2.balele-page-market .balele-wall-canvas,
  body.balele-mobile-ui-v2.balele-page-market .balele-market-wall-canvas {
    margin-top: 0 !important;
  }

  /* Slightly flatter pin cards to better follow the supplied UI direction. */
  body.balele-mobile-ui-v2.balele-page-home .balele-pin,
  body.balele-mobile-ui-v2.balele-page-market .balele-pin {
    border-radius: 12px !important;
    background: rgba(255,255,255,.94) !important;
    border: 1px solid rgba(31,35,40,.06) !important;
    box-shadow: 0 5px 16px rgba(31,35,40,.10) !important;
  }

  body.balele-mobile-ui-v2.balele-page-home .balele-pin img,
  body.balele-mobile-ui-v2.balele-page-market .balele-pin img {
    border-radius: 4px !important;
  }

  /* =======================================================
     Bottom NEW ticker: fixed above bottom nav, as in the UI image.
     ======================================================= */
  body.balele-mobile-ui-v2 .balele-mobile-new-ticker {
    display: none;
  }

  body.balele-mobile-ui-v2.balele-page-home .balele-mobile-new-ticker,
  body.balele-mobile-ui-v2.balele-page-market .balele-mobile-new-ticker {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: calc(var(--balele-mobile-tabbar-h) + env(safe-area-inset-bottom)) !important;
    z-index: calc(var(--ba-z-tabbar, 900) + 1) !important;
    height: var(--balele-mobile-ticker-h) !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto 40px !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 0 6px 8px !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 51, 102, .10) !important;
    border-bottom: 1px solid rgba(255, 51, 102, .10) !important;
    border-radius: 0 !important;
    background: #fff0f3 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-new-ticker.is-dismissed {
    display: none !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-new-ticker-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 28px !important;
    padding: 0 6px !important;
    border-radius: 2px !important;
    background: #e21c16 !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-new-ticker-window {
    min-width: 0 !important;
    overflow: hidden !important;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 18px), transparent 100%) !important;
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 18px), transparent 100%) !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-new-ticker-track {
    display: inline-flex !important;
    align-items: center !important;
    gap: 30px !important;
    min-width: max-content !important;
    animation: baleleMobileNewTicker var(--balele-mobile-new-ticker-duration, 52s) linear infinite !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-new-ticker-track a {
    color: #111 !important;
    text-decoration: none !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: .04em !important;
    white-space: nowrap !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-new-ticker-view {
    height: 36px !important;
    min-width: 78px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 15px !important;
    border-radius: 5px !important;
    background: #f00048 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    letter-spacing: .08em !important;
    line-height: 1 !important;
  }

  body.balele-mobile-ui-v2 .balele-mobile-new-ticker-close {
    width: 40px !important;
    height: 40px !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #f06b93 !important;
    font-size: 34px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
  }

  @keyframes baleleMobileNewTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  body.balele-mobile-ui-v2.balele-page-home.balele-new-ticker-dismissed .balele-wall-viewport,
  body.balele-mobile-ui-v2.balele-page-market.balele-new-ticker-dismissed .balele-wall-viewport,
  body.balele-mobile-ui-v2.balele-page-market.balele-new-ticker-dismissed .balele-market-wall-viewport {
    inset: var(--balele-mobile-top-shell-h) 0 calc(var(--balele-mobile-tabbar-h) + env(safe-area-inset-bottom)) 0 !important;
  }

  @media (max-width: 390px) {
    body.balele-mobile-ui-v2 {
      --balele-mobile-top-shell-h: 106px;
      --balele-mobile-tabbar-h: 76px;
      --balele-mobile-ticker-h: 44px;
    }

    body.balele-mobile-ui-v2 .balele-mobile-hm-switch a {
      font-size: 15px !important;
    }

    body.balele-mobile-ui-v2 .balele-mobile-hm-search {
      grid-template-columns: 42px 1px 1fr 98px !important;
    }

    body.balele-mobile-ui-v2 .balele-mobile-hm-search-submit,
    body.balele-mobile-ui-v2 .balele-mobile-new-ticker-view {
      font-size: 17px !important;
    }

    body.balele-mobile-ui-v2 .balele-mobile-new-ticker-track a {
      font-size: 15px !important;
    }
  }
}

@media (min-width: 769px) {
  .balele-mobile-tabbar-v2,
  .balele-mobile-hm-top,
  .balele-mobile-new-ticker {
    display: none !important;
  }
}

@media (max-width: 768px) {
  /* =======================================================
     Step M3 Cart mobile rebuild: flat orange shopping cart UI.
     PC cart stays controlled by assets/css/pages/cart.css.
     ======================================================= */
  body.balele-mobile-ui-v2.balele-page-cart {
    background: #fff !important;
    color: #111 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-page {
    min-height: 100dvh !important;
    padding: 0 0 calc(var(--balele-mobile-tabbar-h) + 82px + env(safe-area-inset-bottom)) !important;
    background: #fff !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-shop-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-shop-header {
    height: 86px !important;
    display: flex !important;
    align-items: flex-end !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 16px 18px !important;
    border-bottom: 1px solid #eceff3 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-shop-back,
  body.balele-mobile-ui-v2.balele-page-cart .balele-shop-eyebrow,
  body.balele-mobile-ui-v2.balele-page-cart .balele-shop-count,
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-store-head,
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-summary {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-shop-heading h1 {
    margin: 0 !important;
    color: #111 !important;
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: .015em !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-shop-heading h1 span {
    margin-left: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-layout,
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-main-col,
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-section {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-status {
    padding: 12px 16px !important;
    color: #747b84 !important;
    background: #fff !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-items {
    display: block !important;
    padding: 0 !important;
    background: #fff !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 36px 96px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
    min-height: 142px !important;
    margin: 0 !important;
    padding: 18px 48px 18px 14px !important;
    border: 0 !important;
    border-bottom: 8px solid #f3f4f6 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-select {
    grid-column: 1 !important;
    align-self: center !important;
    display: grid !important;
    place-items: center !important;
    width: 36px !important;
    height: 96px !important;
    margin: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-select input,
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-select-all input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-select span,
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-select-all span {
    width: 24px !important;
    height: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #d5d8dd !important;
    border-radius: 50% !important;
    background: #fff !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-select input:checked + span,
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-select-all input:checked + span {
    border-color: var(--balele-mobile-primary) !important;
    background: var(--balele-mobile-primary) !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-select input:checked + span::after,
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-select-all input:checked + span::after {
    content: '' !important;
    width: 10px !important;
    height: 6px !important;
    border-left: 2px solid #fff !important;
    border-bottom: 2px solid #fff !important;
    transform: rotate(-45deg) translate(1px, -1px) !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-image {
    grid-column: 2 !important;
    width: 96px !important;
    height: 96px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #f0f1f3 !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-body {
    grid-column: 3 !important;
    min-width: 0 !important;
    padding-top: 2px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-title {
    margin: 0 0 8px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    white-space: normal !important;
    overflow: hidden !important;
    color: #202124 !important;
    font-size: 15px !important;
    line-height: 1.28 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-meta {
    display: flex !important;
    gap: 5px !important;
    margin: 0 0 12px !important;
    color: #8a8f98 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-meta span {
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-unit {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-mobile-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-top: 16px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-mobile-row strong {
    color: var(--balele-mobile-primary) !important;
    font-size: 17px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-qty {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-qty-control {
    height: 34px !important;
    display: inline-grid !important;
    grid-template-columns: 36px 44px 36px !important;
    align-items: center !important;
    overflow: hidden !important;
    border: 1px solid #dfe2e6 !important;
    border-radius: 999px !important;
    background: #f7f8fa !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-qty-control button,
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-qty-control input {
    width: 100% !important;
    height: 34px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #111 !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-qty-control input {
    border-left: 1px solid #dfe2e6 !important;
    border-right: 1px solid #dfe2e6 !important;
    outline: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-price {
    position: absolute !important;
    right: 10px !important;
    bottom: 30px !important;
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    height: 34px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-price strong {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-remove {
    width: 34px !important;
    height: 34px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #ec0040 !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-remove::before {
    content: '🗑' !important;
    font-size: 22px !important;
    line-height: 1 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-empty {
    border: 0 !important;
    padding: 70px 20px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-mobile-paybar:not([hidden]) {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: calc(var(--balele-mobile-tabbar-h) + env(safe-area-inset-bottom)) !important;
    z-index: calc(var(--ba-z-tabbar, 900) + 2) !important;
    min-height: 72px !important;
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) 145px !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    border-top: 1px solid #eceff3 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-select-all {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    color: #111 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-mobile-totalbox {
    min-width: 0 !important;
    text-align: right !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-mobile-total-line {
    color: #444 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-mobile-total-line strong {
    color: #111 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-mobile-saved {
    margin-top: 4px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--balele-mobile-primary) !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-mobile-checkout {
    width: 100% !important;
    min-height: 52px !important;
    border: 0 !important;
    border-radius: 26px !important;
    background: var(--balele-mobile-primary) !important;
    color: #fff !important;
    font-size: 17px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-mobile-checkout:disabled {
    opacity: .45 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-overlay:not([hidden]) {
    position: fixed !important;
    inset: 0 !important;
    z-index: calc(var(--ba-z-tabbar, 900) + 4) !important;
    display: block !important;
    background: rgba(0,0,0,.42) !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-drawer {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: calc(var(--balele-mobile-tabbar-h) + env(safe-area-inset-bottom)) !important;
    z-index: calc(var(--ba-z-tabbar, 900) + 5) !important;
    display: block !important;
    max-height: 72dvh !important;
    transform: translateY(110%) !important;
    transition: transform .22s ease !important;
    background: transparent !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-drawer:not([hidden]) {
    transform: translateY(0) !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-panel {
    position: relative !important;
    max-height: 72dvh !important;
    overflow: auto !important;
    padding: 28px 16px 88px !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: 0 -12px 30px rgba(0,0,0,.16) !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-close {
    position: absolute !important;
    right: 14px !important;
    top: 14px !important;
    width: 40px !important;
    height: 40px !important;
    border: 0 !important;
    background: transparent !important;
    color: #111 !important;
    font-size: 34px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-head {
    margin: 0 48px 26px !important;
    text-align: center !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-head h2 {
    margin: 0 0 8px !important;
    color: #111 !important;
    font-size: 23px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-head p {
    margin: 0 !important;
    color: #8a8f98 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-item {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: center !important;
    margin-bottom: 28px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-item img,
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-item > span {
    width: 96px !important;
    height: 96px !important;
    border-radius: 6px !important;
    background: #f0f1f3 !important;
    object-fit: contain !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-item strong {
    display: block !important;
    color: #111 !important;
    font-size: 22px !important;
    line-height: 1.18 !important;
    font-weight: 400 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-item em {
    display: block !important;
    margin-top: 8px !important;
    color: #8a8f98 !important;
    font-size: 13px !important;
    font-style: normal !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-rows {
    display: grid !important;
    gap: 20px !important;
    margin: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-rows div {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-rows dt,
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-rows dd {
    margin: 0 !important;
    color: #111 !important;
    font-size: 18px !important;
    font-weight: 400 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-rows dd {
    color: var(--balele-mobile-primary) !important;
    font-weight: 600 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-final {
    display: flex !important;
    align-items: baseline !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    margin-top: 28px !important;
    color: #111 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-final span {
    color: var(--balele-mobile-primary) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-final b {
    color: #111 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-final strong {
    font-size: 28px !important;
    font-weight: 600 !important;
  }

  body.balele-mobile-ui-v2.balele-cart-details-open .balele-mobile-tabbar-v2 {
    pointer-events: none !important;
  }

  @media (max-width: 390px) {
    body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item {
      grid-template-columns: 32px 86px minmax(0, 1fr) !important;
      gap: 10px !important;
      padding-left: 10px !important;
      padding-right: 42px !important;
    }
    body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-image,
    body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-select {
      width: 86px !important;
      height: 86px !important;
    }
    body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-select {
      width: 32px !important;
    }
    body.balele-mobile-ui-v2.balele-page-cart .balele-cart-mobile-paybar:not([hidden]) {
      grid-template-columns: 68px minmax(0, 1fr) 130px !important;
      padding-left: 8px !important;
      padding-right: 8px !important;
    }
    body.balele-mobile-ui-v2.balele-page-cart .balele-cart-mobile-checkout {
      font-size: 16px !important;
    }
    body.balele-mobile-ui-v2.balele-page-cart .balele-cart-qty-control {
      grid-template-columns: 32px 38px 32px !important;
    }
  }
}
@media (max-width: 768px) {
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-drawer[hidden],
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-overlay[hidden],
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-mobile-paybar[hidden] {
    display: none !important;
  }
}

@media (max-width: 768px) {
  /* Step M3A: refine Cart typography, hierarchy, and points-discount drawer. */
  body.balele-mobile-ui-v2.balele-page-cart .balele-shop-header {
    height: 72px !important;
    padding: 0 16px 14px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-shop-heading h1 {
    font-size: 24px !important;
    letter-spacing: .01em !important;
    font-weight: 500 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-page {
    padding-bottom: calc(var(--balele-mobile-tabbar-h) + 70px + env(safe-area-inset-bottom)) !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item {
    grid-template-columns: 28px 86px minmax(0, 1fr) !important;
    gap: 10px !important;
    min-height: 124px !important;
    padding: 14px 40px 14px 12px !important;
    border-bottom-width: 6px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-select {
    width: 28px !important;
    height: 86px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-select span,
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-select-all span {
    width: 20px !important;
    height: 20px !important;
    border-width: 1.5px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-select input:checked + span::after,
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-select-all input:checked + span::after {
    width: 8px !important;
    height: 5px !important;
    border-left-width: 2px !important;
    border-bottom-width: 2px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-image {
    width: 86px !important;
    height: 86px !important;
    border-radius: 4px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-title {
    margin-bottom: 6px !important;
    font-size: 14px !important;
    line-height: 1.24 !important;
    font-weight: 500 !important;
    letter-spacing: .005em !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-meta {
    margin-bottom: 9px !important;
    gap: 4px !important;
    font-size: 11px !important;
    color: #8c929b !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-mobile-row {
    margin-top: 10px !important;
    gap: 8px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-mobile-row strong {
    font-size: 16px !important;
    font-weight: 600 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-qty-control {
    height: 30px !important;
    grid-template-columns: 32px 38px 32px !important;
    border-radius: 15px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-qty-control button,
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-qty-control input {
    height: 30px !important;
    font-size: 14px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-item-price {
    right: 6px !important;
    bottom: 24px !important;
    width: 30px !important;
    height: 30px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-remove {
    width: 30px !important;
    height: 30px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-remove::before {
    font-size: 18px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-mobile-paybar:not([hidden]) {
    min-height: 64px !important;
    grid-template-columns: 64px minmax(0, 1fr) 128px !important;
    gap: 6px !important;
    padding: 7px 10px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-select-all {
    gap: 7px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-mobile-total-line {
    font-size: 12px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-mobile-total-line strong {
    font-size: 18px !important;
    font-weight: 700 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-mobile-saved {
    margin-top: 2px !important;
    font-size: 11px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-mobile-saved.has-savings {
    font-weight: 600 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-mobile-checkout {
    min-height: 46px !important;
    border-radius: 23px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-drawer {
    max-height: 78dvh !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-panel {
    max-height: 78dvh !important;
    padding: 20px 14px calc(var(--balele-mobile-tabbar-h) + 28px) !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-close {
    right: 8px !important;
    top: 8px !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 28px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-head {
    margin: 0 42px 16px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-head h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-head p {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-preview {
    margin: 0 0 14px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-list {
    display: grid !important;
    gap: 8px !important;
    max-height: 182px !important;
    overflow: auto !important;
    padding: 2px 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-line {
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid #f0f1f3 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-line img,
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-line > span {
    width: 54px !important;
    height: 54px !important;
    border-radius: 4px !important;
    background: #f3f4f6 !important;
    object-fit: contain !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-line strong {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    color: #15171a !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-line span {
    display: block !important;
    margin-top: 3px !important;
    color: #8a8f98 !important;
    font-size: 11px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-line b {
    color: var(--balele-mobile-primary) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-points-switch {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 8px 0 14px !important;
    padding: 12px !important;
    border: 1px solid #ffe0d1 !important;
    background: #fff7f2 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-points-switch input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-points-switch > span {
    position: relative !important;
    width: 38px !important;
    height: 22px !important;
    border-radius: 11px !important;
    background: #d7dbe1 !important;
    transition: background .18s ease !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-points-switch > span::after {
    content: '' !important;
    position: absolute !important;
    top: 3px !important;
    left: 3px !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.18) !important;
    transition: transform .18s ease !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-points-switch input:checked + span {
    background: var(--balele-mobile-primary) !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-points-switch input:checked + span::after {
    transform: translateX(16px) !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-points-switch input:disabled + span {
    opacity: .45 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-points-switch strong {
    display: block !important;
    margin: 0 0 3px !important;
    color: #15171a !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-points-switch em {
    display: block !important;
    color: #7b818a !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    font-style: normal !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-rows {
    gap: 12px !important;
    padding-top: 12px !important;
    border-top: 1px solid #f0f1f3 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-rows dt,
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-rows dd {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-final {
    margin-top: 18px !important;
    padding-top: 14px !important;
    border-top: 1px solid #f0f1f3 !important;
    gap: 10px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-final span,
  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-final b {
    font-size: 12px !important;
  }

  body.balele-mobile-ui-v2.balele-page-cart .balele-cart-details-final strong {
    font-size: 20px !important;
  }
}

@media (max-width: 768px) {
  /* =======================================================
     Step M4 Checkout + Address Book mobile rebuild.
     Mobile-only layer; PC checkout remains controlled by checkout.css.
     ======================================================= */
  body.balele-mobile-ui-v2.balele-page-checkout {
    background: #fff !important;
    color: #111 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-page {
    min-height: 100dvh !important;
    padding: 0 0 calc(var(--balele-mobile-tabbar-h) + 82px + env(safe-area-inset-bottom)) !important;
    background: #fff !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-shop-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-shop-header {
    height: 62px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    display: flex !important;
    align-items: center !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-shop-back {
    display: inline-flex !important;
    width: 38px !important;
    height: 38px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #17191d !important;
    font-size: 32px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-shop-heading,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-orders-cart-link,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-card-head,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-form-card > .balele-checkout-address-note,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-cart-status:empty {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-form-card,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-cart-section {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-cart-status {
    margin: 0 !important;
    padding: 8px 18px !important;
    color: #e54b00 !important;
    background: #fff7f3 !important;
    border: 0 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-address-book {
    display: block !important;
    margin: 0 !important;
    padding: 0 16px 18px !important;
    border: 0 !important;
    border-bottom: 8px solid #f3f4f6 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-address-book-head,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-address-list {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-address-mobile-summary {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) 18px !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #2a2d31 !important;
    text-align: left !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-address-mobile-summary i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    color: #16181b !important;
    font-size: 22px !important;
    font-style: normal !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-address-mobile-summary span {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: #272a2f !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-address-mobile-summary small {
    display: block !important;
    margin-top: 2px !important;
    overflow: hidden !important;
    color: #515761 !important;
    font-size: 15px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-address-mobile-summary b {
    color: #8a8f98 !important;
    font-size: 26px !important;
    font-weight: 300 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-items-preview {
    display: grid !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 8px solid #f3f4f6 !important;
    background: #fff !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-items-preview[hidden] {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item {
    display: block !important;
    margin: 0 !important;
    padding: 16px 16px 18px !important;
    border: 0 !important;
    background: #fff !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item header {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 0 12px !important;
    color: #111 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item header em {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background: var(--balele-mobile-primary) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-style: normal !important;
    font-weight: 600 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item header strong {
    font-size: 18px !important;
    line-height: 1.1 !important;
    font-weight: 500 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item header b {
    color: #8a8f98 !important;
    font-weight: 300 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item > div {
    display: grid !important;
    grid-template-columns: 104px minmax(0, 1fr) auto !important;
    gap: 12px !important;
    align-items: start !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item img,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item > div > span {
    width: 104px !important;
    height: 104px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    background: #f1f2f4 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item h3 {
    margin: 6px 0 10px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    color: #111 !important;
    font-size: 22px !important;
    line-height: 1.12 !important;
    font-weight: 400 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item small {
    color: #8a8f98 !important;
    font-size: 13px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item aside {
    padding-top: 14px !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item aside span {
    display: block !important;
    color: #f24a00 !important;
    font-size: 13px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item aside strong {
    display: block !important;
    margin-top: 4px !important;
    color: #f24a00 !important;
    font-size: 20px !important;
    font-weight: 500 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-form {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-form > .balele-checkout-field-grid,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-form > .balele-checkout-email-box,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-form > label,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-form > .balele-cart-checkout,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-form > .balele-cart-note {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-payment-method {
    display: block !important;
    margin: 0 !important;
    padding: 18px 16px 120px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-payment-method .balele-checkout-address-note {
    display: block !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-payment-method .balele-checkout-address-note strong {
    display: block !important;
    color: #111 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-payment-method .balele-checkout-address-note span {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-payment-method-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 !important;
    padding: 16px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #dfe2e6 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-paypal-brand strong {
    color: #0069aa !important;
    font-size: 24px !important;
    font-weight: 800 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-paypal-icon {
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    color: #0069aa !important;
    font-size: 32px !important;
    font-weight: 900 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-payment-method-badge {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    background: var(--balele-mobile-primary) !important;
    color: #fff !important;
    font-size: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-payment-method-badge::after {
    content: '✓' !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-paypal-buttons-wrap {
    margin: 14px 0 0 !important;
    padding: 14px !important;
    border: 1px solid #eceff3 !important;
    border-radius: 12px !important;
    background: #fafafa !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-paypal-buttons-title {
    margin: 0 0 8px !important;
    color: #515761 !important;
    font-size: 13px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-summary {
    order: 3 !important;
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 18px 16px !important;
    border: 0 !important;
    border-bottom: 8px solid #f3f4f6 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-summary h2 {
    display: block !important;
    margin: 0 0 18px !important;
    color: #111 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-summary-toggle,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-summary-items,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-summary .balele-cart-note {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-summary-row,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-summary-total {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 10px 0 !important;
    border: 0 !important;
    color: #111 !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-summary-row span,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-summary-total span {
    color: #111 !important;
    font-weight: 400 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-summary-row strong,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-summary-total strong {
    color: #f24a00 !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout [data-balele-points-discount-row] strong,
  body.balele-mobile-ui-v2.balele-page-checkout [data-balele-checkout-discount] {
    color: #f24a00 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-summary-divider {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-points {
    display: block !important;
    margin: 8px 0 0 !important;
    padding: 12px !important;
    border: 1px solid #fff0e8 !important;
    border-radius: 10px !important;
    background: #fff8f4 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-points[hidden] {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-points-head strong {
    color: #111 !important;
    font-size: 14px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-points-head span,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-points .balele-cart-note {
    color: #747b84 !important;
    font-size: 11px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-points-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    gap: 6px !important;
    margin-top: 8px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-points-form input,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-points-form button {
    height: 34px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-paybar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: calc(var(--balele-mobile-tabbar-h) + env(safe-area-inset-bottom)) !important;
    z-index: 9998 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 46%) !important;
    align-items: center !important;
    gap: 10px !important;
    height: 74px !important;
    padding: 10px 16px !important;
    border-top: 1px solid #eceff3 !important;
    background: rgba(255,255,255,.98) !important;
    box-shadow: 0 -8px 18px rgba(16, 24, 40, .08) !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-paybar[hidden] {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-detail {
    display: grid !important;
    gap: 2px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-detail span {
    color: #111 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-detail strong {
    color: #f24a00 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-pay {
    height: 54px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--balele-mobile-primary) !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: .01em !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-pay span {
    margin-left: 3px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-success {
    margin: 16px !important;
    padding: 18px !important;
    border-radius: 12px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-tabbar-v2 {
    box-shadow: none !important;
  }
}

@media (max-width: 768px) {
  body.balele-mobile-sheet-open {
    overflow: hidden !important;
  }

  .balele-mobile-address-sheet,
  .balele-mobile-address-drawer {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10010 !important;
  }

  .balele-mobile-address-sheet[hidden],
  .balele-mobile-address-drawer[hidden] {
    display: none !important;
  }

  .balele-mobile-address-mask {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0,0,0,.42) !important;
  }

  .balele-mobile-address-panel,
  .balele-mobile-address-drawer-panel {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    max-height: 86dvh !important;
    overflow: auto !important;
    padding: 0 18px calc(20px + env(safe-area-inset-bottom)) !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: 0 -12px 30px rgba(0,0,0,.14) !important;
  }

  .balele-mobile-address-panel header,
  .balele-mobile-address-drawer-panel header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1 !important;
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    height: 64px !important;
    margin: 0 -18px 14px !important;
    padding: 0 18px !important;
    background: #fff !important;
    border-bottom: 1px solid #f0f1f3 !important;
  }

  .balele-mobile-address-drawer-panel header {
    grid-template-columns: minmax(0, 1fr) 64px !important;
  }

  .balele-mobile-address-panel header h2,
  .balele-mobile-address-drawer-panel header h2 {
    margin: 0 !important;
    color: #111 !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
  }

  .balele-mobile-address-panel header button,
  .balele-mobile-address-drawer-panel header button {
    border: 0 !important;
    background: transparent !important;
    color: #111 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
  }

  .balele-mobile-address-panel header [data-address-sheet-add] {
    color: var(--balele-mobile-primary) !important;
  }

  .balele-mobile-address-list {
    display: grid !important;
    gap: 10px !important;
  }

  .balele-mobile-address-option {
    position: relative !important;
    display: grid !important;
    gap: 5px !important;
    width: 100% !important;
    padding: 14px 42px 14px 14px !important;
    border: 1px solid #eceff3 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #111 !important;
    text-align: left !important;
    box-shadow: none !important;
  }

  .balele-mobile-address-option.is-active {
    border-color: var(--balele-mobile-primary) !important;
    background: #fff7f1 !important;
  }

  .balele-mobile-address-option.is-active::after {
    content: '✓' !important;
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--balele-mobile-primary) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
  }

  .balele-mobile-address-option strong {
    color: #111 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
  }

  .balele-mobile-address-option span,
  .balele-mobile-address-option small {
    color: #6f7580 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  .balele-mobile-address-option em {
    justify-self: start !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    background: var(--balele-mobile-primary-soft) !important;
    color: var(--balele-mobile-primary) !important;
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 600 !important;
  }

  .balele-mobile-address-empty {
    display: grid !important;
    gap: 8px !important;
    padding: 28px 12px !important;
    text-align: center !important;
  }

  .balele-mobile-address-empty strong {
    color: #111 !important;
    font-size: 18px !important;
  }

  .balele-mobile-address-empty span {
    color: #747b84 !important;
    font-size: 13px !important;
  }

  .balele-mobile-address-empty button,
  .balele-mobile-address-save {
    width: 100% !important;
    height: 52px !important;
    margin-top: 12px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--balele-mobile-primary) !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
  }

  .balele-mobile-address-drawer-panel form {
    display: grid !important;
    gap: 13px !important;
  }

  .balele-mobile-address-drawer-panel label {
    display: grid !important;
    gap: 6px !important;
    color: #3b4048 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
  }

  .balele-mobile-address-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .balele-mobile-address-drawer-panel input,
  .balele-mobile-address-drawer-panel textarea {
    width: 100% !important;
    min-width: 0 !important;
    border: 1px solid #edf0f3 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    outline: 0 !important;
    box-shadow: none !important;
  }

  .balele-mobile-address-drawer-panel input {
    height: 44px !important;
    padding: 0 12px !important;
  }

  .balele-mobile-address-drawer-panel textarea {
    min-height: 92px !important;
    padding: 10px 12px !important;
    resize: vertical !important;
  }

  .balele-mobile-address-help {
    margin: -4px 0 0 !important;
    color: #747b84 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .balele-mobile-email-row {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .balele-mobile-email-row button {
    height: 44px !important;
    border: 1px solid var(--balele-mobile-primary) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--balele-mobile-primary) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
  }

  .balele-mobile-address-drawer-panel small[data-mobile-address-status] {
    min-height: 16px !important;
    color: #747b84 !important;
    font-size: 12px !important;
  }

  .balele-mobile-address-drawer-panel small[data-mobile-address-status].is-error { color: #dc2626 !important; }
  .balele-mobile-address-drawer-panel small[data-mobile-address-status].is-success { color: #059669 !important; }
  .balele-mobile-address-drawer-panel small[data-mobile-address-status].is-info { color: #747b84 !important; }

  .balele-mobile-address-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    padding-top: 8px !important;
  }

  .balele-mobile-address-tags strong {
    flex: 0 0 100% !important;
    color: #111 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
  }

  .balele-mobile-address-tags button {
    min-width: 72px !important;
    height: 36px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #f3f5f7 !important;
    color: #2f3339 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
  }

  .balele-mobile-address-tags button.is-active {
    background: var(--balele-mobile-primary-soft) !important;
    color: var(--balele-mobile-primary) !important;
  }
}

@media (max-width: 768px) {
  /* =======================================================
     Step M4A Checkout visual correction.
     - Price Details sits directly below the Pin preview.
     - Checkout only displays the points result from Cart.
     - Mobile Pay Now replaces the visible PayPal button block.
     - Smaller, lighter typography for a more refined UI.
     ======================================================= */
  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-page {
    padding-bottom: calc(var(--balele-mobile-tabbar-h) + 76px + env(safe-area-inset-bottom)) !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-shop-header {
    height: 50px !important;
    padding: 0 16px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-shop-back {
    width: 30px !important;
    height: 30px !important;
    font-size: 28px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-address-book {
    padding: 0 16px 14px !important;
    border-bottom: 7px solid #f3f4f6 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-address-mobile-summary {
    grid-template-columns: 26px minmax(0, 1fr) 14px !important;
    gap: 7px !important;
    padding-top: 4px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-address-mobile-summary i {
    width: 22px !important;
    height: 22px !important;
    font-size: 19px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-address-mobile-summary span {
    font-size: 15px !important;
    line-height: 1.14 !important;
    letter-spacing: .01em !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-address-mobile-summary small {
    font-size: 12px !important;
    line-height: 1.15 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-address-mobile-summary b {
    font-size: 21px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-items-preview {
    border-bottom: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item {
    padding: 13px 16px 14px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item header {
    gap: 6px !important;
    margin-bottom: 10px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item header em {
    width: 20px !important;
    height: 20px !important;
    font-size: 12px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item header strong {
    font-size: 16px !important;
    font-weight: 500 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item > div {
    grid-template-columns: 96px minmax(0, 1fr) auto !important;
    gap: 10px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item img,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item > div > span {
    width: 96px !important;
    height: 96px !important;
    border-radius: 8px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item h3 {
    margin: 4px 0 8px !important;
    font-size: 18px !important;
    line-height: 1.16 !important;
    font-weight: 400 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item small {
    font-size: 12px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item aside {
    padding-top: 8px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item aside span {
    font-size: 12px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-item aside strong {
    font-size: 18px !important;
    font-weight: 500 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-summary[data-balele-mobile-inline-summary="1"],
  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-summary {
    order: initial !important;
    margin: 0 !important;
    padding: 13px 16px 12px !important;
    border-top: 1px solid #f1f2f4 !important;
    border-bottom: 7px solid #f3f4f6 !important;
    background: #fff !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-summary h2 {
    margin: 0 0 10px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .02em !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-summary-row,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-summary-total {
    padding: 7px 0 !important;
    font-size: 15px !important;
    line-height: 1.18 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-summary-row span,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-summary-total span {
    font-size: 15px !important;
    color: #202328 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-summary-row strong,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-summary-total strong {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #e54b00 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-summary-total {
    padding-top: 9px !important;
    border-top: 1px solid #f0f1f3 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-points {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-payment-method {
    padding: 15px 16px 96px !important;
    border-bottom: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-payment-method .balele-checkout-address-note {
    margin-bottom: 8px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-payment-method .balele-checkout-address-note strong {
    font-size: 16px !important;
    font-weight: 500 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-payment-method-card {
    padding: 12px 0 !important;
    border-bottom: 1px solid #dfe2e6 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-payment-method-card [data-balele-paypal-status] {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-paypal-brand strong {
    font-size: 22px !important;
    line-height: 1 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-paypal-icon {
    font-size: 30px !important;
    line-height: 1 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-payment-method-badge {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-payment-method-badge::after {
    font-size: 13px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-paypal-buttons-wrap,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-paypal-buttons-title,
  body.balele-mobile-ui-v2.balele-page-checkout .balele-paypal-buttons-wrap .balele-cart-note,
  body.balele-mobile-ui-v2.balele-page-checkout #balele-paypal-buttons {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-paybar {
    grid-template-columns: minmax(0, 1fr) minmax(138px, 45%) !important;
    gap: 8px !important;
    height: 66px !important;
    padding: 8px 16px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-detail span {
    font-size: 14px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-detail strong {
    font-size: 13px !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-pay {
    height: 48px !important;
    border-radius: 7px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-pay span {
    display: inline-block !important;
    margin-left: 4px !important;
  }
}


@media (max-width: 768px) {
  /* =======================================================
     Step M4B Checkout repayment correction.
     - Pending order repayment keeps address at the top.
     - Normal repayment status banners are hidden on mobile.
     - Pay Now bar remains available for /checkout/?order_id=...
     ======================================================= */
  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-layout {
    display: flex !important;
    flex-direction: column !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-form-card {
    display: flex !important;
    flex-direction: column !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-address-book {
    order: 1 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-items-preview {
    order: 2 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-summary[data-balele-mobile-inline-summary="1"],
  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-summary {
    order: 3 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-checkout-form {
    order: 4 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-cart-status:not(.is-error) {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-cart-status.is-error {
    order: 0 !important;
    margin: 0 !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  body.balele-mobile-ui-v2.balele-page-checkout .balele-mobile-checkout-paybar:not([hidden]) {
    display: grid !important;
  }
}

@media (max-width: 768px) {
  body.balele-mobile-ui-v2 .balele-title-desktop-only { display: none !important; }
  body.balele-mobile-ui-v2 .balele-title-mobile-only { display: inline !important; }
}

/* =========================================================
   BALELE v3 Mobile UI Rebuild Step M5
   My Account mobile UI rebuild — mobile-only, PC isolated.
   ========================================================= */
@media (min-width: 769px) {
  body.balele-page-account .ba-account-mobile-v2,
  body.balele-page-account .ba-account-new-ticker {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body.balele-mobile-ui-v2.balele-page-account {
    background: #fde6d7 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-head,
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-stats,
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-actions,
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-stack {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-page {
    margin: 0 !important;
    padding: 0 0 calc(86px + env(safe-area-inset-bottom)) !important;
    background: #fde6d7 !important;
    color: #11131a !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    min-height: 100dvh !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-shell {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-mobile-v2 {
    display: block !important;
    padding: 14px 0 20px !important;
    overflow: visible !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-profile {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) 34px 76px !important;
    align-items: center !important;
    column-gap: 10px !important;
    padding: 18px 18px 8px !important;
    min-height: 96px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-avatar {
    width: 58px !important;
    height: 58px !important;
    position: relative !important;
    border-radius: 50% !important;
    border: 2px solid #ff4b00 !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-avatar span {
    position: absolute !important;
    right: -2px !important;
    bottom: -2px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 25px !important;
    height: 16px !important;
    padding: 0 5px !important;
    border-radius: 3px !important;
    background: rgba(0,0,0,.55) !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-user {
    min-width: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-user strong {
    display: block !important;
    color: #11131a !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    letter-spacing: .01em !important;
    line-height: 1.14 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-user span {
    display: inline-flex !important;
    margin-top: 5px !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    background: rgba(0,0,0,.48) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-grid {
    width: 32px !important;
    height: 32px !important;
    border: 0 !important;
    background: transparent !important;
    color: #11131a !important;
    font-size: 23px !important;
    line-height: 1 !important;
    padding: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address {
    border: 0 !important;
    background: transparent !important;
    color: #11131a !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    padding: 0 !important;
    font-size: 21px !important;
    line-height: 1 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address i {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
    border: 3px solid #11131a !important;
    border-radius: 50% 50% 50% 0 !important;
    transform: rotate(-45deg) !important;
    position: relative !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address i::after {
    content: "" !important;
    position: absolute !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #11131a !important;
    left: 5px !important;
    top: 5px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address span {
    font-size: 20px !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-summary {
    margin: 0 12px 12px !important;
    display: grid !important;
    grid-template-columns: 1.2fr .8fr .9fr !important;
    min-height: 134px !important;
    background: #fff !important;
    border-radius: 0 8px 8px 0 !important;
    box-shadow: 0 8px 22px rgba(255, 86, 0, .06) !important;
    overflow: hidden !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alerts {
    padding: 16px 10px 10px !important;
    min-width: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alerts-title {
    color: #11131a !important;
    font-size: 24px !important;
    line-height: 1.05 !important;
    letter-spacing: .12em !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alerts-strip {
    margin-top: 19px !important;
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    min-height: 48px !important;
    overflow: hidden !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alert-pin {
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 auto !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    color: #11131a !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alert-pin img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-mini-empty,
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-loading {
    color: #8e8e98 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric {
    border: 0 !important;
    border-left: 1px solid #efe6df !important;
    background: #fffaf7 !important;
    color: #11131a !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    padding: 0 6px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric strong {
    color: #f04b18 !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    line-height: 1 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric span {
    margin-top: 8px !important;
    color: #11131a !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: .22em !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker,
  body.balele-mobile-ui-v2.balele-page-account .balele-mobile-new-ticker.ba-account-new-ticker {
    position: relative !important;
    display: flex !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    height: 46px !important;
    margin: 0 0 12px !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    background: #fff7f2 !important;
    z-index: 1 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account.balele-new-ticker-dismissed .ba-account-new-ticker {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-orders,
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved,
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address-book,
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-points-panel {
    margin: 0 10px 12px !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.035) !important;
    overflow: hidden !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-section-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 17px 16px 8px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-section-head strong {
    color: #11131a !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    line-height: 1 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-section-head a,
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-section-head button {
    border: 0 !important;
    background: transparent !important;
    color: #9a9aa0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: .05em !important;
    padding: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcuts {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0 !important;
    padding: 18px 10px 22px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcut {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    color: #11131a !important;
    text-decoration: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcut i {
    width: 38px !important;
    height: 34px !important;
    display: grid !important;
    place-items: center !important;
    color: #11131a !important;
    font-size: 29px !important;
    font-style: normal !important;
    line-height: 1 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcut em {
    position: absolute !important;
    top: -6px !important;
    right: 14px !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;
    border-radius: 9px !important;
    background: #ff4b00 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 18px !important;
    text-align: center !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcut span {
    display: block !important;
    margin-top: 9px !important;
    color: #11131a !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    transform: scale(.92) !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved {
    background: #f8f8f8 !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved .ba-mobile-v2-section-head {
    padding: 18px 4px 16px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved .ba-mobile-v2-section-head strong {
    font-size: 24px !important;
    letter-spacing: .02em !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 0 0 10px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #ececec !important;
    border-radius: 6px !important;
    color: #11131a !important;
    text-decoration: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-img {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: #fafafa !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-img i {
    position: absolute !important;
    top: 6px !important;
    left: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 16px !important;
    padding: 0 7px !important;
    border-radius: 3px !important;
    background: #ff5c66 !important;
    color: #fff !important;
    font-size: 8px !important;
    font-weight: 800 !important;
    font-style: normal !important;
    letter-spacing: .08em !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-title {
    display: block !important;
    padding: 7px 8px 2px !important;
    min-height: 34px !important;
    color: #11131a !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    padding: 0 8px 8px !important;
    min-height: 23px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-meta b {
    color: #6c63ff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-meta em {
    color: #8e8e98 !important;
    font-size: 10px !important;
    font-style: normal !important;
    white-space: nowrap !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address-book,
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-points-panel {
    margin-top: 14px !important;
    padding-bottom: 12px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address-book > div:not(.ba-mobile-v2-section-head),
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-points-panel > div:not(.ba-mobile-v2-section-head) {
    padding: 0 14px 14px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-address-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-address-card {
    border: 1px solid #efefef !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 10px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-points-hero {
    border-radius: 8px !important;
    background: #fff7f2 !important;
    border: 1px solid #ffe1d1 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-points-circle {
    background: #ff4b00 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-points-bar i {
    background: #ff4b00 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-dialog .ba-dialog-actions button.primary,
  body.balele-mobile-ui-v2.balele-page-account .ba-account-dialog button.primary {
    background: #ff4b00 !important;
    border-color: #ff4b00 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
}

@media (max-width: 390px) {
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-summary {
    grid-template-columns: 1.12fr .82fr .92fr !important;
  }
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alerts-title {
    font-size: 21px !important;
    letter-spacing: .09em !important;
  }
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric strong {
    font-size: 22px !important;
  }
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric span {
    font-size: 13px !important;
    letter-spacing: .16em !important;
  }
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcut span {
    font-size: 16px !important;
  }
}

/* =========================================================
   BALELE v3 Mobile UI Rebuild Step M5A
   My Account visual polish — design-aligned mobile-only overrides.
   ========================================================= */
@media (max-width: 768px) {
  body.balele-mobile-ui-v2.balele-page-account {
    background: #fde5d6 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-mobile-v2 {
    padding: 8px 0 18px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-profile {
    grid-template-columns: 58px minmax(0, 1fr) 32px 96px !important;
    column-gap: 10px !important;
    min-height: 92px !important;
    padding: 15px 17px 6px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-avatar {
    width: 57px !important;
    height: 57px !important;
    border: 2px solid #ff4b00 !important;
    box-shadow: 0 2px 8px rgba(255,75,0,.08) !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-user strong {
    font-size: 20px !important;
    font-weight: 800 !important;
    letter-spacing: .02em !important;
    line-height: 1.12 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-user span {
    margin-top: 4px !important;
    padding: 2px 7px !important;
    border-radius: 3px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    background: rgba(0,0,0,.5) !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-grid {
    width: 30px !important;
    height: 30px !important;
    font-size: 22px !important;
    margin-top: -2px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address {
    gap: 4px !important;
    font-size: 18px !important;
    justify-self: end !important;
    width: 86px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address i {
    width: 28px !important;
    height: 28px !important;
    border-width: 3px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address i::after {
    width: 8px !important;
    height: 8px !important;
    left: 7px !important;
    top: 7px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address span {
    font-size: 19px !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-feature {
    margin: 0 10px 14px !important;
    border-radius: 8px !important;
    background: #fff !important;
    overflow: hidden !important;
    box-shadow: 0 8px 18px rgba(255,85,0,.04) !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-summary {
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    min-height: 170px !important;
    border-radius: 8px 8px 0 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alerts {
    position: relative !important;
    z-index: 1 !important;
    padding: 19px 14px 12px !important;
    width: 100% !important;
    min-height: 170px !important;
    box-sizing: border-box !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alerts-title {
    max-width: 48% !important;
    color: #11131a !important;
    font-size: 22px !important;
    line-height: 1.06 !important;
    letter-spacing: .12em !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: visible !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alerts-strip {
    margin-top: 34px !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    min-height: 66px !important;
    overflow: hidden !important;
    padding-right: 4px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alert-pin {
    width: 60px !important;
    height: 60px !important;
    flex: 0 0 60px !important;
    border-radius: 4px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alert-pin img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric {
    position: absolute !important;
    top: 0 !important;
    bottom: auto !important;
    width: 30.5% !important;
    height: 72px !important;
    min-height: 72px !important;
    z-index: 3 !important;
    border: 0 !important;
    border-left: 1px solid #f0dfd5 !important;
    background: rgba(255,250,247,.96) !important;
    padding: 0 4px !important;
    box-shadow: 0 3px 10px rgba(255,85,0,.035) !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric--points {
    right: 30.5% !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric--saved {
    right: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric strong {
    color: #f04b18 !important;
    font-size: 23px !important;
    font-weight: 700 !important;
    letter-spacing: .18em !important;
    line-height: 1 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric span {
    margin-top: 8px !important;
    color: #11131a !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .22em !important;
    line-height: 1 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker,
  body.balele-mobile-ui-v2.balele-page-account .balele-mobile-new-ticker.ba-account-new-ticker {
    position: relative !important;
    display: flex !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    background: #fffdfb !important;
    border-top: 1px solid #ffe5da !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    z-index: 2 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker .balele-mobile-new-ticker-badge {
    height: 25px !important;
    min-width: 49px !important;
    padding: 0 7px !important;
    border-radius: 2px !important;
    background: #e50d0d !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;
    text-transform: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker .balele-mobile-new-ticker-window {
    height: 52px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker .balele-mobile-new-ticker-track a {
    height: 52px !important;
    color: #11131a !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    letter-spacing: .12em !important;
    line-height: 52px !important;
    padding: 0 11px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker .balele-mobile-new-ticker-view {
    height: 42px !important;
    min-width: 82px !important;
    padding: 0 17px !important;
    border-radius: 6px !important;
    background: #ff4b00 !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    letter-spacing: .08em !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker .balele-mobile-new-ticker-close {
    display: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-orders {
    margin: 0 10px 14px !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.025) !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-orders .ba-mobile-v2-section-head {
    padding: 18px 17px 8px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-section-head strong {
    font-size: 21px !important;
    font-weight: 800 !important;
    letter-spacing: .1em !important;
    line-height: 1.05 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-section-head a,
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-section-head button {
    color: #9c9a9c !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: .04em !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcuts {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    padding: 17px 10px 20px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcut {
    min-height: 72px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcut i.ba-mobile-v2-order-icon {
    position: relative !important;
    width: 34px !important;
    height: 30px !important;
    display: block !important;
    color: #11131a !important;
    font-size: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcut i.ba-mobile-v2-order-icon::before,
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcut i.ba-mobile-v2-order-icon::after {
    content: "" !important;
    position: absolute !important;
    box-sizing: border-box !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-icon.is-unpaid::before {
    left: 3px !important; top: 6px !important; width: 28px !important; height: 19px !important; border: 2px solid #11131a !important; border-radius: 4px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-icon.is-unpaid::after {
    right: 3px !important; top: 11px !important; width: 8px !important; height: 6px !important; border: 2px solid #11131a !important; border-right: 0 !important; border-radius: 4px 0 0 4px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-icon.is-ship::before {
    left: 7px !important; top: 5px !important; width: 21px !important; height: 21px !important; border: 2px solid #11131a !important; border-radius: 2px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-icon.is-ship::after {
    left: 13px !important; top: 0 !important; width: 9px !important; height: 9px !important; border-left: 2px solid #11131a !important; border-bottom: 2px solid #11131a !important; transform: rotate(-45deg) !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-icon.is-receive::before {
    left: 1px !important; top: 8px !important; width: 20px !important; height: 13px !important; border: 2px solid #11131a !important; border-radius: 3px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-icon.is-receive::after {
    right: 1px !important; top: 11px !important; width: 15px !important; height: 10px !important; border: 2px solid #11131a !important; border-left: 0 !important; border-radius: 0 4px 3px 0 !important; box-shadow: -21px 9px 0 -7px #11131a, -1px 9px 0 -7px #11131a !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-icon.is-message::before {
    left: 2px !important; top: 4px !important; width: 30px !important; height: 22px !important; border: 2px solid #11131a !important; border-radius: 7px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-icon.is-message::after {
    left: 9px !important; bottom: 1px !important; width: 9px !important; height: 9px !important; border-left: 2px solid #11131a !important; border-bottom: 2px solid #11131a !important; transform: rotate(-18deg) !important; background: #fff !important;
  }



  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-icon.is-pin-hunt::before {
    content: "+" !important;
    left: 3px !important;
    top: 0 !important;
    width: 28px !important;
    height: 28px !important;
    border: 2px solid #11131a !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center !important;
    color: #11131a !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-icon.is-refunds::before {
    content: "￥" !important;
    left: 3px !important; top: 0 !important; width: 28px !important; height: 28px !important; border: 2px solid #11131a !important; border-radius: 50% !important; display: grid !important; place-items: center !important; color: #11131a !important; font-size: 20px !important; font-weight: 600 !important; line-height: 1 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcut em {
    top: -5px !important;
    right: 14px !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;
    border-radius: 10px !important;
    font-size: 10px !important;
    line-height: 18px !important;
    background: #ff4b00 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcut span {
    margin-top: 9px !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    transform: none !important;
    letter-spacing: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved {
    margin: 0 10px 14px !important;
    padding: 0 8px 11px !important;
    border-radius: 8px !important;
    background: #f8f8f8 !important;
    box-shadow: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved .ba-mobile-v2-section-head {
    padding: 18px 0 14px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved .ba-mobile-v2-section-head strong {
    font-size: 24px !important;
    font-weight: 800 !important;
    letter-spacing: .02em !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-grid {
    gap: 9px !important;
    padding: 0 0 2px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-card {
    border-radius: 6px !important;
    border-color: #e9e9e9 !important;
    background: #fff !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-img {
    aspect-ratio: 1 / 1 !important;
    background: #fff !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-img img {
    object-fit: contain !important;
    padding: 4px !important;
    box-sizing: border-box !important;
    background: #fff !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-img i {
    top: 6px !important;
    left: 6px !important;
    height: 16px !important;
    padding: 0 7px !important;
    border-radius: 3px !important;
    font-size: 8px !important;
    letter-spacing: .08em !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-title {
    padding: 7px 7px 2px !important;
    min-height: 32px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-meta {
    padding: 0 7px 8px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-meta b {
    color: #6b63ff !important;
    font-size: 11px !important;
    font-weight: 500 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-meta em {
    font-size: 10px !important;
    color: #909098 !important;
  }
}

@media (max-width: 390px) {
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alerts-title {
    font-size: 19px !important;
    letter-spacing: .08em !important;
  }
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alerts-strip {
    gap: 14px !important;
  }
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alert-pin {
    width: 52px !important;
    height: 52px !important;
    flex-basis: 52px !important;
  }
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric strong {
    font-size: 20px !important;
  }
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric span {
    font-size: 10px !important;
    letter-spacing: .16em !important;
  }
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcut span {
    font-size: 15px !important;
  }
}

/* -------------------------------------------------------------------------
 * BALELE v3 Mobile UI Rebuild — Step M5B
 * My Account visual tightening: smaller typography, full Favourite Pins title,
 * compact metrics, and horizontal marquee for more than five favourite pins.
 * Mobile only; PC remains isolated.
 * ------------------------------------------------------------------------- */
@media (max-width: 768px) {
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-profile {
    padding: 18px 20px 16px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-user strong {
    font-size: 19px !important;
    letter-spacing: .02em !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address span {
    font-size: 18px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-feature {
    margin-top: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-summary {
    position: relative !important;
    display: block !important;
    min-height: 166px !important;
    margin: 0 12px 0 !important;
    padding: 0 !important;
    border-radius: 8px 8px 0 0 !important;
    overflow: hidden !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alerts {
    width: 100% !important;
    min-height: 166px !important;
    padding: 18px 12px 12px !important;
    box-sizing: border-box !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alerts-title {
    display: block !important;
    width: calc(100% - 166px) !important;
    max-width: 214px !important;
    color: #11131a !important;
    font-size: 19px !important;
    line-height: 1.08 !important;
    letter-spacing: .105em !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    z-index: 3 !important;
    position: relative !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alerts-strip {
    margin-top: 38px !important;
    width: 100% !important;
    min-height: 54px !important;
    overflow: hidden !important;
    display: block !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alert-track {
    display: inline-flex !important;
    align-items: center !important;
    gap: 20px !important;
    min-width: 100% !important;
    will-change: transform !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alerts-strip.is-marquee .ba-mobile-v2-alert-track {
    animation: ba-mobile-alert-marquee 18s linear infinite !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alerts-strip.is-marquee:hover .ba-mobile-v2-alert-track {
    animation-play-state: paused !important;
  }

  @keyframes ba-mobile-alert-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alert-pin {
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric {
    position: absolute !important;
    top: 0 !important;
    width: 82px !important;
    height: 72px !important;
    padding: 0 4px !important;
    border-left: 1px solid #efe6df !important;
    background: rgba(255,250,247,.96) !important;
    z-index: 2 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric--points {
    right: 82px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric--saved {
    right: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric strong {
    font-size: 20px !important;
    letter-spacing: .13em !important;
    line-height: 1 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric span {
    margin-top: 7px !important;
    font-size: 9px !important;
    letter-spacing: .22em !important;
    line-height: 1 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker,
  body.balele-mobile-ui-v2.balele-page-account .balele-mobile-new-ticker.ba-account-new-ticker {
    height: 46px !important;
    margin: 0 12px 12px !important;
    border-radius: 0 0 8px 8px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker .balele-mobile-new-ticker-badge {
    height: 24px !important;
    min-width: 46px !important;
    font-size: 15px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker .balele-mobile-new-ticker-track a {
    height: 46px !important;
    font-size: 14px !important;
    line-height: 46px !important;
    letter-spacing: .12em !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker .balele-mobile-new-ticker-view {
    height: 38px !important;
    min-width: 76px !important;
    padding: 0 15px !important;
    font-size: 18px !important;
    letter-spacing: .07em !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-orders {
    margin: 0 12px 12px !important;
    border-radius: 8px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-orders .ba-mobile-v2-section-head,
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved .ba-mobile-v2-section-head {
    padding: 15px 14px 7px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-section-head strong,
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved .ba-mobile-v2-section-head strong {
    font-size: 18px !important;
    line-height: 1.05 !important;
    letter-spacing: .08em !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-section-head a,
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-section-head button {
    font-size: 13px !important;
    letter-spacing: .04em !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcuts {
    padding: 13px 8px 17px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcut {
    min-height: 60px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcut i.ba-mobile-v2-order-icon {
    width: 28px !important;
    height: 26px !important;
    transform: scale(.86) !important;
    transform-origin: center !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcut em {
    top: -6px !important;
    right: 15px !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 4px !important;
    font-size: 9px !important;
    line-height: 16px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcut span {
    margin-top: 6px !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved {
    margin: 0 12px 14px !important;
    padding: 0 7px 10px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-grid {
    gap: 8px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-title {
    min-height: 29px !important;
    font-size: 10px !important;
    line-height: 1.16 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-meta b {
    font-size: 10px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-saved-meta em {
    font-size: 9px !important;
  }
}

@media (max-width: 390px) {
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alerts-title {
    width: calc(100% - 154px) !important;
    max-width: 206px !important;
    font-size: 18px !important;
    letter-spacing: .085em !important;
  }
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric {
    width: 77px !important;
  }
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric--points {
    right: 77px !important;
  }
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric strong {
    font-size: 18px !important;
  }
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-metric span {
    font-size: 8px !important;
    letter-spacing: .19em !important;
  }
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-order-shortcut span {
    font-size: 13px !important;
  }
}


/* -------------------------------------------------------------------------
 * BALELE v3 Mobile UI Rebuild — Step M5C
 * My Account header micro polish: smaller Address block, visible Lv badge,
 * larger edge-to-edge favourite thumbnails, compact ticker spacing and
 * unified NEW / title / View typography. Mobile only; PC remains isolated.
 * ------------------------------------------------------------------------- */
@media (max-width: 768px) {
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-profile {
    grid-template-columns: 58px minmax(0, 1fr) 30px 64px !important;
    column-gap: 8px !important;
    padding: 16px 20px 12px !important;
    overflow: visible !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-avatar {
    overflow: visible !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-avatar img {
    border-radius: 50% !important;
    overflow: hidden !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-avatar span,
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-avatar [data-ba-mobile-level-badge] {
    right: -4px !important;
    bottom: 1px !important;
    min-width: 24px !important;
    height: 14px !important;
    padding: 0 4px !important;
    font-size: 8px !important;
    line-height: 14px !important;
    z-index: 4 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-grid {
    transform: scale(.9) !important;
    transform-origin: center !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address {
    transform: scale(.85) translateY(-7px) !important;
    transform-origin: top center !important;
    min-width: 64px !important;
    gap: 1px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address i {
    width: 24px !important;
    height: 24px !important;
    border-width: 3px !important;
    margin-bottom: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address span {
    font-size: 16px !important;
    line-height: 1.02 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-feature {
    margin: 0 10px 14px !important;
    overflow: hidden !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-summary {
    min-height: 126px !important;
    border-radius: 8px 8px 0 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alerts {
    min-height: 126px !important;
    padding: 18px 12px 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alerts-strip {
    margin-top: 28px !important;
    min-height: 56px !important;
    height: 56px !important;
    display: block !important;
    overflow: hidden !important;
    padding-right: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alert-track {
    display: inline-flex !important;
    align-items: center !important;
    gap: 18px !important;
    min-height: 56px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alert-pin {
    width: 55px !important;
    height: 55px !important;
    flex: 0 0 55px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alert-pin img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker,
  body.balele-mobile-ui-v2.balele-page-account .balele-mobile-new-ticker.ba-account-new-ticker {
    height: 39px !important;
    margin: 1px 0 0 !important;
    padding: 0 8px !important;
    border-top: 1px solid #ffe5da !important;
    border-radius: 0 0 8px 8px !important;
    align-items: center !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker .balele-mobile-new-ticker-badge,
  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker .balele-mobile-new-ticker-view {
    height: 31px !important;
    min-width: 64px !important;
    padding: 0 12px !important;
    border-radius: 4px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: .04em !important;
    line-height: 31px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker .balele-mobile-new-ticker-badge {
    min-width: 52px !important;
    background: #e50d0d !important;
    text-transform: none !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker .balele-mobile-new-ticker-view {
    min-width: 72px !important;
    background: #ff4b00 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker .balele-mobile-new-ticker-window,
  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker .balele-mobile-new-ticker-track a {
    height: 39px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker .balele-mobile-new-ticker-track a {
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: .04em !important;
    line-height: 39px !important;
    padding: 0 10px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-orders {
    margin-top: 12px !important;
  }
}

@media (max-width: 390px) {
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-profile {
    grid-template-columns: 54px minmax(0, 1fr) 28px 58px !important;
    column-gap: 7px !important;
  }
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address span {
    font-size: 15px !important;
  }
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alert-pin {
    width: 52px !important;
    height: 52px !important;
    flex-basis: 52px !important;
  }
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-alert-track {
    gap: 15px !important;
  }
  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker .balele-mobile-new-ticker-badge,
  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker .balele-mobile-new-ticker-view,
  body.balele-mobile-ui-v2.balele-page-account .ba-account-new-ticker .balele-mobile-new-ticker-track a {
    font-size: 14px !important;
  }
}

/* -------------------------------------------------------------------------
 * BALELE v3 Mobile UI Rebuild — Step M5D
 * My Account header micro fix: reliable avatar image and smaller separated
 * Address icon/text vertical stack. Mobile only; PC remains isolated.
 * ------------------------------------------------------------------------- */
@media (max-width: 768px) {
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-profile {
    grid-template-columns: 58px minmax(0, 1fr) 30px 72px !important;
    column-gap: 8px !important;
    overflow: visible !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-avatar {
    overflow: visible !important;
    background: #fff !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-avatar img,
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-avatar img[data-ba-mobile-user-avatar] {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: #f2f2f2 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-avatar span,
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-avatar [data-ba-mobile-level-badge] {
    right: -6px !important;
    bottom: 3px !important;
    z-index: 6 !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    justify-self: end !important;
    width: 72px !important;
    min-width: 72px !important;
    gap: 6px !important;
    padding: 0 !important;
    transform: translateY(-6px) scale(.78) !important;
    transform-origin: top center !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address i {
    display: block !important;
    width: 23px !important;
    height: 23px !important;
    margin: 0 0 2px !important;
    border-width: 3px !important;
    flex: 0 0 23px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address i::after {
    width: 7px !important;
    height: 7px !important;
    left: 5px !important;
    top: 5px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address span {
    display: block !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    letter-spacing: .01em !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 390px) {
  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-profile {
    grid-template-columns: 54px minmax(0, 1fr) 28px 64px !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address {
    width: 64px !important;
    min-width: 64px !important;
    gap: 5px !important;
    transform: translateY(-6px) scale(.76) !important;
  }

  body.balele-mobile-ui-v2.balele-page-account .ba-mobile-v2-address span {
    font-size: 13px !important;
  }
}


/* -------------------------------------------------------------------------
 * BALELE Phase 9K1A polish: tune the mobile new-pin ticker speed so crowded
 * new upload batches remain readable on Home, Market and My Account.
 * ------------------------------------------------------------------------- */
@media (max-width: 768px) {
  body.balele-mobile-ui-v2 {
    --balele-mobile-new-ticker-duration: 52s;
  }
}

/*
 * BALELE Phase 9K1B: On mobile Home / Market, reuse the former new-pin ticker
 * as a visible entry for Disney Parks Updates. My Account keeps its original
 * new-pin ticker styles because it uses .ba-account-new-ticker.
 */
@media (max-width: 768px) {
  body.balele-mobile-ui-v2.balele-page-home .balele-mobile-updates-ticker,
  body.balele-mobile-ui-v2.balele-page-market .balele-mobile-updates-ticker {
    background: #fff1e6 !important;
    border-top-color: rgba(255, 91, 0, .16) !important;
    border-bottom-color: rgba(255, 91, 0, .16) !important;
  }

  body.balele-mobile-ui-v2.balele-page-home .balele-mobile-updates-ticker .balele-mobile-new-ticker-badge,
  body.balele-mobile-ui-v2.balele-page-market .balele-mobile-updates-ticker .balele-mobile-new-ticker-badge {
    background: #ff5b00 !important;
    color: #fff !important;
    padding: 0 7px !important;
    letter-spacing: .02em !important;
  }

  body.balele-mobile-ui-v2.balele-page-home .balele-mobile-updates-ticker .balele-mobile-new-ticker-view,
  body.balele-mobile-ui-v2.balele-page-market .balele-mobile-updates-ticker .balele-mobile-new-ticker-view {
    background: #ff5b00 !important;
    color: #fff !important;
  }

  body.balele-mobile-ui-v2.balele-page-home .balele-mobile-updates-ticker .balele-mobile-new-ticker-close,
  body.balele-mobile-ui-v2.balele-page-market .balele-mobile-updates-ticker .balele-mobile-new-ticker-close {
    color: #ff7a2d !important;
  }
}
