/* Top Kart EV Kart CRM: kart builder, design-studio layout. */
.tkb {
  --tkb-accent: #1C63B8;
  --tkb-ink: #171a20;
  --tkb-mut: #5c5e62;
  --tkb-line: #e2e3e3;
  --tkb-soft: #f4f4f4;
  --tkb-top: 0px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--tkb-ink);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  position: relative;
  background: #fff;
}
.tkb *, .tkb *::before, .tkb *::after { box-sizing: border-box; }
.tkb h1, .tkb h2, .tkb p { margin: 0; padding: 0; font-family: inherit; color: inherit; letter-spacing: normal; text-transform: none; }
.tkb button { font-family: inherit; }
.tkb-loading { padding: 80px 20px; text-align: center; color: var(--tkb-mut); }

/* Layout: big photo stage on the left, options on the right. */
.tkb-studio { display: grid; grid-template-columns: minmax(0, 1fr) 440px; align-items: start; min-height: 80vh; }
.tkb-stage { position: sticky; top: var(--tkb-top); height: calc(100vh - var(--tkb-top)); display: flex; flex-direction: column; background: #fff; }
.tkb-photo { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.tkb-img { position: absolute; inset: 5% 6%; width: 88%; height: 90%; object-fit: contain; opacity: 0; transform: scale(.985); transition: opacity .45s ease, transform .6s ease; }
.tkb-img.in { opacity: 1; transform: none; }
.tkb-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #fff 0%, var(--tkb-soft) 100%); }
.tkb-noimg span { font-size: clamp(28px, 4vw, 56px); font-weight: 600; letter-spacing: -.02em; color: #d0d1d2; }
.tkb-caption { min-height: 28px; text-align: center; font-size: 13px; color: var(--tkb-mut); display: flex; justify-content: center; align-items: center; gap: 6px; }
.tkb-capx { border: 0; background: var(--tkb-soft); width: 22px; height: 22px; border-radius: 50%; cursor: pointer; color: var(--tkb-mut); line-height: 1; }
.tkb-specs { display: flex; justify-content: center; gap: clamp(24px, 5vw, 72px); padding: 10px 20px 34px; text-align: center; }
.tkb-specs b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.tkb-specs span { display: block; font-size: 12px; color: var(--tkb-mut); }

.tkb-panel { position: relative; padding: 0 40px; border-left: 1px solid transparent; }
.tkb-body { padding: 48px 0 24px; }
.tkb-intro { text-align: center; margin-bottom: 36px; }
.tkb-intro h1 { font-size: 40px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.tkb-intro p { margin-top: 10px; color: var(--tkb-mut); font-size: 14px; }
.tkb-eyebrow { margin: 40px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tkb-mut); text-align: center; }
.tkb-sec { margin: 0 0 34px; }
.tkb-sec h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; text-align: center; margin-bottom: 6px; }
.tkb-sub { font-size: 13px; color: var(--tkb-mut); text-align: center; margin: 0 0 16px !important; }

/* Kart count pills */
.tkb-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tkb-pill { min-width: 48px; height: 44px; border: 1px solid var(--tkb-line); background: #fff; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--tkb-ink); cursor: pointer; transition: box-shadow .15s, border-color .15s; }
.tkb-pill:hover { border-color: #bdbdbd; }
.tkb-pill.on { border-color: var(--tkb-accent); box-shadow: inset 0 0 0 1px var(--tkb-accent); }
.tkb-pillmore { display: flex; align-items: center; padding: 0 4px; cursor: default; }
.tkb-pillmore button { border: 0; background: none; width: 26px; height: 32px; font-size: 18px; cursor: pointer; color: var(--tkb-mut); }
.tkb .tkb-pillmore input { width: 38px; border: 0; text-align: center; font: inherit; font-weight: 500; background: transparent; padding: 0; height: 32px; -moz-appearance: textfield; }

/* Option cards */
.tkb-card { display: flex; gap: 14px; border: 1px solid var(--tkb-line); border-radius: 10px; padding: 14px; margin-bottom: 10px; background: #fff; cursor: pointer; transition: box-shadow .15s, border-color .15s; }
.tkb-card:hover { border-color: #c7c8c9; }
.tkb-card.on { border-color: var(--tkb-accent); box-shadow: inset 0 0 0 1px var(--tkb-accent); }
.tkb-group { cursor: default; }
.tkb-thumb { flex: 0 0 76px; height: 76px; border-radius: 8px; background: var(--tkb-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tkb-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tkb-cbody { flex: 1; min-width: 0; display: block; }
.tkb-ctop { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.tkb-ctop strong { font-weight: 600; font-size: 15px; }
.tkb-price { font-size: 14px; color: var(--tkb-ink); white-space: nowrap; }
.tkb-card p { font-size: 13px; color: var(--tkb-mut); margin-top: 4px; }
.tkb-tags { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.tkb-tags span { font-size: 11px; color: var(--tkb-mut); background: var(--tkb-soft); padding: 2px 8px; border-radius: 20px; }
.tkb-cfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.tkb-note { font-size: 12px; color: var(--tkb-mut); }
.tkb-add { border: 1px solid var(--tkb-line); background: #fff; border-radius: 6px; padding: 6px 16px; font-size: 13px; font-weight: 500; cursor: pointer; color: var(--tkb-ink); }
.tkb-add:hover { background: var(--tkb-soft); }

.tkb-qty { display: inline-flex; align-items: center; background: var(--tkb-soft); border-radius: 6px; }
.tkb-qty button { width: 32px; height: 32px; border: 0; background: none; font-size: 18px; line-height: 1; cursor: pointer; color: var(--tkb-ink); }
.tkb .tkb-qty input { width: 38px; height: 32px; border: 0; background: transparent; text-align: center; font: inherit; font-weight: 600; padding: 0; margin: 0; -moz-appearance: textfield; box-shadow: none; }
.tkb .tkb-qty input::-webkit-outer-spin-button, .tkb .tkb-qty input::-webkit-inner-spin-button, .tkb-pillmore input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tkb-qty-sm button { width: 24px; height: 26px; font-size: 15px; }
.tkb .tkb-qty-sm input { width: 26px; height: 26px; font-size: 13px; }

.tkb-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; margin-top: 10px; }
.tkb-chip { border: 1px solid var(--tkb-line); background: #fff; border-radius: 6px; padding: 7px 4px; font-size: 13px; font-weight: 500; cursor: pointer; text-align: center; color: var(--tkb-ink); display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 40px; justify-content: center; }
.tkb-chip em { font-style: normal; font-size: 10px; color: var(--tkb-mut); font-weight: 400; }
.tkb-chip:hover { border-color: #bdbdbd; }
.tkb-chip.on { border-color: var(--tkb-accent); box-shadow: inset 0 0 0 1px var(--tkb-accent); cursor: default; padding: 4px 2px; }
.tkb-chip.on .tkb-qty { background: transparent; }

.tkb-link { border: 0; background: none; padding: 0; color: var(--tkb-ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font: inherit; }

/* Buttons & price bar */
.tkb-btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 6px; background: var(--tkb-accent); color: #fff !important; font-size: 14px; font-weight: 600; padding: 0 28px; height: 42px; cursor: pointer; text-decoration: none; transition: filter .15s; }
.tkb-btn:hover { filter: brightness(1.08); }
.tkb-btn:disabled { opacity: .6; cursor: wait; }
.tkb-btn-lg { width: 100%; height: 48px; font-size: 15px; }
.tkb-endcta { text-align: center; margin: 30px 0 10px; }
.tkb-endcta p { font-size: 12px; color: var(--tkb-mut); margin-top: 10px; }
.tkb-bar { position: sticky; bottom: 0; z-index: 5; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--tkb-line); padding: 14px 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.tkb-bar:empty { display: none; }
.tkb-bartxt b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.tkb-bartxt span { font-size: 12px; color: var(--tkb-mut); }
.tkb-msg { display: none; margin: 0 0 12px; padding: 12px 14px; border-radius: 8px; background: #fdecea; color: #a1261b; font-size: 14px; }
.tkb-msg.on { display: block; }

/* Details form: floating labels */
.tkb-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tkb-f { position: relative; display: block; }
.tkb-f.wide { grid-column: 1 / -1; }
.tkb .tkb-f input, .tkb .tkb-f select, .tkb .tkb-f textarea { width: 100%; border: 1px solid transparent; background: var(--tkb-soft); border-radius: 6px; padding: 22px 12px 8px; font: inherit; font-size: 15px; color: var(--tkb-ink); outline: none; box-shadow: none; margin: 0; height: auto; min-height: 52px; appearance: none; }
.tkb .tkb-f textarea { resize: vertical; }
.tkb .tkb-f input:focus, .tkb .tkb-f select:focus, .tkb .tkb-f textarea:focus { border-color: var(--tkb-accent); background: #fff; }
.tkb-f span { position: absolute; left: 13px; top: 16px; font-size: 14px; color: var(--tkb-mut); pointer-events: none; transition: all .15s; }
.tkb-f.has span, .tkb-f input:focus + span, .tkb-f textarea:focus + span, .tkb-f select:focus + span,
.tkb-f input:not(:placeholder-shown) + span, .tkb-f textarea:not(:placeholder-shown) + span { top: 7px; font-size: 11px; }
.tkb-f.sel::after { content: ""; position: absolute; right: 14px; top: 23px; border: 5px solid transparent; border-top-color: var(--tkb-mut); pointer-events: none; }

.tkb-radio { align-items: flex-start; }
.tkb-radio input { margin: 3px 0 0; accent-color: var(--tkb-accent); }
.tkb-ack { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; background: #fff8e6; border-radius: 8px; padding: 12px; margin-top: 6px; cursor: pointer; }
.tkb-ack input { margin-top: 2px; accent-color: var(--tkb-accent); }
.tkb-back { border: 0; background: none; padding: 0; color: var(--tkb-mut); cursor: pointer; font-size: 13px; margin-bottom: 18px; }
.tkb-back:hover { color: var(--tkb-ink); }
.tkb-recap { list-style: none; margin: 0 0 10px; padding: 0; }
.tkb-recap li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--tkb-line); font-size: 14px; }
.tkb-recap li em { display: block; font-style: normal; font-size: 12px; color: var(--tkb-mut); }
.tkb-recap b { font-weight: 500; white-space: nowrap; }
.tkb-terms { font-size: 13px; color: var(--tkb-mut); border-top: 1px solid var(--tkb-line); padding-top: 12px; }
.tkb-terms summary { cursor: pointer; color: var(--tkb-ink); font-weight: 500; }
.tkb-terms p { margin-top: 8px; }
.tkb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.tkb-donemsg { text-align: center; padding: 60px 0; }
.tkb-donemsg h1 { font-size: 32px; font-weight: 600; margin-bottom: 10px; }
.tkb-donemsg p { color: var(--tkb-mut); margin-bottom: 24px; }

.tkb-addr { grid-template-columns: 2fr 1.3fr 1fr; }
.tkb-billform { margin-top: 12px; }
.tkb-billck { background: var(--tkb-soft); margin: 0; }
.tkb-btn-ghost { background: #fff; color: var(--tkb-ink) !important; box-shadow: inset 0 0 0 1px #c7c8c9; }
.tkb-btn-ghost:hover { filter: none; background: var(--tkb-soft); }
.tkb-barbtns { display: flex; gap: 8px; }
.tkb-barbtns .tkb-btn { padding: 0 16px; white-space: nowrap; }
.tkb-btn { white-space: nowrap; }
.tkb-bartxt { min-width: 0; }
.tkb-bartxt span { display: block; }
.tkb-recapsec .tkb-btn-ghost { width: 100%; margin-top: 6px; }
.tkb-recap-edit li { align-items: center; }
.tkb-recapr { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.tkb-recapr b { min-width: 84px; text-align: right; }
.tkb-recap-edit em .tkb-link { font-size: 12px; color: #a15c00; }

/* Price details sheet */
.tkb-sheetwrap { position: fixed; inset: 0; z-index: 99999; background: rgba(0, 0, 0, 0); display: flex; justify-content: flex-end; transition: background .25s; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #171a20; }
.tkb-sheetwrap.in { background: rgba(0, 0, 0, .35); }
.tkb-sheet { position: relative; width: min(440px, 100%); height: 100%; background: #fff; padding: 56px 32px 32px; overflow: auto; transform: translateX(100%); transition: transform .25s ease; }
.tkb-sheetwrap.in .tkb-sheet { transform: none; }
.tkb-sheet h2 { font-size: 22px; font-weight: 600; margin: 0 0 18px; }
.tkb-sheetx { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f4f4f4; font-size: 20px; cursor: pointer; }
.tkb-sheet .tkb-recap { list-style: none; padding: 0; margin: 0 0 14px; }
.tkb-sheet .tkb-recap li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e2e3e3; font-size: 14px; }
.tkb-sheet .tkb-recap em { display: block; font-style: normal; font-size: 12px; color: #5c5e62; }
.tkb-sheet .tkb-sub { font-size: 13px; color: #5c5e62; margin-top: 14px; }
.tkb-sumrow { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.tkb-sumrow em { font-style: normal; color: #5c5e62; }
.tkb-sumtot { border-top: 1px solid #171a20; margin-top: 8px; padding-top: 12px; font-size: 17px; font-weight: 600; }

/* Phones & tablets: photo on top, price bar fixed to the bottom of the screen. */
@media (max-width: 960px) {
  .tkb-studio { grid-template-columns: 1fr; }
  .tkb-stage { position: relative; height: auto; top: 0; }
  .tkb-photo { height: 46vw; min-height: 220px; max-height: 420px; flex: none; }
  .tkb-specs { padding-bottom: 14px; }
  .tkb-specs b { font-size: 20px; }
  .tkb-panel { padding: 0 18px; }
  .tkb-body { padding-top: 22px; }
  .tkb-intro h1 { font-size: 30px; }
  .tkb-bar { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -2px 12px rgba(0, 0, 0, .06); }
  .tkb-panel { padding-bottom: 84px; }
}
@media (max-width: 520px) {
  .tkb-form { grid-template-columns: 1fr; }
  .tkb-addr { grid-template-columns: 1fr 1fr; }
  .tkb-addr .tkb-city { grid-column: 1 / -1; }
  .tkb-recap-edit li { flex-wrap: wrap; }
  .tkb-recapr { width: 100%; justify-content: space-between; }
  .tkb-barbtns .tkb-btn-ghost { padding: 0 12px; }
  .tkb-thumb { flex-basis: 60px; height: 60px; }
  .tkb-specs { gap: 18px; }
  .tkb-btn { padding: 0 18px; }
}

/* Recommended packages (start screen) */
.tkb-pkg { display: block; cursor: default; }
.tkb-pkg .tkb-cbody { width: 100%; }
.tkb-pkg .tkb-ctop strong { font-size: 18px; }
.tkb-pkg .tkb-price { font-size: 18px; }
.tkb-pkg > .tkb-cbody > p { margin: 6px 0 4px; }
.tkb-pkgmeta { font-size: 13px; color: var(--tkb-mut); margin-bottom: 10px; }
.tkb-pkglist { margin: 0 0 14px; font-size: 13px; }
.tkb-pkglist summary { cursor: pointer; color: var(--tkb-accent); font-weight: 600; }
.tkb-pkglist ul { list-style: none; margin: 8px 0 0; padding: 0; }
.tkb-pkglist li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px solid rgba(0,0,0,.06); }
.tkb-pkglist li b { white-space: nowrap; font-weight: 600; }
.tkb-pkg .tkb-btn { width: 100%; }
.tkb-pkgown { background: transparent; }
.tkb-startbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; margin: -16px 0 28px; border-radius: 12px; background: rgba(28,99,184,.07); font-size: 14px; }

/* v1.22: Buy now note on the kart chassis builders */
.tkb .tkb-buynote{margin-top:10px;padding:10px 12px;border-left:3px solid var(--tkb-accent,#1C63B8);background:#F3F7FC;border-radius:6px}
.tkb .tkb-unload{margin-top:18px}
.tkb .tkb-unload h3{font-size:16px;margin:0 0 4px}
.tkb .tkb-radio-sm{padding-top:10px;padding-bottom:10px}

/* Item choices (v1.23): e.g. each engine's carburetor slide or Junior/Senior setup */
.tkb-opts { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(0,0,0,.08); }
.tkb-optlabel { font-size: 13px; font-weight: 700; letter-spacing: .3px; margin-bottom: 8px; }
.tkb-optlabel em { font-style: normal; font-weight: 400; color: var(--tkb-mut); margin-left: 4px; }
.tkb-optrow { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.tkb-optn { flex: 0 0 30px; font-size: 12px; font-weight: 700; color: var(--tkb-mut); padding-top: 10px; }
.tkb-optcs { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.tkb-optc { appearance: none; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; flex: 1 1 140px; min-height: 44px; padding: 8px 12px; border: 1.5px solid rgba(0,0,0,.15); border-radius: 10px; background: #fff; color: inherit; font: inherit; font-size: 14px; cursor: pointer; text-transform: none; letter-spacing: 0; box-shadow: none; }
.tkb-optc span { font-weight: 600; }
.tkb-optc em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--tkb-accent); }
.tkb-optc small { font-size: 12px; color: var(--tkb-mut); line-height: 1.3; }
.tkb-optc.on { border-color: var(--tkb-accent); box-shadow: 0 0 0 1px var(--tkb-accent) inset; background: rgba(28,99,184,.06); }
.tkb-recap .tkb-optsum { display: block; font-style: normal; font-weight: 600; }
.tkb-recap li.tkb-addon > span:first-child { padding-left: 14px; }
