:root{--blue:#4b6cf8;--ink:#1a1a1a;--muted:#636571;--line:#e9e9ee;--pale:#f6f6fb;--font:'Geist','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased}a{color:inherit}button{font:inherit}[hidden]{display:none!important}a:focus-visible,button:focus-visible{outline:3px solid var(--blue);outline-offset:5px;border-radius:3px}
.checkout-header{min-height:83px;padding:20px 38px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:24px}.checkout-header img{display:block;width:150px;height:auto}.back-link{font-size:14px;text-decoration:none;color:var(--muted)}.back-link:hover,.text-link:hover{color:var(--blue)}
.checkout-main{width:min(100%,1272px);margin:auto;padding:52px 38px 32px}.checkout-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.eyebrow{font-size:12px;line-height:1.5;letter-spacing:.1em;font-weight:600;color:var(--blue);margin:0 0 14px}h1{font-size:clamp(32px,3.2vw,44px);font-weight:500;letter-spacing:-.045em;line-height:1.12;margin:0}.secure-label{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:14px;white-space:nowrap}.secure-label svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}
.checkout-shell{border:1px solid var(--line);border-radius:24px;overflow:hidden;min-height:400px;background:white}.checkout-loading{text-align:center;padding:42px 24px;min-height:400px;background:var(--pale)}.checkout-loading img{border-radius:20px;object-fit:contain;background:white;margin-bottom:12px}.checkout-loading h2{font-size:24px;letter-spacing:-.035em;font-weight:500;margin:8px 0 14px}.checkout-loading p{font-size:16px;line-height:1.65;color:var(--muted);max-width:430px;margin:0 auto 22px}.text-link{display:block;text-decoration:none;font-size:15px;margin-top:20px}.button{display:inline-flex;justify-content:center;align-items:center;background:var(--blue);color:white;border:0;border-radius:14px;padding:15px 28px;min-height:50px;cursor:pointer;font-weight:500;text-decoration:none}.button:hover{background:#3655df}.sandbox-notice{padding:12px 18px;background:#fff5d9;color:#62430c;border-radius:12px;font-size:14px;margin:0 0 20px}
.checkout-reassurance{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;padding:28px 0 16px;color:var(--muted);font-size:14px}.checkout-reassurance a{text-decoration:none}.checkout-reassurance a:hover{text-decoration:underline}.checkout-footer{max-width:1196px;margin:0 auto;padding:24px 0 32px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:24px;color:var(--muted);font-size:13px}.checkout-footer nav{display:flex;gap:24px}.checkout-footer a{text-decoration:none}.confirmation{max-width:700px;text-align:center;padding:60px 36px;background:var(--pale);border-radius:24px;margin:20px auto 40px}.confirmation img{width:160px;border-radius:24px;margin-bottom:30px}.confirmation h1{font-size:36px}.confirmation p{font-size:17px;line-height:1.6;color:var(--muted);margin:24px 0}.confirmation .text-link{margin-top:24px}.noscript-message{text-align:center}
@media(max-width:760px){.checkout-header{padding:20px;min-height:72px}.checkout-header img{width:125px}.back-link{font-size:13px}.checkout-main{padding:36px 20px 24px}.checkout-intro{display:block;margin-bottom:24px}.secure-label{margin-top:18px;font-size:13px}h1{font-size:32px}.eyebrow{font-size:10px}.checkout-shell{border-radius:16px}.checkout-reassurance{gap:10px;font-size:12px}.checkout-footer{margin:0 20px;gap:20px;font-size:12px}.checkout-footer nav{gap:16px}.confirmation{padding:36px 22px}.confirmation h1{font-size:30px}}
/* Custom Elements checkout. Confirmation styles above are shared. */
.checkout-header{max-width:1348px;margin:auto;border-bottom:0;min-height:100px}.checkout-header img{width:140px}.checkout-main{max-width:1176px;padding:44px 38px 72px}.checkout-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:72px;align-items:start}.checkout-intro{display:block;margin:0 0 32px}.checkout-intro .eyebrow{display:block;font-size:11px;letter-spacing:.12em;margin-bottom:14px}.checkout-intro h1{font-size:38px;font-weight:600;letter-spacing:-.045em}.checkout-intro p{font-size:16px;color:var(--muted);line-height:1.6;margin:12px 0 0}.form-column,.order-column{min-width:0}.form-section{margin:0 0 30px}.form-section h2{font-size:20px;font-weight:600;letter-spacing:-.025em;margin:0 0 16px}.element-slot{min-height:52px}.express-section:empty{display:none}.divider{display:flex;align-items:center;gap:16px;color:var(--muted);font-size:12px;margin:24px 0 28px}.divider::before,.divider::after{content:'';height:1px;background:var(--line);flex:1}.shipping-note{margin-top:16px;padding:14px 16px;display:flex;justify-content:space-between;border:1px solid var(--line);border-radius:10px;font-size:13px;color:var(--muted)}.shipping-note strong{font-weight:500;color:var(--ink)}.order-column{position:sticky;top:32px}.order-panel{background:var(--pale);border-radius:24px;padding:32px}.order-heading h2{margin:0 0 7px;font-size:22px;font-weight:600;letter-spacing:-.035em}.order-caption{color:var(--muted);font-size:14px}.product-row{display:flex;gap:20px;align-items:center;margin:28px 0}.product-image{width:112px;height:112px;object-fit:contain;border-radius:18px;background:#fff;flex-shrink:0}.product-info h3{font-size:18px;line-height:1.35;font-weight:600;letter-spacing:-.025em;margin:0 0 7px}.product-info p{font-size:13px;color:var(--muted);margin:0 0 12px}.quantity-control{display:inline-flex;height:34px;align-items:center;border:1px solid #dcdde5;border-radius:9px;background:transparent;overflow:hidden}.quantity-control button{width:32px;height:32px;background:none;border:0;cursor:pointer;font-size:19px;color:var(--ink)}.quantity-control output{min-width:28px;text-align:center;font-size:13px;font-weight:500}.quantity-control button:hover:not(:disabled){background:#e8e9f3}.quantity-control button:disabled{opacity:.3;cursor:default}.totals{margin:0;border-top:1px solid #e0e1e9;padding-top:22px}.totals>div{display:flex;justify-content:space-between;gap:16px;font-size:14px;margin-bottom:14px}.totals dt{color:var(--muted)}.totals dd{margin:0;font-weight:500}.totals .grand-total{border-top:1px solid #e0e1e9;margin-top:22px;padding-top:22px;font-size:22px;align-items:center}.grand-total dt{color:var(--ink);font-weight:600;letter-spacing:-.025em}.grand-total dt span{font-size:11px;font-weight:400;letter-spacing:0;color:var(--muted);margin-left:5px}.grand-total dd{font-weight:600;letter-spacing:-.025em}.compatibility{font-size:12px;line-height:1.65;color:var(--muted);margin:22px 0}.compatibility a{display:block;text-underline-offset:3px;margin-top:3px}.reassurance{list-style:none;margin:24px 0 0;padding:22px 0 0;border-top:1px solid #e0e1e9;display:grid;gap:14px}.reassurance li{display:flex;align-items:center;gap:12px;font-size:13px}.reassurance svg{width:19px;height:19px;fill:none;stroke:var(--blue);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.reassurance a{text-decoration:none}.reassurance a:hover{text-decoration:underline}.help-note{text-align:center;font-size:12px;line-height:1.8;color:var(--muted);margin:20px 0}.help-note a{display:block;color:var(--ink);text-underline-offset:3px}.pay-total{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin:4px 0 18px}.pay-total strong{font-size:20px;font-weight:600}.pay-button{width:100%;gap:10px;min-height:56px;border-radius:12px;font-size:16px;font-weight:600}.pay-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}.pay-button:disabled{opacity:.55;cursor:wait}.secure-note{text-align:center;font-size:12px;color:var(--muted);margin:14px 0 0}.legal-note{font-size:11px;line-height:1.7;text-align:center;color:var(--muted);margin:16px 0 0}.legal-note a{text-underline-offset:3px}.loading-notice{padding:14px 16px;background:var(--pale);border-radius:10px;display:flex;gap:12px;align-items:center;font-size:13px;color:var(--muted);margin-bottom:24px;line-height:1.6;flex-wrap:wrap}.loading-notice button{border:0;background:none;color:var(--blue);text-decoration:underline;cursor:pointer;padding:0}.spinner{width:16px;height:16px;border:2px solid #dcdff2;border-top-color:var(--blue);border-radius:50%;animation:checkout-spin 1s linear infinite;flex-shrink:0}.payment-error{color:#9c2532;background:#fff3f4;border:1px solid #f2d7dc;padding:14px 16px;border-radius:10px;font-size:14px;line-height:1.5;margin:0 0 20px}.checkout-footer{max-width:1100px}.summary-toggle{display:none}button:focus-visible,a:focus-visible{outline:3px solid var(--blue);outline-offset:4px} @keyframes checkout-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner{animation:none}}
@media(max-width:1000px){.checkout-grid{gap:36px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.order-panel{padding:24px}.product-row{gap:14px}.product-image{width:90px;height:90px}.checkout-footer{margin:0 38px}}
@media(max-width:760px){.checkout-header{min-height:78px;padding:20px}.checkout-header img{width:120px}.checkout-main{padding:12px 20px 40px}.checkout-grid{display:flex;flex-direction:column;gap:30px}.order-column{order:-1;width:100%;position:static}.order-panel{padding:20px;border-radius:18px}.order-heading,.help-note{display:none}.product-row{margin:0 0 18px;gap:16px}.product-image{width:84px;height:84px;border-radius:12px}.product-info{flex:1;position:relative;padding-right:96px}.product-info h3{font-size:16px}.product-info h3 br{display:none}.product-info p{margin:6px 0 0;font-size:12px}.quantity-control{position:absolute;right:0;top:50%;transform:translateY(-50%)}.summary-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;gap:16px;background:none;border:0;border-top:1px solid #e0e1e9;padding:16px 0 0;text-align:left;color:var(--ink);font:inherit;font-size:13px;cursor:pointer}.summary-toggle strong{font-size:18px;font-weight:600}.chevron{display:inline-block;margin-left:5px}.summary-toggle[aria-expanded=true] .chevron{transform:rotate(180deg)}.summary-details{display:none;padding-top:20px}.summary-details.is-open{display:block}.reassurance{display:flex;gap:12px;justify-content:space-between;margin-top:16px;padding-top:16px}.reassurance li{font-size:10px;gap:5px}.reassurance svg{width:14px;height:14px}.checkout-intro{margin-bottom:26px}.checkout-intro h1{font-size:30px}.checkout-intro p{font-size:15px}.checkout-intro .eyebrow{display:none}.form-column{width:100%}.form-section{margin-bottom:26px}.form-section h2{font-size:19px}.checkout-footer{margin:0 20px;padding-top:22px;flex-wrap:wrap}.checkout-footer nav{gap:18px}.loading-notice{font-size:12px}}
@media(max-width:360px){.product-info{padding-right:0}.quantity-control{position:static;transform:none;margin-top:10px}.reassurance{flex-wrap:wrap;justify-content:flex-start}}

/* Compact form rhythm; retain 16px input text and the existing order summary. */
.form-column .checkout-intro{margin-bottom:24px}
.form-column .form-section{margin-bottom:22px}
.form-column .form-section h2{margin-bottom:12px}
.form-column .element-slot{min-height:44px}
.form-column .divider{margin:18px 0 22px}
.form-column .shipping-note{margin-top:12px;padding:10px 14px}
.form-column .pay-total{margin-bottom:12px}
.form-column .pay-button{min-height:52px;padding-block:12px}
.form-column .secure-note{margin-top:12px}
.form-column .legal-note{margin-top:12px}

/* On phones, review the order immediately before the total and payment action. */
@media (max-width:760px) {
  #payment-form > .order-column {order:0;margin:4px 0 24px;}
}
