/* V_CODE V14 — ULTRA COMMERCE */
.assistant-hero{
  width:100%;min-height:80px;display:grid;grid-template-columns:52px 1fr 22px;align-items:center;gap:13px;
  margin:-7px 0 20px;padding:13px;border:1px solid rgba(67,150,255,.28);border-radius:20px;
  background:linear-gradient(135deg,#102b5d 0%,#091a38 58%,#091327 100%);color:var(--text);text-align:left;
}
.assistant-hero b{display:block;font-size:14px}.assistant-hero small{display:block;margin-top:4px;color:#9fb5d9;font-size:9px;line-height:1.35}.assistant-hero strong{color:#72c8ff}
.assistant-orb{width:50px;height:50px;display:grid;place-items:center;border-radius:17px;background:radial-gradient(circle at 35% 30%,#65d2ff,#2f6eff 55%,#102a6a);font-weight:850;box-shadow:0 0 28px rgba(50,125,255,.25)}
.bundle-grid{display:grid;gap:10px}.bundle-grid.compact{grid-template-columns:1fr}.bundle-card{width:100%;border:1px solid rgba(72,137,255,.23);border-radius:18px;background:#09142a;color:var(--text);padding:13px;text-align:left}.bundle-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.bundle-card h3{margin:0;font-size:14px}.bundle-card p{margin:6px 0 0;color:var(--muted);font-size:9px;line-height:1.35}.bundle-discount{color:#73cbff;font-size:11px;font-weight:800}.bundle-preview{display:flex;margin-top:12px}.bundle-preview img{width:46px;height:46px;object-fit:contain;border:1px solid var(--line);border-radius:13px;background:#07101f;margin-right:-7px}.bundle-price{display:flex;justify-content:space-between;align-items:end;margin-top:13px}.bundle-price small{color:var(--muted);font-size:8px}.bundle-price strong{font-size:17px}.old-price{text-decoration:line-through;color:var(--muted);font-size:9px;margin-left:6px}
.product-card .compare-card-btn{position:absolute;z-index:3;top:47px;right:8px;width:34px;height:34px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:#0a1224;color:#fff;font-size:16px}.product-card .compare-card-btn.active{color:#69c7ff;border-color:rgba(88,183,255,.45);background:#102a52}
.v14-sheet-media{position:relative}.product-gallery{width:100%;overflow:hidden}.gallery-track{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}.gallery-track::-webkit-scrollbar{display:none}.gallery-slide{flex:0 0 100%;width:100%;aspect-ratio:1.18/1;display:grid;place-items:center;scroll-snap-align:start;background:#07101f}.gallery-slide img{width:100%;height:100%;object-fit:contain}.gallery-dots{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);display:flex;gap:5px;z-index:3}.gallery-dots i{width:5px;height:5px;border-radius:999px;background:rgba(255,255,255,.32)}.gallery-dots i.active{width:16px;background:#6bc9ff}.share-float,.compare-float{position:absolute;z-index:5;right:13px;width:42px;height:42px;border:1px solid rgba(116,174,255,.28);border-radius:14px;background:#09152d;color:#e9f4ff;font-size:18px}.share-float{top:63px}.compare-float{top:112px}.compare-float.active{background:#123d77;color:#76d0ff}
.spec-box{margin:16px 0;border-top:1px solid var(--line);padding-top:14px}.spec-box h3{margin:0 0 9px;font-size:15px}.spec-rows{overflow:hidden;border:1px solid var(--line);border-radius:16px}.spec-row{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 12px;background:#081123;border-bottom:1px solid var(--line);font-size:10px}.spec-row:last-child{border-bottom:0}.spec-row span{color:var(--muted)}.spec-row b{text-align:right;font-size:10px}
.compare-tray{position:fixed;z-index:48;left:50%;bottom:calc(var(--nav-height) + var(--safe-bottom) + 10px);transform:translateX(-50%);min-width:140px;height:40px;border:1px solid rgba(93,184,255,.42);border-radius:14px;background:#0b3268;color:#fff;font-weight:750}.compare-tray b{display:inline-grid;place-items:center;min-width:21px;height:21px;margin-left:8px;border-radius:999px;background:#3f86ff}
.compare-sheet-body,.assistant-sheet-body,.repair-sheet-body,.bundle-sheet-body{padding:18px 16px calc(26px + var(--safe-bottom));overflow:auto}.compare-sheet-body h2,.assistant-sheet-body h2,.repair-sheet-body h2,.bundle-sheet-body h2{margin:5px 0 8px;font-size:24px}.compare-sheet-body>p,.assistant-sheet-body>p,.repair-sheet-body>p,.bundle-sheet-body>p{margin:0 0 16px;color:var(--muted);font-size:11px;line-height:1.45}
.compare-body{display:grid;gap:11px}.compare-top{display:grid;grid-template-columns:repeat(var(--compare-cols,2),minmax(0,1fr));gap:8px}.compare-product{position:relative;border:1px solid var(--line);border-radius:16px;background:#081123;padding:8px;min-width:0}.compare-product img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#07101f;border-radius:12px}.compare-product b{display:block;margin-top:8px;font-size:10px;line-height:1.25}.compare-product strong{display:block;margin-top:5px;font-size:11px}.compare-remove{position:absolute;top:5px;right:5px;width:28px;height:28px;border:0;border-radius:9px;background:#0b1429;color:#fff}.compare-table{overflow:hidden;border:1px solid var(--line);border-radius:16px}.compare-row{display:grid;grid-template-columns:88px 1fr;min-height:42px;border-bottom:1px solid var(--line)}.compare-row:last-child{border-bottom:0}.compare-row>span{padding:10px;color:var(--muted);font-size:9px;background:#07101f}.compare-values{display:grid;grid-template-columns:repeat(var(--compare-cols,2),minmax(0,1fr))}.compare-values b{padding:10px;border-left:1px solid var(--line);font-size:9px;font-weight:650;word-break:break-word}
.assistant-messages{display:grid;gap:9px;max-height:330px;overflow:auto;padding:3px 0 12px}.assistant-msg{max-width:88%;padding:11px 12px;border-radius:16px;font-size:11px;line-height:1.5;white-space:pre-wrap}.assistant-msg.bot{justify-self:start;background:#0b1831;border:1px solid var(--line)}.assistant-msg.user{justify-self:end;background:#1d5ed0;color:#fff}.assistant-msg.loading{color:var(--muted)}.assistant-input-wrap{display:grid;gap:9px}.assistant-input-wrap textarea{width:100%;resize:none;border:1px solid var(--line);border-radius:16px;background:#081123;color:var(--text);padding:12px;font-size:12px;outline:none}.assistant-products{margin-top:14px}
.repairs-list{display:grid;gap:8px}.repair-card-status{border:1px solid var(--line);border-radius:17px;background:#081123;padding:12px}.repair-card-status header{display:flex;align-items:center;justify-content:space-between;gap:10px}.repair-card-status b{font-size:12px}.repair-card-status span{color:#72c8ff;font-size:9px}.repair-card-status p{margin:7px 0;color:var(--muted);font-size:9px;line-height:1.4}.repair-progress{display:flex;gap:4px;margin-top:10px}.repair-progress i{flex:1;height:4px;border-radius:4px;background:#132039}.repair-progress i.done{background:#2d7aff}.profile-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:13px 0 20px}.profile-quick-actions button{min-height:92px;border:1px solid var(--line);border-radius:18px;background:#091123;color:var(--text);text-align:left;padding:13px}.profile-quick-actions span{display:block;color:#6ec9ff;font-size:18px;font-weight:800}.profile-quick-actions b{display:block;margin-top:10px;font-size:12px}.profile-quick-actions small{display:block;margin-top:3px;color:var(--muted);font-size:8px}
.bundle-items{display:grid;gap:8px}.bundle-item{display:grid;grid-template-columns:64px 1fr auto;gap:10px;align-items:center;border:1px solid var(--line);border-radius:15px;padding:8px;background:#081123}.bundle-item img{width:64px;height:64px;object-fit:contain;background:#07101f;border-radius:12px}.bundle-item b{display:block;font-size:10px}.bundle-item small{display:block;margin-top:3px;color:var(--muted);font-size:8px}.bundle-item strong{font-size:10px}.bundle-total{display:flex;justify-content:space-between;align-items:center;margin:14px 0;padding:13px;border:1px solid rgba(76,143,255,.28);border-radius:16px;background:#0d1b38}.bundle-total span{color:var(--muted);font-size:10px}.bundle-total strong{font-size:20px}
.commerce-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}.commerce-metrics div{min-height:60px;border:1px solid var(--line);border-radius:14px;background:#081123;padding:9px}.commerce-metrics span{display:block;color:var(--muted);font-size:8px}.commerce-metrics b{display:block;margin-top:5px;font-size:13px}
.offline-soft{filter:saturate(.7)}
@media (max-width:390px){.commerce-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.assistant-hero{grid-template-columns:46px 1fr 18px}.assistant-orb{width:44px;height:44px}.share-float,.compare-float{right:10px}}
html[data-theme="light"] .assistant-hero{background:linear-gradient(135deg,#e9f3ff,#f7fbff);color:#11203a;border-color:#c9defe}html[data-theme="light"] .assistant-hero small{color:#647796}html[data-theme="light"] .assistant-orb{color:#fff}.bundle-card,html[data-theme="light"] .bundle-card{background:var(--surface-2)}html[data-theme="light"] .product-card .compare-card-btn{background:#fff;color:#1d355b;border-color:#d9e4f4}html[data-theme="light"] .service-card,html[data-theme="light"] .spec-row,html[data-theme="light"] .repair-card-status,html[data-theme="light"] .profile-quick-actions button,html[data-theme="light"] .bundle-item,html[data-theme="light"] .commerce-metrics div,html[data-theme="light"] .assistant-msg.bot,html[data-theme="light"] .assistant-input-wrap textarea{background:#fff}html[data-theme="light"] .compare-product,html[data-theme="light"] .compare-table{background:#fff}html[data-theme="light"] .compare-row>span{background:#f4f7fd}
.bundle-saving-note{display:flex!important;align-items:center;justify-content:space-between;margin:7px 0 12px!important;padding:9px 10px;border:1px solid rgba(70,180,255,.25);border-radius:12px;background:#0b2141;color:#72caff!important}.bundle-saving-note b{font-size:11px;color:#78d1ff}
.optional-label{color:var(--muted);font-size:8px;font-weight:400}.file-input{padding:9px!important}
html[data-theme="light"] .bundle-saving-note{background:#eaf5ff;color:#25649d!important}

/* V15 smart consultant */
.assistant-quick{display:flex;gap:7px;overflow-x:auto;padding:0 0 11px;scrollbar-width:none}.assistant-quick::-webkit-scrollbar{display:none}.assistant-quick button{flex:0 0 auto;min-height:34px;border:1px solid var(--line);border-radius:999px;padding:7px 11px;background:#0a1730;color:#94cfff;font-size:9px;white-space:nowrap}.assistant-quick button:active{transform:scale(.98)}
.assistant-mode{display:inline-flex;align-items:center;gap:5px;margin-top:5px;color:#6f86aa;font-size:8px}.assistant-mode.ai{color:#70c8ff}
html[data-theme="light"] .assistant-quick button{background:#f3f7ff;color:#2864b8;border-color:#d7e4f7}


/* V16 FINAL POLISH */
.promotions-section{margin-top:18px}.promotion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.promotion-card{overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#091225;color:var(--text)}.promotion-card.clickable{cursor:pointer}.promotion-media{aspect-ratio:16/10;background:#07101f;overflow:hidden;display:grid;place-items:center}.promotion-media img{width:100%;height:100%;object-fit:cover}.promotion-fallback{background:radial-gradient(circle at 50% 30%,rgba(49,134,255,.3),transparent 45%),#07101f}.promotion-fallback span{font-size:26px;font-weight:900;letter-spacing:.12em;color:#71c7ff}.promotion-body{padding:12px}.promotion-badge{display:inline-flex;padding:4px 7px;border-radius:8px;background:#123a78;color:#9ed9ff;font-size:9px;font-weight:850;letter-spacing:.06em}.promotion-body h3{margin:8px 0 5px;font-size:14px}.promotion-body p{margin:0;color:var(--muted);font-size:10px;line-height:1.4}.promotion-foot{display:flex;justify-content:space-between;gap:8px;align-items:end;margin-top:11px;padding-top:9px;border-top:1px solid var(--line);font-size:9px;color:var(--muted)}.promotion-foot b{color:var(--text);font-size:12px;white-space:nowrap}
.system-status-card{margin:0 0 14px;border:1px solid rgba(69,145,255,.25);border-radius:20px;padding:14px;background:linear-gradient(180deg,rgba(12,28,58,.98),rgba(7,17,34,.98))}.system-status-head{display:flex;align-items:start;justify-content:space-between;gap:10px}.system-status-head h3{margin:4px 0 0;font-size:14px}.system-status-head h3.ok{color:#65dfa8}.system-status-head h3.warn{color:#ffd079}.system-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.system-status-grid>div{min-height:65px;display:grid;grid-template-columns:9px 1fr;column-gap:8px;align-content:center;border:1px solid var(--line);border-radius:14px;padding:10px;background:rgba(5,12,27,.56)}.system-status-grid i{width:8px;height:8px;border-radius:50%;background:#f2bd62;margin-top:4px}.system-status-grid .ok i{background:#37d794;box-shadow:0 0 12px rgba(55,215,148,.45)}.system-status-grid .warn i{background:#ffbd5d}.system-status-grid span{font-size:9px;color:var(--muted)}.system-status-grid b{grid-column:2;font-size:10px;margin-top:3px;overflow-wrap:anywhere}.system-status-foot{display:flex;justify-content:space-between;gap:8px;margin-top:10px;color:var(--muted);font-size:8px;line-height:1.35}.repair-costs{display:flex;flex-wrap:wrap;gap:7px;margin:9px 0}.repair-costs span{padding:6px 8px;border-radius:10px;background:#10224a;color:var(--muted);font-size:9px}.repair-costs b{color:var(--text)}.repair-last-change{display:block;margin-top:8px;color:var(--muted);font-size:8px}
html[data-theme="light"] .promotion-card,html[data-theme="light"] .system-status-card{background:#fff;border-color:rgba(48,101,191,.15)}html[data-theme="light"] .system-status-grid>div{background:#f6f9ff}html[data-theme="light"] .repair-costs span{background:#eef4ff}
@media(max-width:390px){.promotion-grid{grid-template-columns:1fr}.system-status-grid{grid-template-columns:1fr}.system-status-foot{flex-direction:column}}
