:root {
  --yellow: #FFC107;
  --yellow-dark: #E6AC00;
  --yellow-light: #FFF8E1;
  --coal: #1A1A1A;
  --coal-2: #333333;
  --bg: #FAFAFA;
  --field: #F5F5F5;
  --text: #000000;
  --muted: #616161;
  --line: #E0E0E0;
  --error: #D32F2F;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-home: 20px;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #e8e8e8; color: var(--text);
  font-family: Roboto, system-ui, sans-serif; }
button, input, textarea, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }

.phone {
  min-height: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  box-shadow: 0 0 40px rgba(0,0,0,.12);
}

.splash {
  position: fixed; inset: 0; z-index: 50; background: #000; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.splash-logo { width: min(280px, 72vw); height: auto; object-fit: contain; }

.phone.home-screen main { padding: 0; }
.home-head {
  background: #fff; padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 12px;
}
.home-body { padding: 0 16px 88px; }
.home-search { display: flex; align-items: center; gap: 10px; }
.home-search .home-logo {
  width: 40px; height: 40px; border-radius: 12px; object-fit: cover; flex: none;
  background: #000; user-select: none; touch-action: none;
}
.home-search .search-wrap {
  flex: 1; display: flex; align-items: center; background: var(--field);
  border-radius: 12px; padding: 4px; min-height: 44px;
}
.home-search input {
  flex: 1; border: 0; background: transparent; font-size: 14px; outline: none; min-width: 0;
  padding: 10px 12px;
}
.home-search .search-go {
  width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--yellow);
  display: grid; place-items: center; flex: none;
}
.home-search .search-go .material-icons { color: #000; font-size: 22px; }

.order-track { padding: 12px 0 0; }
.order-track-inner {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 16px;
  padding: 12px 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); text-align: left;
}
.order-track-title { font-weight: 800; font-size: 14px; }
.order-badge {
  background: var(--field); border-radius: 8px; padding: 2px 8px; font-size: 12px; font-weight: 700;
}
.order-track-status { margin-left: auto; font-weight: 700; font-size: 12px; color: var(--muted); }
.order-track-chev { color: var(--muted); font-size: 22px; }

.vin-clip { height: 104px; overflow: hidden; padding: 12px 0 0; margin-bottom: 10px; }
.vin-card {
  background: var(--coal); color: #fff; border-radius: 20px; padding: 8px 12px 12px;
  min-height: 208px; box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.vin-card h3 { margin: 0 0 6px; font-size: 13px; font-weight: 800; text-align: center; }
.vin-row { display: flex; gap: 8px; align-items: stretch; }
.vin-row .vin-input {
  flex: 1; margin: 0; background: #fff; color: #000; border-radius: 12px;
  font-size: 14px; padding: 10px 12px;
}
.vin-row .vin-go { height: 44px; width: 44px; border-radius: 12px; padding: 0; }

.car-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.car-mini {
  border: 0; text-align: left; background: var(--coal); color: #fff;
  border-radius: 16px; padding: 10px 4px 10px 10px; display: flex; gap: 8px; align-items: center;
}
.car-mini-ic {
  width: 36px; height: 36px; border-radius: 12px; background: var(--yellow);
  display: grid; place-items: center; flex: none;
}
.car-mini-ic .material-icons, .car-mini-ic .material-icons-outlined { color: #000; font-size: 20px; }
.car-mini-text {
  font-weight: 800; font-size: 13px; line-height: 1.15; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.card-title-sm { font-size: 16px; font-weight: 600; display: block; }
.expert-block .expert-actions { display: flex; gap: 8px; margin-top: 14px; align-items: stretch; }
.brand-btn {
  flex: 1; border: 0; border-radius: 14px; height: 48px; padding: 0 6px;
  font-weight: 700; font-size: 11px; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  text-decoration: none; min-width: 0;
}
.brand-btn .material-icons-outlined { font-size: 18px; flex: none; }
.brand-btn.wa { background: #25d366; }
.brand-btn.ig { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.brand-btn.expert { flex: 2; background: var(--yellow); color: #000; font-size: 12px; }
.brand-btn:disabled { opacity: .45; }

.catalog-title { text-align: center; font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.section-title { font-size: 18px; font-weight: 700; margin: 16px 0 12px; }
.cat-grid-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cat-wide {
  border: 0; text-align: left; border-radius: 14px; padding: 10px;
  background: rgba(255, 193, 7, 0.1); display: flex; align-items: center; gap: 10px;
}
.cat-wide-ic {
  width: 40px; height: 40px; border-radius: 12px; background: #fff;
  display: grid; place-items: center; flex: none;
}
.cat-wide-ic .material-icons-outlined { color: var(--yellow); font-size: 22px; }
.cat-wide-label { font-weight: 700; font-size: 14px; line-height: 1.2; color: var(--text); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-card {
  background: var(--bg); border-radius: 14px; padding: 14px; text-align: left;
}
.stat-card b {
  display: block; font-size: 18px; font-weight: 800; color: var(--yellow); margin-bottom: 4px;
}
.stat-card span { color: var(--muted); font-size: 12px; line-height: 1.25; }

.tile {
  width: 100%; border: 0; background: #fff; border-radius: 16px; padding: 14px;
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); text-align: left;
}
.tile-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--field);
  display: grid; place-items: center; flex: none;
}
.tile-icon .material-icons-outlined { color: var(--yellow); }
.tile-body { flex: 1; min-width: 0; }
.tile-body b { display: block; font-size: 15px; }
.tile-body small { color: var(--muted); font-size: 12px; }
.tile .chev { color: var(--yellow); font-size: 22px; }

.profile-card {
  background: #fff; border-radius: 20px; padding: 16px; margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.profile-card-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.profile-card-head .gift {
  width: 44px; height: 44px; border-radius: 12px; background: var(--yellow);
  display: grid; place-items: center;
}
.profile-card-head .gift .material-icons { color: #000; }
.barcode-box {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center;
  background: #fff;
}
.barcode-lines {
  height: 56px; background: repeating-linear-gradient(
    90deg, #000 0 2px, transparent 2px 4px, #000 4px 5px, transparent 5px 8px
  ); margin-bottom: 8px; border-radius: 4px;
}
.barcode-code { font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.profile-note { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.35; }

.ref-row {
  display: flex; align-items: center; gap: 8px; background: var(--field);
  border-radius: 12px; padding: 12px 14px; margin: 10px 0;
}
.ref-row code { flex: 1; font-size: 14px; font-weight: 700; }
.ref-copy { border: 0; background: transparent; color: var(--yellow); padding: 4px; }

.cart-seg {
  display: flex; background: var(--field); border-radius: 999px; padding: 4px; margin-bottom: 16px;
}
.cart-seg button {
  flex: 1; border: 0; background: transparent; border-radius: 999px; padding: 10px 8px;
  font-weight: 600; font-size: 13px; color: var(--muted); display: flex; align-items: center;
  justify-content: center; gap: 6px;
}
.cart-seg button.on { background: var(--yellow-light); color: #000; font-weight: 700; }

.pick-card {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 16px;
  padding: 12px; margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start;
  text-align: left;
}
.pick-card.on { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }
.pick-card .store-ic {
  width: 40px; height: 40px; border-radius: 10px; background: var(--yellow-light);
  display: grid; place-items: center; flex: none;
}
.pick-card .store-ic .material-icons-outlined { color: var(--yellow-dark); font-size: 22px; }
.pick-card h4 { margin: 0 0 4px; font-size: 15px; }
.pick-card p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.35; }
.pick-card .when { color: #e65100; font-size: 12px; font-weight: 600; margin-top: 6px; }
.pick-radio {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line);
  margin-left: auto; flex: none; position: relative;
}
.pick-card.on .pick-radio { border-color: #2e7d32; background: #2e7d32; }
.pick-card.on .pick-radio::after {
  content: "✓"; position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-size: 14px; font-weight: 800; line-height: 1;
}
.pick-note { font-size: 12px; color: #e65100; margin: 4px 0 0; line-height: 1.4; }

.auth-screen .auth-title { font-size: 18px; font-weight: 700; margin: 0 0 16px; line-height: 1.3; }
.auth-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.auth-tabs button {
  border: 0; background: transparent; padding: 10px 0; font-weight: 600; color: var(--muted);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.auth-tabs button.on { color: #000; border-bottom-color: var(--yellow); font-weight: 700; }
.auth-seg {
  display: flex; background: var(--field); border-radius: 999px; padding: 4px; margin-bottom: 14px;
}
.auth-seg button {
  flex: 1; border: 0; background: transparent; border-radius: 999px; padding: 10px;
  font-weight: 600; font-size: 13px; color: var(--muted);
}
.auth-seg button.on { background: var(--yellow-light); color: #000; }
.auth-forgot { display: block; text-align: right; color: var(--yellow-dark); font-weight: 600;
  font-size: 13px; margin: -4px 0 12px; border: 0; background: transparent; width: 100%; }
.policy-check {
  display: flex; align-items: flex-start; gap: 9px; margin: 2px 0 14px;
  color: var(--muted); font-size: 12px; line-height: 1.4;
}
.policy-check input { width: 18px; height: 18px; accent-color: var(--yellow); flex: none; }
.policy-check a { color: var(--yellow-dark); font-weight: 700; }
.auth-members {
  margin-top: 20px; width: 100%; border: 0; background: var(--coal); color: #fff;
  border-radius: 999px; padding: 14px; font-weight: 700; font-size: 14px;
}
.page-top { padding: 4px 0 8px; }
.page-back { margin-left: -8px; }

.guest-profile {
  text-align: center; padding: 48px 8px 24px;
}
.guest-profile .guest-ic { font-size: 72px; color: var(--yellow); }
.guest-profile h2 { margin: 16px 0 8px; font-size: 20px; }
.guest-btn { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; }

.admin-login-title { font-size: 22px; font-weight: 800; margin: 0 0 20px; }
.field-icon {
  display: flex; align-items: center; gap: 10px; background: var(--field);
  border-radius: 12px; padding: 0 14px; margin-bottom: 10px;
}
.field-icon .material-icons-outlined { color: var(--yellow); }
.field-icon .field { margin: 0; background: transparent; box-shadow: none; flex: 1; padding-left: 0; }

.promo-row {
  display: flex; align-items: center; gap: 8px; background: var(--field);
  border-radius: 12px; padding: 4px 4px 4px 12px; margin: 12px 0;
}
.promo-row .field { flex: 1; background: transparent; }
.promo-tag { color: var(--yellow); font-size: 22px; }

.cart-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 16px 0; font-size: 15px;
}
.cart-total b { font-size: 22px; font-weight: 800; }

.pay-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.pay-item {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
}
.pay-item.on { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow-light); }
.pay-item input { accent-color: var(--yellow); width: 18px; height: 18px; }
.pay-body { flex: 1; min-width: 0; }
.pay-body b { display: block; font-size: 15px; margin-bottom: 4px; }
.pay-body small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.pay-ic { color: var(--yellow); font-size: 28px; }
.cart-item-bottom { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-stepper {
  margin-left: auto; display: flex; align-items: center; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; background: #fff;
}
.qty-stepper button {
  width: 34px; height: 34px; border: 0; background: var(--yellow-light);
  color: #000; font-size: 20px; line-height: 1;
}
.qty-stepper b { min-width: 28px; text-align: center; font-size: 13px; }
.cart-remove {
  width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted);
  border-radius: 10px; display: grid; place-items: center;
}
.option-card {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 12px; margin: 8px 0;
}
.option-card > input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--yellow); }
.option-ic {
  width: 38px; height: 38px; border-radius: 11px; background: var(--yellow-light);
  color: var(--yellow-dark); display: grid; place-items: center; flex: none;
}
.option-card > span:nth-of-type(2) { flex: 1; min-width: 0; }
.option-card b, .option-card small { display: block; }
.option-card b { font-size: 14px; margin-bottom: 3px; }
.option-card small { color: var(--muted); font-size: 11px; }
.bonus-input {
  width: 70px; border: 0; border-radius: 10px; background: var(--field);
  padding: 10px 8px; font-weight: 700; text-align: center;
}
.members-hero {
  background: var(--yellow-light); border-radius: 20px; padding: 16px; margin-bottom: 12px;
  display: flex; gap: 12px; align-items: flex-start;
}
.members-hero .material-icons-outlined { font-size: 28px; color: var(--yellow-dark); }
.legal-card {
  background: #fff; border-radius: 16px; padding: 18px; margin-top: 8px;
  color: var(--muted); font-size: 14px; line-height: 1.65;
}
.legal-card h1 { color: var(--text); font-size: 20px; line-height: 1.25; margin: 0 0 16px; }

.services-hero {
  margin: 8px 0 12px; padding: 16px; border-radius: 20px; background: var(--yellow-light);
  display: flex; gap: 12px; align-items: flex-start;
}
.services-hero > .material-icons-outlined { color: var(--yellow-dark); font-size: 32px; }
.services-hero b { font-size: 17px; }
.services-hero p { color: var(--muted); font-size: 12px; line-height: 1.4; margin: 5px 0 0; }
.service-partner-btn { margin-bottom: 12px; }
.service-card {
  background: #fff; border-radius: 16px; padding: 12px; margin-bottom: 10px;
  display: flex; align-items: center; gap: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.service-logo {
  width: 56px; height: 56px; border-radius: 16px; background: var(--yellow-light);
  color: var(--yellow-dark); display: grid; place-items: center; overflow: hidden; flex: none;
}
.service-logo.big { width: 76px; height: 76px; border-radius: 20px; margin: 0 auto; }
.service-logo img { width: 100%; height: 100%; object-fit: cover; }
.service-logo .material-icons-outlined { font-size: 29px; }
.service-body { flex: 1; min-width: 0; }
.service-body b, .service-body small { display: block; }
.service-body b { font-size: 15px; margin-bottom: 4px; }
.service-body small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.service-rating { color: var(--yellow-dark); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; gap: 3px; margin-top: 5px; }
.service-rating .material-icons { font-size: 17px; }
.service-chev { color: var(--muted); }
.service-detail-hero { text-align: center; background: #fff; border-radius: 20px; padding: 18px; margin-top: 8px; }
.service-detail-hero h1 { font-size: 21px; margin: 12px 0 0; }
.service-detail-hero p { color: var(--muted); font-size: 14px; line-height: 1.45; }
.service-detail-hero small { color: var(--muted); }
.service-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.service-price-row, .review-card { background: #fff; border-radius: 14px; padding: 13px; margin-bottom: 8px; }
.service-price-row { display: flex; justify-content: space-between; gap: 12px; }
.service-price-row span { font-size: 14px; }
.service-price-row b { color: var(--yellow-dark); font-size: 14px; white-space: nowrap; }
.review-card p { color: var(--muted); font-size: 13px; line-height: 1.4; }

.topbar {
  background: #fff; padding: 10px 16px 8px; display: flex; align-items: center; gap: 8px;
  position: sticky; top: 0; z-index: 10;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.logo {
  width: 36px; height: 36px; border-radius: 10px; background: var(--coal); color: var(--yellow);
  display: grid; place-items: center; font-weight: 900; flex: none; user-select: none;
}
.topbar h1 { font-size: 18px; margin: 0; font-weight: 700; line-height: 1.2; }
.topbar p { margin: 0; color: var(--muted); font-size: 12px; }
.icon-btn {
  border: 0; background: transparent; color: var(--yellow); width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 12px;
}
.icon-btn[hidden], [hidden] { display: none !important; }

main { flex: 1; padding: 0 16px 88px; min-height: 0; }
.phone.home-screen main { padding-bottom: 88px; }

.nav {
  position: sticky; bottom: 0; background: #fff; height: calc(64px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: repeat(4, 1fr); box-shadow: 0 -8px 16px rgba(0,0,0,.15);
  padding-bottom: env(safe-area-inset-bottom); z-index: 10;
}
.nav button {
  border: 0; background: transparent; color: var(--muted); font-size: 11px; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.nav button span.material-icons, .nav button span.material-icons-outlined { color: var(--yellow); font-size: 24px; }
.nav button.active { color: #000; font-weight: 600; }
.nav button.active::before {
  content: ""; position: absolute; inset: 8px 12px; background: var(--yellow-light); border-radius: 14px; z-index: -1;
}
.nav i {
  position: absolute; top: 6px; right: 18px; background: var(--coal); color: #fff; font-style: normal;
  font-size: 10px; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; padding: 0 4px;
}

.card {
  background: #fff; border-radius: var(--radius); padding: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); margin-bottom: 16px;
}
.card.home { border-radius: var(--radius-home); }
.search {
  display: flex; align-items: center; gap: 8px; background: var(--field); border-radius: 12px; padding: 4px 4px 4px 12px;
}
.search input {
  flex: 1; border: 0; background: transparent; padding: 12px 0; font-size: 14px; outline: none;
}
.search button, .btn {
  border: 0; background: var(--yellow); color: #000; font-weight: 700; font-size: 15px;
  height: 48px; border-radius: 12px; padding: 0 16px; width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.search button { width: 48px; height: 40px; display: grid; place-items: center; }
.btn.secondary { background: #fff; border: 1px solid var(--line); }
.btn:disabled { background: var(--coal-2); color: rgba(255,255,255,.7); }
.btn.small { height: 40px; font-size: 13px; width: auto; padding: 0 14px; }

.field {
  width: 100%; border: 0; background: var(--field); border-radius: 12px; padding: 14px 16px;
  font-size: 14px; outline: none; margin: 0 0 10px;
}
.field:focus { box-shadow: 0 0 0 1.5px var(--yellow-dark); background: #fff; }
label.lbl { display: block; font-size: 13px; font-weight: 600; margin: 8px 0 6px; }

.vin { background: var(--coal); color: #fff; border-radius: 20px; padding: 16px; margin-bottom: 16px; min-height: 104px; }
.vin h3 { margin: 0 0 8px; font-size: 16px; }
.vin .row { display: flex; gap: 8px; }
.vin input { flex: 1; margin: 0; background: #2a2a2a; color: #fff; }
.vin .btn { width: auto; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.sq {
  background: #fff; border-radius: 20px; min-height: 96px; padding: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); display: flex; flex-direction: column; justify-content: space-between;
}
.sq span { color: var(--muted); font-size: 12px; }
.sq b { font-size: 15px; }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cat {
  background: #fff; border-radius: 16px; padding: 12px 6px; text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.cat i { color: var(--yellow); font-size: 26px; }
.cat p { margin: 6px 0 0; font-size: 11px; font-weight: 600; }

#map { height: 180px; border-radius: 20px; overflow: hidden; margin-bottom: 16px; }
.promo { display: flex; gap: 10px; overflow: auto; padding-bottom: 4px; }
.promo .banner {
  min-width: 86%; aspect-ratio: 16/7; background: var(--coal); color: var(--yellow);
  border-radius: 20px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end;
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.stats b { display: block; font-size: 16px; }
.stats span { color: var(--muted); font-size: 11px; }

.list { display: flex; flex-direction: column; gap: 8px; }
.item {
  display: flex; gap: 12px; background: #fff; border-radius: 14px; padding: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); align-items: center;
}
.thumb {
  width: 72px; height: 72px; border-radius: 12px; background: var(--field);
  display: grid; place-items: center; color: var(--yellow); flex: none; overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.item h3 { margin: 0; font-size: 16px; font-weight: 600; }
.item p { margin: 2px 0; color: var(--muted); font-size: 13px; }
.price { font-weight: 700; font-size: 16px; }

.catalog-tools { padding: 12px 0 4px; }
.catalog-search { margin-bottom: 8px; }
.filter-chip {
  min-height: 36px; border: 1px solid var(--line); background: #fff; color: var(--text);
  border-radius: 999px; padding: 6px 12px; display: inline-flex; align-items: center;
  gap: 5px; font-size: 13px; font-weight: 600;
}
.filter-chip .material-icons-outlined { display: none; font-size: 17px; }
.filter-chip.on { background: var(--yellow); border-color: var(--yellow); }
.filter-chip.on .material-icons-outlined { display: inline-block; }
.section-count { font-size: 18px; font-weight: 700; padding: 14px 0 10px; }
.linear-progress {
  height: 2px; margin: 0 -16px; overflow: hidden; background: var(--yellow-light);
  position: relative;
}
.linear-progress::after {
  content: ""; position: absolute; inset: 0; width: 40%; background: var(--yellow);
  animation: linearMove 1s ease-in-out infinite;
}
@keyframes linearMove { from { transform: translateX(-100%); } to { transform: translateX(350%); } }

.part-list { margin: 0 -16px; background: #fff; }
.part-tile { background: #fff; border-bottom: 1px solid var(--line); }
.part-main {
  display: flex; gap: 12px; padding: 12px 16px; align-items: flex-start; min-width: 0;
}
.part-photo {
  width: 72px; height: 72px; border-radius: 12px; background: var(--field);
  display: grid; place-items: center; color: var(--yellow); flex: none; overflow: hidden;
}
.part-photo img { width: 100%; height: 100%; object-fit: contain; }
.part-photo .material-icons-outlined { font-size: 30px; }
.part-body { flex: 1; min-width: 0; }
.part-brand {
  display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--bg);
  font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.part-sku { color: var(--muted); font-size: 12px; margin-top: 4px; }
.part-oem { color: var(--muted); font-size: 11px; margin-top: 2px; }
.part-body h3 {
  margin: 4px 0 8px; font-size: 14px; font-weight: 500; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.stock-pill {
  display: inline-block; background: var(--yellow-light); color: var(--text);
  border-radius: 10px; padding: 3px 8px; font-size: 11px; font-weight: 600;
}
.stock-pill.out { background: var(--coal); color: #fff; }
.part-bottom { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.part-price { color: var(--yellow-dark); font-weight: 800; font-size: 17px; }
.part-cart {
  margin-left: auto; width: 40px; height: 40px; border: 0; border-radius: 12px;
  background: var(--yellow); color: #000; display: grid; place-items: center; flex: none;
}
.part-cart .material-icons { font-size: 21px; }

.garage-list { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.garage-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); overflow: hidden;
}
.garage-card.selected { border-color: var(--yellow); }
.garage-main {
  width: 100%; min-height: 78px; padding: 12px 48px 12px 12px; border: 0;
  background: transparent; display: flex; align-items: center; gap: 12px; text-align: left;
}
.garage-ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--yellow);
  display: grid; place-items: center; flex: none;
}
.garage-body { flex: 1; min-width: 0; }
.garage-body b { display: block; font-size: 15px; margin-bottom: 4px; }
.garage-body small { display: block; color: var(--muted); font-size: 12px; }
.garage-selected {
  display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 10px;
  background: var(--yellow-light); font-size: 11px; font-weight: 700;
}
.garage-delete {
  position: absolute; right: 5px; top: 5px; width: 40px; height: 40px;
  border: 0; background: transparent; color: var(--muted); border-radius: 12px;
}
.garage-fab {
  position: sticky; bottom: 76px; float: right; margin: 18px 0 0 auto; border: 0;
  min-height: 48px; padding: 0 18px; border-radius: 16px; background: var(--yellow);
  color: #000; font-weight: 700; font-size: 14px; display: flex; align-items: center;
  justify-content: center; gap: 7px; box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.sheet-backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.42);
  display: flex; align-items: flex-end; justify-content: center;
}
.bottom-sheet {
  width: min(480px, 100%); background: #fff; border-radius: 20px 20px 0 0;
  padding: 10px 16px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 30px rgba(0,0,0,.18);
}
.sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 16px; }
.bottom-sheet h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }

.vehicle-search { margin: 12px 0; }
.vehicle-list { display: flex; flex-direction: column; gap: 8px; }
.vehicle-row {
  width: 100%; border: 0; background: #fff; border-radius: 14px; padding: 10px 12px;
  min-height: 64px; display: flex; align-items: center; gap: 12px; text-align: left;
}
.vehicle-letter {
  width: 42px; height: 42px; border-radius: 12px; background: var(--yellow-light);
  color: var(--yellow-dark); display: grid; place-items: center; font-size: 18px; font-weight: 800; flex: none;
}
.vehicle-name { flex: 1; font-size: 16px; font-weight: 700; }
.vehicle-row .material-icons-outlined { color: var(--muted); }

.part-gallery {
  margin: 0 -16px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  background: #fff; scrollbar-width: none;
}
.part-gallery::-webkit-scrollbar { display: none; }
.part-slide {
  min-width: 100%; aspect-ratio: 16 / 10; scroll-snap-align: start; background: #fff;
  display: grid; place-items: center; color: var(--yellow);
}
.part-slide img { width: 100%; height: 100%; object-fit: contain; }
.part-slide .material-icons-outlined { font-size: 70px; }
.part-detail-card { background: #fff; margin: 0 -16px; padding: 16px; }
.part-detail-card h1 { font-size: 20px; font-weight: 700; line-height: 1.25; margin: 10px 0 8px; }
.detail-price { color: var(--yellow-dark); font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.spec-list { margin-top: 16px; border-top: 1px solid var(--line); }
.spec-list > div {
  min-height: 42px; padding: 10px 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
}
.spec-list span { color: var(--muted); font-size: 13px; }
.spec-list b { margin-left: auto; font-size: 13px; text-align: right; }
.detail-description { color: var(--muted); font-size: 14px; line-height: 1.5; }
.seller-list { display: flex; flex-direction: column; gap: 8px; }
.seller-card {
  background: #fff; border-radius: 16px; padding: 12px; display: flex; gap: 12px; align-items: flex-start;
}
.seller-ic {
  width: 42px; height: 42px; border-radius: 12px; background: var(--yellow-light);
  color: var(--yellow); display: grid; place-items: center; flex: none;
}
.seller-card > span:last-child { flex: 1; min-width: 0; }
.seller-card b, .seller-card small, .seller-card em { display: block; }
.seller-card b { font-size: 14px; margin-bottom: 4px; }
.seller-card small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.seller-card em { color: var(--yellow-dark); font-size: 12px; font-style: normal; font-weight: 700; margin-top: 6px; }
.sticky-price { font-size: 16px; font-weight: 800; white-space: nowrap; }
.badge {
  display: inline-block; background: var(--yellow-light); border-radius: 10px;
  padding: 2px 8px; font-size: 12px; font-weight: 600;
}
.badge.out { background: var(--coal); color: #fff; }

.chips { display: flex; gap: 8px; margin: 8px 0 16px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px;
  font-weight: 600; font-size: 13px;
}
.chip.on { background: var(--yellow); border-color: var(--yellow); }

.sticky-cta {
  position: sticky; bottom: 72px; background: #fff; padding: 12px 0 8px;
  display: flex; gap: 12px; align-items: center;
}
.sticky-cta .btn { flex: 1; }

.muted { color: var(--muted); font-size: 14px; }
.h { font-size: 18px; font-weight: 700; margin: 8px 0 12px; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty .material-icons-outlined { font-size: 56px; color: var(--yellow); }

.menu a, .menu button {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 0;
  border: 0; background: transparent; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px;
}
.menu .material-icons-outlined { color: var(--yellow); }

.toast {
  position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%);
  background: var(--coal); color: #fff; padding: 12px 16px; border-radius: 12px;
  z-index: 40; max-width: 90%;
}

.fab-chat {
  position: fixed; right: calc(50vw - 240px + 16px); bottom: 84px; width: 52px; height: 52px;
  border: 0; border-radius: 16px; background: var(--yellow); color: #000;
  box-shadow: 0 8px 16px rgba(0,0,0,.16); z-index: 9;
}
@media (max-width: 480px) { .fab-chat { right: 16px; } }

.admin { display: grid; grid-template-columns: 1fr; gap: 12px; }
.admin-mobile-head {
  margin: 0 -16px 14px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: #fff; display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 15;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.admin-mobile-head > button {
  width: 42px; height: 42px; border: 0; background: transparent; color: var(--yellow); border-radius: 12px;
}
.admin-mobile-head > div { min-width: 0; }
.admin-mobile-head b, .admin-mobile-head small { display: block; }
.admin-mobile-head b { font-size: 18px; }
.admin-mobile-head small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.admin-drawer-backdrop {
  position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.42);
}
.admin-drawer {
  width: min(340px, 88vw); height: 100%; background: #fff; padding: calc(14px + env(safe-area-inset-top)) 10px 14px;
  display: flex; flex-direction: column; box-shadow: 10px 0 30px rgba(0,0,0,.18);
}
.admin-drawer-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; }
.admin-drawer-brand img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: #000; }
.admin-drawer-brand b, .admin-drawer-brand small { display: block; }
.admin-drawer-brand b { font-size: 18px; }
.admin-drawer-brand small { color: var(--muted); font-size: 11px; margin-top: 3px; }
.admin-drawer nav { flex: 1; overflow-y: auto; }
.admin-drawer nav button, .admin-shop-link {
  width: 100%; min-height: 46px; padding: 8px 12px; border: 0; background: transparent;
  border-radius: 12px; display: flex; align-items: center; gap: 12px; color: var(--text); text-align: left;
  font-size: 14px; font-weight: 600;
}
.admin-drawer nav button .material-icons-outlined, .admin-shop-link .material-icons-outlined { color: var(--yellow-dark); }
.admin-drawer nav button.on { background: var(--yellow-light); font-weight: 800; }
.admin-shop-link { border-top: 1px solid var(--line); border-radius: 0; padding-top: 12px; }
.admin-section-hero { text-align: center; padding: 30px 16px; background: var(--yellow-light); border-radius: 20px; margin-bottom: 12px; }
.admin-section-hero > .material-icons-outlined { color: var(--yellow-dark); font-size: 54px; }
.admin-section-hero h2 { margin: 10px 0 5px; font-size: 20px; }
.admin-section-hero p { color: var(--muted); font-size: 13px; margin: 0; }
.admin-card-list { display: flex; flex-direction: column; gap: 8px; }
.admin-row-card { display: flex; align-items: flex-start; gap: 12px; background: #fff; padding: 12px; border-radius: 14px; }
.admin-row-card > span:last-child { flex: 1; min-width: 0; }
.admin-row-card b, .admin-row-card small, .admin-row-card em { display: block; }
.admin-row-card small { color: var(--muted); font-size: 11px; margin-top: 3px; }
.admin-row-card em { color: var(--yellow-dark); font-size: 11px; font-style: normal; font-weight: 700; margin-top: 6px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; border-radius: 16px; overflow: hidden; }
.table th, .table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.tabs { display: flex; gap: 0; margin: 0 -16px 12px; border-bottom: 1px solid var(--line); }
.tabs button {
  flex: 1; border: 0; background: transparent; padding: 12px; font-weight: 600; color: var(--muted);
}
.tabs button.on { color: #000; font-weight: 700; box-shadow: inset 0 -3px 0 var(--yellow); }

.msg { background: #fff; border-radius: 12px; padding: 10px 12px; margin: 6px 0; max-width: 85%; }
.msg.me { margin-left: auto; background: var(--yellow-light); }

.order-list-card {
  display: block; background: #fff; border-radius: 16px; padding: 14px;
  margin-bottom: 10px; box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.order-list-top, .order-list-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.order-list-top > b { font-size: 14px; }
.order-progress-mini { display: block; height: 6px; background: var(--field); border-radius: 3px; margin: 14px 0 10px; overflow: hidden; }
.order-progress-mini i { display: block; height: 100%; background: var(--yellow); border-radius: inherit; }
.order-list-bottom small { color: var(--muted); }
.order-list-bottom b { font-size: 16px; }

.phone.receipt-screen { background: var(--yellow); }
.phone.receipt-screen main {
  background: var(--yellow); padding: calc(8px + env(safe-area-inset-top)) 20px 32px;
}
.receipt-close {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent;
  display: grid; place-items: center; color: #000; margin-left: -10px;
}
.receipt-success { text-align: center; margin: 2px 0 20px; }
.receipt-success b { display: block; font-size: 18px; margin-bottom: 7px; }
.receipt-success span { display: block; font-size: 13px; line-height: 1.4; }
.receipt-paper {
  background: #fff; color: #000; border-radius: 8px; padding: 22px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18); transform: rotate(-.25deg);
}
.receipt-brand { text-align: center; font-size: 20px; font-weight: 900; letter-spacing: .1em; }
.receipt-number { text-align: center; margin-top: 7px; font-size: 15px; font-weight: 800; }
.receipt-status {
  width: max-content; margin: 9px auto 0; border-radius: 10px; padding: 4px 10px;
  background: var(--yellow-light); font-size: 12px; font-weight: 700;
}
.receipt-rule { border-top: 1px dashed #9e9e9e; margin: 16px 0; }
.receipt-meta > div, .receipt-line, .receipt-total {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin: 7px 0;
}
.receipt-meta span, .receipt-line span { color: var(--muted); font-size: 12px; }
.receipt-meta b, .receipt-line b { font-size: 12px; text-align: right; }
.receipt-items > div { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0; font-size: 12px; }
.receipt-items > div > span { flex: 1; }
.receipt-items small { display: block; color: var(--muted); margin-top: 3px; }
.receipt-items b { white-space: nowrap; }
.receipt-total { align-items: baseline; margin-top: 12px; }
.receipt-total span { font-size: 15px; font-weight: 900; }
.receipt-total b { font-size: 22px; font-weight: 900; }
.receipt-qr { text-align: center; margin-top: 18px; }
.receipt-qr .material-icons-outlined { display: block; font-size: 92px; line-height: .85; }
.receipt-qr small { display: block; font-size: 10px; font-weight: 700; margin-top: 7px; }
.receipt-action { margin-top: 18px; background: #fff; border: 1px solid #000; }

.cabinet-head {
  margin: 0 -16px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: #fff; display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 5;
}
.cabinet-head > div { flex: 1; min-width: 0; }
.cabinet-head b, .cabinet-head small { display: block; }
.cabinet-head b { font-size: 18px; }
.cabinet-head small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.cabinet-head button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--yellow); }
.cabinet-content { padding: 12px 0 76px; }
.staff-order { background: #fff; border-radius: 16px; padding: 14px; margin-bottom: 10px; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.staff-order-head, .staff-order-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.staff-order p { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.staff-order p .material-icons-outlined { color: var(--yellow); font-size: 18px; }
.staff-order-foot { margin-top: 12px; }
.cabinet-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: min(480px, 100%);
  height: calc(64px + env(safe-area-inset-bottom)); background: #fff; display: grid;
  grid-template-columns: repeat(3, 1fr); padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 16px rgba(0,0,0,.15); z-index: 20;
}
.cabinet-nav button { border: 0; background: transparent; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; position: relative; }
.cabinet-nav button span { color: var(--yellow); font-size: 24px; }
.cabinet-nav button small { font-size: 11px; }
.cabinet-nav button.on { color: #000; font-weight: 700; }
.cabinet-nav button.on::before { content: ""; position: absolute; inset: 8px 22px; background: var(--yellow-light); border-radius: 14px; z-index: -1; }
.staff-profile { text-align: center; padding: 44px 16px; }
.staff-profile > .material-icons-outlined { color: var(--yellow); font-size: 72px; }
.staff-profile h2 { margin: 12px 0 5px; }
.staff-profile p { color: var(--muted); margin: 0 0 18px; }

.spin { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--yellow);
  border-radius: 50%; animation: spin .8s linear infinite; margin: 24px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.err { color: var(--error); font-size: 13px; margin: 4px 0 8px; }
