/* Scoped checkout presentation; original component state and backend stay intact. */
.fast-battery-storefront.fb-checkout {
  --fb-ink:#122c51;--fb-blue:#0754d8;--fb-red:#dd1515;--fb-border:#dce5f1;
  background:#f4f7fc;color:var(--fb-ink);
  font-family:ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
}
.fb-checkout :is(h1,h2,h3,h4,button,input,select,textarea) {font-family:ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif}
.fb-checkout > header {background:#102c53;border-bottom:3px solid var(--fb-red);backdrop-filter:none;box-shadow:0 3px 15px #102c5315}
.fb-checkout .fb-checkout-header-inner {display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:24px;height:80px;max-width:1184px}
.fb-checkout .fb-checkout-header-inner > div:not(.fb-checkout-header-label) {display:none}
.fb-checkout .fb-checkout-logo {grid-column:1;grid-row:1;position:relative;display:block;width:204px;height:52px;overflow:hidden;border-radius:9px;background:#fff}
.fb-checkout .fb-checkout-logo img {position:absolute;left:-33px;top:-54px;width:270px;height:180px;max-width:none;transform:none;object-fit:contain}
.fb-checkout .fb-checkout-return {grid-column:3;grid-row:1;display:inline-flex;justify-content:center;gap:8px;min-height:40px;padding:0 15px;border:1px solid #57708f;border-radius:9px;color:#fff;font-size:13px;font-weight:650}
.fb-checkout .fb-checkout-return:hover {background:#22466f;border-color:#91b3de}
.fb-checkout .fb-checkout-return:focus-visible {outline:3px solid #9fc6ff;outline-offset:4px}
.fb-checkout .fb-checkout-header-label {grid-column:2;grid-row:1;display:flex;flex-direction:column;gap:4px;padding-left:24px;border-left:1px solid #49617f;color:#fff;line-height:1.3}
.fb-checkout .fb-checkout-header-label strong {font-size:14px;font-weight:650}
.fb-checkout .fb-checkout-header-label span {color:#b9cce3;font-size:11px}
.fb-checkout .fb-checkout-progress-container {max-width:1184px;padding-top:25px}
.fb-checkout .fb-checkout-progress-container > div {max-width:none}
.fb-checkout .fb-checkout-progress {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:0 12px;border:1px solid var(--fb-border);border-radius:13px;background:#fff;box-shadow:0 3px 12px #153d7510}
.fb-checkout .fb-checkout-progress-item {position:relative;display:flex;align-items:center;justify-content:center;min-width:0;padding:16px 8px;border-bottom:3px solid transparent}
.fb-checkout .fb-checkout-progress-item[data-fb-state="current"] {border-bottom-color:var(--fb-blue)}
.fb-checkout .fb-checkout-progress-label {display:flex;flex-direction:row;align-items:center;justify-content:center;gap:10px;min-width:0}
.fb-checkout .fb-checkout-progress-label > span {color:#718198;font-size:12px;font-weight:600;letter-spacing:0;text-transform:none}
.fb-checkout .fb-checkout-progress-number {width:30px;height:30px;border-radius:9px;background:#eff3f8;color:#708199;font-size:12px;font-weight:700;box-shadow:none;--tw-ring-shadow:0 0 #0000}
.fb-checkout .fb-checkout-progress-item[data-fb-state="current"] .fb-checkout-progress-number {background:var(--fb-blue);color:#fff}
.fb-checkout .fb-checkout-progress-item[data-fb-state="current"] .fb-checkout-progress-label > span {color:var(--fb-ink);font-weight:750}
.fb-checkout .fb-checkout-progress-item[data-fb-state="complete"] .fb-checkout-progress-number {background:#e8f1ff;color:var(--fb-blue)}
.fb-checkout .fb-checkout-progress-item[data-fb-state="complete"] .fb-checkout-progress-label > span {color:#285f9f}
.fb-checkout .fb-checkout-connector {display:none}
.fb-checkout .fb-checkout-main {max-width:1184px;padding-top:30px;padding-bottom:54px}
.fb-checkout .fb-checkout-content {max-width:none}
.fb-checkout .fb-checkout-intro {margin-bottom:23px}
.fb-checkout .fb-checkout-intro > p:first-child {font-size:10px;font-weight:750;color:var(--fb-blue);letter-spacing:.14em}
.fb-checkout .fb-checkout-intro h1,.fb-checkout .fb-checkout-state-card h1 {margin-top:9px;font-size:34px;line-height:1.12;font-weight:750;letter-spacing:-.04em;text-transform:none;color:var(--fb-ink)}
.fb-checkout .fb-checkout-intro > p:last-child {margin-top:10px;max-width:760px;font-size:14px;line-height:1.65;color:#52657e}
.fb-checkout .fb-checkout-card {padding:28px;border:1px solid var(--fb-border);border-radius:19px;background:#fff;box-shadow:0 8px 30px -19px #153d753b}
.fb-checkout .fb-checkout-card label {margin-bottom:8px;color:#324b6c;font-size:12px;font-weight:650;letter-spacing:0;text-transform:none}
.fb-checkout .fb-checkout-card input {height:48px;border-radius:9px;border-color:#cedbeb;background:#fbfcff;font-size:14px;color:var(--fb-ink)}
.fb-checkout .fb-checkout-card input::placeholder {color:#7b8a9f;opacity:1}
.fb-checkout .fb-checkout-card input:focus {border-color:var(--fb-blue);--tw-ring-color:#0754d82b}
.fb-checkout .fb-checkout-card input[aria-invalid="true"] {border-color:#df4545}
.fb-checkout .fb-checkout-card button {border-radius:10px;min-height:44px}
.fb-checkout .fb-checkout-card button:focus-visible {outline:3px solid #0754d8;outline-offset:3px}
.fb-checkout .fb-checkout-card button:is([class~="border-accent"],[class~="border-primary"]) {border-color:var(--fb-blue);background:#edf4ff;color:var(--fb-ink);box-shadow:inset 0 0 0 1px var(--fb-blue)}
.fb-checkout .fb-checkout-card button[class~="bg-primary"] {background:var(--fb-blue);color:#fff}
.fb-checkout .fb-checkout-card :is([class~="text-primary"],[class~="text-accent"]) {color:var(--fb-blue)}
.fb-checkout .fb-checkout-card button[class~="bg-primary"] :is(span,p) {color:inherit}
.fb-checkout .fb-checkout-card :is([class~="rounded-[1.5rem]"],[class~="rounded-2xl"]) {border-radius:12px}
.fb-checkout .fb-checkout-actions {margin-top:20px}
.fb-checkout .fb-checkout-action-row {display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px}
.fb-checkout .fb-checkout-actions button {min-height:49px;height:auto;border-radius:10px;font-size:14px;font-weight:700}
.fb-checkout .fb-checkout-back {order:1;flex:0 0 auto;width:auto;min-width:112px;background:#fff;border-color:#ccd9e9;color:#324b6c}
.fb-checkout .fb-checkout-next {order:2;flex:0 1 360px;width:auto;background:var(--fb-red);color:#fff;box-shadow:0 6px 16px -9px #dd15154d}
.fb-checkout .fb-checkout-next:hover:not(:disabled) {background:#bf1212}
.fb-checkout .fb-checkout-next:focus-visible {outline:3px solid var(--fb-blue);outline-offset:4px}
.fb-checkout .fb-checkout-next:disabled {opacity:.55}
.fb-checkout .fb-checkout-battery-card {display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:25px;padding:26px}
.fb-checkout .fb-checkout-product {display:grid;grid-template-columns:180px minmax(0,1fr);gap:23px;align-items:center;min-width:0}
.fb-checkout .fb-checkout-product-photo {height:225px;min-width:0;padding:0;overflow:hidden;background:#f2f6fc;border-radius:14px}
.fb-checkout .fb-checkout-product-photo img {width:340px;height:210px;max-width:none;max-height:none;flex-shrink:0;object-fit:contain}
.fb-checkout .fb-checkout-product-title {margin:0;font-size:27px;font-weight:800;line-height:1.1;letter-spacing:-.035em;color:var(--fb-ink)}
.fb-checkout .fb-checkout-product-details > p {font-size:13px;line-height:1.6;color:#52657e}
.fb-checkout .fb-checkout-product-details > span {background:#eaf2ff;color:var(--fb-blue)}
.fb-checkout .fb-checkout-product-details > p:nth-of-type(2) {margin-top:9px}
.fb-checkout .fb-checkout-specs {grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:18px}
.fb-checkout .fb-checkout-specs > div {min-width:0;padding:10px 8px;background:#f2f6fc;border-radius:9px}
.fb-checkout .fb-checkout-specs > div > p:first-child {font-size:9px;color:#52657e;letter-spacing:.04em}
.fb-checkout .fb-checkout-specs > div > p:last-child {font-size:13px;color:var(--fb-ink);white-space:nowrap}
.fb-checkout .fb-checkout-exchange {margin-top:17px;padding:14px;border:1px solid var(--fb-border);border-radius:11px;background:#fbfcff}
.fb-checkout .fb-checkout-exchange > p {font-size:10px;color:#3a5270;letter-spacing:.04em}
.fb-checkout .fb-checkout-exchange > div {gap:8px;margin-top:10px}
.fb-checkout .fb-checkout-exchange button {padding:10px;font-size:11px;line-height:1.4}
.fb-checkout .fb-checkout-pricing {display:flex;flex-direction:column;gap:0;margin:0;padding:19px;border-radius:14px;background:#eff5ff}
.fb-checkout .fb-checkout-pricing > div {padding:0 0 17px;margin-bottom:17px;border:0;border-bottom:1px solid #d4e1f3;border-radius:0;background:transparent}
.fb-checkout .fb-checkout-pricing > div > p:first-child {font-size:9px;line-height:1.5;letter-spacing:.06em;color:#52657e}
.fb-checkout .fb-checkout-pricing > div > p:nth-child(2) {font-size:22px;line-height:1.2;color:var(--fb-ink);letter-spacing:-.03em}
.fb-checkout .fb-checkout-pricing > div > p:nth-child(3) {font-size:10px;line-height:1.6;color:#52657e}
.fb-checkout .fb-checkout-pricing > div:last-child {margin:0;padding:16px;border:0;border-radius:10px;background:var(--fb-blue)}
.fb-checkout .fb-checkout-pricing > div:last-child > p {color:#fff}
.fb-checkout .fb-checkout-pricing > div:last-child > p:nth-child(2) {font-size:29px;font-weight:800}
.fb-checkout .fb-checkout-state-card {max-width:720px;border:1px solid var(--fb-border);border-radius:19px;box-shadow:0 8px 30px -19px #153d753b}
.fb-checkout .fb-checkout-order-photo {flex-shrink:0;overflow:hidden}
.fb-checkout .fb-checkout-order-photo img {width:185px;height:105px;max-width:none;max-height:none;flex-shrink:0;object-fit:contain}
.fb-checkout .fb-checkout-payment > div {border-color:#b6ceef;background:#edf4ff;border-radius:12px}
.fb-checkout .fb-checkout-breakdown > div > div:last-child span:last-child {color:var(--fb-blue);font-size:22px;font-weight:800}
@media(min-width:900px) {
 .fb-checkout[data-fb-checkout-step="5"] .fb-checkout-card {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:20px;align-items:start}
 .fb-checkout[data-fb-checkout-step="5"] .fb-checkout-card > div {margin-top:0}
 .fb-checkout .fb-checkout-order-product {grid-column:1/-1}
 .fb-checkout .fb-checkout-order-details {grid-column:1;grid-row:2}
 .fb-checkout .fb-checkout-coupon {grid-column:2;grid-row:2}
 .fb-checkout .fb-checkout-payment {grid-column:1;grid-row:3}
 .fb-checkout .fb-checkout-breakdown {grid-column:2;grid-row:3}
}
@media(max-width:1099px) {
 .fb-checkout .fb-checkout-battery-card {grid-template-columns:minmax(0,1fr) 230px;gap:20px;padding:23px}
 .fb-checkout .fb-checkout-product {grid-template-columns:140px minmax(0,1fr);gap:18px}
 .fb-checkout .fb-checkout-product-photo {height:200px}
 .fb-checkout .fb-checkout-product-photo img {width:285px;height:185px}
 .fb-checkout .fb-checkout-specs {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:899px) {
 .fb-checkout .fb-checkout-battery-card {grid-template-columns:minmax(0,1fr)}
 .fb-checkout .fb-checkout-product {grid-template-columns:175px minmax(0,1fr)}
 .fb-checkout .fb-checkout-product-photo {height:210px}
 .fb-checkout .fb-checkout-specs {grid-template-columns:repeat(4,minmax(0,1fr))}
 .fb-checkout .fb-checkout-pricing {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:15px;align-items:center}
 .fb-checkout .fb-checkout-pricing > div {padding:5px;margin:0;border:0}
 .fb-checkout .fb-checkout-pricing > div:last-child {padding:15px}
 .fb-checkout .fb-checkout-pricing > div:last-child > p:nth-child(2) {font-size:25px}
}
@media(max-width:639px) {
 .fb-checkout .fb-checkout-header-inner {height:70px;gap:10px;padding-left:20px;padding-right:20px}
 .fb-checkout .fb-checkout-logo {width:168px;height:44px}
 .fb-checkout .fb-checkout-logo img {width:234px;height:156px;left:-31px;top:-48px}
 .fb-checkout .fb-checkout-header-label {display:none}
 .fb-checkout .fb-checkout-return {min-height:38px;padding:0 11px;font-size:12px}
 .fb-checkout .fb-checkout-progress-container {padding-top:17px}
 .fb-checkout .fb-checkout-progress {padding:0 5px;border-radius:11px}
 .fb-checkout .fb-checkout-progress-item {padding:12px 2px 10px}
 .fb-checkout .fb-checkout-progress-label {flex-direction:column;gap:7px}
 .fb-checkout .fb-checkout-progress-label > span {font-size:9px}
 .fb-checkout .fb-checkout-progress-number {width:28px;height:28px;border-radius:8px;font-size:11px}
 .fb-checkout .fb-checkout-main {padding-top:23px;padding-bottom:35px}
 .fb-checkout .fb-checkout-intro {margin-bottom:19px}
 .fb-checkout .fb-checkout-intro h1 {font-size:28px;line-height:1.1}
 .fb-checkout .fb-checkout-intro > p:last-child {font-size:13px;line-height:1.6}
 .fb-checkout .fb-checkout-card {padding:19px;border-radius:15px}
 .fb-checkout .fb-checkout-card input {font-size:16px}
 .fb-checkout .fb-checkout-battery-card {padding:16px;gap:17px}
 .fb-checkout .fb-checkout-product {grid-template-columns:105px minmax(0,1fr);gap:14px;align-items:start}
 .fb-checkout .fb-checkout-product-photo {height:150px;border-radius:10px}
 .fb-checkout .fb-checkout-product-photo img {width:230px;height:140px}
 .fb-checkout .fb-checkout-product-title {font-size:25px}
 .fb-checkout .fb-checkout-product-details > p {font-size:12px}
 .fb-checkout .fb-checkout-specs {grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:12px}
 .fb-checkout .fb-checkout-specs > div {padding:8px}
 .fb-checkout .fb-checkout-specs > div > p:first-child {font-size:8px}
 .fb-checkout .fb-checkout-specs > div > p:last-child {font-size:12px}
 .fb-checkout .fb-checkout-product-details {display:contents}
 .fb-checkout .fb-checkout-product-details > .fb-checkout-product-title,
 .fb-checkout .fb-checkout-product-details > p,
 .fb-checkout .fb-checkout-product-details > span {grid-column:2}
 .fb-checkout .fb-checkout-product-details > span {grid-column:1/-1;grid-row:4;justify-self:start}
 .fb-checkout .fb-checkout-product-title {grid-row:1;align-self:start}
 .fb-checkout .fb-checkout-product-details > p:first-of-type {grid-row:1;margin-top:34px}
 .fb-checkout .fb-checkout-product-details > p:nth-of-type(2) {grid-column:1/-1;grid-row:3;margin-top:0}
 .fb-checkout .fb-checkout-product-photo {grid-column:1;grid-row:1/3}
 .fb-checkout .fb-checkout-specs {grid-column:2;grid-row:2;margin-top:0;align-self:end}
 .fb-checkout .fb-checkout-exchange {grid-column:1/-1;grid-row:4;margin-top:0;padding:13px}
 .fb-checkout .fb-checkout-product:has(.fb-checkout-product-details > span) .fb-checkout-exchange {grid-row:5}
 .fb-checkout .fb-checkout-exchange > div {grid-template-columns:repeat(2,minmax(0,1fr))}
 .fb-checkout .fb-checkout-pricing {grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:14px}
 .fb-checkout .fb-checkout-pricing > div {padding:0}
 .fb-checkout .fb-checkout-pricing > div > p:nth-child(2) {font-size:20px}
 .fb-checkout .fb-checkout-pricing > div:last-child {grid-column:1/-1;padding:15px}
 .fb-checkout .fb-checkout-pricing > div:last-child > p:nth-child(2) {font-size:28px}
 .fb-checkout .fb-checkout-action-row {flex-direction:column-reverse;gap:11px}
 .fb-checkout .fb-checkout-back,.fb-checkout .fb-checkout-next {flex:0 0 auto;width:100%;min-height:49px}
 .fb-checkout .fb-checkout-state-card h1 {font-size:28px}
}
@media(prefers-reduced-motion:reduce) {
 .fb-checkout *, .fb-checkout *::before, .fb-checkout *::after {scroll-behavior:auto;transition:none}
}
