/* E-Z-GO fleet builder (SGDC India monochrome system) */
.eb .wrap { max-width: var(--wrap); }
.eb-steps { display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line-dark); }
.eb-steps::-webkit-scrollbar { display: none; }
.eb-step { flex: 0 0 auto; background: none; border: 0; border-bottom: 2px solid transparent; padding: 0.9rem 1rem 0.8rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-4); cursor: pointer; display: flex; gap: 0.55rem; align-items: center; transition: color 0.3s, border-color 0.3s; }
.eb-step span { opacity: 0.55; }
.eb-step:hover, .eb-step.done { color: var(--grey-2); }
.eb-step.on { color: var(--white); border-bottom-color: var(--white); }

.eb-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.eb-stage-wrap { position: sticky; top: 96px; }
.eb-stage { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line-dark); border-radius: var(--radius); background: radial-gradient(ellipse at 50% 58%, #2a2a2a 0%, #151515 55%, #0b0b0b 100%); overflow: hidden; }
.eb-stage::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 13%; height: 7%; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 70%); z-index: 1; pointer-events: none; }
.eb-layers { position: absolute; inset: 0; z-index: 2; }
.eb-layers img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.45s var(--ease), transform 0.6s var(--ease-out); }
.eb-layers img.in { opacity: 0; transform: translateY(6px); }
.eb-cap { position: absolute; left: 1.1rem; top: 1rem; z-index: 3; display: flex; flex-direction: column; gap: 0.15rem; }
.eb-cap-n { font-family: var(--brand); font-size: clamp(0.95rem, 1.6vw, 1.25rem); text-transform: uppercase; letter-spacing: -0.01em; }
.eb-cap-s { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-4); }
.eb-picked { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; align-items: center; min-height: 2rem; }
.eb-picked span { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-4); margin-right: 0.3rem; }
.eb-picked i { font-style: normal; font-size: 0.76rem; padding: 0.3rem 0.7rem; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--grey-2); }

.eb-panel { min-height: 60vh; display: flex; flex-direction: column; }
.eb-h { margin-bottom: 1.4rem; }
.eb-h h2 { font-size: clamp(1.5rem, 2.6vw, 2.4rem); margin: 0.4rem 0 0.6rem; }
.eb-h p { color: var(--grey-3); margin: 0; font-size: 0.95rem; }
.eb-nav { display: flex; justify-content: space-between; gap: 0.7rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); }

.eb-models { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.eb-card { text-align: left; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 0.8rem 0.8rem 1rem; cursor: pointer; display: flex; flex-direction: column; gap: 0.25rem; transition: border-color 0.3s, background 0.3s; }
.eb-card .ph { display: block; aspect-ratio: 4 / 3; margin-bottom: 0.5rem; }
.eb-card .ph img { width: 100%; height: 100%; object-fit: contain; }
.eb-card b { font-family: var(--brand); text-transform: uppercase; font-size: 1.05rem; }
.eb-card small, .eb-row small { color: var(--grey-4); font-size: 0.78rem; line-height: 1.45; }
.eb-card:hover, .eb-row:hover { border-color: rgba(255, 255, 255, 0.4); }
.eb-card.on, .eb-row.on { border-color: var(--white); background: rgba(255, 255, 255, 0.07); }

.eb-pts { display: grid; gap: 0.7rem; }
.eb-row { text-align: left; display: grid; grid-template-columns: 76px 1fr; gap: 1rem; align-items: center; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1rem; cursor: pointer; transition: border-color 0.3s, background 0.3s; }
.eb-row .ic { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; display: grid; place-items: center; height: 76px; border: 1px solid var(--line-dark); border-radius: 50%; }
.eb-row.on .ic { background: var(--white); color: var(--black); border-color: var(--white); }
.eb-row b { display: block; font-size: 1.05rem; margin-bottom: 0.25rem; }

.eb-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 0.9rem 0.6rem; }
.eb-sw { background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 0.45rem; padding: 0; color: var(--grey-3); }
.eb-sw i { width: 46px; height: 46px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 -8px 14px rgba(0, 0, 0, 0.25), inset 0 6px 10px rgba(255, 255, 255, 0.25); outline: 1px solid var(--line-dark); outline-offset: 3px; transition: outline-color 0.25s, transform 0.25s var(--ease-out); }
.eb-sw.matte i { box-shadow: none; }
.eb-sw span { font-size: 0.72rem; text-align: center; line-height: 1.25; }
.eb-sw:hover i { transform: scale(1.06); }
.eb-sw.on i { outline: 2px solid var(--white); }
.eb-sw.on span { color: var(--white); }
.eb-col-name { font-family: var(--mono); font-size: 0.72rem !important; letter-spacing: 0.14em; text-transform: uppercase; }

.eb-cat { margin-bottom: 1.6rem; }
.eb-cat h3 { font-family: var(--mono); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-4); margin-bottom: 0.6rem; }
.eb-list { display: grid; gap: 0.5rem; }
.eb-opt { border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02); transition: border-color 0.3s, background 0.3s; }
.eb-opt.on { border-color: rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.06); }
.eb-opt.off { opacity: 0.5; }
.eb-opt-b { width: 100%; background: none; border: 0; text-align: left; display: grid; grid-template-columns: 56px 1fr auto; gap: 0.85rem; align-items: center; padding: 0.65rem 0.8rem; cursor: pointer; }
.eb-opt-b:disabled { cursor: not-allowed; }
.eb-opt .th { width: 56px; height: 56px; border-radius: 2px; background: #f2f2f0; overflow: hidden; display: grid; place-items: center; }
.eb-opt .th img { width: 100%; height: 100%; object-fit: contain; }
.eb-opt .th.none { background: rgba(255, 255, 255, 0.06); }
.eb-opt .tx b { display: block; font-size: 0.9rem; font-weight: 500; line-height: 1.3; }
.eb-opt .tx small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--grey-4); font-size: 0.74rem; line-height: 1.4; margin-top: 0.15rem; }
.eb-opt .tx em { display: block; font-style: normal; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-3); margin-top: 0.3rem; }
.eb-opt .tag { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.4rem 0.7rem; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--grey-3); white-space: nowrap; }
.eb-opt.on .tag { background: var(--white); color: var(--black); border-color: var(--white); }
.eb-opt.std .tag { background: transparent; color: var(--grey-2); border-color: rgba(255, 255, 255, 0.4); }
.eb-vars { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0 0.8rem 0.8rem 4.55rem; }
.eb-var { font-size: 0.74rem; padding: 0.35rem 0.75rem; border-radius: 999px; border: 1px solid var(--line-dark); background: transparent; cursor: pointer; color: var(--grey-3); }
.eb-var.on { background: var(--white); color: var(--black); border-color: var(--white); }

.eb-sum dl { display: grid; grid-template-columns: 110px 1fr; margin: 0 0 1.4rem; border-top: 1px solid var(--line-dark); }
.eb-sum dt, .eb-sum dd { padding: 0.75rem 0; border-bottom: 1px solid var(--line-dark); margin: 0; font-size: 0.88rem; }
.eb-sum dt { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-4); padding-top: 0.95rem; }
.eb-sum dd small { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-4); margin-left: 0.3rem; }
.eb-qty { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.eb-qty > span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-3); }
.eb-stepper { display: flex; border: 1px solid var(--line-dark); border-radius: 999px; overflow: hidden; }
.eb-stepper button { width: 44px; background: none; border: 0; cursor: pointer; font-size: 1.1rem; }
.eb-stepper button:hover { background: rgba(255, 255, 255, 0.08); }
.eb-stepper input { width: 64px; text-align: center; background: none; border: 0; border-left: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark); color: var(--white); font: 600 1rem var(--body); padding: 0.6rem 0; -moz-appearance: textfield; }
.eb-stepper input::-webkit-outer-spin-button, .eb-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.eb-add.pulse { animation: ebPulse 0.6s var(--ease-out); }
@keyframes ebPulse { 0% { transform: scale(1); } 40% { transform: scale(1.05); } 100% { transform: scale(1); } }
.eb .arr { font-size: 1rem; }

.eb-fleet { margin-top: 1.6rem; }
.eb-fleet-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line-dark); }
.eb-fleet-h b { font-family: var(--brand); text-transform: uppercase; }
.eb-fleet-h span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-3); }
.eb-fl { display: grid; grid-template-columns: 52px 1fr auto auto; gap: 0.7rem; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--line-dark); }
.eb-fl .q { font-family: var(--brand); font-size: 1.05rem; }
.eb-fl b { display: block; font-size: 0.9rem; font-weight: 500; }
.eb-fl small { color: var(--grey-4); font-size: 0.74rem; }
.eb-fl button { background: none; border: 1px solid var(--line-dark); border-radius: 999px; padding: 0.3rem 0.7rem; font-size: 0.72rem; cursor: pointer; color: var(--grey-2); }
.eb-fl button:hover { border-color: var(--white); }
.eb-send { margin-top: 1.2rem; }

.eb-next-list { margin: 0 0 1.2rem; padding-left: 1.1rem; line-height: 1.7; }
.eb-note { font-size: 0.8rem; color: var(--muted); margin: 0; }

@media (max-width: 900px) {
  .eb-grid { grid-template-columns: 1fr; }
  .eb-stage-wrap { position: sticky; top: 64px; z-index: 5; background: var(--black); padding-bottom: 0.4rem; }
  .eb-stage { aspect-ratio: 16 / 10; }
  .eb-picked { display: none; }
  .eb-panel { min-height: 0; }
}
@media (max-width: 520px) {
  .eb-models { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .eb-opt-b { grid-template-columns: 44px 1fr auto; gap: 0.6rem; }
  .eb-opt .th { width: 44px; height: 44px; }
  .eb-vars { padding-left: 0.8rem; }
  .eb-sum dl { grid-template-columns: 90px 1fr; }
  .eb-fl { grid-template-columns: 40px 1fr auto auto; }
}

/* Brand-page overrides: brands.css paints .tag with the accent; keep idle pills neutral, selected pills in the E-Z-GO accent. */
.eb .eb-opt .tag { background: transparent; color: var(--grey-3); border-color: var(--line-dark); }
.eb .eb-opt.on .tag { background: var(--acc, #fff); color: var(--acc-ink, #000); border-color: var(--acc, #fff); }
.eb .eb-opt.std .tag { background: transparent; color: var(--grey-2); border-color: rgba(255, 255, 255, 0.4); }
.eb .eb-var.on, .eb .eb-row.on .ic { background: var(--acc, #fff); color: var(--acc-ink, #000); border-color: var(--acc, #fff); }
.eb .eb-sw.on i { outline-color: var(--acc, #fff); }
.eb .eb-step.on { border-bottom-color: var(--acc, #fff); }
