/* =====================================================================
   BikeBook v2 — app-style design system (mobile first)
   ===================================================================== */
@view-transition { navigation: auto; }

.bbx {
	--ink: #0b1220;
	--ink-2: #1e293b;
	--muted: #64748b;
	--line: #e6e9f0;
	--bg: #f3f4f8;
	--card: #ffffff;
	--brand: #ff5a1f;
	--brand-2: #ff8a3d;
	--brand-soft: #fff1ea;
	--green: #16a34a;
	--wa: #1fb45a;
	--amber: #c2680a;
	--red: #dc2626;
	--r: 20px;
	--shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 20px -10px rgba(16, 24, 40, .12);
	--shadow-lg: 0 20px 40px -18px rgba(11, 18, 32, .45);
	--safe-b: env(safe-area-inset-bottom, 0px);
	margin: 0;
	min-height: 100dvh;
	background: var(--bg);
	color: var(--ink);
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
.bbx *, .bbx *::before, .bbx *::after { box-sizing: border-box; }
:where(.bbx) a { color: inherit; }
:where(.bbx) img { max-width: 100%; }
:where(.bbx) h1, :where(.bbx) h2, :where(.bbx) h3 { margin: 0; letter-spacing: -.02em; }
:where(.bbx) p { margin: 0; }
.bbx-ic { flex-shrink: 0; display: block; }
.bbx-main { animation: bbx-in .28s ease both; }
.bbx-has-nav .bbx-main { padding-bottom: calc(96px + var(--safe-b)); }
@keyframes bbx-in { from { opacity: 0; } to { opacity: 1; } }

.bbx-wrap { max-width: 1120px; margin: 0 auto; padding: 16px; }
.bbx-muted { color: var(--muted); }
.bbx-small, .bbx-hint { font-size: 12.5px; color: var(--muted); }
.bbx-hint { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.bbx-center { text-align: center; justify-content: center; }
.bbx-gap { margin: 10px 0 12px; }
.bbx-green { color: var(--green); }
.bbx-row { display: flex; gap: 8px; flex-wrap: wrap; }
.bbx-row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 16px; }
.bbx-stack { display: grid; gap: 10px; }
.bbx-label { font-size: 13px; font-weight: 700; color: var(--muted); margin: 16px 0 8px; text-transform: uppercase; letter-spacing: .04em; }
.bbx-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.bb-right { text-align: right; }

/* ---------- Logo ---------- */
.bbx-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.bbx-logo--light { color: #fff; }
.bbx-logo-mark { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); box-shadow: 0 6px 16px -6px rgba(255, 90, 31, .8); }

/* ---------- Buttons ---------- */
.bbx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #ff6b2c, #ff4a12); color: #fff !important; font-weight: 700; font-size: 15px; line-height: 1.2; font-family: inherit; text-decoration: none; cursor: pointer; box-shadow: 0 8px 18px -8px rgba(255, 74, 18, .7); transition: transform .12s ease, box-shadow .2s ease, filter .2s; white-space: nowrap; }
.bbx-btn:active { transform: scale(.97); }
.bbx-btn:hover { filter: brightness(1.04); }
.bbx-btn--dark { background: var(--ink); box-shadow: none; }
.bbx-btn--ghost { background: #fff; color: var(--ink) !important; border: 1.5px solid var(--line); box-shadow: none; }
.bbx-btn--wa { background: linear-gradient(135deg, #25d366, #12a150); box-shadow: 0 8px 18px -8px rgba(18, 161, 80, .7); }
.bbx-btn--danger { background: var(--red); box-shadow: none; }
.bbx-btn--text { background: none; color: var(--red) !important; box-shadow: none; }
.bbx-btn--sm { padding: 8px 12px; font-size: 13.5px; border-radius: 12px; gap: 6px; }
.bbx-btn--lg { padding: 15px 20px; font-size: 16px; border-radius: 16px; }
.bbx-btn--block { width: 100%; }
.bbx-iconbtn { position: relative; width: 42px; height: 42px; flex-shrink: 0; display: inline-grid; place-items: center; border: 0; border-radius: 14px; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; transition: transform .12s, background .2s; }
.bbx-iconbtn:active { transform: scale(.92); }
.bbx-iconbtn:hover { background: rgba(11, 18, 32, .05); }
.bbx-iconbtn--glass { background: rgba(11, 18, 32, .38); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .18); }
.bbx-iconbtn--glass:hover { background: rgba(11, 18, 32, .5); }
.bbx-iconbtn--filled { background: var(--ink); color: #fff; }
.bbx-iconbtn--filled:hover { background: var(--ink-2); }
.bbx-iconbtn--outline { background: #fff; border: 1.5px solid var(--line); width: 52px; height: 52px; border-radius: 16px; }
.bbx-iconbtn i { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 800; font-size: 11px; line-height: 15px; font-style: normal; text-align: center; border: 2px solid #fff; }

/* ---------- Pills, chips, badges ---------- */
.bbx-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.bbx-pill--green { background: #dcfce7; color: #15803d; }
.bbx-pill--amber { background: #fef3c7; color: var(--amber); }
.bbx-pill--red { background: #fee2e2; color: var(--red); }
.bbx-pill--grey { background: #eef1f6; color: #475569; }
.bbx-pill--brand { background: var(--brand-soft); color: #d9430d; }
.bbx-pill--glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .2); }
.bbx-count-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 4px; border-radius: 11px; background: #e9ecf3; color: var(--muted); font-size: 12px; font-weight: 800; vertical-align: 2px; }
.bbx-count-badge.is-warn { background: #fef3c7; color: var(--amber); }
.bbx-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; margin: 0 0 6px; }
.bbx-chips::-webkit-scrollbar { display: none; }
.bbx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; font-size: 13.5px; font-family: inherit; text-decoration: none; white-space: nowrap; cursor: pointer; }
.bbx-chip em { font-style: normal; opacity: .6; font-weight: 700; }
.bbx-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.bbx-chip--glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .16); color: #fff; }
.bbx-verified { color: #0ea5e9; display: inline-flex; vertical-align: -2px; }

/* ---------- Avatars & thumbs ---------- */
.bbx-avatar { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; display: inline-grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #334155, var(--ink)); color: #fff; font-weight: 800; font-size: 15px; }
.bbx-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bbx-avatar--lg { width: 50px; height: 50px; font-size: 17px; }
.bbx-avatar--xl { width: 66px; height: 66px; font-size: 22px; }
.bbx-avatar--hero { width: 92px; height: 92px; font-size: 30px; border: 4px solid #fff; box-shadow: var(--shadow-lg); margin: -64px auto 10px; background: linear-gradient(135deg, var(--brand-2), var(--brand)); }
.bbx-thumb { width: 74px; height: 74px; border-radius: 16px; object-fit: cover; flex-shrink: 0; background: #e9edf4; }
.bbx-thumb--sm { width: 50px; height: 50px; border-radius: 13px; }
.bbx-thumb--lg { width: 88px; height: 88px; }
.bbx-thumb--empty { display: grid; place-items: center; color: #94a3b8; }

/* ---------- Cards, lists, sections ---------- */
.bbx-card { display: block; background: var(--card); border-radius: var(--r); padding: 16px; margin: 0 0 12px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.bbx-card-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; margin: 0 0 14px; }
.bbx-card-title .bbx-ic { color: var(--brand); }
.bbx-card-title small { font-size: 12px; font-weight: 500; color: var(--muted); }
.bbx-section { margin: 22px 0 6px; }
.bbx-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 12px; }
.bbx-section .bbx-section-head { margin-top: 0; }
.bbx-section-head h2 { font-size: 18px; font-weight: 800; }
.bbx-section-head a { color: var(--brand); font-weight: 700; font-size: 14px; text-decoration: none; }
.bbx-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.bbx-list > * { min-width: 0; }
.bbx-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); margin: 0; }
.bbx-item-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.bbx-item-body strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbx-item-body small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbx-item-end { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 14px; }
.bbx-chev { color: #a3adbf; display: flex; }

/* ---------- App bars & nav ---------- */
.bbx-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top)); background: rgba(243, 244, 248, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
.bbx-bar-title { font-size: 22px; font-weight: 800; flex: 1; }
.bbx-bar--search .bbx-search { flex: 1; }
.bbx-nav { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); height: 66px; display: flex; align-items: center; justify-content: space-around; padding: 0 6px; border-radius: 24px; background: rgba(11, 18, 32, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 18px 40px -12px rgba(11, 18, 32, .55); }
.bbx-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px; color: #8b97ab; text-decoration: none; font-size: 10.5px; font-weight: 700; border-radius: 16px; transition: color .2s; user-select: none; }
.bbx-nav a.is-on { color: #fff; }
.bbx-nav a.is-on .bbx-ic { color: var(--brand-2); }
.bbx-nav a.is-on::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); margin-top: 1px; }
.bbx-nav a:not(.is-on) span { margin-bottom: 6px; }
.bbx-nav-fab { flex: 0 0 auto !important; }
.bbx-nav-fab .bbx-ic { width: 54px; height: 54px; padding: 14px; margin-top: -26px; border-radius: 20px; color: #fff !important; background: linear-gradient(135deg, var(--brand-2), var(--brand)); box-shadow: 0 10px 22px -6px rgba(255, 74, 18, .8); border: 4px solid var(--bg); }
.bbx-nav-fab span { margin-bottom: 0 !important; }
.bbx-nav-fab.is-on::after { display: none; }
.bbx-desk { display: none; }

/* ---------- Search ---------- */
.bbx-search { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px -12px rgba(11, 18, 32, .35); color: var(--muted); }
.bbx-search input { flex: 1; width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-weight: 500; font-size: 16px; font-family: inherit; color: var(--ink); padding: 8px 0; }
.bbx-search input::-webkit-search-cancel-button { display: none; }
.bbx-search-go { width: 40px; height: 40px; border: 0; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; cursor: pointer; }
.bbx-search--light { box-shadow: none; border: 1.5px solid var(--line); padding: 4px 14px; }

/* ---------- Home hero ---------- */
.bbx-hero { position: relative; overflow: hidden; padding: 16px 16px 28px; padding-top: max(16px, env(safe-area-inset-top)); color: #fff; border-radius: 0 0 30px 30px; background: radial-gradient(120% 90% at 100% 0%, rgba(255, 106, 44, .55) 0%, rgba(255, 106, 44, 0) 55%), radial-gradient(90% 80% at 0% 100%, rgba(99, 102, 241, .35) 0%, rgba(99, 102, 241, 0) 60%), linear-gradient(160deg, #0b1220 0%, #141d33 100%); }
.bbx-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 18px 18px; pointer-events: none; mask-image: linear-gradient(to bottom, #000, transparent 80%); }
.bbx-hero > * { position: relative; z-index: 1; }
.bbx-hero-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.bbx-hero-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; }
.bbx-hero h1 { font-size: 31px; line-height: 1.12; font-weight: 800; letter-spacing: -.035em; }
.bbx-hero h1 span { background: linear-gradient(90deg, #ffb37a, var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bbx-hero-sub { margin: 10px 0 18px; color: rgba(255, 255, 255, .72); font-size: 14px; }
.bbx-chips--hero { margin: 14px 0 0; }

/* ---------- Quick actions ---------- */
.bbx-quick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 14px 8px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); }
.bbx-home .bbx-quick { margin-top: -6px; }
.bbx-quick a, .bbx-quick button { line-height: 1.2; white-space: nowrap; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 0; border: 0; background: none; font-weight: 700; font-size: 11.5px; font-family: inherit; color: var(--ink); text-decoration: none; text-align: center; cursor: pointer; }
.bbx-quick-ic, .bbx-menu-ic { width: 50px; height: 50px; border-radius: 17px; display: grid; place-items: center; background: #eef1f6; color: var(--ink); transition: transform .15s; }
.bbx-quick a:active .bbx-quick-ic { transform: scale(.92); }
.bbx-q1 { background: #fff1ea; color: #e8490f; }
.bbx-q2 { background: #ecfdf3; color: #15803d; }
.bbx-q3 { background: #eef2ff; color: #4f46e5; }
.bbx-q4 { background: #fef6e7; color: #c2680a; }
.bbx-q5 { background: #fdf2f8; color: #db2777; }
.bbx-quick--dash { grid-template-columns: repeat(4, 1fr); margin: 0 0 14px; }

/* ---------- Bike cards ---------- */
.bbx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bbx-bike { position: relative; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s; }
.bbx-bike:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(11, 18, 32, .35); }
.bbx-bike-link { display: block; text-decoration: none; color: var(--ink); }
.bbx-bike-img { position: relative; display: block; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #e7ebf2, #f4f6fa); overflow: hidden; }
.bbx-bike-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.bbx-bike:hover .bbx-bike-img img { transform: scale(1.04); }
.bbx-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: #a9b3c4; }
.bbx-bike-img img + .bbx-noimg { display: none; }
.bbx-tag { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 9px; font-size: 11px; font-weight: 800; background: #fff; }
.bbx-tag--amber { background: #fde68a; color: #78350f; }
.bbx-count { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 8px; background: rgba(11, 18, 32, .6); color: #fff; font-size: 11px; font-weight: 700; backdrop-filter: blur(6px); }
.bbx-bike-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 13px; }
.bbx-bike-price { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.bbx-bike-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbx-bike-meta, .bbx-bike-loc { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbx-bike-loc { display: flex; align-items: center; gap: 3px; margin-top: 2px; }
.bbx-heart { position: absolute; top: 9px; right: 9px; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .3); transition: transform .15s; }
.bbx-heart:active { transform: scale(.85); }
.bbx-heart.is-on, .bbx-heart-solo.is-on { color: #ef4444; }
.bbx-heart.is-on .bbx-ic, .bbx-heart-solo.is-on .bbx-ic { fill: #ef4444; }
.bbx-heart.is-pop .bbx-ic { animation: bbx-pop .35s ease; }
@keyframes bbx-pop { 50% { transform: scale(1.35); } }

.bbx-hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 64%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 10px; scroll-padding: 16px; }
.bbx-hscroll::-webkit-scrollbar { display: none; }
.bbx-hscroll > * { scroll-snap-align: start; }
.bbx-hscroll--dealers { grid-auto-columns: 42%; }

/* ---------- Home sections ---------- */
.bbx-brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bbx-brands a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); font-size: 12px; font-weight: 700; text-decoration: none; text-align: center; }
.bbx-brands span { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: #f1f3f8; font-weight: 800; font-size: 14px; color: var(--ink-2); }
.bbx-dealer-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); text-decoration: none; text-align: center; }
.bbx-dealer-tile strong { font-size: 14px; line-height: 1.2; margin-top: 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bbx-dealer-tile .bbx-muted { font-size: 12px; margin-bottom: 4px; }
.bbx-why { display: grid; gap: 10px; }
.bbx-why div { display: grid; grid-template-columns: 46px 1fr; column-gap: 12px; padding: 14px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.bbx-why span { grid-row: span 2; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.bbx-why p { font-size: 13px; color: var(--muted); }
.bbx-cta { position: relative; overflow: hidden; margin: 22px 0 10px; padding: 22px 20px; border-radius: 26px; color: #fff; background: radial-gradient(100% 120% at 100% 0%, rgba(255, 106, 44, .6), transparent 60%), linear-gradient(150deg, #0b1220, #1d2742); }
.bbx-cta h2 { font-size: 22px; margin: 10px 0 6px; font-weight: 800; max-width: 80%; }
.bbx-cta p { color: rgba(255, 255, 255, .72); font-size: 14px; margin-bottom: 16px; max-width: 85%; }
.bbx-cta-art { position: absolute; right: -10px; bottom: -14px; opacity: .14; color: #fff; }
.bbx-cta--small h2 { font-size: 19px; margin-top: 0; }
.bbx-foot { text-align: center; font-size: 12.5px; color: var(--muted); padding: 18px 0 6px; }
.bbx-foot a { color: var(--brand); font-weight: 700; text-decoration: none; }

/* ---------- Search results ---------- */
.bbx-results-head { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 12px; }
.bbx-results-head strong { font-size: 16px; }
.bbx-sort select { border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 10px; background: #fff; font-weight: 600; font-size: 13px; font-family: inherit; color: var(--ink); }
.bbx-more { margin-top: 16px; }

/* ---------- Dealers ---------- */
.bbx-dealer, .bbx-seller { display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.bbx-dealer-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.bbx-dealer-body strong { font-size: 15.5px; }
.bbx-dealer-body .bbx-muted { display: flex; align-items: center; gap: 3px; font-size: 12.5px; }
.bbx-dealer-count { font-size: 12.5px; font-weight: 700; color: #d9430d; }

/* ---------- Shop page ---------- */
.bbx-shop-hero { position: relative; height: 170px; background: radial-gradient(100% 120% at 100% 0%, rgba(255, 106, 44, .65), transparent 60%), radial-gradient(80% 100% at 0% 100%, rgba(99, 102, 241, .4), transparent 60%), linear-gradient(160deg, #0b1220, #1a2440); }
.bbx-floatbar { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: 12px; padding-top: max(12px, env(safe-area-inset-top)); }
.bbx-floatbar > span { display: flex; gap: 8px; }
.bbx-shop { padding-top: 0; }
.bbx-shop-card { position: relative; margin: -56px 0 8px; padding: 0 18px 20px; text-align: center; background: #fff; border-radius: 26px; box-shadow: var(--shadow); }
.bbx-shop-card h1 { font-size: 23px; font-weight: 800; }
.bbx-shop-card > .bbx-muted { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 4px; }
.bbx-shop-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 16px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bbx-shop-stats div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.bbx-shop-stats div + div { border-left: 1px solid var(--line); }
.bbx-shop-stats strong { font-size: 16px; color: var(--ink); display: flex; }
.bbx-shop-stats strong .bbx-ic { color: #0ea5e9; }
.bbx-shop-stats span { font-size: 11.5px; color: var(--muted); }
.bbx-shop-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.bbx-shop-actions .bbx-btn { flex: 1 1 0; min-width: 0; padding: 12px 8px; font-size: 14px; gap: 6px; }
.bbx-shop-about { margin-top: 14px; font-size: 14px; color: var(--ink-2); text-align: left; }
.bbx-shop .bbx-small { margin-top: 8px; text-align: left; }

/* ---------- Bike detail ---------- */
.bbx-page-bike { background: var(--bg); }
.bbx-gallery-wrap { position: relative; background: #0b1220; }
.bbx-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bbx-gallery::-webkit-scrollbar { display: none; }
.bbx-gallery img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; max-height: 62vh; object-fit: cover; scroll-snap-align: center; display: block; }
.bbx-gallery--empty { aspect-ratio: 16 / 10; display: grid; place-items: center; color: #3a4762; }
.bbx-dots { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: center; gap: 6px; }
.bbx-dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .5); transition: all .25s; }
.bbx-dots i.is-on { width: 20px; background: #fff; }
.bbx-gallery-count { position: absolute; right: 14px; bottom: 32px; padding: 3px 9px; border-radius: 9px; background: rgba(11, 18, 32, .6); color: #fff; font-size: 12px; font-weight: 700; }
.bbx-detail { position: relative; z-index: 2; max-width: 780px; margin: -22px auto 0; padding: 20px 16px calc(110px + var(--safe-b)); background: var(--bg); border-radius: 26px 26px 0 0; }
.bbx-detail-head { display: flex; justify-content: space-between; gap: 10px; }
.bbx-detail h1 { font-size: 24px; font-weight: 800; margin: 8px 0 4px; line-height: 1.2; }
.bbx-detail-head .bbx-muted { display: flex; align-items: center; gap: 4px; font-size: 13.5px; }
.bbx-price-big { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 16px; }
.bbx-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 14px; }
.bbx-specs div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); text-align: center; }
.bbx-specs .bbx-ic { color: var(--brand); }
.bbx-specs strong { font-size: 13.5px; line-height: 1.2; }
.bbx-specs span { font-size: 11px; color: var(--muted); }
.bbx-checks { list-style: none; margin: 0; padding: 0; }
.bbx-checks li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.bbx-checks li:last-child { border-bottom: 0; }
.bbx-checks li::before { content: "•"; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #eef1f6; color: #94a3b8; font-weight: 800; }
.bbx-checks li.ok::before { content: "✓"; background: #dcfce7; color: #15803d; font-size: 12px; }
.bbx-checks span { color: var(--muted); flex: 1; }
.bbx-seller { margin: 0 0 12px; }
.bbx-actionbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 12px 14px calc(12px + var(--safe-b)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -10px 30px -16px rgba(11, 18, 32, .35); }
.bbx-actionbar .bbx-btn { flex: 1; padding: 14px 10px; border-radius: 16px; }
.bbx-alert { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 14px; margin: 0 0 14px; border-radius: 16px; font-size: 14px; font-weight: 600; }
.bbx-alert a { font-weight: 800; }
.bbx-alert--red { background: #fef2f2; color: #991b1b; }
.bbx-alert--green { background: #ecfdf3; color: #166534; }

/* ---------- Bottom sheets (native <dialog>) ---------- */
.bbx-sheet { width: 100%; max-width: 560px; max-height: 90dvh; margin: auto auto 0; padding: 0; border: 0; border-radius: 26px 26px 0 0; background: #fff; color: var(--ink); box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .5); overflow: hidden; }
.bbx-sheet[open] { display: flex; flex-direction: column; animation: bbx-sheet-up .3s cubic-bezier(.2, .9, .3, 1.1); }
.bbx-sheet > form { display: flex; flex-direction: column; min-height: 0; max-height: 90dvh; }
.bbx-sheet::backdrop { background: rgba(11, 18, 32, .55); backdrop-filter: blur(3px); }
@keyframes bbx-sheet-up { from { transform: translateY(100%); } to { transform: none; } }
.bbx-sheet-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 22px 16px 8px 20px; }
.bbx-sheet::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: #d7dce5; }
.bbx-sheet-head h3 { font-size: 19px; font-weight: 800; }
.bbx-sheet-body { padding: 6px 20px 12px; overflow-y: auto; }
.bbx-sheet-body h3 { font-size: 19px; margin: 10px 0 6px; }
.bbx-sheet-foot { display: flex; gap: 10px; padding: 12px 20px calc(16px + var(--safe-b)); border-top: 1px solid var(--line); }
.bbx-sheet-foot .bbx-btn { flex: 1; }
.bbx-sheet-bike { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bbx-sheet-bike small { display: block; color: var(--muted); font-size: 12.5px; }
.bbx-menu { display: flex; flex-direction: column; padding: 4px 0 calc(10px + var(--safe-b)); }
.bbx-menu a, .bbx-menu button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 20px; border: 0; background: none; font-weight: 600; font-size: 15px; font-family: inherit; color: var(--ink); text-decoration: none; text-align: left; cursor: pointer; }
.bbx-menu a:active, .bbx-menu button:active { background: #f4f5f9; }
.bbx-menu .bbx-ic { color: var(--muted); }
.bbx-menu-wa, .bbx-menu-wa .bbx-ic { color: #12a150 !important; }
.bbx-menu-strong, .bbx-menu-strong .bbx-ic { color: var(--brand) !important; }
.bbx-menu--card { padding: 4px 0; overflow: hidden; }
.bbx-menu--card a { padding: 12px 14px; border-bottom: 1px solid #f0f2f6; }
.bbx-menu--card a:last-child { border-bottom: 0; }
.bbx-menu--card a > .bbx-ic:last-child { margin-left: auto; color: #b3bccb; }
.bbx-menu-ic { width: 38px; height: 38px; border-radius: 12px; }
.bbx-menu-ic .bbx-ic { color: inherit !important; }

/* ---------- Choice chips, switches, segmented ---------- */
.bbx-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.bbx-choice--2 { display: grid; grid-template-columns: 1fr 1fr; }
.bbx-choice label { position: relative; cursor: pointer; }
.bbx-choice input { position: absolute; opacity: 0; pointer-events: none; }
.bbx-choice span { display: flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; text-align: center; transition: all .15s; }
.bbx-choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.bbx-choice input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.bbx-switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; margin: 14px 0 4px; }
.bbx-row-between .bbx-switch { margin: 0; }
.bbx-switch input { position: absolute; opacity: 0; pointer-events: none; }
.bbx-switch span { position: relative; width: 44px; height: 26px; flex-shrink: 0; border-radius: 13px; background: #d3d8e2; transition: background .2s; }
.bbx-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: transform .2s; }
.bbx-switch input:checked + span { background: var(--brand); }
.bbx-switch input:checked + span::after { transform: translateX(18px); }
.bbx-seg { display: flex; gap: 4px; padding: 4px; margin: 0 0 14px; background: #e6e9f0; border-radius: 16px; }
.bbx-seg a { flex: 1; display: flex; justify-content: center; align-items: center; gap: 6px; padding: 9px 8px; border-radius: 12px; font-size: 13.5px; font-weight: 700; color: var(--muted); text-decoration: none; white-space: nowrap; }
.bbx-seg a.is-on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -2px rgba(11, 18, 32, .2); }
.bbx-seg em { font-style: normal; font-size: 11.5px; padding: 1px 7px; border-radius: 8px; background: rgba(11, 18, 32, .07); }
.bbx-seg--scroll { overflow-x: auto; scrollbar-width: none; }

/* ---------- Forms ---------- */
.bbx-form { margin: 0; }
.bbx-fields { display: grid; grid-template-columns: 1fr; column-gap: 12px; }
.bbx-field { display: block; margin: 0 0 14px; }
.bbx-field > span:first-child { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 0 0 6px; }
.bbx-field input, .bbx-field select, .bbx-field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #f8f9fc; font-weight: 500; font-size: 16px; font-family: inherit; color: var(--ink); outline: 0; transition: border-color .15s, box-shadow .15s, background .15s; appearance: none; -webkit-appearance: none; }
.bbx-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.bbx-field input:focus, .bbx-field select:focus, .bbx-field textarea:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(255, 90, 31, .12); }
.bbx-field textarea { resize: vertical; min-height: 80px; }
.bbx-input-wrap { position: relative; display: block; }
.bbx-input-wrap > .bbx-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; }
.bbx-field--icon input { padding-left: 44px; }
.bbx-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: #94a3b8; cursor: pointer; display: grid; place-items: center; }
.bbx-has-savebar { padding-bottom: 96px; }
.bbx-savebar { position: fixed; z-index: 35; left: 12px; right: 12px; bottom: calc(86px + var(--safe-b)); display: flex; gap: 10px; }
.bbx-savebar .bbx-btn { box-shadow: 0 14px 30px -10px rgba(255, 74, 18, .75); }
.bbx-savebar .bbx-iconbtn--outline { box-shadow: var(--shadow); }

/* ---------- Photo uploader ---------- */
.bbx-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bbx-photo { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #eef1f6; cursor: pointer; display: block; }
.bbx-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bbx-photo input[type=checkbox] { position: absolute; opacity: 0; }
.bbx-photo-x { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: rgba(11, 18, 32, .55); color: #fff; }
.bbx-photo input:checked ~ .bbx-photo-x { background: var(--red); }
.bbx-photo input:checked ~ img, .bbx-photo:has(input:checked) img { opacity: .35; filter: grayscale(1); }
.bbx-photo-cover { position: absolute; left: 5px; bottom: 5px; padding: 2px 7px; border-radius: 7px; background: rgba(11, 18, 32, .65); color: #fff; font-size: 10.5px; font-weight: 700; }
.bbx-photo--add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 2px dashed #cdd3df; background: #fafbfd; color: var(--muted); font-size: 11.5px; font-weight: 700; }
.bbx-photo--add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bbx-photo--new { outline: 2px solid var(--brand); outline-offset: -2px; }

/* ---------- Toast ---------- */
.bbx-toast { position: fixed; z-index: 60; top: calc(12px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; max-width: calc(100% - 24px); width: max-content; padding: 12px 16px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); animation: bbx-toast 4.2s ease forwards; }
.bbx-toast--ok .bbx-ic { color: #4ade80; }
.bbx-toast--error { background: #7f1d1d; }
@keyframes bbx-toast { 0% { opacity: 0; transform: translate(-50%, -20px); } 8%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -20px); visibility: hidden; } }

/* ---------- Empty states ---------- */
.bbx-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 18px; text-align: center; color: var(--muted); font-size: 14px; text-decoration: none; }
.bbx-empty h2 { color: var(--ink); font-size: 19px; font-weight: 800; }
.bbx-empty p { max-width: 340px; margin-bottom: 8px; }
.bbx-empty--page { min-height: 46vh; justify-content: center; }
.bbx-empty--soft { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 18px; flex-direction: row; text-align: left; gap: 12px; }
.bbx-empty--soft p { margin: 0; }
.bbx-empty--cta { background: #fff; border: 2px dashed #d5dae4; border-radius: 20px; color: var(--muted); }
.bbx-empty--cta strong { color: var(--ink); font-size: 16px; }
.bbx-empty-ic { width: 60px; height: 60px; flex-shrink: 0; border-radius: 20px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.bbx-empty--soft .bbx-empty-ic { width: 42px; height: 42px; border-radius: 14px; background: #ecfdf3; color: var(--green); }
.bbx-empty-ic--red { background: #fee2e2; color: var(--red); margin: 0 auto 6px; }

/* ---------- Dealer dashboard ---------- */
.bbx-dash-hero { position: relative; overflow: hidden; padding: 16px 16px 20px; padding-top: max(16px, env(safe-area-inset-top)); border-radius: 0 0 30px 30px; color: #fff; background: radial-gradient(110% 90% at 100% 0%, rgba(255, 106, 44, .5), transparent 55%), linear-gradient(160deg, #0b1220, #18223a); }
.bbx-dash-hello { display: flex; align-items: center; gap: 12px; }
.bbx-dash-hello > div { flex: 1; min-width: 0; }
.bbx-dash-hello small { display: block; color: rgba(255, 255, 255, .65); font-size: 13px; }
.bbx-dash-hello strong { display: block; font-size: 19px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbx-dash-hello .bbx-avatar { background: linear-gradient(135deg, var(--brand-2), var(--brand)); }
.bbx-dash-hello .bbx-iconbtn i { border-color: #141d33; }
.bbx-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.bbx-kpis a { display: flex; flex-direction: column; gap: 2px; padding: 13px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; }
.bbx-kpis span { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 138, 61, .18); color: var(--brand-2); margin-bottom: 6px; }
.bbx-kpis strong { font-size: 20px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbx-kpis small { color: rgba(255, 255, 255, .62); font-size: 12px; }
.bbx-dash-body { padding-top: 16px; }
.bbx-upsell { display: flex; align-items: center; gap: 12px; padding: 14px; margin: 0 0 14px; border-radius: 20px; background: linear-gradient(135deg, #fff4ec, #fff); border: 1.5px solid #ffd9c4; text-decoration: none; color: var(--ink); }
.bbx-upsell-ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; flex-shrink: 0; }
.bbx-upsell-body { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bbx-upsell-body strong { font-size: 14px; }
.bbx-upsell-body small { font-size: 12.5px; color: #c2410c; font-weight: 700; }
.bbx-meter { display: block; height: 7px; border-radius: 4px; background: #ffe3d4; overflow: hidden; }
.bbx-meter i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--brand-2), var(--brand)); }
.bbx-meter--light { background: rgba(255, 255, 255, .15); margin: 12px 0; }
.bbx-stockitem { display: flex; align-items: center; gap: 4px; padding: 10px 6px 10px 10px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); }
.bbx-stockitem-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-decoration: none; color: var(--ink); }
.bbx-stockitem-price { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-weight: 800; font-size: 15px; margin-top: 3px; }
.bbx-lead { padding: 14px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.bbx-lead-top { display: flex; align-items: center; gap: 12px; }
.bbx-lead-top .bbx-avatar { background: linear-gradient(135deg, #6366f1, #4338ca); }
.bbx-lead-msg { padding: 9px 12px; border-radius: 14px; background: #f5f6fa; font-size: 14px; color: var(--ink-2); }
.bbx-lead-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bbx-lead-actions { display: flex; gap: 8px; }
.bbx-lead-actions .bbx-btn { flex: 1; }
.bbx-sellhead { display: flex; align-items: center; gap: 14px; }
.bbx-sellhead > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bbx-sellhead strong { font-size: 16px; }
.bbx-success { position: relative; overflow: hidden; padding: 28px 20px; margin: 0 0 12px; border-radius: 26px; text-align: center; color: #fff; background: radial-gradient(100% 120% at 50% 0%, rgba(34, 197, 94, .45), transparent 60%), linear-gradient(160deg, #0b1220, #15233a); }
.bbx-success-ic { width: 70px; height: 70px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: #22c55e; color: #fff; box-shadow: 0 0 0 10px rgba(34, 197, 94, .18); animation: bbx-pop .5s ease; }
.bbx-success h2 { font-size: 26px; font-weight: 800; }
.bbx-success p { color: rgba(255, 255, 255, .7); margin: 4px 0 12px; }
.bbx-rows { list-style: none; margin: 0; padding: 0; }
.bbx-rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.bbx-rows li:last-child { border-bottom: 0; }
.bbx-rows span { color: var(--muted); }
.bbx-rows-total strong { font-size: 20px; color: var(--green); }
.bbx-rows--tight li { padding: 7px 0; }
.bbx-paper { padding: 14px; }
.bbx-paper-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.bbx-paper-head small { display: block; font-size: 12.5px; color: var(--muted); }
.bbx-profile { display: flex; align-items: center; gap: 14px; }
.bbx-profile .bbx-avatar { background: linear-gradient(135deg, var(--brand-2), var(--brand)); }
.bbx-profile .bbx-item-body strong { font-size: 17px; }
.bbx-profile .bbx-pill { align-self: flex-start; margin-top: 4px; }
.bbx-showroom { display: flex; flex-direction: column; gap: 4px; }
.bbx-showroom strong { font-size: 15px; word-break: break-all; margin-bottom: 8px; }
.bbx-logout { margin-top: 6px; color: var(--red) !important; }
.bbx-monthbar { display: flex; align-items: center; justify-content: space-between; padding: 6px; margin: 0 0 12px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.bbx-monthbar strong { font-size: 16px; }
.bbx-statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bbx-stat { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.bbx-stat small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.bbx-stat strong { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.bbx-stat--dark { grid-column: 1 / -1; color: #fff; background: radial-gradient(100% 140% at 100% 0%, rgba(34, 197, 94, .35), transparent 60%), linear-gradient(150deg, #0b1220, #18223a); }
.bbx-stat--dark small { color: rgba(255, 255, 255, .65); }
.bbx-stat--dark strong { font-size: 30px; }
.bbx-logo-pick { position: relative; display: inline-grid; place-items: center; width: 100px; height: 100px; margin: 0 auto; border-radius: 30px; overflow: visible; background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; font-size: 32px; font-weight: 800; cursor: pointer; }
.bbx-logo-pick img { width: 100px; height: 100px; object-fit: cover; border-radius: 30px; }
.bbx-logo-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bbx-logo-pick i { position: absolute; right: -6px; bottom: -6px; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; border: 3px solid #fff; }
.bbx-card.bbx-center .bbx-hint { justify-content: center; }

/* ---------- Plan ---------- */
.bbx-plancard { padding: 20px; margin: 0 0 12px; border-radius: 24px; color: #fff; background: radial-gradient(100% 140% at 100% 0%, rgba(255, 106, 44, .55), transparent 60%), linear-gradient(150deg, #0b1220, #1d2742); }
.bbx-plancard.is-paid { background: radial-gradient(100% 140% at 100% 0%, rgba(34, 197, 94, .45), transparent 60%), linear-gradient(150deg, #0b1220, #1d2742); }
.bbx-plancard h2 { font-size: 22px; font-weight: 800; margin-top: 12px; }
.bbx-plancard p { color: rgba(255, 255, 255, .75); margin-top: 6px; font-size: 14px; }
.bbx-plan-price strong { font-size: 36px; font-weight: 800; letter-spacing: -.03em; }
.bbx-plan-price span { color: var(--muted); font-weight: 600; }
.bbx-ticks { list-style: none; margin: 14px 0 16px; padding: 0; display: grid; gap: 10px; }
.bbx-ticks li { display: flex; gap: 10px; font-size: 14.5px; font-weight: 600; }
.bbx-ticks .bbx-ic { color: var(--green); }

/* ---------- Auth ---------- */
.bbx-page-login, .bbx-page-register { background: #0b1220; }
.bbx-auth { min-height: 100dvh; display: flex; flex-direction: column; }
.bbx-auth-top { padding: 14px 20px 58px; padding-top: max(14px, env(safe-area-inset-top)); color: #fff; background: radial-gradient(120% 100% at 100% 0%, rgba(255, 106, 44, .6), transparent 55%), radial-gradient(90% 90% at 0% 100%, rgba(99, 102, 241, .35), transparent 60%), #0b1220; }
.bbx-auth-nav { display: flex; align-items: center; justify-content: space-between; }
.bbx-auth-top h1 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin: 30px 0 6px; line-height: 1.15; }
.bbx-auth-top p { color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.bbx-auth-card { flex: 1; margin-top: -30px; padding: 24px 20px calc(30px + var(--safe-b)); background: #fff; border-radius: 30px 30px 0 0; }
.bbx-perks { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 18px; }
.bbx-perks span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: var(--brand-soft); color: #c2410c; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.bbx-auth-switch { text-align: center; margin-top: 20px; color: var(--muted); font-size: 14px; }
.bbx-auth-switch a { color: var(--brand); font-weight: 800; text-decoration: none; }
.bbx-auth .bbx-row-between a { color: var(--brand); font-weight: 700; text-decoration: none; }

/* ---------- Tablet & desktop ---------- */
@media (min-width: 560px) {
	.bbx-fields { grid-template-columns: 1fr 1fr; }
	.bbx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bbx-hscroll { grid-auto-columns: 38%; }
	.bbx-hscroll--dealers { grid-auto-columns: 26%; }
	.bbx-brands { grid-template-columns: repeat(8, 1fr); }
	.bbx-why { grid-template-columns: repeat(3, 1fr); }
	.bbx-photos { grid-template-columns: repeat(6, 1fr); }
	.bbx-statgrid { grid-template-columns: repeat(4, 1fr); }
	.bbx-stat--dark { grid-column: span 1; }
	.bbx-stat--dark strong { font-size: 21px; }
	.bbx-kpis { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
	.bbx-desk { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px; padding: 12px 32px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
	.bbx-desk nav { display: flex; gap: 6px; flex: 1; }
	.bbx-desk nav a { padding: 8px 14px; border-radius: 12px; font-weight: 700; font-size: 14.5px; color: var(--muted); text-decoration: none; }
	.bbx-desk nav a.is-on, .bbx-desk nav a:hover { color: var(--ink); background: #f1f3f8; }
	.bbx-nav { display: none; }
	.bbx-has-nav .bbx-main { padding-bottom: 40px; }
	.bbx-hero { border-radius: 0 0 40px 40px; padding: 56px max(32px, calc((100% - 1056px) / 2)) 64px; }
	.bbx-hero-top { display: none; }
	.bbx-hero h1 { font-size: 52px; max-width: 760px; }
	.bbx-hero .bbx-search { max-width: 640px; }
	.bbx-hero-sub { font-size: 16px; }
	.bbx-home .bbx-quick { max-width: 640px; margin-top: -40px; position: relative; z-index: 2; }
	.bbx-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
	.bbx-hscroll { grid-auto-columns: 23%; margin: 0; padding: 2px 0 10px; }
	.bbx-hscroll--dealers { grid-auto-columns: 16%; }
	.bbx-bar { top: 61px; padding: 16px max(16px, calc((100% - 1088px) / 2)); }
	.bbx-page-bike .bbx-floatbar, .bbx-shop-hero .bbx-floatbar { max-width: 1120px; margin: 0 auto; }
	.bbx-gallery-wrap { max-width: 900px; margin: 20px auto 0; border-radius: 26px; overflow: hidden; }
	.bbx-actionbar { left: 50%; right: auto; width: 760px; transform: translateX(-50%); bottom: 18px; border-radius: 22px; }
	.bbx-shop-card { max-width: 720px; margin-left: auto; margin-right: auto; }
	.bbx-savebar { left: 50%; right: auto; width: 640px; transform: translateX(-50%); bottom: 24px; }
	.bbx-sheet { margin: auto; border-radius: 26px; }
	.bbx-sheet[open] { animation: bbx-in .25s ease; }
	.bbx-dash-hero { border-radius: 0 0 40px 40px; padding: 32px max(32px, calc((100% - 1056px) / 2)); }
	.bbx-auth { align-items: center; justify-content: center; padding: 40px 16px; }
	.bbx-auth-top { width: 100%; max-width: 480px; border-radius: 30px 30px 0 0; }
	.bbx-auth-card { flex: none; width: 100%; max-width: 480px; border-radius: 30px; box-shadow: var(--shadow-lg); }
	.bbx-page-dashboard .bbx-dash > .bbx-wrap, .bbx-page-dashboard .bbx-form.bbx-wrap { max-width: 760px; }
}

/* ---------- Print documents ---------- */
.bbx-docbody { background: #fff; }
.bb-doc { max-width: 820px; margin: 0 auto; padding: 24px; font-size: 14px; color: #111827; }
.bb-doc-wide { max-width: 1200px; }
.bbx-printbar { display: flex; gap: 8px; margin: 0 0 18px; }
.bb-doc-head { display: flex; gap: 14px; align-items: flex-start; border-bottom: 2px solid #111827; padding-bottom: 12px; margin-bottom: 14px; font-size: 13px; }
.bb-doc-head h2 { font-size: 20px; margin: 0 0 4px; }
.bb-doc-logo { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.bb-doc h1 { font-size: 22px; margin: 8px 0 4px; }
.bb-doc-title { text-align: center; font-size: 20px !important; margin: 10px 0 14px !important; }
.bb-doc-price { font-size: 24px; font-weight: 800; margin: 0 0 12px; }
.bb-doc-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; }
.bb-doc-photos img { width: 100%; height: auto; border-radius: 8px; }
.bb-doc-table { width: 100%; border-collapse: collapse; margin: 0 0 14px; }
.bb-doc-table th, .bb-doc-table td { text-align: left; padding: 8px; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
.bb-doc-table th { color: #6b7280; font-weight: 600; }
.bb-doc-items tfoot th { color: #111827; font-size: 16px; border-top: 2px solid #111827; }
.bb-doc-small { font-size: 12px; color: #6b7280; margin: 8px 0; }
.bb-register { font-size: 11.5px; }
.bb-signs { display: flex; justify-content: space-between; margin-top: 70px; }
.bb-signs div { border-top: 1px solid #111827; padding-top: 6px; min-width: 200px; text-align: center; }
@media print {
	.bb-noprint { display: none !important; }
	.bb-doc { padding: 0; max-width: none; }
	@page { margin: 12mm; }
}
