.checkout-page{background:#f6f8fb;color:var(--ink)}
.checkout-page [hidden]{display:none!important}
.checkout-main{min-height:60vh}
.checkout-page .checkout-content .triad-fda-inline{text-align:center}
.checkout-shell{width:min(calc(100% - 40px),1120px);margin-inline:auto}
.checkout-intro{background:#fff;border-bottom:1px solid #e3e9ef}
.checkout-heading-shell{display:grid;gap:14px;padding:20px 0 15px}
.checkout-intro h1{margin:0;color:#192b3d;font-family:'Triad Display','Triad Outfit',Arial,sans-serif;font-size:20px;font-weight:700;letter-spacing:-.035em;line-height:1}
.checkout-card-kicker{margin:0;color:#0a89af;font-family:'Triad Utility','Triad Interface',Arial,sans-serif;font-size:9px;font-weight:800;letter-spacing:.16em}
.checkout-progress{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:0;margin:0;padding:0;list-style:none}
.checkout-progress::before{position:absolute;z-index:0;top:13px;right:16.66%;left:16.66%;height:1px;background:#d8e2ea;content:""}
.checkout-progress li{position:relative;z-index:1;display:grid;justify-items:center;gap:6px;min-width:0;color:#9aaaba;font-family:'Triad Utility','Triad Interface',Arial,sans-serif;font-size:8px;font-weight:800;letter-spacing:.1em;line-height:1.15;text-align:center;white-space:nowrap}
.checkout-progress li span{display:grid;place-items:center;width:27px;height:27px;border:1px solid #cfdbe5;border-radius:50%;background:#fff;color:#8a9bad;font-size:10px;font-weight:800}
.checkout-progress li.is-complete,.checkout-progress li.is-current{color:#183957}
.checkout-progress li.is-complete span{border-color:#15395e;background:#15395e;color:#fff}
.checkout-progress li.is-current span{border:2px solid #1688b2;background:#fff;color:#15395e;box-shadow:0 0 0 3px #1688b218}
.checkout-content{padding:24px 0 68px}
.checkout-loading{min-height:88px;display:grid;place-items:center;color:#6f8498;font-family:'Triad Utility',Arial,sans-serif;font-size:11px;font-weight:700;letter-spacing:.17em}
.checkout-loading[hidden]{display:none}
.checkout-form{display:grid;grid-template-columns:minmax(0,1fr) 320px;grid-template-areas:'flow summary' 'payment summary';align-items:start;gap:16px 28px}
.checkout-flow-column{grid-area:flow}.checkout-summary-column{grid-area:summary}.checkout-payment-boundary{grid-area:payment}
.checkout-column{display:grid;gap:16px;min-width:0}
.checkout-card{position:relative;border:1px solid #d8e2ea;border-radius:9px;background:#fff;box-shadow:0 4px 18px #15395e0b;padding:21px 22px}
.checkout-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:15px}
.checkout-card-heading h2,.checkout-card h2{margin:0;color:#1b3b59;font-family:'Triad Display','Triad Outfit',Arial,sans-serif;font-size:21px;font-weight:700;letter-spacing:-.04em;line-height:1.05;text-transform:none}
.checkout-card-heading>a{flex:none;margin-top:3px;color:#117695;font-family:'Triad Utility',Arial,sans-serif;font-size:8px;font-weight:800;letter-spacing:.1em;text-decoration:underline;text-underline-offset:3px}
.checkout-section-subtitle{margin:6px 0 0!important;color:#71859a!important;font-family:'Triad Interface',Arial,sans-serif;font-size:11px!important;line-height:1.4!important}
.checkout-card p{color:#526b85;font-family:'Triad Interface',Arial,sans-serif;font-size:12px;line-height:1.5}
.checkout-help{margin:0 0 10px}
.checkout-shipping-policy{margin:0 0 16px!important;color:#71859c!important;font-size:12px!important;line-height:1.5!important}
.checkout-field{display:grid;gap:6px;min-width:0}
.checkout-field label{color:#6a8098;font-family:'Triad Utility',Arial,sans-serif;font-size:8px;font-weight:800;letter-spacing:.14em;line-height:1.2}
.checkout-field input,.checkout-field select{width:100%;min-height:40px;padding:0 11px;border:1px solid #c8d5df;border-radius:5px;background:#fff;color:#173b5d;font-family:'Triad Interface',Arial,sans-serif;font-size:13px;outline:none}
.checkout-field input:focus,.checkout-field select:focus{border-color:#06a7d4;box-shadow:0 0 0 3px #00c7f21c}
.checkout-field input.is-invalid,.checkout-field select.is-invalid,.checkout-field input[aria-invalid="true"],.checkout-field select[aria-invalid="true"]{border-color:#c14f6f;background:#fffafd;box-shadow:0 0 0 3px #c14f6f1a}
.checkout-field-error{min-height:14px;margin:0;color:#b4234d;font-family:'Triad Interface',Arial,sans-serif;font-size:10px;line-height:1.35}
.checkout-field-error:empty{display:none}
.checkout-field select:disabled{background:#eef4f8;color:#8293a5;cursor:not-allowed}
.checkout-field input[readonly]{background:#eef4f8;color:#5f7389;cursor:default}
.checkout-saved-address{display:grid;gap:11px}
.checkout-address-preview{margin-top:0;padding:11px 13px;border-left:3px solid #08bde5;background:#f2fbfe;color:#355472;font-family:'Triad Interface',Arial,sans-serif;font-size:12px;line-height:1.5}
.checkout-address-switch{justify-self:start;min-height:30px;padding:4px 0;border:0;background:transparent;color:#117695;font-family:'Triad Utility',Arial,sans-serif;font-size:8px;font-weight:800;letter-spacing:.1em;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.checkout-address-switch:hover{color:#15395e}
.checkout-inline-address{display:grid;gap:13px;margin-top:16px;padding-top:16px;border-top:1px solid #e1e8ee}
.checkout-inline-address-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.checkout-inline-address-heading strong{color:#355472;font-family:'Triad Utility',Arial,sans-serif;font-size:8px;font-weight:800;letter-spacing:.14em}
.checkout-inline-address-heading .checkout-address-switch{margin:0}
.checkout-address-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:11px}
.checkout-address-field-first-name{grid-column:1}.checkout-address-field-last-name{grid-column:2}.checkout-address-field-phone{grid-column:1/-1}
.checkout-address-field-wide{grid-column:1/-1}
.checkout-address-field-city{grid-column:1}.checkout-address-field-state{grid-column:2}
.checkout-address-field-zip{grid-column:1}.checkout-address-field-country{grid-column:2}
.checkout-field label span{color:#8a9bad;font-size:.9em;letter-spacing:.08em}
.checkout-address-save{display:flex;align-items:flex-start;gap:8px;color:#355472;font-family:'Triad Interface',Arial,sans-serif;font-size:12px;line-height:1.45;cursor:pointer}
.checkout-address-save input{flex:0 0 auto;width:16px;height:16px;margin:1px 0 0;accent-color:#087bb9}
.checkout-inline-message,.checkout-form-status{min-height:17px;margin:8px 0 0;color:#08738f!important;font-size:11px!important}
.checkout-inline-message:empty,.checkout-form-status:empty{display:none}
.checkout-inline-message[data-tone="error"],.checkout-form-status[data-tone="error"]{color:#b4234d!important}
.checkout-shipping-method{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px;padding:12px 13px;border:1px solid #cfe1ec;border-radius:7px;background:#f8fbfd}
.checkout-shipping-method>div{display:grid;gap:3px;min-width:0}
.checkout-shipping-method strong{color:#1d405f;font-family:'Triad Interface Bold','Triad Interface',Arial,sans-serif;font-size:12px}
.checkout-shipping-method span{color:#71859a;font-family:'Triad Interface',Arial,sans-serif;font-size:10px;line-height:1.35}
.checkout-shipping-method-status{flex:none;color:#08738f!important;font-family:'Triad Utility',Arial,sans-serif!important;font-size:8px!important;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.checkout-checks{display:grid;gap:9px;margin-top:3px}
.checkout-checks label{display:flex;align-items:flex-start;gap:9px;color:#355472;font-family:'Triad Interface',Arial,sans-serif;font-size:12px;line-height:1.45;cursor:pointer}
.checkout-checks input{flex:0 0 auto;width:16px;height:16px;margin:1px 0 0;accent-color:#087bb9}
.checkout-referral-card{padding:0;overflow:hidden}
.checkout-referral-details{background:#fff}
.checkout-referral-details>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:0 22px;color:#1b3b59;font-family:'Triad Interface Bold','Triad Interface',Arial,sans-serif;font-size:13px;font-weight:700;cursor:pointer;list-style:none}
.checkout-referral-details>summary::-webkit-details-marker{display:none}
.checkout-referral-details>summary::after{content:'+';color:#117695;font-size:19px;font-weight:400;line-height:1}
.checkout-referral-details[open]>summary::after{content:'−'}
.checkout-referral-panel{padding:0 22px 18px;border-top:1px solid #e1e8ee}
.checkout-referral-panel .checkout-help{margin:12px 0}
.checkout-summary-card{position:sticky;top:18px;padding:0;overflow:hidden;box-shadow:0 6px 22px #15395e12}
.checkout-summary-card .checkout-card-heading{align-items:center;margin:0;padding:17px 18px;border-bottom:1px solid #e1e8ee}
.checkout-summary-card .checkout-card-heading h2{font-size:17px}
.checkout-line-list{display:grid;gap:0;padding:10px 14px 4px}
.checkout-line{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #e7edf2;background:#fff}
.checkout-line:last-child{border-bottom:0}
.checkout-line-art{width:48px;height:58px;display:grid;place-items:center;overflow:hidden;border:1px solid #e0e8ef;border-radius:6px;background:#f5f8fb}
.checkout-line-art img{width:100%;height:100%;object-fit:cover}
.checkout-line-name{margin:0;color:#1b3b59;font-family:'Triad Interface Bold','Triad Interface',Arial,sans-serif;font-size:12px;font-weight:700;line-height:1.2}
.checkout-line-meta{display:block;margin-top:4px;color:#71859a;font-family:'Triad Interface',Arial,sans-serif;font-size:10px;line-height:1.2}
.checkout-line-quantity{display:block;margin-top:4px;color:#117695;font-family:'Triad Utility',Arial,sans-serif;font-size:8px;font-weight:800;letter-spacing:.08em;line-height:1.2}
.checkout-line-price{color:#1b3b59;font-family:'Triad Interface Bold','Triad Interface',Arial,sans-serif;font-size:12px;text-align:right;white-space:nowrap}
.checkout-line-price strong{display:block;margin:0;color:inherit;font:inherit}
.checkout-quote-status{margin:4px 18px 9px;padding:0;color:#71859a;font-family:'Triad Interface',Arial,sans-serif;font-size:10px;line-height:1.4}
.checkout-quote-status[data-tone="error"]{color:#a12d52}
.checkout-quote-status[data-tone="loading"]{display:flex;align-items:center;gap:7px;color:#71859a}
.checkout-quote-status[data-tone="loading"]::before{width:9px;height:9px;border:1px solid #b6c7d4;border-top-color:#08738f;border-radius:50%;content:"";animation:checkout-spin .8s linear infinite}
.checkout-quote-expiry{margin:0 18px 9px;color:#71859c;font-family:'Triad Interface',Arial,sans-serif;font-size:10px;line-height:1.4;text-align:left}
.checkout-quote-expiry[data-tone="error"]{color:#a12d52;font-weight:700}
.checkout-totals{display:grid;margin:9px 18px 17px;border-top:1px solid #dce5ec}
.checkout-totals>div{display:flex;justify-content:space-between;gap:13px;padding:8px 0;border-bottom:1px solid #edf1f4;color:#526b85;font-family:'Triad Interface',Arial,sans-serif;font-size:10px;line-height:1.3}
.checkout-totals>div[hidden]{display:none}
.checkout-totals dt{font-weight:600}.checkout-totals dd{margin:0;text-align:right;white-space:nowrap}
.checkout-total-row{padding-top:13px!important;border-bottom:0!important;color:#102640!important;font-family:'Triad Interface Bold','Triad Interface',Arial,sans-serif!important;font-size:14px!important}
.checkout-total-row dd{color:#173b5d;font-size:18px}
.checkout-tax-note{display:none;margin:7px 18px 14px!important;color:#71859c!important;font-size:10px!important}
.checkout-quote-retry{width:calc(100% - 36px);margin:0 18px 17px}
.checkout-primary,.checkout-secondary,.checkout-disabled{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:43px;padding:0 17px;border-radius:5px;font-family:'Triad Utility','Triad Interface',Arial,sans-serif;font-size:9px;font-weight:800;letter-spacing:.08em;text-align:center}
.checkout-primary{width:100%;border:1px solid #123d68;background:#123d68;color:#fff;transition:background-color .16s,border-color .16s}
.checkout-primary:hover:not(:disabled){border-color:#05add8;background:#0e618b}
.checkout-primary:disabled{border-color:#b9c9d7;background:#edf3f7;color:#76899c;opacity:1;cursor:not-allowed}
.checkout-secondary{border:1px solid #9bb6cc;background:#fff;color:#173b5d}.checkout-secondary:hover{border-color:#00c7f2;background:#eafaff}
.checkout-disabled{width:auto;min-width:240px;border:1px solid #b9c9d7;background:#edf3f7;color:#76899c;cursor:not-allowed}
.checkout-payment-boundary{padding:21px 22px;border:1px solid #d8e2ea;border-radius:9px;background:#fff;box-shadow:0 4px 18px #15395e0b}
.checkout-payment-boundary .checkout-card-heading{margin-bottom:14px}
.checkout-payment-method{display:flex;align-items:flex-start;gap:10px;padding:12px 13px;border:1px solid #bcd7e7;border-radius:7px;background:#f8fbfd}
.checkout-payment-radio{position:relative;flex:0 0 auto;width:15px;height:15px;margin-top:1px;border:4px solid #147fb2;border-radius:50%;background:#fff;box-shadow:0 0 0 1px #147fb2}
.checkout-payment-method div{display:grid;gap:3px}
.checkout-payment-method strong{color:#1d405f;font-family:'Triad Interface Bold','Triad Interface',Arial,sans-serif;font-size:12px}
.checkout-payment-method span:not(.checkout-payment-radio){color:#71859a;font-family:'Triad Interface',Arial,sans-serif;font-size:10px;line-height:1.35}
.checkout-payment-intro{margin:12px 0 0!important;color:#71859a!important;font-size:11px!important}
.checkout-payment-element{margin:14px 0 15px;padding:15px;border:1px solid #d5e1eb;border-radius:7px;background:#fff;box-shadow:0 3px 12px #15395e08}
.checkout-payment-element[hidden],.checkout-payment-retry[hidden]{display:none}
.checkout-payment-confirmation{margin:18px 0 15px;padding-top:17px;border-top:1px solid #dfe8ef}
.checkout-payment-confirmation .checkout-card-heading{margin-bottom:12px}
.checkout-payment-actions{display:grid;gap:9px;max-width:100%}
.checkout-payment-status{min-height:17px;margin:9px 0 0!important;color:#08738f!important;font-size:11px!important}
.checkout-payment-status:empty{display:none}.checkout-payment-status[data-tone="loading"]{display:flex;align-items:center;gap:7px;color:#71859a!important}.checkout-payment-status[data-tone="loading"]::before{width:9px;height:9px;border:1px solid #b6c7d4;border-top-color:#08738f;border-radius:50%;content:"";animation:checkout-spin .8s linear infinite}.checkout-payment-status[data-tone="error"]{color:#b4234d!important}
.checkout-payment-retry{margin-top:9px}
.checkout-empty,.checkout-auth-required{max-width:620px;margin:20px auto 50px;text-align:center}.checkout-empty h2,.checkout-auth-required h2{margin:10px 0 0}.checkout-empty p,.checkout-auth-required p{max-width:500px;margin:15px auto 24px}.checkout-empty .checkout-secondary,.checkout-auth-required .checkout-primary{width:auto}
.checkout-inline-address[hidden],.checkout-saved-address[hidden]{display:none}
@keyframes checkout-spin{to{transform:rotate(360deg)}}

@media(min-width:801px){
  .checkout-intro{padding-top:42px}
}

@media(max-width:900px){
  .checkout-shell{width:min(calc(100% - 32px),720px)}
  .checkout-form{grid-template-columns:1fr;grid-template-areas:'flow' 'summary' 'payment'}
  .checkout-summary-card{position:static}
}

@media(max-width:560px){
  .checkout-shell{width:calc(100% - 28px)}
  .checkout-heading-shell{gap:13px;padding:18px 0 14px}
  .checkout-intro h1{font-size:19px}
  .checkout-progress::before{top:12px;right:15%;left:15%}
  .checkout-progress li{gap:5px;font-size:7px;letter-spacing:.06em;white-space:normal}
  .checkout-progress li span{width:25px;height:25px;font-size:9px}
  .checkout-content{padding:17px 0 48px}
  .checkout-card,.checkout-payment-boundary{padding:18px 15px}
  .checkout-card-heading{display:block;margin-bottom:13px}
  .checkout-card-heading>a{display:inline-flex;margin-top:10px}
  .checkout-card-heading h2,.checkout-card h2{font-size:20px}
  .checkout-section-subtitle{font-size:10px!important}
  .checkout-address-fields{grid-template-columns:1fr;gap:10px}
  .checkout-address-field-first-name,.checkout-address-field-last-name,.checkout-address-field-phone,.checkout-address-field-wide,.checkout-address-field-city,.checkout-address-field-state,.checkout-address-field-zip,.checkout-address-field-country{grid-column:1}
  .checkout-inline-address{gap:11px;margin-top:14px;padding-top:14px}
  .checkout-inline-address-heading{display:block}
  .checkout-inline-address-heading .checkout-address-switch{display:block;margin-top:8px}
  .checkout-shipping-method{align-items:flex-start;flex-direction:column;gap:7px;margin-top:15px}
  .checkout-shipping-method-status{align-self:flex-start}
  .checkout-referral-details>summary{min-height:49px;padding:0 15px;font-size:13px}
  .checkout-referral-panel{padding:0 15px 16px}
  .checkout-summary-card{padding:0}
  .checkout-summary-card .checkout-card-heading{display:flex;margin:0;padding:16px 15px}
  .checkout-summary-card .checkout-card-heading>a{margin-top:2px}
  .checkout-line-list{padding:8px 12px 3px}
  .checkout-line{grid-template-columns:46px minmax(0,1fr) auto;gap:9px;padding:8px 0}
  .checkout-line-art{width:46px;height:56px}
  .checkout-line-name{font-size:11px}.checkout-line-meta{font-size:9px}.checkout-line-quantity{font-size:7px}.checkout-line-price{font-size:11px}
  .checkout-quote-status,.checkout-quote-expiry{margin-left:15px;margin-right:15px}
  .checkout-totals{margin-left:15px;margin-right:15px}
  .checkout-quote-retry{width:calc(100% - 30px);margin-right:15px;margin-left:15px}
  .checkout-payment-method{padding:11px 12px}
  .checkout-payment-element{padding:12px}
  .checkout-payment-confirmation{margin-top:15px;padding-top:15px}
  .checkout-empty .checkout-secondary,.checkout-auth-required .checkout-primary{width:100%}
}

/* Stable payment handoff; the existing Stripe element stays mounted underneath. */
.checkout-processing{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:24px;overflow-y:auto;background:#051629d9;backdrop-filter:blur(8px)}
.checkout-processing[hidden]{display:none!important}
.checkout-processing-card{width:min(100%,480px);margin:auto;padding:36px 32px;border:1px solid #557a9259;border-radius:20px;background:linear-gradient(145deg,#122e49,#081d33);box-shadow:0 24px 70px #020d2580;text-align:center;color:#eaf5fc}
.checkout-processing-mark{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 20px;border:1px solid #4bcfe366;border-radius:15px;background:#29cbe512;color:#56d8e9}.checkout-processing-mark svg{width:30px;height:30px}
.checkout-processing-card h2{margin:0 0 16px;color:#fff;font:800 clamp(22px,4.8vw,27px)/1.2 'Triad Outfit',Arial,sans-serif;letter-spacing:.005em;outline:none}.checkout-processing-card p{margin:0;color:#c2d7e6;font-size:14px;line-height:1.65}.checkout-processing-recovery{display:grid;gap:12px;margin-top:24px}.checkout-processing-recovery[hidden]{display:none!important}.checkout-processing-recovery a{color:#eaf5fc}.checkout-processing-recovery :focus-visible{outline:2px solid #72e1ee;outline-offset:4px}
@media(max-width:520px){.checkout-processing{padding:16px}.checkout-processing-card{padding:30px 24px}}
