/* GCL Battery Finder. Loaded only on /golf-cart-tools/lithium-battery-size-calculator/. Matches the controller finder and the golden .p2 tool card. */
.gcl-lb-wrap { max-width: 1040px; margin: 0 auto; }
.gcl-lb { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #334155; }
.gcl-lb button, .gcl-lb select { font-family: inherit; line-height: 1.3; }

/* The wizard card: one question at a time, never taller than the viewport. */
.gcl-lb-card { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid #E2E8F0; border-radius: 20px; box-shadow: 0 12px 34px rgba(15,23,42,0.10); display: flex; flex-direction: column; overflow: hidden; }
.gcl-lb.is-done .gcl-lb-card { max-width: 1040px; max-height: none !important; }

.gcl-lb-stages { list-style: none; margin: 0; padding: 14px 20px; display: flex; gap: 6px; align-items: center; border-bottom: 1px solid #EEF2F6; background: #F8FAFC; flex: none; }
.gcl-lb-stages li { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #94A3B8; margin: 0; padding: 0; }
.gcl-lb-stages li::before { display: none; }
.gcl-lb-stages li::after { content: ""; flex: 1; height: 2px; background: #E2E8F0; border-radius: 2px; min-width: 8px; }
.gcl-lb-stages li:last-child { flex: none; }
.gcl-lb-stages li:last-child::after { display: none; }
.gcl-lb-dot { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #E2E8F0; color: #64748B; font-size: 12px; font-weight: 900; }
.gcl-lb-stages li.is-on { color: #0F172A; }
.gcl-lb-stages li.is-on .gcl-lb-dot { background: #0F172A; color: #fff; }
.gcl-lb-stages li.is-done { color: #15803D; }
.gcl-lb-stages li.is-done .gcl-lb-dot { background: #16A34A; color: #fff; }
.gcl-lb-stages li.is-done::after { background: #16A34A; }
@media (max-width: 559px) {
  .gcl-lb-stages { padding: 12px 14px; }
  .gcl-lb-stage { display: none; }
  .gcl-lb-stages li.is-on .gcl-lb-stage { display: inline; }
}

.gcl-lb-step { padding: 22px 26px 18px; overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1 1 auto; min-height: 0; }
@media (max-width: 559px) { .gcl-lb-step { padding: 18px 16px 14px; } }
.gcl-lb-q { font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 900; letter-spacing: -0.02em; color: #0F172A; line-height: 1.2; margin: 0 0 6px; }
.gcl-lb-dek { font-size: 15px; line-height: 1.55; color: #475569; margin: 0 0 16px; }
.gcl-lb-label { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: 1px; margin: 14px 0 8px; }
.gcl-lb-pane > .gcl-lb-label:first-child { margin-top: 4px; }

.gcl-lb-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 5px; background: #F1F5F9; border-radius: 14px; margin: 0 0 14px; }
.gcl-lb-tab { border: none; background: transparent; border-radius: 10px; padding: 10px 8px; font-size: 13.5px; font-weight: 800; color: #475569; cursor: pointer; line-height: 1.2; }
.gcl-lb-tab[aria-selected="true"] { background: #fff; color: #0F172A; box-shadow: 0 1px 4px rgba(15,23,42,0.12); }

.gcl-lb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gcl-lb-chip { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; font-size: 14px; font-weight: 700; color: #0F172A; background: #fff; border: 1px solid #CBD5E1; border-radius: 999px; padding: 8px 15px; min-height: 40px; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.gcl-lb-chip:has(.gcl-lb-chip-s) { border-radius: 14px; }
.gcl-lb-chip-s { font-size: 12px; font-weight: 500; color: #64748B; margin-top: 2px; }
.gcl-lb-chip:hover { border-color: #16A34A; }
.gcl-lb-chip[aria-pressed="true"] { background: #0F172A; border-color: #0F172A; color: #fff; }
.gcl-lb-chip[aria-pressed="true"] .gcl-lb-chip-s { color: #CBD5E1; }

.gcl-lb-serial { display: flex; gap: 8px; }
.gcl-lb-input { width: 100%; min-width: 0; background: #F8FAFC; border: 1px solid #CBD5E1; border-radius: 12px; padding: 13px 15px; font-size: 16px; line-height: 1.4; font-family: 'Inter', sans-serif; color: #0F172A; outline: none; transition: border-color .2s, box-shadow .2s; }
.gcl-lb-input:focus { border-color: #16A34A; box-shadow: 0 0 0 3px rgba(22,163,74,0.15); }
.gcl-lb-go, .gcl-lb-next { flex: none; background: #0F172A; color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; font-size: 12.5px; padding: 0 18px; min-height: 50px; border-radius: 12px; border: none; cursor: pointer; transition: background .2s; }
.gcl-lb-go:hover, .gcl-lb-next:hover { background: #16A34A; }
.gcl-lb-go[disabled] { cursor: progress; opacity: .7; }
.gcl-lb-next { display: block; width: 100%; margin-top: 16px; background: #16A34A; }
.gcl-lb-next:hover { background: #15803D; }
.gcl-lb-next.is-off { background: #CBD5E1; color: #475569; }
@media (max-width: 479px) { .gcl-lb-serial { flex-direction: column; } .gcl-lb-go { width: 100%; } }
.gcl-lb-err { margin: 12px 0 0; font-size: 14px; font-weight: 700; color: #DC2626; }
.gcl-lb-note { margin: 12px 0 10px; font-size: 14.5px; line-height: 1.55; color: #334155; }
.gcl-lb-note a, .gcl-lb-msg a, .gcl-lb-sure a { color: #15803D; font-weight: 700; }

.gcl-lb-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.gcl-lb-stat { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; padding: 12px 8px; text-align: center; min-width: 0; }
.gcl-lb-stat-v { display: block; font-family: 'JetBrains Mono', monospace; font-size: clamp(.9rem, 2.4vw, 1.1rem); font-weight: 900; color: #0F172A; line-height: 1.2; overflow-wrap: anywhere; }
.gcl-lb-stat:first-child .gcl-lb-stat-v { color: #16A34A; }
.gcl-lb-stat-l { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #64748B; font-weight: 700; margin-top: 6px; }

.gcl-lb-opts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 640px) { .gcl-lb-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gcl-lb-opt { position: relative; display: flex; flex-direction: column; gap: 4px; text-align: left; background: #fff; border: 1.5px solid #E2E8F0; border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s, transform .1s; min-height: 56px; }
.gcl-lb-opt:hover { border-color: #16A34A; background: #F0FDF4; }
.gcl-lb-opt:active { transform: scale(.99); }
.gcl-lb-opt.is-quiet { background: #F8FAFC; border-style: dashed; }
.gcl-lb-opt-k { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #15803D; }
.gcl-lb-opt-t { font-size: 15.5px; font-weight: 800; color: #0F172A; line-height: 1.3; }
.gcl-lb-opt-s { font-size: 13.5px; line-height: 1.45; color: #475569; }
.gcl-lb-opt-b { align-self: flex-start; margin-top: 4px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; border-radius: 999px; padding: 3px 9px; background: #DCFCE7; color: #14532D; }

/* Your day: six short chip questions. */
.gcl-lb-dq { padding: 2px 0 6px; border-radius: 12px; }
.gcl-lb-dq + .gcl-lb-dq { border-top: 1px solid #F1F5F9; }
.gcl-lb-dq.is-missing { background: #FEF2F2; box-shadow: 0 0 0 6px #FEF2F2; }
.gcl-lb-dq-s { display: block; font-size: 13px; color: #64748B; margin: -4px 0 8px; }

/* Tray */
.gcl-lb-sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 479px) { .gcl-lb-sizes { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.gcl-lb-select { height: 50px; padding: 10px 12px; -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%2364748b'%20stroke-width%3D'2'%3E%3Cpolyline%20points%3D'6%209%2012%2015%2018%209'%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.gcl-lb-select.is-missing { border-color: #DC2626; }
.gcl-lb-fig { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 16px; align-items: center; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 14px; padding: 14px 16px; }
@media (min-width: 640px) { .gcl-lb-fig { grid-template-columns: 220px minmax(0, 1fr); } }
.gcl-lb-svg { width: 100%; max-width: 260px; height: auto; display: block; margin: 0 auto; }
.gcl-lb-svg-t { font: 800 14px 'Inter', sans-serif; fill: #15803D; }
.gcl-lb-svg-s { font: 700 11px 'Inter', sans-serif; fill: #0F172A; }
.gcl-lb .gcl-lb-tips { list-style: none; margin: 0; padding: 0; }
.gcl-lb .gcl-lb-tips li { position: relative; padding-left: 18px; margin: 0 0 6px; font-size: 13.5px; line-height: 1.5; color: #334155; }
.gcl-lb .gcl-lb-tips li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: #16A34A; }
.gcl-lb-tray-acts { display: grid; gap: 8px; }
.gcl-lb-skip { background: #fff; border: 1px solid #CBD5E1; border-radius: 12px; min-height: 46px; font-size: 13.5px; font-weight: 800; color: #0F172A; cursor: pointer; }
.gcl-lb-skip:hover { border-color: #16A34A; color: #15803D; }

.gcl-lb-tip { margin: 14px 0 6px; font-size: 13.5px; color: #475569; }
.gcl-lb-tip summary { cursor: pointer; color: #15803D; font-weight: 700; }
.gcl-lb-tip p { margin: 8px 0 0; line-height: 1.55; }

.gcl-lb-nav:empty { display: none; }
.gcl-lb-nav { flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid #EEF2F6; min-height: 54px; }
.gcl-lb-back, .gcl-lb-restart, .gcl-lb-change { flex: none; background: #fff; border: 1px solid #CBD5E1; border-radius: 10px; padding: 8px 14px; font-size: 13px; font-weight: 800; color: #0F172A; cursor: pointer; }
.gcl-lb-back:hover, .gcl-lb-restart:hover, .gcl-lb-change:hover { border-color: #16A34A; color: #15803D; }
.gcl-lb-crumb { font-size: 12.5px; color: #64748B; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.gcl-lb button:focus-visible, .gcl-lb a:focus-visible, .gcl-lb summary:focus-visible, .gcl-lb select:focus-visible { outline: 2px solid #16A34A; outline-offset: 2px; }

/* Verdict */
.gcl-lb-verdict { padding: 22px 26px 24px; }
@media (max-width: 559px) { .gcl-lb-verdict { padding: 18px 16px 20px; } }
.gcl-lb-eyebrow { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: #15803D; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
.gcl-lb-vh { font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 900; letter-spacing: -0.02em; color: #0F172A; line-height: 1.2; margin: 0 0 12px; }
.gcl-lb .gcl-lb-facts { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gcl-lb .gcl-lb-facts li { font-size: 13px; font-weight: 700; color: #14532D; background: #DCFCE7; border-radius: 999px; padding: 5px 12px; margin: 0; }
.gcl-lb .gcl-lb-facts li::before { display: none; }
.gcl-lb-sure { font-size: 14.5px; line-height: 1.6; color: #334155; margin: 0 0 10px; max-width: 80ch; }
.gcl-lb-sure strong { color: #0F172A; }
.gcl-lb-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* Packs */
.gcl-lb-results { max-width: 1040px; margin: 20px auto 0; }
.gcl-lb-group-box { background: #fff; border: 1px solid #E2E8F0; border-radius: 20px; padding: 24px 26px; box-shadow: 0 12px 34px rgba(15,23,42,0.06); margin-bottom: 18px; }
@media (max-width: 559px) { .gcl-lb-group-box { padding: 18px 14px; border-radius: 16px; } }
.gcl-lb-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.gcl-lb-pill { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #E2E8F0; background: #F8FAFC; color: #334155; font-size: 13.5px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.gcl-lb-pill:hover { border-color: #94A3B8; background: #fff; color: #0F172A; }
.gcl-lb-pill[aria-pressed="true"] { background: #0F172A; border-color: #0F172A; color: #fff; }
.gcl-lb-pill.is-empty { color: #94A3B8; }
.gcl-lb-pill.is-empty[aria-pressed="true"] { background: #475569; border-color: #475569; color: #fff; }
.gcl-lb-pill-n { font-size: 12px; font-weight: 600; color: #94A3B8; }
.gcl-lb-pill[aria-pressed="true"] .gcl-lb-pill-n { color: rgba(255,255,255,.65); }
.gcl-lb-shelf-d { font-size: 14px; line-height: 1.5; color: #475569; margin: 0 0 14px; }
.gcl-lb-shelf-d.is-empty { margin: 0; padding: 12px 14px; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; }
.gcl-lb-more { display: block; margin: 16px auto 0; font-size: 13px; font-weight: 800; color: #15803D; background: #fff; border: 1px solid #16A34A; border-radius: 10px; padding: 10px 18px; cursor: pointer; }
@media (max-width: 767px) {
  .gcl-lb-pills { flex-wrap: nowrap; gap: 6px; overflow-x: auto; margin: 0 -14px 12px; padding: 2px 14px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .gcl-lb-pills::-webkit-scrollbar { display: none; }
  .gcl-lb-pills::after { content: ""; flex: none; width: 8px; }
  .gcl-lb-pill { flex: none; height: 32px; padding: 0 12px; gap: 6px; font-size: 12.5px; }
  .gcl-lb-pill-n { font-size: 11px; }
  .gcl-lb-shelf-d { font-size: 13px; margin-bottom: 10px; }
  .gcl-lb-more { width: 100%; }
}

.gcl-lb-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 640px) { .gcl-lb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .gcl-lb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gcl-lb-item { display: flex; flex-direction: column; border: 1px solid #E2E8F0; border-radius: 16px; overflow: hidden; background: #fff; }
.gcl-lb-item.is-picked { border-color: #16A34A; box-shadow: 0 0 0 2px #DCFCE7; }
.gcl-lb-img { display: block; aspect-ratio: 4 / 3; background: #F8FAFC; }
.gcl-lb-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gcl-lb-body { display: flex; flex-direction: column; gap: 7px; padding: 14px 16px 16px; flex: 1; }
.gcl-lb-badge { align-self: flex-start; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; border-radius: 999px; padding: 3px 9px; background: #F1F5F9; color: #334155; }
.gcl-lb-badge.is-direct, .gcl-lb-badge.is-measured { background: #DCFCE7; color: #14532D; }
.gcl-lb-badge.is-minor, .gcl-lb-badge.is-most, .gcl-lb-badge.is-measure { background: #FEF9C3; color: #713F12; }
.gcl-lb-badge.is-no, .gcl-lb-badge.is-upgrade { background: #F1F5F9; color: #475569; }
.gcl-lb-title { font-size: 15px; font-weight: 800; line-height: 1.35; margin: 0; }
.gcl-lb .gcl-lb-title a { color: #0F172A; text-decoration: none; }
.gcl-lb .gcl-lb-title a:hover { color: #15803D; text-decoration: underline; }
.gcl-lb-spec { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: #475569; line-height: 1.5; margin: 0; }
.gcl-lb-why { font-size: 13.5px; color: #475569; line-height: 1.5; margin: 0; }
.gcl-lb-miles { font-size: 13px; font-weight: 800; color: #15803D; margin: 0; }
.gcl-lb-flag { font-size: 12.5px; font-weight: 700; color: #713F12; background: #FEFCE8; border: 1px solid #FEF08A; border-radius: 10px; padding: 6px 10px; line-height: 1.45; margin: 0; }
.gcl-lb-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gcl-lb-price { font-family: 'JetBrains Mono', monospace; font-weight: 800; color: #0F172A; font-size: 15px; }
.gcl-lb-cta { display: inline-block; background: #0F172A; color: #fff; border: none; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; padding: 10px 14px; border-radius: 10px; cursor: pointer; }
.gcl-lb-cta:hover { background: #16A34A; }
.gcl-lb-item.is-picked .gcl-lb-cta { background: #16A34A; }
.gcl-lb .gcl-lb-ghost { font-size: 12px; font-weight: 800; color: #15803D; text-decoration: none; }
.gcl-lb-msg { font-size: 15px; color: #334155; line-height: 1.6; margin: 12px 0 0; text-align: center; }

/* The bundle */
.gcl-lb-bundle { background: #fff; border: 2px solid #16A34A; border-radius: 20px; padding: 22px 26px; box-shadow: 0 12px 34px rgba(22,163,74,0.12); margin-bottom: 18px; }
@media (max-width: 559px) { .gcl-lb-bundle { padding: 18px 14px; border-radius: 16px; } }
.gcl-lb-bh { font-size: 1.2rem; font-weight: 900; color: #0F172A; margin: 0 0 12px; letter-spacing: -0.01em; line-height: 1.25; }
.gcl-lb-choice { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.gcl-lb-choice .gcl-lb-chip { border-radius: 14px; }
.gcl-lb .gcl-lb-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid #EEF2F6; }
.gcl-lb .gcl-lb-lines li { padding: 12px 0; margin: 0; border-bottom: 1px solid #EEF2F6; }
.gcl-lb .gcl-lb-lines li::before { display: none; }
.gcl-lb-line { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.gcl-lb .gcl-lb-line-t { font-size: 14.5px; font-weight: 800; color: #0F172A; text-decoration: none; min-width: 0; }
.gcl-lb .gcl-lb-line-t:hover { color: #15803D; text-decoration: underline; }
.gcl-lb-line-p { flex: none; font-family: 'JetBrains Mono', monospace; font-weight: 800; color: #0F172A; font-size: 14px; }
.gcl-lb-line-w { font-size: 13px; color: #475569; line-height: 1.5; margin: 4px 0 0; }
.gcl-lb-opt-add { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 12px 14px; background: #F8FAFC; border: 1px dashed #CBD5E1; border-radius: 12px; cursor: pointer; }
.gcl-lb-opt-add input { margin-top: 3px; width: 18px; height: 18px; accent-color: #16A34A; flex: none; }
.gcl-lb-opt-add strong { display: block; font-size: 14px; color: #0F172A; }
.gcl-lb-opt-add span span { display: block; font-size: 13px; color: #475569; line-height: 1.45; margin-top: 2px; }
.gcl-lb-bfoot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.gcl-lb-total span { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: #64748B; }
.gcl-lb-total strong { font-family: 'JetBrains Mono', monospace; font-size: 1.5rem; font-weight: 900; color: #0F172A; }
.gcl-lb-form { margin: 0; }
.gcl-lb .gcl-lb-form button.gcl-lb-add { background: #16A34A; color: #fff; border: none; border-radius: 12px; min-height: 50px; padding: 0 24px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; cursor: pointer; }
.gcl-lb .gcl-lb-form button.gcl-lb-add:hover { background: #15803D; }
@media (max-width: 479px) { .gcl-lb-form, .gcl-lb-add { width: 100%; } }
.gcl-lb-freight { font-size: 12.5px; color: #64748B; margin: 12px 0 10px; line-height: 1.5; }

@keyframes gcl-lb-spin { to { transform: rotate(360deg); } }
.gcl-lb-spin { display: inline-block; width: 34px; height: 34px; border-radius: 50%; border: 3px solid #DCFCE7; border-top-color: #16A34A; animation: gcl-lb-spin .8s linear infinite; }
.gcl-lb-loading { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 16px; text-align: center; background: #fff; border: 1px solid #E2E8F0; border-radius: 20px; }
.gcl-lb-loading p { margin: 0; font-size: 14px; font-weight: 700; color: #334155; }
@media (prefers-reduced-motion: reduce) { .gcl-lb-spin { animation-duration: 2.4s; } }

/* Phones: packs as compact rows, photo on the left. */
@media (max-width: 639px) {
  .gcl-lb-grid { gap: 10px; }
  .gcl-lb-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: stretch; border-radius: 12px; }
  .gcl-lb-img { aspect-ratio: auto; height: 100%; min-height: 84px; border-right: 1px solid #F1F5F9; }
  .gcl-lb-img img { padding: 6px; }
  .gcl-lb-body { gap: 5px; padding: 10px 10px 10px 12px; }
  .gcl-lb-title, .gcl-lb-title a { font-size: 14px; line-height: 1.3; }
  .gcl-lb-why { font-size: 12.5px; }
  .gcl-lb-foot { padding-top: 4px; }
  .gcl-lb-price { font-size: 13px; }
  .gcl-lb-cta { font-size: 11px; padding: 8px 12px; letter-spacing: .5px; border-radius: 8px; }
}

/* The plain HTML fit list under the tool. */
.p2 table.gcl-lb-table { min-width: 820px; table-layout: fixed; }
.p2 table.gcl-lb-table th:first-child { width: 22%; }
table.gcl-lb-table td:first-child strong, table.gcl-lb-table td:first-child span { display: block; }
table.gcl-lb-table td:first-child span { font-weight: 500; color: #475569; font-size: 13.5px; margin-top: 2px; }
.p2 table.gcl-lb-table ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.p2 table.gcl-lb-table li { font-size: 14px; line-height: 1.4; padding: 0; margin: 0; }
.p2 table.gcl-lb-table li::before { display: none; }
table.gcl-lb-table a { color: #15803D; font-weight: 600; text-decoration: none; }
table.gcl-lb-table a:hover { text-decoration: underline; }
.gcl-lb-na { color: #94A3B8; font-size: 13.5px; }
.p2 a.gcl-lb-jump { display: inline-block; background: #16A34A; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; padding: 13px 22px; border-radius: 11px; text-decoration: none; margin: 4px 0; transition: background .15s; }
.p2 a.gcl-lb-jump:hover { background: #15803D; }
details.gcl-lb-fold { background: #fff; border: 1px solid #E2E8F0; border-radius: 14px; margin: 26px 0 0; }
details.gcl-lb-fold > summary { padding: 16px 20px; font-size: 16px; font-weight: 800; color: #0F172A; cursor: pointer; }
details.gcl-lb-fold > div { padding: 0 20px 20px; }

/* --- 1.1 streamlined funnel (owner 2026-10-03): one card, in place, footer nav, bullet cards, bundle takes over --- */
.gcl-lb-count { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: #15803D; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 8px; }
.gcl-lb-opt[aria-pressed="true"] { border-color: #16A34A; background: #F0FDF4; box-shadow: inset 0 0 0 1px #16A34A; }
.gcl-lb-opts.is-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .gcl-lb-opts.is-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gcl-lb-opts.is-compact .gcl-lb-opt { min-height: 52px; justify-content: center; align-items: center; text-align: center; padding: 12px 10px; }

/* Footer nav: Back on the left, the step's main action on the right, always in view. */
.gcl-lb-nav { justify-content: space-between; gap: 10px; background: #fff; }
.gcl-lb-navl { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; }
.gcl-lb-navr { display: flex; align-items: center; gap: 8px; flex: none; }
.gcl-lb-primary, .gcl-lb-secondary { border-radius: 10px; min-height: 40px; padding: 0 16px; font-size: 13px; font-weight: 800; cursor: pointer; }
.gcl-lb-primary { background: #16A34A; color: #fff; border: 1px solid #16A34A; }
.gcl-lb-primary:hover { background: #15803D; border-color: #15803D; }
.gcl-lb-primary.is-off { background: #CBD5E1; border-color: #CBD5E1; color: #475569; }
.gcl-lb-secondary { background: #fff; color: #0F172A; border: 1px solid #CBD5E1; }
.gcl-lb-secondary:hover { border-color: #16A34A; color: #15803D; }
@media (max-width: 559px) { .gcl-lb-crumb { display: none; } .gcl-lb-nav { padding: 10px 14px; } }

/* The answer lives inside the same card. */
.gcl-lb-done { padding: 22px 26px 22px; }
@media (max-width: 559px) { .gcl-lb-done { padding: 16px 14px 18px; } }
.gcl-lb-verdict { padding: 0 0 16px; margin: 0 0 16px; border-bottom: 1px solid #EEF2F6; }
.gcl-lb-sum { font-size: 14px; line-height: 1.55; color: #475569; margin: 0 0 4px; }
.gcl-lb-verdict .gcl-lb-tip { margin: 8px 0 0; }
.gcl-lb-list .gcl-lb-pills { margin-top: 0; }
.gcl-lb-help { font-size: 13.5px; color: #64748B; margin: 16px 0 0; text-align: center; }
.gcl-lb-help a { color: #15803D; font-weight: 700; }

/* Pack cards: badge, short name, clean key facts, price and one button. */
.gcl-lb-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gcl-lb-badge.is-flag { background: #FEF9C3; color: #713F12; }
.gcl-lb-title { font-size: 16px; }
.gcl-lb .gcl-lb-keys { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 4px; }
.gcl-lb .gcl-lb-keys li { display: flex; gap: 8px; margin: 0; padding: 0; font-size: 13.5px; line-height: 1.4; }
.gcl-lb .gcl-lb-keys li::before { display: none; }
.gcl-lb-key { flex: none; width: 66px; font-weight: 700; color: #64748B; }
.gcl-lb-val { color: #0F172A; font-weight: 600; min-width: 0; }
.gcl-lb-why { font-size: 12.5px; color: #64748B; }
.gcl-lb-foot { align-items: flex-end; border-top: 1px solid #F1F5F9; padding-top: 12px; }
.gcl-lb-pricebox { display: flex; flex-direction: column; gap: 2px; }
.gcl-lb-price { font-size: 18px; }
.gcl-lb-incl { font-size: 11.5px; color: #64748B; font-weight: 600; }
.gcl-lb-cta { background: #16A34A; padding: 11px 16px; }
.gcl-lb-cta:hover { background: #15803D; }
.gcl-lb-img { aspect-ratio: 16 / 10; }
.gcl-lb-img img { padding: 10px; }
@media (max-width: 639px) {
  .gcl-lb-item { grid-template-columns: 92px minmax(0, 1fr); }
  .gcl-lb-key { width: 58px; }
  .gcl-lb .gcl-lb-keys li { font-size: 12.5px; }
  .gcl-lb-foot { flex-wrap: wrap; }
  .gcl-lb-cta { width: 100%; text-align: center; }
}

/* The bundle replaces the list. */
.gcl-lb-bundle { border: none; box-shadow: none; padding: 0; margin: 0; border-radius: 0; }
.gcl-lb-bhead { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 16px; }
@media (max-width: 559px) { .gcl-lb-bhead { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; } }
.gcl-lb-bimg { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 14px; padding: 8px; }
.gcl-lb-binfo { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; min-width: 0; }
.gcl-lb-binfo .gcl-lb-eyebrow { margin: 0; }
.gcl-lb-bh { font-size: clamp(1.15rem, 2.6vw, 1.4rem); margin: 0; }
.gcl-lb .gcl-lb-know { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.gcl-lb .gcl-lb-know li { position: relative; padding-left: 18px; margin: 0; font-size: 13px; line-height: 1.5; color: #475569; }
.gcl-lb .gcl-lb-know li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: #16A34A; }
.gcl-lb-know a { color: #15803D; font-weight: 700; }
.gcl-lb-form { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid #EEF2F6; }
.gcl-lb-buy { display: flex; gap: 8px; flex-wrap: wrap; }
.gcl-lb .gcl-lb-form button.gcl-lb-add { min-height: 52px; padding: 0 28px; font-size: 14px; }
.gcl-lb .gcl-lb-form button.gcl-lb-add2 { background: #fff; color: #0F172A; border: 1px solid #CBD5E1; border-radius: 12px; min-height: 52px; padding: 0 20px; font-size: 13px; font-weight: 800; cursor: pointer; }
.gcl-lb .gcl-lb-form button.gcl-lb-add2:hover { border-color: #16A34A; color: #15803D; }
@media (max-width: 479px) { .gcl-lb-buy { width: 100%; } .gcl-lb .gcl-lb-form button.gcl-lb-add, .gcl-lb .gcl-lb-form button.gcl-lb-add2 { flex: 1 1 100%; } }
.gcl-lb-browse { display: block; width: 100%; margin: 14px 0 0; background: #F8FAFC; border: 1px dashed #CBD5E1; border-radius: 12px; min-height: 46px; font-size: 13.5px; font-weight: 800; color: #0F172A; cursor: pointer; }
.gcl-lb-browse:hover { border-color: #16A34A; color: #15803D; background: #F0FDF4; }

/* Our own scroll sets the position when the bundle replaces the list; the browser must not shift it. */
.gcl-lb, .gcl-lb * { overflow-anchor: none; }

/* Photos: a fixed short band on desktop, a thumbnail beside the text on phones. */
.gcl-lb-img { aspect-ratio: auto; height: 150px; }
@media (max-width: 639px) {
  .gcl-lb-img { height: auto; min-height: 92px; align-self: stretch; overflow: hidden; }
  .gcl-lb-img img { height: 92px; }
}
/* Phones: the total and Checkout now stay in sight above the site's bottom bar while the bundle is read. */
@media (max-width: 767px) {
  .gcl-lb-form { position: sticky; bottom: 68px; z-index: 5; background: #fff; margin: 14px -14px 0; padding: 12px 14px; box-shadow: 0 -8px 18px rgba(15,23,42,0.08); }
  .gcl-lb-total strong { font-size: 1.25rem; }
}

/* clip, not hidden: hidden makes the card a scroll box and breaks the pinned checkout bar. */
.gcl-lb.is-done .gcl-lb-card { overflow: clip; }
/* Phones: the pinned bar is one slim row. */
@media (max-width: 767px) {
  .gcl-lb-form { width: auto; flex-wrap: nowrap; gap: 10px; }
  .gcl-lb-total span { display: none; }
  .gcl-lb-total strong { font-size: 1.1rem; white-space: nowrap; }
  .gcl-lb-buy { width: auto; flex: none; flex-wrap: nowrap; gap: 6px; }
  .gcl-lb .gcl-lb-form button.gcl-lb-add, .gcl-lb .gcl-lb-form button.gcl-lb-add2 { flex: none; width: auto; min-height: 44px; padding: 0 12px; font-size: 12px; letter-spacing: .3px; border-radius: 10px; }
}

/* Browse other packs: a quiet link in the footer's right corner (owner 2026-10-04). */
.gcl-lb .gcl-lb-navr .gcl-lb-browse { display: inline-flex; width: auto; margin: 0; min-height: 0; padding: 8px 2px; background: none; border: 0; border-radius: 0; font-size: 13px; font-weight: 700; color: #475569; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #CBD5E1; cursor: pointer; }
.gcl-lb .gcl-lb-navr .gcl-lb-browse:hover { color: #15803D; background: none; text-decoration-color: #16A34A; }

/* --- Bundle as a compact product card (owner 2026-10-04), the same card as the controller and kit finders:
   35% photo, then name, facts in two columns, details link, in the box, product-page pills, extras, quantity and
   Add to cart (View cart once added). Phones: photo first, details under it, Add to cart last. --- */
.gcl-lb-title.is-pick { cursor: pointer; }
.gcl-lb-title.is-pick:hover { color: #15803D; }
.gcl-lb-kit { display: grid; grid-template-columns: minmax(0, 35%) minmax(0, 1fr); gap: 28px; align-items: start; }
.gcl-lb-kmedia { position: sticky; top: 96px; aspect-ratio: 1 / 1; border: 1px solid #E2E8F0; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gcl-lb-kmedia img { width: 100%; height: 100%; object-fit: contain; padding: 14px; display: block; }
.gcl-lb-kinfo { min-width: 0; }
.gcl-lb-kinfo .gcl-lb-bh { margin: 0 0 10px; }
.gcl-lb-kinfo > .gcl-lb-badge { display: inline-block; margin: 0 0 10px; }
@media (min-width: 768px) { .gcl-lb .gcl-lb-kinfo .gcl-lb-keys { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } }
.gcl-lb-kwhy { font-size: 13px; color: #64748B; line-height: 1.5; margin: 10px 0 0; }
.gcl-lb-kwhy .gcl-lb-details { color: #15803D; font-weight: 700; text-decoration: none; white-space: nowrap; }
.gcl-lb-kwhy .gcl-lb-details:hover { text-decoration: underline; }
.gcl-lb-klabel { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: 1.4px; margin: 0 0 6px; }
.gcl-lb-kbox, .gcl-lb-kextra { margin: 16px 0 0; }
.gcl-lb .gcl-lb-kboxl { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 22px; }
.gcl-lb .gcl-lb-kboxl li { position: relative; break-inside: avoid; padding: 0 0 4px 14px; margin: 0; font-size: 13px; line-height: 1.45; color: #334155; }
.gcl-lb .gcl-lb-kboxl li::before { content: ""; position: absolute; left: 1px; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: #16A34A; }
.gcl-lb .gcl-lb-xl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gcl-lb .gcl-lb-xl li { margin: 0; padding: 0; }
.gcl-lb .gcl-lb-xl li::before { display: none; }
.gcl-lb-kinfo .gcl-lb-opt-add { margin-top: 12px; }
.gcl-lb-kinfo .gcl-lb-pick { margin: 16px 0 0; }
.gcl-lb .gcl-lb-kinfo .gcl-lb-units { display: flex; flex-wrap: wrap; gap: 8px; }
.gcl-lb .gcl-lb-kinfo .gcl-lb-unit { display: inline-flex; flex: 0 0 auto; flex-direction: row; align-items: center; gap: 10px; min-height: 44px; padding: 9px 16px; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 12px; color: #0F172A; cursor: pointer; font-family: inherit; transition: border-color .15s ease, box-shadow .15s ease; }
.gcl-lb .gcl-lb-kinfo .gcl-lb-unit:hover { border-color: #94A3B8; }
.gcl-lb .gcl-lb-kinfo .gcl-lb-unit[aria-pressed="true"] { background: #F0FDF4; border-color: #15803D; box-shadow: inset 0 0 0 1px #15803D; }
.gcl-lb .gcl-lb-kinfo .gcl-lb-unit:focus-visible { outline: 2px solid #15803D; outline-offset: 2px; }
.gcl-lb .gcl-lb-kinfo .gcl-lb-unit-t { font-family: Poppins, Inter, system-ui, sans-serif; font-weight: 600; font-size: 15px; color: #0F172A; }
.gcl-lb .gcl-lb-kinfo .gcl-lb-unit-s { font-size: 13.5px; font-weight: 500; color: #64748B; font-variant-numeric: tabular-nums; }
.gcl-lb .gcl-lb-kinfo .gcl-lb-unit[aria-pressed="true"] .gcl-lb-unit-t::after { content: "Selected"; margin-left: 8px; font: 600 11px/1 Inter, system-ui, sans-serif; color: #15803D; }
.gcl-lb-reason { font-size: 12.5px; color: #475569; line-height: 1.5; margin: 6px 0 0; }
.gcl-lb-buybar { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid #EEF2F6; }
.gcl-lb-qty { display: inline-flex; align-items: stretch; border: 1px solid #CBD5E1; border-radius: 12px; overflow: hidden; height: 52px; background: #fff; flex: none; }
.gcl-lb .gcl-lb-qbtn { width: 42px; border: 0; background: #F8FAFC; font-size: 20px; font-weight: 700; color: #0F172A; cursor: pointer; padding: 0; line-height: 1; border-radius: 0; font-family: inherit; }
.gcl-lb .gcl-lb-qbtn:hover:not(:disabled) { background: #F0FDF4; color: #15803D; }
.gcl-lb .gcl-lb-qbtn:disabled { color: #CBD5E1; cursor: default; }
.gcl-lb .gcl-lb-qin { width: 44px; border: 0; border-left: 1px solid #E2E8F0; border-right: 1px solid #E2E8F0; border-radius: 0; text-align: center; font-weight: 800; font-size: 16px; color: #0F172A; -moz-appearance: textfield; appearance: textfield; padding: 0; margin: 0; background: #fff; box-shadow: none; min-height: 0; height: auto; }
.gcl-lb-qin::-webkit-outer-spin-button, .gcl-lb-qin::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gcl-lb-sum-price { font-family: 'JetBrains Mono', monospace; font-size: 1.4rem; font-weight: 900; color: #0F172A; margin-right: auto; white-space: nowrap; }
.gcl-lb .gcl-lb-addc { display: inline-flex; align-items: center; justify-content: center; background: #16A34A; color: #fff; border: 0; border-radius: 12px; min-height: 52px; padding: 0 28px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; cursor: pointer; text-decoration: none; font-family: inherit; }
.gcl-lb .gcl-lb-addc:hover { background: #15803D; }
.gcl-lb .gcl-lb-addc:disabled { opacity: .7; cursor: default; }
.gcl-lb .gcl-lb-addc.is-view { background: #0F172A; color: #fff; }
.gcl-lb .gcl-lb-addc.is-view:hover { background: #15803D; }
.gcl-lb-added { margin: 8px 0 0; text-align: right; font-size: 13px; font-weight: 700; color: #15803D; }
.gcl-lb-freight { margin: 10px 0 0; font-size: 12.5px; color: #64748B; }
.gcl-lb-kinfo > .gcl-lb-tip { margin-top: 10px; }
@media (max-width: 767px) {
  .gcl-lb-kit { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .gcl-lb-kmedia { position: static; aspect-ratio: auto; height: 240px; }
  .gcl-lb-kmedia img { padding: 12px; }
  .gcl-lb .gcl-lb-kboxl { columns: 1; }
  .gcl-lb .gcl-lb-kinfo .gcl-lb-units { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gcl-lb .gcl-lb-kinfo .gcl-lb-unit { flex-wrap: wrap; justify-content: space-between; column-gap: 6px; row-gap: 0; padding: 9px 12px; }
  .gcl-lb .gcl-lb-kinfo .gcl-lb-unit-t { font-size: 14.5px; }
  .gcl-lb .gcl-lb-kinfo .gcl-lb-unit-s { font-size: 13px; }
  .gcl-lb-buybar { gap: 10px; }
  .gcl-lb-qty { height: 44px; }
  .gcl-lb .gcl-lb-qbtn { width: 32px; }
  .gcl-lb .gcl-lb-qin { width: 32px; font-size: 15px; }
  .gcl-lb-sum-price { font-size: 1.05rem; }
  .gcl-lb .gcl-lb-addc { min-height: 44px; padding: 0 14px; font-size: 12px; letter-spacing: .3px; border-radius: 10px; }
  .gcl-lb-added { text-align: left; }
}

/* Best pick badge, shared with the kit and controller finders (owner 2026-10-04). */
.gcl-lb-badge.is-best { background: #DCFCE7; color: #14532D; }
