/* Local checkout presentation. Shared branding is loaded afterwards. */
.shop-test-main{max-width:1240px;margin:0 auto;padding:32px 28px 64px;min-height:50vh;font-family:var(--body,system-ui,-apple-system,"Segoe UI",sans-serif);color:var(--ink,#15202b)}
.shop-test-main h1,.shop-test-main h2,.shop-test-main h3,.test-form legend{font-family:var(--body,system-ui,-apple-system,"Segoe UI",sans-serif);font-style:normal;text-transform:none;letter-spacing:-.025em;font-weight:700;line-height:1.22}
.shop-test-main h1{font-size:clamp(36px,3.4vw,42px);margin:10px 0 12px;overflow-wrap:anywhere}
.shop-test-main h2{font-size:22px;margin:0}
.shop-test-main h3{font-size:17px}
.shop-test-main .eyebrow{font-size:11px;line-height:1.5;font-weight:600;letter-spacing:.04em;color:var(--muted,#5d6873)}
.test-intro{max-width:690px;color:var(--muted,#5d6873);font-size:15px;line-height:1.65}
.test-steps{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px;line-height:1.5;margin:0 0 22px;color:var(--muted,#5d6873)}
.test-steps a{text-decoration:none}
.test-steps a:hover{text-decoration:underline;text-underline-offset:3px}
.test-steps [aria-current]{color:var(--ink,#15202b);font-weight:650}
.test-banner{border:1px solid #f0df9d;border-left:3px solid var(--yellow,#f2cc26);border-radius:8px;padding:12px 15px;background:#fffcf0;margin:18px 0;font-size:13px;line-height:1.6}
.test-banner strong{display:block;font-weight:650;color:var(--ink,#15202b)}
.test-banner p+p{margin-top:5px}
.test-banner a,.test-message a,.test-small a{text-decoration:underline;text-underline-offset:3px}
.test-status-pill{display:inline-flex;align-items:center;gap:7px;font-size:11px;line-height:1.4;max-width:100%;padding:5px 9px;border:1px solid #f0df9d;border-radius:5px;background:#fffcf0;color:#5f541e}
.test-status-pill:before{content:'';width:6px;height:6px;border-radius:50%;background:#bc9910;flex:none}
.test-message{font-size:13px;line-height:1.6;padding:12px 15px;border:1px solid var(--line,#e4e6e9);border-radius:8px;margin:14px 0;overflow-wrap:anywhere}
.test-message:empty{display:none}
.test-message[data-tone=error]{background:#fff4f3;border-color:#e8b9b6;color:#8e1d28}
.test-message[data-tone=success]{background:#f1f8f2;border-color:#bfd9c3;color:#225c32}
.test-message[data-tone=info]{background:#fffcf0;border-color:#f0df9d;color:#62571f}
.test-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(310px,.8fr);gap:30px;align-items:start;margin-top:24px}
.test-panel{min-width:0;background:var(--paper,#fff);border:1px solid var(--line,#e4e6e9);border-radius:10px;padding:24px}
.test-summary{position:sticky;top:96px;background:var(--neutral,#f6f7f8)}
.test-summary h2{font-size:22px;margin:0 0 18px}
.test-summary dl{margin:0}
.test-summary dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:18px;border-top:1px solid var(--line,#e4e6e9);padding:13px 0}
.test-summary dt{font-size:13px;line-height:1.5}
.test-summary dd{margin:0;text-align:right;font-size:14px;line-height:1.5;font-weight:650}
.test-summary .test-total{padding-top:16px}
.test-summary .test-total dt,.test-summary .test-total dd{font-size:16px}
.test-summary .test-total dd{font-weight:500;color:var(--muted,#5d6873)}
.test-summary .test-small{margin-top:14px}
.shop-test-main .button{min-height:46px;border-radius:7px;padding:12px 17px;font-family:var(--body,system-ui,sans-serif);font-size:14px;font-weight:650;line-height:1.45;letter-spacing:0;white-space:normal}
.shop-test-main .button.dark{background:var(--red,#b8202c);border-color:var(--red,#b8202c);color:#fff}
.shop-test-main .button.dark:hover{background:#981b26;border-color:#981b26}
.shop-test-main .button:disabled{opacity:.5;cursor:not-allowed}
.test-full-button{width:100%;margin-top:18px;gap:14px}
.test-full-button[aria-disabled=true]{opacity:.5;pointer-events:none}
.test-small{font-size:12px;color:var(--muted,#5d6873);line-height:1.65}
.test-small strong{color:var(--ink,#15202b);font-weight:650}
.test-backlink{display:inline-block;margin-top:16px;text-decoration:underline;text-underline-offset:3px;font-size:13px;line-height:1.55}
.test-empty{padding:38px 22px;background:var(--neutral,#f6f7f8);border:1px solid var(--line,#e4e6e9);border-radius:10px;text-align:center}
.test-empty p{margin:12px auto 19px;max-width:460px;color:var(--muted,#5d6873);font-size:14px;line-height:1.6}
.test-empty h2{font-size:24px}
.cart-lines{border-top:1px solid var(--line,#e4e6e9)}
.cart-line{display:grid;grid-template-columns:88px minmax(0,1fr);gap:20px;padding:22px 0;border-bottom:1px solid var(--line,#e4e6e9)}
.cart-line-image{width:88px;height:108px;object-fit:contain;background:var(--neutral,#f6f7f8);border:1px solid var(--line,#e4e6e9);border-radius:7px;padding:7px}
.cart-line-top{display:flex;justify-content:space-between;align-items:start;gap:16px}
.shop-test-main .cart-line-title{font-family:var(--body,system-ui,sans-serif);font-size:18px;font-weight:650;letter-spacing:0;line-height:1.4;margin:0}
.cart-line-title a:hover{text-decoration:underline;text-underline-offset:3px}
.cart-line-total{white-space:nowrap;font-size:17px;line-height:1.5;font-weight:650}
.cart-line-meta{font-size:13px;color:var(--muted,#5d6873);line-height:1.65;margin-top:5px;overflow-wrap:anywhere}
.cart-line-actions{display:flex;flex-wrap:wrap;align-items:end;gap:10px 16px;margin-top:13px}
.cart-quantity{display:flex;flex-direction:column;gap:5px;font-size:12px;line-height:1.45}
.cart-quantity input{width:72px;min-height:44px;padding:8px 10px;background:#fff;border:1px solid #cbd0d6;border-radius:6px;font:14px/1.4 var(--body,system-ui,sans-serif);color:var(--ink,#15202b)}
.test-text-button{border:0;background:none;padding:10px 0;min-height:44px;font-family:var(--body,system-ui,sans-serif);font-size:13px;line-height:1.4;text-decoration:underline;text-underline-offset:3px;color:var(--ink,#15202b)}
.test-text-button:hover{color:var(--red,#b8202c)}
.test-text-button:disabled{opacity:.5;cursor:not-allowed}
.cart-remove{margin-left:auto;color:var(--muted,#5d6873)}
.test-form{min-width:0}
.test-form fieldset{border:0;padding:0;margin:0 0 24px;min-width:0}
.test-form legend{font-size:20px;margin:0 0 16px;padding:0}
.test-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px}
.test-field{min-width:0;display:flex;flex-direction:column;gap:6px;font-size:13px;line-height:1.45;font-weight:600}
.test-field-wide{grid-column:1/-1}
.test-field input,.test-field textarea,.test-field select{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #cbd0d6;border-radius:6px;background:#fff;color:var(--ink,#15202b);font:15px/1.45 var(--body,system-ui,sans-serif);font-weight:400}
.test-field textarea{min-height:86px;resize:vertical}
.test-field small{font-size:12px;line-height:1.55;color:var(--muted,#5d6873);font-weight:400}
.test-form input:focus-visible,.test-form select:focus-visible,.test-form textarea:focus-visible,.cart-quantity input:focus-visible{outline:3px solid var(--yellow,#f2cc26);outline-offset:2px;border-color:var(--ink,#15202b)}
.test-form [aria-invalid=true]{border-color:var(--red,#b8202c);box-shadow:inset 0 0 0 1px var(--red,#b8202c)}
.test-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;margin-top:17px;min-height:44px;cursor:pointer}
.test-check input{width:18px;height:18px;flex:none;margin:2px 0 0;accent-color:var(--red,#b8202c)}
.test-check strong{display:block;font-weight:650}
.test-mode-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.test-mode-option{display:flex;align-items:start;gap:10px;padding:14px;border:1px solid var(--line,#e4e6e9);border-radius:8px;cursor:pointer;font-size:13px;line-height:1.55;background:#fff}
.test-mode-option input{width:17px;height:17px;accent-color:var(--red,#b8202c);margin:2px 0 0;flex:none}
.test-mode-option:has(input:checked){border-color:var(--red,#b8202c);background:#fff7f7;box-shadow:inset 0 0 0 1px var(--red,#b8202c)}
.test-mode-option strong{display:block;font-size:13px;font-weight:650}
.test-mode-option small{display:block;color:var(--muted,#5d6873);font-size:12px;margin-top:4px}
.test-divider{height:1px;background:var(--line,#e4e6e9);margin:22px 0}
.test-order-items{list-style:none;padding:0;margin:0 0 18px}
.test-order-items li{display:flex;justify-content:space-between;gap:18px;margin:14px 0;font-size:13px;line-height:1.55}
.test-order-items li>span:first-child{min-width:0}
.test-order-items small{display:block;margin-top:3px;font-size:12px;color:var(--muted,#5d6873);overflow-wrap:anywhere}
.test-order-items strong{white-space:nowrap;font-size:14px;font-weight:650}
.test-sdk-box{margin-top:16px;min-height:0;max-width:520px;position:relative;z-index:1}
.test-sdk-box:empty{display:none}
.test-sdk-box iframe{max-width:100%}
.test-result{border:1px solid var(--line,#e4e6e9);border-left:4px solid var(--red,#b8202c);border-radius:10px;padding:26px;margin-top:26px;overflow-wrap:anywhere;background:#fff}
.test-result h2{width:fit-content;max-width:100%;font-size:24px;margin:8px 0 16px;line-height:1.3}
.test-result h2:focus{outline:3px solid var(--yellow,#f2cc26);outline-offset:4px;border-radius:2px}
.test-result h3{font-size:17px;margin:20px 0 10px}
.test-result>p{margin:10px 0;font-size:14px;line-height:1.65}
.test-order-id{font-size:12px!important;color:var(--muted,#5d6873)}
.test-private-preview{margin-top:18px;border-top:1px solid var(--line,#e4e6e9);padding-top:12px}
.test-private-preview summary{font-size:13px;font-weight:600;cursor:pointer;padding:8px 0}
.test-private-preview pre{font:13px/1.6 var(--body,system-ui,sans-serif);white-space:pre-wrap;overflow-wrap:anywhere;background:var(--neutral,#f6f7f8);border-radius:7px;padding:14px;max-height:300px;overflow:auto}
.test-admin-layout{max-width:1100px}
.test-admin-state{border-top:1px solid var(--line,#e4e6e9);margin-top:20px;padding-top:18px}
.test-admin-state dl{margin:15px 0}
.test-admin-state dl>div{display:flex;gap:18px;justify-content:space-between;font-size:13px;line-height:1.55;padding:11px 0;border-bottom:1px solid var(--line,#e4e6e9)}
.test-admin-state dd{margin:0;text-align:right;max-width:65%;overflow-wrap:anywhere}
.test-inline-links{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:22px;font-size:13px;text-decoration:underline;text-underline-offset:3px}
.test-loading{color:var(--muted,#5d6873);padding:16px 0;font-size:13px;line-height:1.6}
.test-field-error{color:var(--red,#b8202c);font-size:12px;font-weight:400;line-height:1.5}
.test-api-notice{margin:0 0 18px}
.test-fixture-button{margin:0 0 16px}
.test-mode-description{margin:14px 0 4px}
.test-config-save{margin-top:20px}
.test-customer-disabled{opacity:.65}
.test-customer-disabled input,.test-customer-disabled textarea{pointer-events:none}
.test-credentials{margin-top:20px}
.test-reset-button{margin-top:12px}
.test-main-links{display:flex;gap:14px;flex-wrap:wrap}
@media(max-width:1050px){.test-grid{grid-template-columns:minmax(0,1.2fr) minmax(290px,.85fr);gap:24px}.test-panel{padding:21px}.test-mode-options{grid-template-columns:1fr}.test-summary{top:92px}.test-fields{gap:14px}}
@media(max-width:860px){.test-grid{grid-template-columns:minmax(0,1fr);gap:24px}.test-summary{position:static}.shop-test-main{padding:28px 24px 54px}.test-mode-options{grid-template-columns:1fr 1fr}.test-admin-layout .test-summary{order:0}}
@media(max-width:600px){.shop-test-main{padding:24px 18px 46px}.shop-test-main h1{font-size:36px}.test-intro{font-size:14px}.test-steps{gap:7px 14px;font-size:12px;margin-bottom:18px}.test-panel{padding:20px}.test-banner{padding:11px 13px;font-size:12px}.test-grid{margin-top:20px}.test-status-pill{font-size:10px}.test-result{padding:21px}.test-result h2{font-size:23px}.test-mode-options{grid-template-columns:1fr}.cart-line{grid-template-columns:72px minmax(0,1fr);gap:15px;padding:20px 0}.cart-line-image{width:72px;height:92px}.cart-line-top{flex-wrap:wrap;gap:5px 15px}.cart-line-total{font-size:16px}.cart-line-meta{font-size:12px}.test-check{font-size:12px}.test-summary .test-total dt,.test-summary .test-total dd{font-size:15px}}
@media(max-width:430px){.test-fields{grid-template-columns:minmax(0,1fr);gap:14px}.test-field-wide{grid-column:auto}.test-panel{padding:18px 16px}.cart-line{grid-template-columns:58px minmax(0,1fr);gap:12px}.cart-line-image{width:58px;height:76px;padding:5px}.cart-line-top{display:block}.cart-line-total{display:block;margin-top:5px}.cart-line-actions{gap:7px 13px}.cart-remove{margin-left:0}.test-form .button{width:100%;gap:12px}.test-mode-option{padding:13px}.test-private-preview pre{padding:12px}.test-admin-state dl>div{display:block}.test-admin-state dd{text-align:left;max-width:100%;margin-top:5px}.test-main-links .button{width:100%}.test-result{padding:18px}.test-result h2{font-size:22px}.test-order-items li{gap:12px}.test-summary dd{max-width:50%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation-duration:.001ms!important;transition-duration:.001ms!important}}
.cart-line{padding:16px 0}.cart-line-meta{font-size:12px;line-height:1.6}.cart-line-actions{margin-top:9px}.cart-quantity{font-size:11px}

.stock-unavailable,.catalog-stock[data-unavailable="true"],.current-availability[data-unavailable="true"]{color:#a31b28}.stock-unavailable{font-size:12px;margin-top:8px}.catalog-stock{display:block;margin-top:6px;font-size:10px;line-height:1.5;color:#59636e}.current-add-cart:disabled{opacity:.55;cursor:not-allowed}.test-summary a[aria-disabled="true"]{opacity:.55;cursor:not-allowed}

.commerce-payment-panel{margin-top:24px;padding-top:20px;border-top:1px solid #ddd}.commerce-payment-actions{display:flex;flex-wrap:wrap;gap:12px}.commerce-payment-actions .button{white-space:normal;max-width:100%}
