/* build: li-store-reviews-tradein-v21-20261030-1 */
/* Li:Store — frosted floating navigation + image-only hero text v11 */
:root {
  color-scheme: light;
  --bg: #f5f7fa;
  --surface: #fff;
  --ink: #111820;
  --muted: #788392;
  --line: #e5eaf0;
  --accent: #1769ff;
  --accent-soft: #eaf2ff;
  --radius-lg: 28px;
  --radius-md: 19px;
  --radius-sm: 13px;
  --pill: 999px;
  --shadow: 0 8px 24px rgba(25, 45, 75, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-width: 320px; min-height: 100vh; min-height: 100dvh; margin: 0; color: var(--ink); background: var(--bg); font-family: var(--font); font-size: 15px; line-height: 1.45; letter-spacing: -.02em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body, button, input, textarea { font-family: var(--font); }
button { color: inherit; cursor: pointer; border: 0; background: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hidden { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(23,105,255,.25); outline-offset: 3px; }

.app-shell { position: relative; width: 100%; max-width: 500px; min-height: 100dvh; margin: 0 auto; padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, #f8fafc 0%, #f4f6f9 100%); }

/* Header */
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: calc(68px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) 16px 0; border-bottom: 1px solid rgba(255,255,255,.76); background: rgba(247,249,252,.86); -webkit-backdrop-filter: blur(22px) saturate(1.25); backdrop-filter: blur(22px) saturate(1.25); }
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1 1 auto; }
.brand-mark { display: none; }
.brand-copy { display: block; min-width: 0; }
.brand-copy b { display: block; font-size: 18px; line-height: 1.02; font-weight: 950; letter-spacing: .035em; white-space: nowrap; }
.brand-copy small { display: block; margin-top: 5px; color: #687383; font-size: 7px; line-height: 1; letter-spacing: .19em; white-space: nowrap; }
.top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: 0 0 auto; }
.icon-button { position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border: 1px solid rgba(255,255,255,.95); border-radius: 50%; background: rgba(255,255,255,.78); color: #111820; box-shadow: 0 6px 18px rgba(26,49,78,.07), inset 0 1px 0 rgba(255,255,255,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .18s, background .18s; }
.icon-button:active { transform: scale(.95); }
.icon-button svg { width: 19px; height: 19px; }
.top-question-button { color: #1769ff; }
.count-pill { position: absolute; top: -3px; right: -3px; display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px; border: 2px solid var(--bg); border-radius: 999px; background: #101722; color: #fff; font-size: 9px; font-weight: 850; }
.demo-strip { display: none; }

/* Image-only hero: text sits directly on the photograph, with no separate panel surface. */
.hero { position: relative; isolation: isolate; width: auto; height: clamp(248px, 63vw, 285px); min-height: 0; margin: 10px 12px 0; overflow: hidden; border: 1px solid rgba(255,255,255,.92); border-radius: 27px; background: #e7eff9; box-shadow: 0 17px 38px rgba(38,61,92,.11), inset 0 1px 0 rgba(255,255,255,.9); }
.hero-scene { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 100% center; transform: scale(1.01); }
.hero-wash { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(246,249,253,.48) 0%, rgba(246,249,253,.34) 27%, rgba(246,249,253,.19) 43%, rgba(246,249,253,.07) 62%, rgba(246,249,253,0) 100%), linear-gradient(0deg, rgba(232,241,252,.16) 0%, rgba(255,255,255,.025) 48%, rgba(255,255,255,.10) 100%); pointer-events: none; }
.hero-content { position: relative; display: flex; align-items: stretch; width: 100%; height: 100%; padding: 0; color: var(--ink); justify-content: flex-start; }
.hero-glass-panel { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; width: min(63%, 282px); height: 100%; margin: 0; padding: 20px 17px 18px; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero-glass-panel::before { content: none; display: none; }
.hero-glass-panel::after { content: none; display: none; }
.hero-glass-panel > * { position: relative; z-index: 1; }
.hero-eyebrow { display: block; margin: 0 0 12px; color: #4b596b; font-size: 7px; font-weight: 850; line-height: 1.45; letter-spacing: .13em; }
.hero h1 { margin: 0 0 13px; color: #0d1218; text-shadow: 0 1px 5px rgba(255,255,255,.20); font-size: clamp(28px, 7.25vw, 34px); font-weight: 950; line-height: .99; letter-spacing: -.055em; text-transform: none; }
.hero-lead { max-width: 230px; margin: 0; color: #3f4c5f; text-shadow: 0 1px 5px rgba(255,255,255,.17); font-size: 11px; line-height: 1.48; }
.hero-bottom { position: relative; z-index: 2; display: flex; justify-content: flex-start; padding: 16px 0 0; }
.primary-button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 48px; padding: 0 16px; border: 0; border-radius: 999px; background: #10151d; color: #fff; font-size: 12px; font-weight: 850; transition: transform .18s, opacity .18s; }
.primary-button:active { transform: scale(.985); }
.primary-button span { font-size: 17px; }
.white-pill { align-self: flex-start; width: auto; min-height: 34px; margin-left: 0; padding: 0; gap: 8px; border: 0; border-radius: 0; background: transparent; color: #101720; font-size: 10px; font-weight: 900; box-shadow: none; text-shadow: 0 1px 4px rgba(255,255,255,.32); transition: color .18s, transform .18s, opacity .18s; }
.white-pill:hover { background: transparent; color: #1769ff; opacity: .95; }
.white-pill:active { background: transparent; box-shadow: none; transform: translateY(1px); }
.white-pill span { margin: 0; font-size: 17px; color: #1769ff; }

/* Greeting and search */
.category-showcase { padding: 9px 12px 0; }
.catalog-section { padding: 9px 12px 0; }
.welcome-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.welcome-copy { min-width: 0; }
.greeting-text { display: block; margin: 0 0 2px; color: #7b8593; font-size: 14px; font-weight: 500; }
.welcome-header h2 { margin: 0; color: #111820; font-size: 21px; font-weight: 900; line-height: 1.12; letter-spacing: -.04em; }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 0 0 auto; min-height: 30px; padding: 0 2px; color: #202a38; font-size: 11px; font-weight: 750; white-space: nowrap; }
.text-link span { font-size: 16px; line-height: 1; }
.welcome-all-link { margin-bottom: 1px; }
.search-wrap { display: flex; align-items: center; gap: 11px; min-height: 47px; margin: 0 0 12px; padding: 0 16px; border: 1px solid rgba(224,230,238,.9); border-radius: 999px; background: rgba(255,255,255,.54); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.search-wrap svg { width: 19px; height: 19px; flex: 0 0 19px; color: #4e5968; }
.search-wrap input { flex: 1; min-width: 0; height: 44px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; appearance: none; -webkit-appearance: none; }
.search-wrap input::placeholder { color: #778292; opacity: 1; }
.search-wrap input::-webkit-search-cancel-button { display: none; }
.clear-search { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 25px; border-radius: 50%; background: #edf0f4; color: #222b37; font-size: 18px; line-height: 1; }

/* Three illustrated category cards */
.category-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; margin: 0; padding: 0; }
.category-tile { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; padding: 7px 7px 8px; border: 1px solid rgba(221,227,235,.8); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(231,237,245,.86)); box-shadow: 0 5px 15px rgba(23,40,65,.045), inset 0 1px 0 rgba(255,255,255,.95); text-align: left; transition: border-color .18s, box-shadow .18s, transform .18s; }
.category-tile:active { transform: scale(.985); }
.category-tile.featured, .category-tile.active { border-color: #4386ff; box-shadow: 0 0 0 2px rgba(47,124,255,.12), 0 8px 20px rgba(39,111,238,.12), inset 0 1px 0 #fff; background: linear-gradient(145deg,#f9fcff,#e1edff); }
.category-tile-image { display: grid; place-items: center; height: 64px; min-width: 0; overflow: hidden; border-radius: 13px; background: linear-gradient(150deg,#f1f5fb,#e3ecf7); }
.category-tile-image img { width: 100%; height: 100%; object-fit: contain; padding: 2px; mix-blend-mode: multiply; }
.category-tile-label { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-width: 0; margin-top: 6px; }
.category-tile-label b { min-width: 0; overflow: hidden; color: #111820; font-size: 10px; font-weight: 850; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.category-tile-arrow { display: grid; place-items: center; width: 23px; height: 23px; flex: 0 0 23px; border-radius: 50%; background: rgba(255,255,255,.85); color: #111820; font-size: 14px; box-shadow: 0 2px 7px rgba(20,38,62,.07); }

/* Black promo ribbon */
.promo-banner { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 74px; margin: 0 0 10px; padding: 10px 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; background: radial-gradient(ellipse at 85% 50%, #283748 0%, #121921 34%, #080b0f 70%); color: #fff; box-shadow: 0 9px 24px rgba(11,19,28,.13); }
.promo-copy { position: relative; z-index: 2; min-width: 0; }
.promo-badge { display: inline-flex; align-items: center; min-height: 21px; margin-bottom: 7px; padding: 3px 9px; border-radius: 999px; background: linear-gradient(135deg,#1775ff,#5eaeff); color: #fff; font-size: 9px; font-weight: 900; }
.promo-copy h3 { margin: 0 0 3px; color: #fff; font-size: 14px; line-height: 1.18; font-weight: 850; letter-spacing: -.02em; }
.promo-copy p { margin: 0; color: rgba(240,245,252,.72); font-size: 10px; }
.promo-copy b { color: #fff; }
.promo-btn { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; min-height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: 10px; font-weight: 800; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.promo-btn span { font-size: 15px; }
.promo-product { position: absolute; z-index: 1; right: 40px; bottom: -24px; width: 106px; height: 116px; object-fit: contain; opacity: .58; filter: contrast(1.08); pointer-events: none; }
.promo-decor { position: absolute; z-index: 0; top: -46px; right: -17px; width: 164px; height: 164px; border-radius: 50%; background: radial-gradient(circle at 40% 45%, rgba(143,174,207,.14), rgba(61,87,114,.035) 61%, transparent 72%); pointer-events: none; }

/* Product list: larger two-column product cards */
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.section-heading h2 { margin: 0; color: #121820; font-size: 19px; line-height: 1.2; font-weight: 900; letter-spacing: -.035em; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; align-items: stretch; }
.product-card { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 9px; border: 1px solid rgba(224,230,237,.8); border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 7px 18px rgba(30,48,72,.055), inset 0 1px 0 rgba(255,255,255,.95); transition: transform .18s, box-shadow .18s; cursor: pointer; }
.product-card:active { transform: scale(.99); }
.product-card:focus-visible { outline: 3px solid rgba(23,105,255,.24); outline-offset: 2px; }
.product-visual { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1 / .94; margin-bottom: 10px; overflow: hidden; border-radius: 13px; background: linear-gradient(145deg,#f4f7fb,#e3edf8); }
.product-photo { width: 100%; height: 100%; object-fit: contain; padding: 3%; mix-blend-mode: multiply; }
.product-fallback { display: none; place-items: center; width: 100%; height: 100%; color: #8490a0; font-size: 30px; }
.product-badge { position: absolute; top: 6px; left: 6px; max-width: calc(100% - 39px); padding: 4px 5px; border-radius: 999px; background: #111820; color: #fff; font-size: 6px; font-weight: 850; line-height: 1; letter-spacing: .025em; white-space: nowrap; }
.heart-toggle { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 25px; height: 25px; padding: 0; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(255,255,255,.85); color: #485362; font-size: 15px; line-height: 1; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.heart-toggle.active { background: #1769ff; color: #fff; border-color: #1769ff; }
.product-brand { margin: 0 0 4px; color: #7f8a98; font-size: 9px; line-height: 1.2; font-weight: 700; text-transform: none; overflow-wrap: anywhere; }
.product-title { display: -webkit-box; min-width: 0; min-height: 34px; margin: 0 0 8px; overflow: hidden; color: #121820; font-size: 12px; line-height: 1.32; font-weight: 800; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.product-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; min-width: 0; margin-top: auto; }
.product-price { color: #111820; font-size: 14px; line-height: 1.2; font-weight: 950; overflow-wrap: anywhere; }
.product-old-price { color: #9098a3; font-size: 9px; text-decoration: line-through; }
.availability-button { display: none !important; }
.loading-card { grid-column: 1 / -1; padding: 25px 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.85); color: var(--muted); font-size: 12px; text-align: center; }
.empty-state { padding: 28px 16px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.86); text-align: center; }
.empty-state h3 { margin: 0 0 6px; color: var(--ink); font-size: 16px; }
.empty-state p { margin: 0 0 15px; color: var(--muted); font-size: 12px; }
.secondary-button { min-height: 42px; padding: 0 17px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 800; }

/* Service cards and bottom footer strip */
.service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; padding: 19px 12px 14px; }
.service-card { display: flex; min-width: 0; flex-direction: column; gap: 10px; padding: 13px 12px 14px; border: 1px solid rgba(225,231,239,.92); border-radius: 20px; background: rgba(255,255,255,.54); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.service-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border: 1px solid rgba(220,227,237,.72); border-radius: 50%; background: linear-gradient(135deg,#fff,#e9eef5); color: #111820; }
.service-icon svg { width: 19px; height: 19px; }
.service-copy { min-width: 0; }
.service-copy h3 { margin: 0 0 5px; color: #151c25; font-size: 11px; line-height: 1.25; font-weight: 900; }
.service-copy p { margin: 0 0 10px; color: #798493; font-size: 9px; line-height: 1.45; }
.inline-arrow { display: inline-flex; align-items: center; gap: 4px; padding: 0; color: #1769ff; font-size: 10px; font-weight: 750; text-align: left; }
.inline-arrow span { font-size: 14px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 12px 8px; padding: 13px 12px; border: 1px solid rgba(225,231,239,.95); border-radius: 16px; background: linear-gradient(120deg,rgba(232,239,247,.96),rgba(246,249,252,.88)); }
.footer-brand { display: flex; align-items: center; gap: 7px; min-width: 0; }
.footer-brand .brand-mark { display: grid; place-items: center; width: auto; height: auto; border-radius: 0; background: transparent; color: #111820; font-size: 13px; font-weight: 950; }
.footer-brand b { color: #111820; font-size: 10px; font-weight: 950; letter-spacing: .05em; }
.footer-link { display: inline-flex; align-items: center; gap: 5px; min-width: 0; padding: 3px 0; color: #536173; font-size: 9px; font-weight: 700; text-align: right; }
.footer-link span { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: #111820; color: #fff; font-size: 13px; }

/* Main bottom nav — black glass pill with four destinations */
.bottom-nav { position: fixed; z-index: 70; bottom: calc(6px + env(safe-area-inset-bottom, 0px)); left: 50%; display: flex; align-items: center; justify-content: space-around; width: calc(100% - 24px); max-width: 476px; min-height: 59px; padding: 3px 8px; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.78); border-radius: 999px; background: linear-gradient(135deg, rgba(255,255,255,.76) 0%, rgba(239,246,255,.54) 48%, rgba(255,255,255,.62) 100%); color: #334155; box-shadow: 0 12px 32px rgba(30,52,82,.15), inset 0 1px 0 rgba(255,255,255,.96), inset 0 -1px 0 rgba(255,255,255,.30); -webkit-backdrop-filter: blur(28px) saturate(1.65) contrast(1.03); backdrop-filter: blur(28px) saturate(1.65) contrast(1.03); }
.bottom-nav::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, rgba(255,255,255,.35), transparent 35%, rgba(255,255,255,.12) 72%, rgba(255,255,255,.30)); pointer-events: none; }
.nav-item { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; flex: 1 1 0; min-width: 0; min-height: 47px; flex-direction: column; gap: 1px; padding: 2px 0; border-radius: 18px; color: #627084; transition: color .18s, background .18s; }
.nav-item.active { color: #1769ff; background: rgba(255,255,255,.22); }
.nav-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: transparent; color: currentColor; }
.nav-icon svg { width: 18px; height: 18px; }
.nav-item.active .nav-icon { background: transparent; color: #1769ff; }
.nav-item small { font-size: 8.5px; line-height: 1.1; font-weight: 700; }

/* Full-screen product detail page */
.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 0; background: rgba(13,20,30,.46); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fadeIn .18s ease-out; }
.modal-sheet { position: relative; width: 100%; max-width: 500px; max-height: 90dvh; padding: 22px 18px calc(22px + env(safe-area-inset-bottom,0px)); overflow-y: auto; overscroll-behavior: contain; border-radius: 27px 27px 0 0; background: #f7f9fc; box-shadow: 0 -12px 40px rgba(18,33,54,.14); animation: slideUp .25s cubic-bezier(.2,.8,.2,1); }
#productModal { z-index: 100; align-items: stretch; padding: 0; background: #f5f7fa; -webkit-backdrop-filter: none; backdrop-filter: none; }
.product-sheet { width: 100%; height: 100dvh; max-height: 100dvh; padding: 0 16px calc(96px + env(safe-area-inset-bottom,0px)); border-radius: 0; background: linear-gradient(180deg,#f6f8fb,#f1f4f8); box-shadow: none; animation: none; }
#modalProductBody { display: flex; min-height: 100%; flex-direction: column; gap: 0; }
.product-page-top { position: sticky; z-index: 6; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 -16px; padding: calc(13px + env(safe-area-inset-top,0px)) 16px 12px; background: rgba(246,248,251,.8); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.product-back, .product-top-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid rgba(255,255,255,.92); border-radius: 50%; background: rgba(255,255,255,.72); color: #111820; box-shadow: 0 5px 16px rgba(29,47,70,.06); }
.product-back svg { width: 21px; height: 21px; }
.product-top-actions { display: flex; align-items: center; gap: 8px; }
.product-top-icon { font-size: 19px; }
.product-top-icon.selected { color: #1769ff; }
.product-gallery { padding-top: 0; }
.product-detail-visual { position: relative; display: grid; place-items: center; width: 100%; height: clamp(255px, 72vw, 320px); margin: 0 0 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.95); border-radius: 22px; background: linear-gradient(145deg,#eef3f9,#e4ecf6); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.product-detail-photo { width: 100%; height: 100%; object-fit: contain; padding: 5%; mix-blend-mode: multiply; }
.product-detail-stock { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(12,18,27,.92); color: #fff; font-size: 8px; font-weight: 850; letter-spacing: .05em; }
.product-thumbnails { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin: 0 0 19px; }
.product-thumb { display: grid; place-items: center; min-width: 0; aspect-ratio: 1 / .78; padding: 3px; overflow: hidden; border: 1px solid rgba(222,229,238,.9); border-radius: 14px; background: rgba(255,255,255,.5); }
.product-thumb.active { border: 2px solid #1769ff; background: #fff; box-shadow: 0 4px 12px rgba(23,105,255,.10); }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-detail-meta { padding: 1px 4px 0; }
.product-detail-brand { margin: 0 0 3px; color: #798595; font-size: 13px; }
.product-detail-name { margin: 0 0 7px; color: #101720; font-size: 24px; line-height: 1.12; font-weight: 950; letter-spacing: -.045em; overflow-wrap: anywhere; }
.product-reassurance { display: flex; align-items: center; gap: 6px; margin: 0 0 15px; color: #667384; font-size: 11px; }
.product-reassurance span { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #e7efff; color: #1769ff; font-size: 11px; font-weight: 900; }
.product-detail-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; margin: 0 0 7px; color: #111820; }
.product-detail-price strong { font-size: 23px; font-weight: 950; letter-spacing: -.035em; }
.product-detail-price del { margin-left: 4px; color: #929aa5; font-size: 12px; }
.price-prefix { color: #111820; font-size: 15px; font-weight: 800; }
.demo-price-tag { display: inline-block; max-width: 100%; margin: 0 0 12px; padding: 5px 9px; border-radius: 999px; background: #e9edf3; color: #6c7786; font-size: 7px; line-height: 1.4; font-weight: 800; letter-spacing: .045em; }
.product-detail-description { margin: 0 0 13px; color: #657181; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.feature-accordion { margin: 0 0 12px; border: 1px solid rgba(222,229,237,.9); border-radius: 15px; background: rgba(255,255,255,.48); overflow: hidden; }
.feature-accordion summary { display: flex; align-items: center; justify-content: space-between; min-height: 45px; padding: 0 14px; color: #151c25; font-size: 12px; font-weight: 800; list-style: none; cursor: pointer; }
.feature-accordion summary::-webkit-details-marker { display: none; }
.feature-accordion summary span { font-size: 21px; line-height: 1; }
.feature-list { display: grid; gap: 6px; padding: 0 10px 10px; }
.feature-line { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; background: rgba(255,255,255,.82); color: #586575; font-size: 10px; }
.feature-line > span { color: #1769ff; font-weight: 900; }
.detail-actions { position: sticky; z-index: 5; bottom: calc(-1px - env(safe-area-inset-bottom,0px)); display: grid; grid-template-columns: minmax(0,1fr) 54px; gap: 10px; margin: auto -16px calc(-96px - env(safe-area-inset-bottom,0px)); padding: 14px 16px calc(14px + env(safe-area-inset-bottom,0px)); border-top: 1px solid rgba(224,231,239,.78); background: rgba(247,249,252,.91); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.detail-actions .primary-button { min-height: 50px; background: #101720; }
.detail-fav { display: grid; place-items: center; min-height: 50px; border: 1px solid #dfe6ef; border-radius: 16px; background: #fff; color: #111820; font-size: 22px; }
.detail-fav.is-favorite { color: #1769ff; border-color: #a7c7ff; background: #eef5ff; }

/* Request chooser and the actual form are a separate sheet above the product page. */
#orderModal { z-index: 120; align-items: flex-end; padding: 0; background: rgba(13,20,30,.43); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.order-sheet { position: relative; width: 100%; max-width: 500px; max-height: min(680px, 88dvh); margin: auto auto 0; padding: 13px 18px calc(18px + env(safe-area-inset-bottom,0px)); overflow-y: auto; border: 1px solid rgba(255,255,255,.92); border-bottom: 0; border-radius: 27px 27px 0 0; background: rgba(249,250,252,.98); box-shadow: 0 -20px 48px rgba(13,25,43,.18); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.order-sheet .close-button { position: absolute; z-index: 7; top: 15px; right: 15px; display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(222,228,237,.9); border-radius: 50%; background: rgba(239,242,246,.92); color: #111820; font-size: 22px; line-height: 1; }
.order-sheet .close-button:active { transform: scale(.94); }
.sheet-handle { width: 39px; height: 4px; margin: 1px auto 20px; border-radius: 999px; background: #cfd5de; }
.request-choice-view { padding-top: 0; }
.request-choice-view > .modal-kicker { display: none; }
.request-choice-view h2, .order-form-view h2 { max-width: calc(100% - 38px); margin: 0 0 7px; color: #101720; font-size: 23px; line-height: 1.13; font-weight: 950; letter-spacing: -.045em; }
.request-choice-view .modal-description, .order-form-view .modal-description { margin: 0 0 17px; color: #748091; font-size: 12px; line-height: 1.5; }
.request-choice-product { margin: -6px 0 13px; padding: 9px 11px; border: 1px solid #dbe7f7; border-radius: 12px; background: #edf4ff; color: #245998; font-size: 11px; font-weight: 750; overflow-wrap: anywhere; }
.request-choice-list { display: grid; gap: 9px; }
.request-choice { display: grid; grid-template-columns: 46px minmax(0,1fr) 18px; align-items: center; gap: 12px; width: 100%; min-height: 91px; padding: 13px 13px; border: 1px solid rgba(220,226,235,.91); border-radius: 22px; background: rgba(255,255,255,.93); box-shadow: 0 8px 23px rgba(24,41,66,.055), inset 0 1px 0 #fff; text-align: left; transition: transform .16s, border-color .16s, box-shadow .16s; }
.request-choice:active { transform: scale(.99); }
.request-choice:focus-visible { outline: 3px solid rgba(23,105,255,.25); outline-offset: 2px; }
.request-choice-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; }
.request-choice-icon svg { width: 21px; height: 21px; }
.availability-choice-icon { background: linear-gradient(135deg,#3b88ff,#1769ff); box-shadow: 0 6px 14px rgba(23,105,255,.23); }
.general-choice-icon { background: #101720; }
.request-choice-copy { display: grid; gap: 5px; min-width: 0; }
.request-choice-copy b { color: #151d27; font-size: 12px; line-height: 1.25; font-weight: 900; }
.request-choice-copy small { color: #758091; font-size: 10px; line-height: 1.38; font-weight: 500; }
.request-choice-arrow { color: #1a2636; font-size: 27px; line-height: 1; text-align: right; }
.choice-cancel { width: 100%; min-height: 44px; margin-top: 12px; border: 1px solid rgba(222,227,234,.7); border-radius: 999px; background: #e9edf2; color: #1c2633; font-size: 12px; font-weight: 750; }
.back-to-choices { display: inline-flex; align-items: center; min-height: 32px; padding: 0; margin: 0 0 7px; color: #1769ff; font-size: 12px; font-weight: 800; }
.order-form-view .modal-kicker { margin: 0 0 8px; color: #788392; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.order-form { display: grid; gap: 12px; }
.order-form label { display: grid; gap: 6px; color: #283342; font-size: 11px; font-weight: 800; }
.order-form input:not([type="checkbox"]), .order-form textarea { width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid #dfe5ec; border-radius: 14px; background: rgba(255,255,255,.95); color: #111820; font-size: 14px; outline: none; }
.order-form input:focus, .order-form textarea:focus { border-color: #1769ff; box-shadow: 0 0 0 3px rgba(23,105,255,.10); }
.optional-label { color: #8a94a1; font-size: 10px; font-weight: 500; }
.consent-line { display: grid !important; grid-template-columns: 18px minmax(0,1fr); gap: 9px; color: #6f7a89 !important; font-size: 10px !important; line-height: 1.4; }
.consent-line input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: #1769ff; }
.consent-line small { display: block; margin-top: 4px; font-size: 9px; line-height: 1.4; font-weight: 500; }
.form-footnote { margin: 0; color: #7b8593; font-size: 9px; line-height: 1.45; text-align: center; }
.form-error { margin: 0; padding: 10px; border-radius: 11px; background: #fff0f0; color: #c43030; font-size: 11px; }
.full-width { width: 100%; }

/* Consultant popup is opened only from the visible top help button or service card. */
.chat-panel { position: fixed; z-index: 90; top: calc(76px + env(safe-area-inset-top,0px)); right: max(12px, calc((100vw - 500px)/2 + 12px)); display: flex; flex-direction: column; width: min(400px, calc(100vw - 24px)); height: min(620px, calc(76dvh - env(safe-area-inset-top,0px))); min-height: min(340px, calc(76dvh - env(safe-area-inset-top,0px))); overflow: hidden; border: 1px solid rgba(255,255,255,.88); border-radius: 25px; background: #fff; box-shadow: 0 24px 70px rgba(13,28,49,.24); animation: slideUp .22s ease-out; }
.chat-panel.hidden { display: none !important; }
.chat-header { display: flex; align-items: center; gap: 10px; padding: 14px; background: #111820; color: #fff; }
.chat-avatar { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; background: rgba(255,255,255,.1); }
.chat-avatar svg { width: 20px; height: 20px; }
.chat-title { min-width: 0; }
.chat-title b { display: block; font-size: 12px; }
.chat-title small { color: rgba(255,255,255,.74); font-size: 10px; }
.online-dot { display: inline-block; width: 6px; height: 6px; margin: 0 5px 1px 0; border-radius: 50%; background: #34b66a; box-shadow: 0 0 0 3px rgba(52,182,106,.13); vertical-align: middle; }
.chat-close { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 35px; margin-left: auto; border-radius: 50%; color: #fff; font-size: 22px; }
.chat-messages { display: flex; flex: 1; flex-direction: column; gap: 9px; min-height: 0; padding: 14px; overflow-y: auto; overscroll-behavior: contain; background: #f7f9fc; }
.message { max-width: 86%; padding: 11px 12px; border-radius: 15px; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.assistant-message { align-self: flex-start; border: 1px solid #e8edf4; border-top-left-radius: 4px; background: #fff; }
.user-message { align-self: flex-end; border-top-right-radius: 4px; background: #111820; color: #fff; }
.message small { display: block; margin-top: 7px; opacity: .72; }
.chat-product-list { display: grid; gap: 7px; margin-top: 9px; }
.chat-product { display: flex; align-items: center; gap: 9px; padding: 7px; border-radius: 11px; background: #f2f5f9; text-align: left; }
.chat-product-image { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 8px; background: #e7eff8; object-fit: contain; }
.chat-product > span:last-child { display: grid; min-width: 0; gap: 3px; }
.chat-product b { font-size: 11px; }
.chat-product small { color: #7c8795; font-size: 10px; }
.mini-emoji { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; }
.quick-prompts { display: flex; gap: 7px; padding: 9px 12px; overflow-x: auto; border-top: 1px solid #e9edf3; background: #fff; scrollbar-width: none; }
.quick-prompts::-webkit-scrollbar { display: none; }
.quick-prompts button { flex: 0 0 auto; min-height: 34px; padding: 7px 10px; border-radius: 999px; background: #f0f3f7; color: #303b49; font-size: 10px; font-weight: 650; }
.chat-input-row { display: flex; gap: 8px; padding: 11px; border-top: 1px solid #e9edf3; background: #fff; }
.chat-input-row input { flex: 1; min-width: 0; padding: 12px; border: 1px solid #dfe5ec; border-radius: 13px; outline: none; font-size: 13px; }
.chat-input-row button { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 43px; border-radius: 50%; background: #1769ff; color: #fff; }
.toast { position: fixed; z-index: 140; bottom: calc(78px + env(safe-area-inset-bottom,0px)); left: 50%; width: max-content; max-width: calc(100vw - 28px); padding: 11px 17px; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(16,23,32,.96); color: #fff; box-shadow: 0 8px 28px rgba(13,22,34,.2); font-size: 11px; font-weight: 650; text-align: center; }

.favorites-view { min-height: 65vh; padding: 28px 12px 24px; }
.favorites-page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 0 0 19px; }
.favorites-eyebrow { color: #1769ff; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.favorites-page-heading h2 { margin: 6px 0 7px; color: #111820; font-size: 31px; line-height: 1.05; font-weight: 950; letter-spacing: -.05em; }
.favorites-page-heading p { max-width: 275px; margin: 0; color: #758191; font-size: 11px; line-height: 1.5; }
.favorites-count-label { flex: 0 0 auto; margin-top: 3px; padding: 7px 10px; border: 1px solid #dce7f8; border-radius: 999px; background: #eef4ff; color: #28589d; font-size: 10px; font-weight: 800; white-space: nowrap; }
.favorites-empty-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 18px; background: #eef4ff; color: #1769ff; font-size: 32px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(22px); opacity: .95; } to { transform: translateY(0); opacity: 1; } }

@media (max-width: 420px) {
  .topbar { padding-right: 12px; padding-left: 12px; }
  .top-actions { gap: 6px; }
  .icon-button { width: 37px; height: 37px; flex-basis: 37px; }
  .brand-copy b { font-size: 17px; }
  .brand-copy small { font-size: 6px; letter-spacing: .16em; }
  .hero { height: clamp(248px, 64vw, 270px); margin-right: 10px; margin-left: 10px; border-radius: 25px; }
  .hero-scene { object-position: 100% center; }
  .hero-glass-panel { width: min(65%, 258px); padding: 18px 15px 16px; border-radius: 25px 20px 20px 25px; }
  .category-showcase { padding-top: 7px; }
  .hero h1 { font-size: clamp(27px, 7.6vw, 31px); }
  .hero-lead { font-size: 10px; }
  .category-row { gap: 7px; }
  .category-tile { padding: 6px 6px 7px; border-radius: 16px; }
  .category-tile-image { height: 60px; border-radius: 12px; }
  .category-tile-label b { font-size: 9px; }
  .category-tile-arrow { width: 21px; height: 21px; flex-basis: 21px; }
  .promo-banner { min-height: 78px; margin-bottom: 17px; padding: 11px 13px; border-radius: 18px; }
  .promo-copy h3 { font-size: 12px; }
  .promo-copy p { font-size: 9px; }
  .promo-product { right: 34px; width: 94px; height: 105px; }
  .promo-btn { padding: 0 9px; min-height: 31px; font-size: 9px; }
  .section-heading h2 { font-size: 18px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .product-card { padding: 7px; border-radius: 16px; }
  .product-visual { border-radius: 12px; margin-bottom: 8px; }
  .product-title { font-size: 11px; min-height: 30px; margin-bottom: 7px; }
  .product-price { font-size: 12.5px; }
  .product-brand { font-size: 8px; }
  .product-badge { top: 5px; left: 5px; font-size: 6px; padding: 4px 5px; }
  .heart-toggle { width: 25px; height: 25px; top: 4px; right: 4px; font-size: 14px; }
  .service-grid { gap: 8px; }
  .service-card { padding: 11px 10px 12px; border-radius: 17px; }
  .service-copy h3 { font-size: 10px; }
  .service-copy p { font-size: 8px; }
  .footer { padding: 11px 10px; }
  .footer-link { font-size: 8px; }
  .product-sheet { padding-right: 12px; padding-left: 12px; }
  .product-page-top { margin-right: -12px; margin-left: -12px; padding-right: 12px; padding-left: 12px; }
  .product-detail-visual { height: clamp(245px, 68vw, 290px); }
  .product-detail-name { font-size: 23px; }
  .product-thumbnails { gap: 6px; }
  .product-thumb { border-radius: 11px; }
  .order-sheet { padding-right: 15px; padding-left: 15px; }
  .request-choice { grid-template-columns: 42px minmax(0,1fr) 16px; gap: 10px; min-height: 86px; padding: 11px; border-radius: 20px; }
  .request-choice-icon { width: 42px; height: 42px; }
  .request-choice-copy b { font-size: 11px; }
  .request-choice-copy small { font-size: 9px; }
}
@media (max-width: 350px) {
  .topbar { padding-right: 8px; padding-left: 8px; }
  .top-actions { gap: 4px; }
  .icon-button { width: 33px; height: 33px; flex-basis: 33px; }
  .icon-button svg { width: 16px; height: 16px; }
  .brand-copy b { font-size: 15px; }
  .brand-copy small { display: none; }
  .hero-glass-panel { width: min(76%, 238px); padding: 13px 12px 12px; border-radius: 24px 18px 18px 24px; }
  .category-tile-image { height: 56px; }
  .product-title { font-size: 10.5px; }
  .product-price { font-size: 11.5px; }
  .hero-eyebrow { margin-bottom: 8px; }
  .hero h1 { margin-bottom: 8px; font-size: 27px; }
  .hero-bottom { padding-top: 10px; }
  .category-tile-label b { font-size: 8px; }
  .category-tile-image { height: 64px; }
  .product-price { font-size: 10px; }
  .product-card { padding: 5px; }
  .product-detail-name { font-size: 21px; }
  .request-choice-copy small { font-size: 9px; }
}
@media (min-width: 768px) {
  .app-shell { max-width: 500px; border-left: 1px solid rgba(222,230,239,.6); border-right: 1px solid rgba(222,230,239,.6); }
  .hero { height: 352px; }
  .hero-glass-panel { width: min(63%, 282px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .favorites-view { padding-top: 32px; }
  .product-sheet { width: min(500px,100%); }
  .order-sheet { width: min(500px,100%); }
}
@media (max-height: 620px) {
  .modal-sheet { max-height: 96dvh; }
  .order-sheet { max-height: 95dvh; }
  .product-detail-visual { height: 220px; }
  .chat-panel { height: 70dvh; min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Li:Store v12 responsive polish: product action bar, hero copy, service cards. */
.hero-glass-panel { min-width: 0; }
.hero-eyebrow { max-width: 100%; overflow-wrap: anywhere; }
.hero-lead { width: min(100%, 42vw, 190px); max-width: 190px; overflow-wrap: anywhere; line-height: 1.42; }
.hero h1 { max-width: 100%; overflow-wrap: anywhere; }
.hero-bottom { width: 100%; }
.white-pill { max-width: 100%; white-space: nowrap; }

/* Promo is intentionally informational only; do not reserve space for a removed CTA. */
.promo-copy { max-width: min(72%, 255px); }
.promo-product { right: 12px; width: 112px; opacity: .62; }

/* Bigger, easier-to-read Trade-in and assistance cards. */
.service-grid { gap: 11px; padding: 21px 12px 17px; align-items: stretch; }
.service-card { min-height: 196px; padding: 15px 13px 16px; gap: 12px; border-radius: 21px; }
.service-icon { width: 40px; height: 40px; flex-basis: 40px; }
.service-icon svg { width: 21px; height: 21px; }
.service-copy h3 { margin-bottom: 7px; font-size: 12px; line-height: 1.28; overflow-wrap: anywhere; }
.service-copy p { margin-bottom: 12px; font-size: 10px; line-height: 1.5; }
.inline-arrow { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; max-width: 100%; font-size: 10.5px; line-height: 1.25; white-space: normal; text-align: left; }
.inline-arrow span { flex: 0 0 auto; }

/* Keep product details scrollable while the action button stays in a stable bottom row. */
#productModal .product-sheet { display: flex; flex-direction: column; width: 100%; height: 100dvh; min-height: 0; max-height: 100dvh; padding: 0; overflow: hidden; }
#productModal #modalProductBody { display: flex; flex: 1 1 auto; width: 100%; height: 100%; min-height: 0; flex-direction: column; gap: 0; padding: 0 16px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; box-sizing: border-box; }
#productModal .product-page-top { flex: 0 0 auto; margin: 0 -16px; }
#productModal .product-gallery, #productModal .product-detail-meta { flex: 0 0 auto; min-width: 0; }
#productModal .product-detail-visual { height: clamp(220px, 61dvh, 320px); }
#productModal .detail-actions { position: sticky; z-index: 12; bottom: 0; display: grid; flex: 0 0 auto; grid-template-columns: minmax(0,1fr) 50px; align-items: stretch; gap: 9px; width: auto; min-width: 0; margin: auto -16px 0; padding: 11px 16px calc(11px + env(safe-area-inset-bottom,0px)); border-top: 1px solid rgba(220,228,239,.84); background: rgba(248,250,253,.91); -webkit-backdrop-filter: blur(22px) saturate(1.25); backdrop-filter: blur(22px) saturate(1.25); box-shadow: 0 -8px 22px rgba(26,43,67,.055); }
#productModal .detail-actions .detail-order-button { display: grid; grid-template-columns: minmax(0,1fr) 19px; align-items: center; justify-content: stretch; gap: 7px; width: 100%; min-width: 0; min-height: 50px; height: 50px; margin: 0; padding: 0 13px; border-radius: 17px; background: #101720; text-align: center; white-space: normal; }
#productModal .detail-order-label { display: block; min-width: 0; overflow-wrap: anywhere; font-size: 12px; line-height: 1.15; font-weight: 850; }
#productModal .detail-order-arrow { display: block; flex: 0 0 auto; font-size: 18px; line-height: 1; text-align: right; }
#productModal .detail-actions .detail-fav { display: grid; place-items: center; width: 50px; min-width: 0; min-height: 50px; height: 50px; margin: 0; padding: 0; border-radius: 17px; }
#productModal .product-detail-description, #productModal .feature-accordion { overflow-wrap: anywhere; }

@media (max-width: 420px) {
  .hero { height: clamp(260px, 76vw, 290px); }
  .hero-glass-panel { width: min(68%, 250px); padding: 15px 13px 14px; }
  .hero-eyebrow { margin-bottom: 9px; font-size: 6.5px; letter-spacing: .1em; }
  .hero h1 { margin-bottom: 9px; font-size: clamp(25px, 7.6vw, 30px); }
  .hero-lead { width: min(100%, 42vw, 158px); max-width: 158px; font-size: 10px; line-height: 1.38; }
  .hero-bottom { padding-top: 10px; }
  .service-grid { gap: 9px; padding: 20px 10px 16px; }
  .service-card { min-height: 202px; padding: 13px 10px 14px; gap: 10px; border-radius: 18px; }
  .service-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .service-copy h3 { font-size: 11.5px; }
  .service-copy p { font-size: 9.5px; line-height: 1.46; }
  .inline-arrow { font-size: 10px; }
  .promo-copy { max-width: 62%; }
  .promo-product { right: 2px; width: 98px; }
  #productModal #modalProductBody { padding-right: 12px; padding-left: 12px; }
  #productModal .product-page-top { margin-right: -12px; margin-left: -12px; padding-right: 12px; padding-left: 12px; }
  #productModal .detail-actions { grid-template-columns: minmax(0,1fr) 46px; gap: 8px; margin-right: -12px; margin-left: -12px; padding-right: 12px; padding-left: 12px; }
  #productModal .detail-actions .detail-fav { width: 46px; }
  #productModal .detail-actions .detail-order-button { padding: 0 10px; grid-template-columns: minmax(0,1fr) 16px; }
  #productModal .detail-order-label { font-size: 11.5px; }
  #productModal .product-detail-visual { height: clamp(210px, 53dvh, 280px); }
}
@media (max-width: 350px) {
  .hero { height: 274px; margin-right: 8px; margin-left: 8px; }
  .hero-glass-panel { width: min(72%, 238px); padding-right: 10px; padding-left: 10px; }
  .hero-lead { width: min(100%, 42vw, 136px); max-width: 136px; font-size: 9.5px; }
  .hero h1 { font-size: 26px; }
  .service-card { min-height: 215px; padding-right: 8px; padding-left: 8px; }
  .service-copy h3 { font-size: 10.8px; }
  .service-copy p { font-size: 9px; }
  .inline-arrow { font-size: 9.5px; }
  #productModal .detail-actions { grid-template-columns: minmax(0,1fr) 44px; gap: 7px; }
  #productModal .detail-actions .detail-fav { width: 44px; }
  #productModal .detail-order-label { font-size: 10.7px; }
}
@media (min-width: 768px) {
  #productModal .product-sheet { width: min(500px,100%); margin: 0 auto; }
  #productModal .product-detail-visual { height: clamp(245px, 42dvh, 310px); }
}
@media (max-height: 620px) {
  #productModal .product-detail-visual { height: 190px; }
  #productModal .detail-actions { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom,0px)); }
}


/* Li:Store v13 mobile polish: clearer category tiles, compact services, edge-to-edge product imagery. */
.category-showcase { padding: 8px 12px 0; }
.category-row { gap: 8px; align-items: stretch; }
.category-tile {
  position: relative;
  min-height: 0;
  padding: 6px;
  border: 1px solid rgba(218,226,237,.88);
  border-radius: 19px;
  background: linear-gradient(155deg, rgba(255,255,255,.98), rgba(234,240,248,.94));
  box-shadow: 0 7px 18px rgba(28,48,76,.06), inset 0 1px 0 rgba(255,255,255,.98);
  overflow: hidden;
}
.category-tile.featured, .category-tile.active {
  background: linear-gradient(155deg, rgba(255,255,255,.98), rgba(235,243,255,.96));
  border-color: rgba(175,204,255,.9);
  box-shadow: 0 7px 18px rgba(35,103,211,.08), inset 0 1px 0 #fff;
}
.category-tile-image {
  height: clamp(66px, 19vw, 88px);
  border-radius: 14px;
  background: radial-gradient(ellipse at 50% 40%, #fff 0%, #f4f7fb 55%, #e6edf6 100%);
}
.category-tile-image img { width: 100%; height: 100%; object-fit: contain; padding: 0; mix-blend-mode: multiply; transform: scale(1.05); }
.category-tile-label { margin-top: 6px; gap: 3px; min-height: 21px; }
.category-tile-label b { font-size: clamp(8.7px, 2.4vw, 10px); line-height: 1.16; letter-spacing: -.025em; text-overflow: clip; }
.category-tile-arrow { width: 20px; height: 20px; flex-basis: 20px; font-size: 12px; box-shadow: 0 2px 5px rgba(20,38,62,.06); }

/* The home services are compact: less blank space, cleaner hierarchy and stable action alignment. */
.service-grid { gap: 9px; padding: 12px 12px 7px; align-items: stretch; }
.service-card {
  min-height: 0;
  padding: 12px 11px 11px;
  gap: 8px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(244,247,251,.68));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 4px 12px rgba(25,43,69,.035);
}
.service-icon { width: 33px; height: 33px; flex-basis: 33px; }
.service-icon svg { width: 18px; height: 18px; }
.service-copy { display: flex; min-height: 0; flex-direction: column; align-items: flex-start; }
.service-copy h3 { margin: 0 0 5px; font-size: clamp(10.6px, 2.8vw, 12px); line-height: 1.22; letter-spacing: -.025em; }
.service-copy p { margin: 0 0 7px; font-size: clamp(9px, 2.35vw, 10px); line-height: 1.42; }
.service-copy .inline-arrow { margin-top: auto; min-height: 24px; font-size: 10px; line-height: 1.2; }

/* Product gallery reaches both edges of the screen; keep the whole device visible without cropping. */
#productModal .product-gallery { width: 100%; min-width: 0; padding-top: 0; }
#productModal .product-detail-visual {
  width: calc(100% + 32px);
  height: clamp(285px, 48dvh, 390px);
  margin: 0 -16px 10px;
  border: 0;
  border-radius: 0 0 25px 25px;
  background: linear-gradient(155deg, #f7f9fc 0%, #edf2f8 100%);
  box-shadow: 0 10px 24px rgba(31,51,78,.055);
}
#productModal .product-detail-photo { width: 100%; height: 100%; padding: 0; object-fit: contain; mix-blend-mode: multiply; }
#productModal .product-detail-stock { top: 13px; left: 13px; }
#productModal .product-thumbnails { padding: 0 1px; gap: 7px; margin-bottom: 14px; }
#productModal .product-thumb { border-radius: 13px; aspect-ratio: 1 / .72; }

@media (max-width: 420px) {
  .category-showcase { padding: 7px 10px 0; }
  .category-row { gap: 7px; }
  .category-tile { padding: 5px; border-radius: 17px; }
  .category-tile-image { height: clamp(62px, 18vw, 76px); border-radius: 12px; }
  .category-tile-label { margin-top: 5px; }
  .category-tile-label b { font-size: clamp(8.2px, 2.35vw, 9.5px); }
  .category-tile-arrow { width: 18px; height: 18px; flex-basis: 18px; font-size: 11px; }
  .service-grid { gap: 8px; padding: 10px 10px 5px; }
  .service-card { padding: 10px 9px 9px; gap: 7px; border-radius: 16px; }
  .service-icon { width: 30px; height: 30px; flex-basis: 30px; }
  .service-copy p { margin-bottom: 5px; }
  .service-copy .inline-arrow { min-height: 22px; font-size: 9.5px; }
  #productModal .product-detail-visual { width: calc(100% + 24px); height: clamp(270px, 46dvh, 350px); margin-right: -12px; margin-left: -12px; border-radius: 0 0 22px 22px; }
  #productModal .product-thumbnails { gap: 6px; margin-bottom: 12px; }
}
@media (max-width: 350px) {
  .category-row { gap: 6px; }
  .category-tile { padding: 4px; border-radius: 15px; }
  .category-tile-image { height: 59px; border-radius: 11px; }
  .category-tile-label { gap: 2px; }
  .category-tile-label b { font-size: 8px; }
  .category-tile-arrow { width: 17px; height: 17px; flex-basis: 17px; }
  .service-grid { padding-right: 8px; padding-left: 8px; gap: 7px; }
  .service-card { padding: 9px 8px; }
  .service-copy h3 { font-size: 10px; }
  .service-copy p { font-size: 8.8px; }
  #productModal .product-detail-visual { width: calc(100% + 24px); height: 265px; }
}
@media (max-height: 620px) {
  #productModal .product-detail-visual { height: min(42dvh, 255px); }
}


/* Li:Store v15 — lightweight category filter pills above the product catalog. */
.section-heading { align-items: center; }
.sort-control { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.sort-control-label { color: #8290a1; font-size: 9px; font-weight: 700; white-space: nowrap; }
.sort-select { max-width: 116px; min-width: 0; min-height: 31px; padding: 0 22px 0 9px; border: 1px solid rgba(220,227,237,.95); border-radius: 999px; appearance: none; -webkit-appearance: none; color: #263448; background: rgba(255,255,255,.82); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%2359687a' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 7px center; font: inherit; font-size: 10px; font-weight: 800; }
@media (max-width: 370px) {
  .promo-banner { min-height: 112px; padding: 11px 10px; }
  .promo-copy { max-width: 76%; }
  .promo-copy h3 { font-size: 14px; }
  .promo-copy p { font-size: 9px; margin-bottom: 6px; }
  .promo-product { right: -7px; width: 37%; height: 103px; opacity: .78; }
  .promo-copy-label { font-size: 8px; }
  .sort-control-label { display: none; }
  .sort-select { max-width: 105px; font-size: 9px; }
}
@media (min-width: 600px) {
  .promo-banner { min-height: 126px; padding: 16px 20px; }
  .promo-copy { max-width: 65%; }
  .promo-copy h3 { font-size: 19px; }
  .promo-product { width: 31%; height: 134px; right: 18px; bottom: -7px; }
}

/* Li:Store v17 — cart and order-request flow */
.product-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-width: 0; margin-top: auto; }
.product-add-cart { display: grid; place-items: center; width: 36px; height: 34px; flex: 0 0 36px; padding: 0; border: 1px solid #dce6f3; border-radius: 12px; background: #f2f6fc; color: #1769ff; }
.product-add-cart svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.product-add-cart:active, .detail-cart-button:active { transform: scale(.98); }
.nav-cart-icon { position: relative; }
.nav-count {
  position: absolute;
  top: -4px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border: 1.5px solid rgba(255,255,255,.95);
  border-radius: 999px;
  background: #1769ff;
  color: #fff;
  font-size: 8px;
  line-height: 1;
  font-weight: 900;
}
.cart-view { min-height: 65vh; padding: 28px 12px 24px; }
.cart-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 17px; }
.cart-page-heading h2 { margin: 3px 0 5px; color: #111820; font-size: 25px; line-height: 1.08; font-weight: 950; letter-spacing: -.045em; }
.cart-page-heading p { max-width: 245px; margin: 0; color: #788392; font-size: 11px; line-height: 1.45; }
.cart-items { display: grid; gap: 10px; }
.cart-item { display: flex; align-items: flex-start; gap: 11px; min-width: 0; padding: 10px; border: 1px solid rgba(224,230,237,.9); border-radius: 17px; background: rgba(255,255,255,.92); box-shadow: 0 6px 18px rgba(30,48,72,.045), inset 0 1px 0 #fff; }
.cart-item-image { display: grid; place-items: center; width: 82px; height: 88px; flex: 0 0 82px; overflow: hidden; border-radius: 12px; background: linear-gradient(145deg,#f4f7fb,#e3edf8); color: #8290a1; font-size: 25px; }
.cart-item-image img { width: 100%; height: 100%; object-fit: contain; padding: 5px; mix-blend-mode: multiply; }
.cart-item-main { display: grid; flex: 1; min-width: 0; gap: 5px; }
.cart-item-main > b { color: #111820; font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
.cart-item-price { color: #7b8795; font-size: 9px; }
.cart-item-controls { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-top: 3px; }
.quantity-control { display: inline-flex; align-items: center; gap: 10px; min-height: 30px; padding: 2px 6px; border: 1px solid #e1e7ef; border-radius: 999px; background: #f7f9fc; }
.quantity-control button { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #172234; font-size: 15px; font-weight: 800; }
.quantity-control strong { min-width: 12px; color: #182334; font-size: 10px; text-align: center; }
.cart-line-total { color: #111820; font-size: 11px; font-weight: 950; text-align: right; }
.cart-remove { justify-self: start; padding: 1px 0; color: #8a94a1; font-size: 9px; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.cart-summary { margin-top: 14px; padding: 15px; border: 1px solid rgba(220,228,239,.95); border-radius: 19px; background: linear-gradient(145deg,rgba(255,255,255,.98),rgba(240,245,251,.92)); box-shadow: inset 0 1px 0 #fff; }
.cart-summary-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #677486; font-size: 11px; }
.cart-summary-row strong { color: #111820; font-size: 18px; font-weight: 950; }
.cart-summary > p { margin: 7px 0 13px; color: #7a8593; font-size: 9px; line-height: 1.45; }
.detail-actions { grid-template-columns: minmax(0,1fr) minmax(0,1fr) 54px; }
.detail-cart-button { display: grid; place-items: center; width: 50px; min-width: 0; min-height: 50px; padding: 0; border: 1px solid #dce6f3; border-radius: 16px; background: #fff; color: #1769ff; }
.detail-cart-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-fulfillment-fields { display: grid; gap: 11px; padding: 12px; border: 1px solid #e0e7f0; border-radius: 15px; background: #f3f6fa; }
.order-form select { width: 100%; min-height: 44px; padding: 0 13px; border: 1px solid #dfe5ec; border-radius: 14px; background: #fff; color: #111820; font-size: 13px; }
.cart-no-payment-note { margin: 0; color: #778394; font-size: 9px; line-height: 1.45; }
@media (max-width: 370px) {
  .bottom-nav { width: calc(100% - 16px); padding-right: 4px; padding-left: 4px; }
  .nav-item small { font-size: 7.5px; }
  .cart-item-image { width: 68px; height: 78px; flex-basis: 68px; }
  .cart-line-total { font-size: 10px; }
  .quantity-control { gap: 7px; }
  .detail-actions { grid-template-columns: minmax(0,1fr) minmax(0,1fr) 44px; gap: 6px; }
  .detail-cart-button { width: 44px; }
}


/* Personal account and order history */
.account-view { min-height: 65vh; padding: 28px 12px 24px; }
.account-refresh-button { display: grid; place-items: center; width: 37px; height: 37px; flex: 0 0 37px; margin-top: 2px; border: 1px solid #dce7f8; border-radius: 50%; background: #fff; color: #1769ff; font-size: 22px; line-height: 1; }
.account-message { margin: 12px 0; padding: 20px 16px; border: 1px solid #e0e7f0; border-radius: 18px; background: rgba(255,255,255,.82); color: #687486; font-size: 12px; text-align: center; }
.account-message h3 { margin: 8px 0 6px; color: #111820; font-size: 16px; }
.account-message p { max-width: 280px; margin: 0 auto 14px; line-height: 1.5; }
.account-error { border-color: #f0d5d5; color: #9d3838; background: #fff7f7; }
.account-profile-card { display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid rgba(220,228,239,.95); border-radius: 19px; background: linear-gradient(145deg,rgba(255,255,255,.98),rgba(240,245,251,.92)); box-shadow: inset 0 1px 0 #fff; }
.account-avatar { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 16px; background: #101722; color: #fff; font-size: 19px; font-weight: 900; }
.account-profile-copy { display: grid; min-width: 0; gap: 3px; }
.account-profile-copy strong { color: #111820; font-size: 14px; overflow-wrap: anywhere; }
.account-profile-copy span { color: #1769ff; font-size: 11px; font-weight: 750; }
.account-profile-copy small { color: #8792a0; font-size: 9px; }
.account-orders-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 23px 0 12px; }
.account-orders-heading h3 { margin: 4px 0 0; color: #111820; font-size: 19px; font-weight: 900; letter-spacing: -.035em; }
.account-orders { display: grid; gap: 10px; }
.account-order-card { padding: 14px; border: 1px solid #e0e7f0; border-radius: 17px; background: rgba(255,255,255,.92); box-shadow: 0 5px 16px rgba(23,40,65,.035); }
.account-order-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.account-order-top > div { display: grid; gap: 3px; }
.account-order-number { color: #111820; font-size: 11px; font-weight: 900; }
.account-order-top small { color: #8792a0; font-size: 9px; }
.account-status { display: inline-flex; align-items: center; justify-content: center; min-height: 23px; padding: 4px 8px; border-radius: 999px; font-size: 8px; line-height: 1.2; font-weight: 850; text-align: center; }
.status-new { background: #edf3ff; color: #285da8; }
.status-progress { background: #fff4df; color: #97600b; }
.status-ready { background: #e9f7f0; color: #26764d; }
.status-complete { background: #e8f6ed; color: #237044; }
.status-canceled { background: #fff0f0; color: #a43b3b; }
.status-neutral { background: #f0f2f5; color: #687486; }
.account-order-title { display: block; margin: 11px 0 9px; color: #354153; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.account-order-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 9px; border-top: 1px solid #edf0f4; }
.account-order-bottom > span { color: #111820; font-size: 12px; font-weight: 900; }
.account-detail-button { padding: 4px 0 4px 8px; color: #1769ff; font-size: 10px; font-weight: 850; }
.account-detail-button span { font-size: 14px; }
.account-order-detail { display: grid; gap: 9px; margin-top: 12px; padding-top: 11px; border-top: 1px solid #edf0f4; }
.account-detail-loading, .account-detail-error { color: #768292; font-size: 10px; }
.account-detail-error { color: #a43b3b; }
.account-detail-status, .account-detail-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; color: #7a8593; font-size: 9px; }
.account-detail-status b, .account-detail-line b { color: #344154; font-size: 9px; text-align: right; overflow-wrap: anywhere; }
.account-detail-items { display: grid; gap: 7px; padding: 10px; border-radius: 12px; background: #f5f7fa; }
.account-detail-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; color: #3a4656; font-size: 9px; line-height: 1.4; }
.account-detail-item b { flex: 0 0 auto; color: #111820; font-size: 9px; }
.account-detail-comment { padding: 9px 10px; border-radius: 11px; background: #f7f9fc; }
.account-detail-comment span { color: #8993a0; font-size: 8px; font-weight: 800; }
.account-detail-comment p { margin: 4px 0 0; color: #455163; font-size: 9px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.account-detail-note, .account-history-note { margin: 0; color: #8993a0; font-size: 8px; line-height: 1.45; }
.account-history-note { margin: 10px 2px 0; }
@media (max-width: 420px) {
  .topbar { gap: 7px; }
  .top-actions { gap: 5px; }
  .icon-button { width: 36px; height: 36px; flex-basis: 36px; }
  .icon-button svg { width: 17px; height: 17px; }
}
@media (max-width: 350px) {
  .top-actions { gap: 4px; }
  .icon-button { width: 33px; height: 33px; flex-basis: 33px; }
  .topbar { padding-right: 9px; padding-left: 9px; }
}


.catalog-result-count { display: block; margin-top: 3px; color: #8793a2; font-size: 9px; font-weight: 650; }

/* Li:Store v20 — compact product page, real gallery support and similar products. */
#productModal .detail-actions { grid-template-columns: minmax(0,1fr) 48px 48px; gap: 8px; }
#productModal .detail-actions .detail-cart-button,
#productModal .detail-actions .detail-fav { width: 48px; min-width: 48px; height: 50px; min-height: 50px; }
#productModal .product-detail-visual { height: clamp(230px, 48dvh, 390px); }
#productModal .product-detail-photo { padding: clamp(12px, 4vw, 28px); }
#productModal .product-gallery { min-width: 0; }
#productModal .product-thumbnails { display: flex; gap: 8px; max-width: 100%; margin: 0 0 16px; padding: 1px 2px 5px; overflow-x: auto; overscroll-behavior-x: contain; }
#productModal .product-thumb { flex: 0 0 64px; width: 64px; height: 54px; aspect-ratio: auto; }
#productModal .product-gallery-controls { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 3px 6px; border: 1px solid rgba(255,255,255,.75); border-radius: 999px; background: rgba(255,255,255,.88); color: #263448; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
#productModal .product-gallery-controls button { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #182333; font-size: 21px; line-height: 1; }
#productModal .product-gallery-controls span { min-width: 34px; color: #667486; font-size: 9px; font-weight: 800; text-align: center; }
.product-specs-section { margin: 15px 0 20px; padding: 14px; border: 1px solid rgba(220,228,239,.94); border-radius: 17px; background: rgba(255,255,255,.82); box-shadow: 0 5px 16px rgba(23,40,65,.035); }
.product-info-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.product-info-heading h3 { margin: 0; color: #121820; font-size: 15px; font-weight: 900; letter-spacing: -.025em; }
.product-info-heading span { color: #8a95a3; font-size: 9px; white-space: nowrap; }
.product-specs-list { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }
.product-spec-row { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid #edf1f5; font-size: 10px; line-height: 1.4; }
.product-spec-row:last-child { border-bottom: 0; }
.product-spec-row dt { min-width: 0; color: #8490a0; overflow-wrap: anywhere; }
.product-spec-row dd { min-width: 0; margin: 0; color: #263448; font-weight: 800; text-align: right; overflow-wrap: anywhere; }
.product-specs-note { margin: 9px 0 0; padding: 9px 10px; border-radius: 10px; background: #f4f7fb; color: #788596; font-size: 9px; line-height: 1.45; }
.similar-section { min-width: 0; margin: 4px 0 20px; }
.similar-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin: 0 0 10px; }
.similar-section-heading > div > span { color: #1769ff; font-size: 7px; font-weight: 900; letter-spacing: .13em; }
.similar-section-heading h3 { margin: 3px 0 0; color: #121820; font-size: 17px; font-weight: 950; letter-spacing: -.035em; }
.similar-section-heading small { color: #8994a2; font-size: 9px; text-align: right; }
.similar-products-scroll { display: grid; grid-auto-columns: minmax(116px, 138px); grid-auto-flow: column; gap: 9px; padding: 1px 1px 7px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; }
.similar-product-card { display: flex; min-width: 0; flex-direction: column; gap: 5px; padding: 8px; border: 1px solid #e3e9f1; border-radius: 14px; background: #fff; text-align: left; scroll-snap-align: start; }
.similar-product-image { display: grid; place-items: center; height: 96px; overflow: hidden; border-radius: 10px; background: #f3f6fa; color: #8390a0; font-size: 23px; }
.similar-product-image img { width: 100%; height: 100%; padding: 5px; object-fit: contain; mix-blend-mode: multiply; }
.similar-product-brand { color: #8792a0; font-size: 8px; }
.similar-product-card b { display: -webkit-box; min-height: 30px; overflow: hidden; color: #253246; font-size: 9px; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.similar-product-card strong { margin-top: auto; color: #111820; font-size: 10px; }
@media (max-width: 420px) {
  #productModal .detail-actions { grid-template-columns: minmax(0,1fr) 46px 46px; gap: 7px; }
  #productModal .detail-actions .detail-cart-button,
  #productModal .detail-actions .detail-fav { width: 46px; min-width: 46px; }
  #productModal .product-detail-visual { height: clamp(220px, 43dvh, 330px); }
  .product-specs-section { padding: 12px; }
  .similar-products-scroll { grid-auto-columns: 122px; }
}
@media (max-width: 350px) {
  #productModal .detail-actions { grid-template-columns: minmax(0,1fr) 42px 42px; gap: 6px; }
  #productModal .detail-actions .detail-cart-button,
  #productModal .detail-actions .detail-fav { width: 42px; min-width: 42px; }
  #productModal .detail-order-label { font-size: 10px; }
  .product-spec-row { grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: 7px; font-size: 9px; }
}


/* Li:Store v21 — restored welcome and promotion design from v19. */
.catalog-section { padding: 12px 12px 0; }
.welcome-header {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 112px;
  margin: 0 0 11px;
  padding: 14px 13px 13px 15px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 22px;
  background: linear-gradient(120deg,rgba(255,255,255,.96) 0%,rgba(245,249,255,.96) 53%,rgba(230,240,255,.9) 100%);
  box-shadow: 0 8px 21px rgba(29,51,80,.045), inset 0 1px 0 #fff;
}
.welcome-copy { position: relative; z-index: 1; min-width: 0; flex: 1 1 auto; }
.welcome-greeting-line { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; }
.greeting-text { display: block; margin: 0; color: #1769ff; font-size: 10px; line-height: 1.3; font-weight: 900; letter-spacing: .015em; }
.welcome-header h2 { margin: 0; color: #111820; font-size: clamp(21px,5.6vw,25px); line-height: 1.02; font-weight: 950; letter-spacing: -.05em; }
.welcome-subtitle { margin: 6px 0 0; color: #7a8798; font-size: 10px; line-height: 1.35; font-weight: 600; }
.welcome-all-link { position: relative; z-index: 2; flex: 0 0 auto; min-height: 34px; margin: 0 0 0 4px; padding: 0 10px; border: 1px solid rgba(255,255,255,.94); border-radius: 999px; background: rgba(255,255,255,.74); box-shadow: 0 4px 11px rgba(28,51,85,.05); color: #1769ff; font-size: 10px; font-weight: 900; }
.welcome-all-link span { font-size: 14px; }

.promo-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 118px;
  margin: 0 0 11px;
  padding: 13px 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 21px;
  background: radial-gradient(circle at 92% 12%, rgba(65,142,255,.28), transparent 35%), linear-gradient(118deg,#0c1119 0%,#111b29 51%,#172a40 100%);
  box-shadow: 0 12px 27px rgba(17,32,54,.13), inset 0 1px 0 rgba(255,255,255,.11);
  color: #fff;
}
.promo-copy { position: relative; z-index: 2; width: 100%; max-width: 72%; min-width: 0; }
.promo-topline { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.promo-badge { display: inline-flex; align-items: center; min-height: 20px; margin: 0; padding: 3px 9px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: linear-gradient(135deg,#176dff,#49a0ff); box-shadow: 0 3px 12px rgba(38,123,255,.26); color: #fff; font-size: 10px; font-weight: 900; }
.promo-kicker { color: rgba(230,239,251,.7); font-size: 8px; font-weight: 850; letter-spacing: .12em; }
.promo-copy h3 { margin: 0 0 3px; color: #fff; font-size: 16px; line-height: 1.14; font-weight: 850; letter-spacing: -.035em; }
.promo-copy p { margin: 0 0 8px; color: rgba(238,245,255,.73); font-size: 10px; line-height: 1.3; }
.promo-copy b { color: #fff; }
.promo-code-button { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 3px 5px 3px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.11); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); font-size: 9px; font-weight: 800; }
.promo-code-value { padding: 4px 7px; border-radius: 7px; background: rgba(255,255,255,.96); color: #152236; font-size: 10px; font-weight: 950; letter-spacing: .08em; }
.promo-copy-label { color: rgba(255,255,255,.9); white-space: nowrap; }
.promo-copy-label b { margin-left: 2px; font-size: 12px; }
.promo-product { position: absolute; z-index: 1; right: 2px; bottom: -8px; width: 39%; height: 112px; opacity: .86; object-fit: contain; filter: drop-shadow(0 9px 14px rgba(0,0,0,.22)) contrast(1.06); pointer-events: none; }
.promo-decor { position: absolute; z-index: 0; top: -55px; right: -48px; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle at 40% 45%,rgba(130,177,235,.22),rgba(61,87,114,.045) 60%,transparent 74%); pointer-events: none; }

/* Reviews */
.product-reviews-section { min-width: 0; margin: 2px 0 20px; padding: 15px 14px; border: 1px solid rgba(220,228,239,.92); border-radius: 18px; background: rgba(255,255,255,.84); box-shadow: 0 5px 16px rgba(23,40,65,.035); }
.reviews-heading { align-items: center; margin-bottom: 12px; }
.reviews-eyebrow { display: block; margin-bottom: 3px; color: #1769ff; font-size: 7px; font-weight: 900; letter-spacing: .13em; }
.reviews-heading h3 { margin: 0; color: #121820; font-size: 17px; font-weight: 950; letter-spacing: -.035em; }
.reviews-average { display: grid; justify-items: end; gap: 1px; }
.reviews-average strong { color: #101720; font-size: 18px; line-height: 1; font-weight: 950; }
.reviews-average strong span { color: #f2a900; }
.reviews-average small { color: #8994a2; font-size: 8px; }
.product-reviews-list { display: grid; gap: 9px; }
.product-review-card { padding: 11px 0; border-top: 1px solid #edf1f5; }
.review-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.review-card-top > div { display: grid; gap: 2px; }
.review-card-top b { color: #273448; font-size: 10px; }
.review-card-top span:not(.review-stars) { color: #98a1ad; font-size: 8px; }
.review-stars { color: #f2a900; font-size: 12px; letter-spacing: .05em; white-space: nowrap; }
.product-review-card p { margin: 7px 0 0; color: #536173; font-size: 10px; line-height: 1.55; overflow-wrap: anywhere; }
.review-photo-row { display: flex; gap: 7px; margin-top: 9px; overflow-x: auto; }
.review-photo-row img { width: 68px; height: 68px; border-radius: 10px; object-fit: cover; background: #f2f5f9; }
.reviews-empty, .reviews-loading { display: grid; gap: 4px; padding: 14px 3px; color: #8a95a3; font-size: 9px; }
.reviews-empty b { color: #364458; font-size: 11px; }
.product-review-form { display: grid; gap: 9px; margin-top: 12px; padding: 13px; border: 1px solid #e4ebf4; border-radius: 14px; background: #f8fafd; }
.review-form-heading { display: grid; gap: 2px; }
.review-form-heading b { color: #253246; font-size: 11px; }
.review-form-heading span, .review-form-note, .review-upload-hint, .review-access-note { color: #8894a4; font-size: 9px; line-height: 1.45; }
.product-review-form label, .tradein-form label:not(.consent-line) { display: grid; gap: 5px; color: #647286; font-size: 9px; font-weight: 800; }
.product-review-form select, .product-review-form textarea, .product-review-form input[type=file], .tradein-form input:not([type=checkbox]), .tradein-form select, .tradein-form textarea { width: 100%; min-width: 0; min-height: 39px; padding: 9px 11px; border: 1px solid #dfe7f1; border-radius: 11px; outline: 0; background: #fff; color: #263448; font: inherit; font-size: 11px; }
.product-review-form textarea, .tradein-form textarea { min-height: 70px; resize: vertical; }
.product-review-form input[type=file], .tradein-form input[type=file] { padding: 8px; }
.product-review-form input:focus, .product-review-form textarea:focus, .product-review-form select:focus, .tradein-form input:focus, .tradein-form textarea:focus, .tradein-form select:focus { border-color: #91b9f7; box-shadow: 0 0 0 3px rgba(23,105,255,.08); }
.review-form-note { margin: 0; }
.review-access-note { margin: 12px 0 0; padding: 10px 11px; border-radius: 10px; background: #f5f8fc; }

/* Trade-in request */
.tradein-sheet { width: min(100%, 520px); max-height: min(94dvh, 900px); padding: 24px 18px calc(20px + env(safe-area-inset-bottom,0px)); border-radius: 26px 26px 0 0; }
.tradein-heading { padding: 0 36px 14px 0; }
.tradein-heading h2 { margin: 5px 0 6px; color: #111820; font-size: 23px; line-height: 1.1; font-weight: 950; letter-spacing: -.04em; }
.tradein-heading p { margin: 0; color: #7d8999; font-size: 10px; line-height: 1.5; }
.tradein-form { display: grid; gap: 11px; }
.tradein-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.tradein-full { grid-column: 1 / -1; }
.tradein-damage-toggle { display: flex; align-items: center; gap: 8px; padding: 10px 11px; border: 1px solid #e2e9f2; border-radius: 11px; background: #f8fafd; color: #5c697b; font-size: 10px; font-weight: 750; }
.tradein-damage-toggle input { width: 16px; height: 16px; accent-color: #1769ff; }
.upload-photo-names { min-height: 18px; margin-top: -7px; color: #8b96a4; font-size: 9px; overflow-wrap: anywhere; }
.tradein-footnote { margin: -2px 0 0; color: #8793a2; font-size: 9px; line-height: 1.45; }

@media (max-width: 420px) {
  .welcome-header { min-height: 104px; padding: 12px 11px 11px 13px; border-radius: 20px; }
  .welcome-greeting-line { margin-bottom: 7px; }
  .welcome-header h2 { font-size: clamp(19px,5.8vw,23px); }
  .welcome-subtitle { font-size: 9.5px; }
  .welcome-all-link { min-height: 31px; padding: 0 8px; }
  .promo-banner { min-height: 112px; padding: 11px 10px; }
  .promo-copy { max-width: 76%; }
  .promo-copy h3 { font-size: 14px; }
  .promo-copy p { margin-bottom: 6px; font-size: 9px; }
  .promo-product { right: -7px; width: 37%; height: 103px; opacity: .78; }
  .promo-copy-label { font-size: 8px; }
  .tradein-sheet { padding-right: 13px; padding-left: 13px; }
  .tradein-heading h2 { font-size: 21px; }
  .tradein-form-grid { gap: 8px; }
}
@media (max-width: 350px) {
  .welcome-header { min-height: 100px; padding-right: 8px; padding-left: 10px; }
  .welcome-header h2 { font-size: 19px; }
  .welcome-all-link { gap: 3px; padding: 0 6px; font-size: 9px; }
  .welcome-subtitle { font-size: 9px; }
  .tradein-form-grid { grid-template-columns: 1fr; }
  .tradein-full { grid-column: auto; }
  .product-reviews-section { padding: 12px 10px; }
}
@media (min-width: 600px) {
  .promo-banner { min-height: 126px; padding: 16px 20px; }
  .promo-copy { max-width: 65%; }
  .promo-copy h3 { font-size: 19px; }
  .promo-product { width: 31%; height: 134px; right: 18px; bottom: -7px; }
}



/* Li:Store v21 polish — clearer product cards and stable mobile controls. */
.product-card { min-height: 100%; }
.product-visual { aspect-ratio: 1 / .98; }
.product-photo { padding: 5%; }
.product-brand { font-size: 9.5px; }
.product-title { font-size: 12px; line-height: 1.36; }
.product-add-cart { min-width: 38px; min-height: 38px; border-radius: 13px; box-shadow: 0 3px 9px rgba(23,105,255,.07); }
.product-add-cart:focus-visible, .heart-toggle:focus-visible, .text-link:focus-visible { outline: 3px solid rgba(23,105,255,.25); outline-offset: 2px; }
.search-wrap:focus-within { border-color: rgba(23,105,255,.45); box-shadow: 0 0 0 3px rgba(23,105,255,.07), inset 0 1px 0 rgba(255,255,255,.9); }
.sort-select { min-height: 36px; }
.tradein-sheet { overflow-x: hidden; }
.tradein-form, .tradein-form-grid, .tradein-form label { min-width: 0; }
.tradein-form input, .tradein-form textarea, .tradein-form select { max-width: 100%; }
@media (hover:hover) and (pointer:fine) {
  .product-card:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(30,48,72,.09), inset 0 1px 0 rgba(255,255,255,.95); }
  .product-add-cart:hover { background: #e8f1ff; border-color: #bfd5fb; }
}


/* v23: administrator-only entry and embedded management workspace */
.admin-access-card { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:14px; padding:16px; border:1px solid rgba(69,99,214,.18); border-radius:18px; background:linear-gradient(130deg,#17213a 0%,#263f84 100%); color:#fff; box-shadow:0 10px 26px rgba(25,45,100,.12); }
.admin-access-copy { display:grid; gap:4px; min-width:0; }
.admin-access-eyebrow { color:#a9baff; font-size:8px; font-weight:850; letter-spacing:.15em; }
.admin-access-copy strong { font-size:13px; font-weight:900; }
.admin-access-copy small { color:#d0d9f6; font-size:9px; line-height:1.4; }
.admin-access-button { display:inline-flex; align-items:center; gap:8px; flex:0 0 auto; min-height:38px; padding:0 12px; border:0; border-radius:12px; background:#fff; color:#1d367e; font-size:10px; font-weight:850; }
.admin-access-button span { font-size:15px; }
.admin-view { min-height:100dvh; background:#f5f6f9; }
.admin-embed-toolbar { display:flex; align-items:center; gap:12px; height:54px; padding:0 14px; background:#fff; border-bottom:1px solid #e7eaf0; }
.admin-embed-toolbar>button { width:34px; height:34px; border:1px solid #e2e7ef; border-radius:11px; background:#f8faff; color:#24385f; font-size:19px; }
.admin-embed-toolbar>div { display:grid; gap:2px; min-width:0; }
.admin-embed-toolbar strong { color:#16213a; font-size:12px; }
.admin-embed-toolbar span { color:#8791a3; font-size:9px; }
.admin-embed-toolbar .admin-secure-label { margin-left:auto; color:#16875d; font-size:8px; font-weight:850; letter-spacing:.1em; }
#adminFrame { display:block; width:100%; height:calc(100dvh - 54px); border:0; background:#f5f6f9; }
.app-shell.admin-mode { width:100%; max-width:none; min-height:100dvh; padding:0; border:0; background:#f5f6f9; }
.app-shell.admin-mode>.topbar,.app-shell.admin-mode>.bottom-nav { display:none!important; }
.app-shell.admin-mode>#mainContent { min-height:100dvh; }
.app-shell.admin-mode .admin-view { display:block; }
@media(max-width:420px) { .admin-access-card { align-items:flex-start; flex-direction:column; } .admin-access-button { width:100%; justify-content:center; } .admin-embed-toolbar { padding:0 10px; } }


/* Li:Store v26 — cleaner promotion, no unknown-stock badges, responsive sheets. */
.product-badge:empty, .product-detail-stock:empty { display:none !important; }
.promo-banner-v26 {
  min-height: 142px;
  padding: 18px 20px;
  gap: 12px;
  border: 1px solid rgba(121,160,210,.2);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 92% 10%, rgba(77,139,230,.28), transparent 38%),
    linear-gradient(118deg,#101722 0%,#142337 56%,#1b3450 100%);
  box-shadow: 0 13px 30px rgba(17,32,54,.14), inset 0 1px 0 rgba(255,255,255,.1);
}
.promo-banner-v26 .promo-discount-mark {
  position:relative; z-index:2; display:grid; place-items:center; flex:0 0 72px; width:72px; height:72px;
  border:1px solid rgba(255,255,255,.2); border-radius:22px;
  background:linear-gradient(145deg,#438cff,#1769ff 70%,#1555cc); color:#fff;
  font-size:22px; line-height:1; font-weight:950; letter-spacing:-.06em;
  box-shadow:0 10px 24px rgba(23,105,255,.26),inset 0 1px 0 rgba(255,255,255,.25);
}
.promo-banner-v26 .promo-copy { max-width: min(58%,360px); flex:1 1 auto; }
.promo-banner-v26 .promo-kicker { display:block; margin-bottom:6px; color:#9fb5d2; font-size:8px; letter-spacing:.14em; }
.promo-banner-v26 .promo-copy h3 { margin:0 0 4px; font-size:17px; line-height:1.16; letter-spacing:-.035em; }
.promo-banner-v26 .promo-copy p { margin:0 0 9px; color:rgba(235,243,255,.7); font-size:10px; }
.promo-banner-v26 .promo-code-button {
  min-height:32px; gap:9px; padding:3px 8px 3px 10px; border:1px solid rgba(255,255,255,.2);
  border-radius:11px; background:rgba(255,255,255,.09); box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
}
.promo-banner-v26 .promo-code-caption { color:rgba(229,238,250,.62); font-size:7px; font-weight:850; letter-spacing:.1em; }
.promo-banner-v26 .promo-code-value { padding:4px 7px; border-radius:7px; background:#fff; color:#142236; font-size:11px; letter-spacing:.12em; }
.promo-banner-v26 .promo-copy-icon { display:grid; place-items:center; width:22px; height:22px; border-radius:7px; background:rgba(255,255,255,.13); color:#fff; }
.promo-banner-v26 .promo-copy-icon svg { width:13px; height:13px; stroke-width:1.8; }
.promo-banner-v26 .promo-product { right:4px; bottom:-9px; width:30%; height:128px; opacity:.88; }
.promo-banner-v26 .promo-decor { width:240px; height:240px; top:-70px; right:-70px; }

/* Unknown inventory is deliberately not a badge in catalog cards or product details. */
.product-card .product-badge { font-size:8px; padding:5px 8px; }
.product-detail-stock { font-size:9px; }

/* Shared form controls for all customer-facing modal sheets. */
.modal-backdrop { padding: max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom)); align-items:center; }
.modal-sheet { border:1px solid rgba(255,255,255,.82); border-radius:24px; max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); box-shadow:0 24px 70px rgba(11,25,45,.2); }
#orderModal { align-items:center; padding: max(10px,env(safe-area-inset-top)) 12px max(10px,env(safe-area-inset-bottom)); }
#orderModal .order-sheet { width:min(100%,560px); max-height:calc(100dvh - 22px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); margin:auto; padding:24px 22px calc(20px + env(safe-area-inset-bottom)); border:1px solid rgba(255,255,255,.92); border-radius:24px; background:rgba(250,252,255,.98); box-shadow:0 24px 70px rgba(11,25,45,.2); }
#orderModal .sheet-handle { display:none; }
#orderModal .request-choice-view h2, #orderModal .order-form-view h2 { font-size:clamp(21px,4vw,26px); }
#orderModal .request-choice { min-height:82px; border-radius:16px; }
#orderModal .order-form { gap:13px; }
#orderModal .order-form label { min-width:0; font-size:12px; }
#orderModal .order-form input:not([type=checkbox]), #orderModal .order-form textarea, #orderModal .order-form select { min-height:46px; padding:12px 13px; border-radius:12px; font-size:14px; }

/* Trade-in: contained, scrollable, carefully spaced form; no clipped fields on mobile. */
#tradeinModal { align-items:center; padding: max(10px,env(safe-area-inset-top)) 12px max(10px,env(safe-area-inset-bottom)); }
#tradeinModal .tradein-sheet {
  display:flex; flex-direction:column; gap:0; width:min(100%,640px); height:min(900px,calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
  max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); margin:auto; padding:26px 26px calc(22px + env(safe-area-inset-bottom));
  overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch;
  border:1px solid rgba(255,255,255,.9); border-radius:25px; background:linear-gradient(180deg,#fff 0%,#f8faff 100%);
  box-shadow:0 25px 80px rgba(12,27,49,.22);
}
#tradeinModal .close-button { position:sticky; z-index:8; top:0; align-self:flex-end; flex:0 0 38px; display:grid; place-items:center; width:38px; height:38px; margin:-10px -10px 0 0; border:1px solid #e5eaf2; border-radius:50%; background:rgba(255,255,255,.94); color:#182338; font-size:22px; box-shadow:0 4px 14px rgba(27,43,67,.08); }
#tradeinModal .tradein-heading { padding:0 44px 19px 0; }
#tradeinModal .tradein-heading .favorites-eyebrow { display:inline-flex; margin-bottom:7px; padding:6px 9px; border-radius:999px; background:#edf4ff; color:#2564c8; font-size:8px; letter-spacing:.1em; font-weight:900; }
#tradeinModal .tradein-heading h2 { margin:0 0 8px; font-size:clamp(23px,4vw,29px); line-height:1.08; letter-spacing:-.045em; }
#tradeinModal .tradein-heading p { max-width:490px; font-size:12px; line-height:1.55; }
#tradeinModal .tradein-form { display:grid; gap:15px; min-width:0; }
#tradeinModal .tradein-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
#tradeinModal .tradein-form label:not(.consent-line):not(.tradein-damage-toggle) { display:grid; gap:7px; min-width:0; color:#42516a; font-size:11px; font-weight:800; line-height:1.35; }
#tradeinModal .tradein-form input:not([type=checkbox]), #tradeinModal .tradein-form select, #tradeinModal .tradein-form textarea {
  width:100%; min-width:0; min-height:46px; padding:12px 13px; border:1px solid #dfe6f0; border-radius:12px; background:#fff; color:#1d2a3c; font-size:14px; line-height:1.4; box-shadow:0 2px 5px rgba(25,46,75,.025);
}
#tradeinModal .tradein-form textarea { min-height:88px; resize:vertical; }
#tradeinModal .tradein-form input:focus, #tradeinModal .tradein-form select:focus, #tradeinModal .tradein-form textarea:focus { outline:0; border-color:#8db4f5; box-shadow:0 0 0 3px rgba(23,105,255,.1); }
#tradeinModal .tradein-damage-toggle { min-height:48px; padding:12px 14px; border:1px solid #e1e8f2; border-radius:13px; background:#f6f9fd; color:#42516a; font-size:11px; }
#tradeinModal .tradein-damage-toggle input { flex:0 0 18px; width:18px; height:18px; }
#tradeinModal .tradein-photo-preview { display:flex; flex-wrap:wrap; gap:9px; margin-top:-7px; }
#tradeinModal .tradein-photo-thumb { display:grid; grid-template-columns:54px minmax(0,1fr); align-items:center; gap:9px; width:min(100%,230px); min-width:0; padding:7px; border:1px solid #e4eaf3; border-radius:12px; background:#fff; }
#tradeinModal .tradein-photo-thumb img { width:54px; height:54px; border-radius:8px; object-fit:cover; background:#f0f3f8; }
#tradeinModal .tradein-photo-thumb span { min-width:0; color:#647187; font-size:9px; line-height:1.35; overflow-wrap:anywhere; }
#tradeinModal .tradein-form input[type=file] { min-height:44px; padding:7px; border:1px dashed #bdcce0; background:#f8faff; font-size:11px; }
#tradeinModal .tradein-form input[type=file]::file-selector-button { min-height:30px; margin-right:9px; padding:6px 10px; border:0; border-radius:8px; background:#e8f0ff; color:#2458ac; font-size:10px; font-weight:800; }
#tradeinModal .tradein-footnote { padding:10px 12px; border-radius:11px; background:#f0f4fa; font-size:10px; line-height:1.5; }
#tradeinModal #tradeinSubmitBtn { min-height:49px; border-radius:13px; font-size:13px; }
#tradeinModal .consent-line { align-items:start; padding:10px 11px; border:1px solid #e8edf4; border-radius:12px; background:#fff; }
#tradeinModal .consent-line span { min-width:0; }

@media(max-width:620px) {
  .modal-backdrop { padding:0; align-items:flex-end; }
  #orderModal { align-items:flex-end; padding:0; }
  #orderModal .order-sheet { width:100%; max-width:none; max-height:calc(94dvh - env(safe-area-inset-top)); margin:auto auto 0; padding:23px 17px calc(18px + env(safe-area-inset-bottom)); border-radius:23px 23px 0 0; border-bottom:0; }
  #tradeinModal { align-items:flex-end; padding:0; }
  #tradeinModal .tradein-sheet { width:100%; height:calc(96dvh - env(safe-area-inset-top)); max-height:calc(96dvh - env(safe-area-inset-top)); margin:auto auto 0; padding:17px 16px calc(18px + env(safe-area-inset-bottom)); border-radius:23px 23px 0 0; border-bottom:0; }
  #tradeinModal .tradein-heading { padding:0 40px 15px 0; }
  #tradeinModal .tradein-form { gap:13px; }
  #tradeinModal .tradein-form-grid { gap:11px; }
  #tradeinModal .tradein-form label:not(.consent-line):not(.tradein-damage-toggle) { font-size:10px; }
  #tradeinModal .tradein-form input:not([type=checkbox]), #tradeinModal .tradein-form select, #tradeinModal .tradein-form textarea { min-height:44px; font-size:14px; }
  .promo-banner-v26 { min-height:126px; padding:13px 12px; gap:9px; border-radius:18px; }
  .promo-banner-v26 .promo-discount-mark { flex-basis:57px; width:57px; height:57px; border-radius:17px; font-size:18px; }
  .promo-banner-v26 .promo-copy { max-width:calc(100% - 69px); }
  .promo-banner-v26 .promo-kicker { font-size:7px; letter-spacing:.09em; }
  .promo-banner-v26 .promo-copy h3 { font-size:14px; }
  .promo-banner-v26 .promo-copy p { font-size:9px; margin-bottom:7px; }
  .promo-banner-v26 .promo-product { right:-6px; width:29%; height:108px; opacity:.62; }
}
@media(max-width:380px) {
  #tradeinModal .tradein-sheet { height:calc(97dvh - env(safe-area-inset-top)); max-height:calc(97dvh - env(safe-area-inset-top)); padding:14px 12px calc(16px + env(safe-area-inset-bottom)); }
  #tradeinModal .tradein-form-grid { grid-template-columns:minmax(0,1fr); }
  #tradeinModal .tradein-full { grid-column:auto; }
  #tradeinModal .tradein-heading h2 { font-size:22px; }
  #tradeinModal .tradein-heading p { font-size:11px; }
  #tradeinModal .tradein-photo-thumb { width:100%; }
  .promo-banner-v26 { min-height:122px; gap:7px; padding:12px 9px; }
  .promo-banner-v26 .promo-discount-mark { flex-basis:51px; width:51px; height:51px; font-size:16px; }
  .promo-banner-v26 .promo-copy { max-width:calc(100% - 61px); }
  .promo-banner-v26 .promo-copy h3 { font-size:13px; }
}
@media(min-width:621px) and (max-height:740px) {
  #tradeinModal .tradein-sheet { height:calc(100dvh - 16px); }
}


/* Li:Store v27 — Telegram profile, quick account loading and watch/accessory showcase. */
.promo-banner-v27 { position:relative; min-height:136px; padding:18px 20px; gap:12px; overflow:hidden; border:1px solid rgba(121,160,210,.2); border-radius:22px; background:radial-gradient(ellipse at 92% 10%,rgba(77,139,230,.28),transparent 38%),linear-gradient(118deg,#101722 0%,#142337 56%,#1b3450 100%); box-shadow:0 13px 30px rgba(17,32,54,.14),inset 0 1px 0 rgba(255,255,255,.1); }
.promo-banner-v27 .promo-copy { position:relative; z-index:3; width:60%; max-width:60%; min-width:0; }
.promo-banner-v27 .promo-kicker { display:block; margin-bottom:7px; color:#9fb5d2; font-size:8px; font-weight:850; letter-spacing:.14em; }
.promo-banner-v27 .promo-copy h3 { margin:0 0 5px; color:#fff; font-size:18px; font-weight:900; line-height:1.13; letter-spacing:-.04em; }
.promo-banner-v27 .promo-copy p { margin:0 0 11px; color:rgba(235,243,255,.72); font-size:10px; line-height:1.35; }
.promo-shop-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:33px; padding:0 12px; border:1px solid rgba(255,255,255,.19); border-radius:11px; background:rgba(255,255,255,.1); color:#fff; font-size:10px; font-weight:850; -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
.promo-shop-button span { font-size:14px; }
.promo-art { position:absolute; z-index:2; top:0; right:8px; bottom:0; width:43%; pointer-events:none; }
.promo-art-tile { position:absolute; display:grid; place-items:center; overflow:hidden; border:1px solid rgba(255,255,255,.72); border-radius:17px; background:#e9f0f7; box-shadow:0 9px 22px rgba(0,0,0,.24); }
.promo-art-tile img { display:block; width:100%; height:100%; object-fit:cover; }
.promo-art-watch { right:50px; bottom:13px; width:91px; height:91px; transform:rotate(-5deg); }
.promo-art-earbuds { right:0; bottom:21px; width:76px; height:76px; transform:rotate(5deg); border-radius:15px; }
.promo-banner-v27 .promo-decor { z-index:1; width:230px; height:230px; top:-75px; right:-55px; }
.account-avatar { position:relative; overflow:hidden; isolation:isolate; }
.account-avatar-photo { position:absolute; inset:0; z-index:2; display:block; width:100%; height:100%; border-radius:inherit; object-fit:cover; background:#eaf0f7; }
.account-avatar-photo.hidden { display:none !important; }
#accountAvatarFallback { position:relative; z-index:1; }
.account-inline-loading, .account-inline-error { display:flex; align-items:center; justify-content:center; gap:9px; min-height:56px; padding:12px; border:1px solid #e4eaf2; border-radius:14px; background:rgba(255,255,255,.8); color:#748095; font-size:11px; }
.account-inline-error { color:#a44b4b; background:#fff8f8; border-color:#f1dddd; }
.account-refresh-button.is-loading { animation:account-refresh-spin .8s linear infinite; pointer-events:none; }
@keyframes account-refresh-spin { to { transform:rotate(360deg); } }
@media(max-width:620px) { .promo-banner-v27 { min-height:126px; padding:13px 12px; border-radius:18px; } .promo-banner-v27 .promo-copy { width:60%; max-width:60%; } .promo-banner-v27 .promo-kicker { font-size:7px; letter-spacing:.09em; } .promo-banner-v27 .promo-copy h3 { font-size:14px; } .promo-banner-v27 .promo-copy p { max-width:165px; margin-bottom:8px; font-size:9px; } .promo-shop-button { min-height:30px; padding:0 9px; font-size:9px; } .promo-art { right:4px; width:42%; } .promo-art-watch { right:43px; bottom:14px; width:78px; height:78px; } .promo-art-earbuds { right:0; bottom:20px; width:65px; height:65px; } }
@media(max-width:380px) { .promo-banner-v27 { min-height:118px; padding:11px 9px; } .promo-banner-v27 .promo-copy { width:61%; max-width:61%; } .promo-banner-v27 .promo-copy h3 { font-size:12px; } .promo-banner-v27 .promo-copy p { max-width:136px; font-size:8px; } .promo-art { right:2px; width:41%; } .promo-art-watch { right:35px; bottom:15px; width:67px; height:67px; } .promo-art-earbuds { bottom:20px; width:56px; height:56px; } }


/* Li:Store v31 — larger transparent product art and responsive promo. */
.promo-banner-v30, .promo-banner-v27 { position:relative; isolation:isolate; min-height:204px; padding:20px 18px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.promo-banner-v30 .promo-copy, .promo-banner-v27 .promo-copy { width:min(54%,460px); max-width:54%; text-align:center; margin:0 auto; display:flex; flex-direction:column; align-items:center; }
.promo-banner-v30 .promo-kicker, .promo-banner-v27 .promo-kicker { margin-bottom:8px; }
.promo-banner-v30 .promo-copy h3, .promo-banner-v27 .promo-copy h3 { font-size:clamp(16px,2.4vw,22px); margin-bottom:6px; }
.promo-banner-v30 .promo-copy p, .promo-banner-v27 .promo-copy p { margin:0 0 12px; }
.promo-art { position:absolute; inset:0; width:100%; right:auto; z-index:1; }
.promo-art-tile { position:absolute; display:block; overflow:visible; border:0; border-radius:0; background:transparent; box-shadow:none; }
.promo-art-tile img { width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 12px 15px rgba(0,0,0,.18)); }
.promo-art-earbuds { left:2%; right:auto; top:50%; bottom:auto; width:clamp(118px,21%,184px); height:clamp(118px,21%,184px); transform:translateY(-50%) rotate(-7deg); }
.promo-art-watch { right:2%; left:auto; top:50%; bottom:auto; width:clamp(128px,23%,196px); height:clamp(128px,23%,196px); transform:translateY(-50%) rotate(5deg); }
.promo-banner-v30 .promo-decor, .promo-banner-v27 .promo-decor { z-index:0; }
@media(max-width:620px) {
 .promo-banner-v30, .promo-banner-v27 { min-height:164px; padding:14px 8px; }
 .promo-banner-v30 .promo-copy, .promo-banner-v27 .promo-copy { width:54%; max-width:54%; }
 .promo-banner-v30 .promo-kicker, .promo-banner-v27 .promo-kicker { font-size:7px; letter-spacing:.08em; }
 .promo-banner-v30 .promo-copy h3, .promo-banner-v27 .promo-copy h3 { font-size:14px; }
 .promo-banner-v30 .promo-copy p, .promo-banner-v27 .promo-copy p { font-size:9px; max-width:100%; margin-bottom:9px; }
 .promo-art-earbuds { left:0; width:clamp(82px,23%,112px); height:clamp(82px,23%,112px); }
 .promo-art-watch { right:0; width:clamp(88px,25%,120px); height:clamp(88px,25%,120px); }
 .promo-shop-button { min-height:31px; padding:0 10px; font-size:9px; }
}
@media(max-width:370px) {
 .promo-banner-v30, .promo-banner-v27 { min-height:154px; }
 .promo-banner-v30 .promo-copy, .promo-banner-v27 .promo-copy { width:58%; max-width:58%; }
 .promo-banner-v30 .promo-copy h3, .promo-banner-v27 .promo-copy h3 { font-size:12px; }
 .promo-banner-v30 .promo-copy p, .promo-banner-v27 .promo-copy p { font-size:8px; }
 .promo-art-earbuds { left:-4px; width:76px; height:76px; }
 .promo-art-watch { right:-4px; width:82px; height:82px; }
}
/* Trade-in damage checkbox: square and text share one centered baseline. */
#tradeinModal .tradein-damage-toggle { display:flex; align-items:center; justify-content:flex-start; gap:11px; min-height:52px; line-height:1.35; }
#tradeinModal .tradein-damage-toggle input { display:block; flex:0 0 18px; width:18px; height:18px; margin:0; align-self:center; }
#tradeinModal .tradein-damage-toggle span { display:block; min-width:0; line-height:1.35; }


/* Li:Store v32 — compact promo field, larger transparent product images, 10% offer. */
.promo-banner-v27 {
  min-height:162px !important;
  height:162px;
  padding:8px 12px !important;
}
.promo-banner-v27 .promo-copy {
  width:min(48%,440px) !important;
  max-width:48% !important;
  gap:0;
  position:relative;
  z-index:2;
}
.promo-banner-v27 .promo-sale {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:22px;
  margin:0 0 5px;
  padding:3px 11px;
  border-radius:999px;
  background:linear-gradient(110deg,#f3c66a,#ffe5a5);
  color:#182333;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.09em;
  box-shadow:0 4px 12px rgba(0,0,0,.12);
}
.promo-banner-v27 .promo-kicker { margin:0 0 4px !important; }
.promo-banner-v27 .promo-copy h3 { margin:0 0 4px !important; }
.promo-banner-v27 .promo-copy p { margin:0 0 7px !important; }
.promo-banner-v27 .promo-art-earbuds {
  left:1%;
  width:clamp(142px,25%,205px);
  height:clamp(142px,25%,205px);
}
.promo-banner-v27 .promo-art-watch {
  right:1%;
  width:clamp(150px,27%,218px);
  height:clamp(150px,27%,218px);
}
@media(max-width:620px) {
  .promo-banner-v27 { min-height:132px !important; height:132px; padding:6px 5px !important; }
  .promo-banner-v27 .promo-copy { width:49% !important; max-width:49% !important; }
  .promo-banner-v27 .promo-sale { min-height:17px; margin-bottom:3px; padding:2px 7px; font-size:8px; }
  .promo-banner-v27 .promo-kicker { font-size:6px !important; margin-bottom:3px !important; }
  .promo-banner-v27 .promo-copy h3 { font-size:13px !important; margin-bottom:3px !important; }
  .promo-banner-v27 .promo-copy p { font-size:8px !important; margin-bottom:5px !important; }
  .promo-banner-v27 .promo-shop-button { min-height:25px; padding:0 8px; font-size:8px; }
  .promo-banner-v27 .promo-art-earbuds { left:-1%; width:clamp(104px,27%,132px); height:clamp(104px,27%,132px); }
  .promo-banner-v27 .promo-art-watch { right:-1%; width:clamp(110px,29%,140px); height:clamp(110px,29%,140px); }
}
@media(max-width:370px) {
  .promo-banner-v27 { min-height:124px !important; height:124px; }
  .promo-banner-v27 .promo-copy { width:52% !important; max-width:52% !important; }
  .promo-banner-v27 .promo-copy h3 { font-size:11px !important; }
  .promo-banner-v27 .promo-copy p { font-size:7px !important; }
  .promo-banner-v27 .promo-art-earbuds { left:-5px; width:98px; height:98px; }
  .promo-banner-v27 .promo-art-watch { right:-5px; width:104px; height:104px; }
}

/* Advisor is a dedicated page, not a floating modal */
.advisor-view{max-width:1080px;margin:0 auto;padding:clamp(26px,5vw,58px) clamp(16px,4vw,42px) 70px;min-height:calc(100vh - 150px)}
.advisor-page-heading{max-width:680px;margin:0 auto 28px;text-align:center}
.advisor-page-heading h2{font-size:clamp(28px,4vw,42px);letter-spacing:-1.4px;margin:10px 0}
.advisor-page-heading p{color:var(--muted,#7c8795);line-height:1.65;margin:0}
.advisor-content{max-width:760px;margin:0 auto}
.advisor-intro{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:22px;padding:22px 25px;background:linear-gradient(135deg,#f7f9ff,#fff);margin-bottom:16px}
.advisor-intro>b{font-size:15px}.advisor-intro p{color:#778295;font-size:13px;line-height:1.6;margin:7px 0 14px}
.advisor-orbit{float:right;font-size:30px;color:#526fe0}
.advisor-benefits{display:flex;flex-wrap:wrap;gap:8px}.advisor-benefits span{font-size:11px;color:#53627b;background:#edf1fb;border-radius:20px;padding:7px 11px}
#advisorView .chat-panel{position:relative;inset:auto;right:auto;top:auto;width:100%;height:min(620px,72vh);min-height:440px;max-width:760px;margin:0 auto;border:1px solid var(--line);border-radius:22px;box-shadow:0 14px 42px rgba(20,35,70,.09);animation:none}
@media(max-width:600px){.advisor-view{padding:24px 13px 45px}.advisor-intro{padding:18px}.advisor-benefits{gap:6px}#advisorView .chat-panel{height: min(68dvh,620px);min-height:390px;border-radius:18px}}


/* Li:Store v34 — promo banner CTA copies the visible coupon code. */
.promo-banner-v27 .promo-shop-button { gap:7px; cursor:pointer; }
.promo-banner-v27 .promo-code-chip { display:inline-flex; align-items:center; justify-content:center; min-height:21px; padding:3px 7px; border-radius:7px; background:#fff; color:#142236; font-size:10px; line-height:1; font-weight:950; letter-spacing:.1em; }
.promo-banner-v27 .promo-shop-button:active { transform:translateY(1px); }
@media(max-width:620px) { .promo-banner-v27 .promo-code-chip { min-height:18px; padding:2px 5px; font-size:8px; } }
