.checkout-return { margin-top: 22px; font-size: var(--checkout-type-base); }
/* The first paint uses the final layout, rather than a separate loading page. */
.checkout-skeleton { pointer-events: none; }
.skeleton-heading, .skeleton-field, .skeleton-caption, .skeleton-image, .skeleton-mobile-summary {
  background: #f1f1f1;
}
.skeleton-heading { width: 108px; height: 24px; border-radius: 5px; margin-bottom: 14.4px; }
.skeleton-field { height: 48.8px; border-radius: 12.8px; }
.skeleton-caption { width: 70%; height: 14px; border-radius: 4px; margin-top: 14px; }
.skeleton-product { display: flex; align-items: center; gap: 16.8px; margin-bottom: 28px; }
.skeleton-product .skeleton-caption { margin: 0; }
.skeleton-image { width: 62.4px; height: 62.4px; border-radius: 14px; flex: none; }
.skeleton-mobile-summary { display: none; }
.checkout-loading-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#app:not([aria-busy]) > .checkout-grid { animation: checkout-reveal .16s ease-out both; }
@keyframes checkout-reveal { from { opacity: .45; } to { opacity: 1; } }
@media (max-width: 999px) {
  .skeleton-field { height: 49px; border-radius: 13px; }
  .skeleton-heading { margin-bottom: 15px; }
  .skeleton-summary { display: none; }
  .skeleton-mobile-summary { display: block; height: 62px; background: #f6f6f6; }
}
@media (prefers-reduced-motion: reduce) {
  #app:not([aria-busy]) > .checkout-grid { animation: none; }
}
.continue-button, .continue-button:disabled { background: #000; color: #fff; border: 1px solid #000; }
.continue-button:disabled { cursor: wait; }
.selection-box + .selection-box { margin-top: 10px; }
.summary-panel .line-details h3, .summary-panel .line-details p { overflow-wrap: anywhere; }
.status-card .checkout-return { margin-top: 24px; }
.locality-fields.no-region { grid-template-columns: repeat(2,minmax(0,1fr)); }
@media(max-width:999px) { .locality-fields.no-region { grid-template-columns:minmax(0,1fr); } }

/* Match the original Shopify desktop checkout in CSS pixels. The earlier
   dimensions also included the reference screenshot's 125% display scaling. */
@media (min-width: 1000px) {
  .header { height: 74.4px; }
  .header-inner, .checkout-grid { width: min(979.2px, calc(100% - 76.8px)); }
  .brand img { width: 88px; }
  .checkout-grid { min-height: calc(100vh - 74.4px); }
  .main-panel { padding: 40px 40px 33.6px 0; }
  .summary-panel { padding: 41.6px 0 36px 40px; }
  .summary-disclosure { top: 28px; }
  .form-section { margin-bottom: 32px; }
  .section-heading, .form-section > h2 { margin-bottom: 14.4px; }
  .fields, .name-fields, .locality-fields { gap: 10.4px; }
  .field input, .field select {
    height: 48.8px; border-radius: 12.8px; padding: 19.2px 10.4px 6.4px;
  }
  .field label { left: 10.4px; top: 15.2px; max-width: calc(100% - 20.8px); }
  .field input:focus + label, .field input:not(:placeholder-shown) + label,
  .select-field > label { top: 7.2px; }
  .field input:placeholder-shown:not(:focus) { padding-top: 12.8px; padding-bottom: 12.8px; }
  .field.has-icon input { padding-right: 36px; }
  .has-icon label { max-width: calc(100% - 45.6px); }
  .field-icon { right: 10.4px; top: 15.2px; width: 17.6px; height: 17.6px; }
  .field select { padding-right: 27.2px; }
  .select-arrow { right: 11.2px; top: 19.2px; width: 12.8px; height: 12.8px; }
  .checkbox-row { gap: 8.8px; margin-top: 10.4px; }
  .checkbox-row input { width: 18.4px; height: 18.4px; border-radius: 6.4px; }
  .checkbox-row input:checked::after { left: 5.6px; top: 3.2px; width: 4.8px; height: 8px; }
  .delivery-section { margin-bottom: 25.6px; }
  .shipping-section { margin-bottom: 32px; }
  .shipping-section > h2 { margin-bottom: 12.8px; }
  .shipping-placeholder { min-height: 52px; border-radius: 12.8px; padding: 14.4px 19.2px; }
  .selection-box { gap: 9.6px; padding: 14.4px 14.4px; border-radius: 12.8px; }
  .selection-box > strong { font-size: 14px; }
  .selection-box input, .payment-choice input { width: 14.4px; height: 14.4px; }
  .payment-section { margin-bottom: 13.6px; }
  .payment-section > h2 { margin-bottom: 2.4px; }
  .section-intro { margin-bottom: 13.6px; }
  .payment-options { border-radius: 12.8px; }
  .payment-choice { gap: 8px; padding: 14.4px 12.8px; min-height: 49.6px; }
  .payment-tag { font-size: 9.6px; }
  .payment-explainer { padding: 19.2px 26.4px 16px; min-height: 120px; }
  .primary, .secondary { border-radius: 12.8px; padding: 14.4px 18.4px; min-height: 49.6px; }
  .form-footer { margin-top: 57.6px; }
  .checkout-return { margin-top: 17.6px; }
  .line-items { gap: 19.2px; }
  .line-item { grid-template-columns: 62.4px minmax(0,1fr) auto; gap: 16.8px; }
  .image-wrap { height: 62.4px; border-radius: 14.4px; }
  .image-wrap img { border-radius: 13.6px; }
  .quantity-badge { top: -6.4px; right: -6.4px; min-width: 21.6px; height: 21.6px; line-height: 17.6px; padding: 0 4px; }
  .totals { margin-top: 22.4px; }
  .totals > div { gap: 14.4px; margin-top: 5.6px; }
  .grand-total { margin-top: 16px; }
  .grand-total > div { gap: 6.4px; }
}
.payment-reference { overflow-wrap: anywhere; }
.address-field { position: relative; z-index: 3; }
.address-field:focus-within { z-index: 5; }
.address-field > input { padding-right: 44px; }
.address-field > input:focus { outline: none; border-color: #000; box-shadow: 0 0 0 2px #0002; }
.address-search-icon { position: absolute; right: 13px; top: 15px; width: 18px; height: 18px; color: #707070; pointer-events: none; }
.address-search-icon svg { width: 100%; height: 100%; stroke-width: 1.8; }
.address-suggestions { position: absolute; top: calc(100% + 5px); left: 0; right: 0; border: 1px solid #dedede; background: #fff; border-radius: 12px; box-shadow: 0 6px 20px #0002; overflow: hidden; z-index: 10; }
.address-suggestions[hidden] { display: none; }
.address-suggestions-heading { display: flex; align-items: center; justify-content: space-between; min-height: 36px; padding: 4px 8px 2px 10px; }
.address-suggestions-heading > span { color: #707070; font-size: 11px; line-height: 16px; text-transform: uppercase; }
.address-suggestions-close { display: grid; place-items: center; background: transparent; color: #707070; width: 26px; height: 26px; padding: 0; font-size: 22px; line-height: 1; font-weight: 300; border-radius: 4px; }
.address-suggestions-close:hover { background: #f5f5f5; }
.address-suggestions [role="listbox"] { max-height: 270px; overflow-y: auto; overscroll-behavior: contain; }
.address-option { padding: 9px 10px; cursor: pointer; color: #707070; font-size: 14px; line-height: 20px; }
.address-option-text { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.address-option-text > span { display: inline; }
.address-option-text strong { color: #080808; font-weight: 600; }
.address-option:hover,.address-option[aria-selected="true"] { background: #f3f3f3; }
.address-suggestions-empty { padding: 10px; color: #707070; font-size: 13px; line-height: 19px; }
.address-suggestions-empty[hidden] { display: none; }
.address-attribution { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 9px; padding: 6px 10px; background: #fafafa; font-size: 10px; line-height: 15px; color: #666; }
.address-attribution a { text-decoration: underline; }
.address-search-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.payment-status-card { padding: 36px 30px; }
.payment-status-icon { width: 68px; height: 68px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; color: #9a6700; background: #fff6dc; }
.payment-status-icon svg { width: 36px; height: 36px; overflow: visible; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.payment-status-icon svg circle { fill: #fff6dc; }
.payment-status-icon.is-confirmed { color: #237343; background: #eaf6ee; }
.payment-status-icon.is-checking { color: #555; background: #f4f4f4; }
.payment-status-icon.is-checking svg { animation: payment-check-spin 1.4s linear infinite; }
.payment-status-card h1 { font-size: 24px; line-height: 32px; font-weight: 600; margin-bottom: 10px; }
.payment-status-card > p:not(.checkout-return) { max-width: 430px; margin-left: auto; margin-right: auto; font-size: 15px; line-height: 24px; }
.payment-status-card .status-actions { margin-top: 26px; }
@keyframes payment-check-spin { to { transform: rotate(360deg); } }
@media(max-width:499px) { .payment-status-card { padding: 30px 20px; } .payment-status-card h1 { font-size: 22px; line-height: 29px; } }
@media(prefers-reduced-motion:reduce) { .payment-status-icon.is-checking svg { animation: none; } }
.duplicate-actions { display: grid; gap: 12px; margin-top: 24px; }
.duplicate-actions button { width: 100%; }
.status-card a.secondary { display:inline-flex; align-items:center; justify-content:center; text-decoration:none; margin-top:14px; }
.status-card .status-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:24px; }
.status-actions .primary, .status-actions .secondary { display:inline-flex; align-items:center; justify-content:center; width:auto; text-decoration:none; margin:0; }
.status-actions .secondary:disabled { cursor:wait; }
@media(max-width:499px) { .status-actions .primary, .status-actions .secondary { width:100%; } }
.continue-button:not(:disabled) { background: #000; }

.field-error { margin: 5px 0 0; color: #ff0000; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.field-error[hidden] { display: none; }
.field input, .field select { transition: border-color .15s ease, box-shadow .15s ease; box-shadow: inset 0 0 0 .25px var(--border); }
.field:not(.discount-field) input:placeholder-shown { padding-top: 12.8px; padding-bottom: 12.8px; }
.field:not(.discount-field) input:placeholder-shown + label { top: 15.2px; font-size: var(--checkout-type-base); line-height: 1.35; }
.field input:focus, .field select:focus { outline: none; border-color: #000; box-shadow: 0 0 0 1px #000, 0 0 0 4px #0003; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #ff0000; box-shadow: inset 0 0 0 .35px #ff0000; }
.field input[aria-invalid="true"]:focus, .field select[aria-invalid="true"]:focus { outline: none; box-shadow: 0 0 0 1px #ff0000, 0 0 0 4px #ff000033; border-color: #ff0000; }
@media(max-width:999px) { .field:not(.discount-field) input:placeholder-shown + label { top: 14px; } }
.shipping-invalid .selection-box { border-color: #e00000; }
.selection-box { min-height: 50px; box-shadow: inset 0 0 0 .3px #000; }
.selection-box > span, .selection-box > strong { font-weight: 600; }
.selection-box > strong { white-space: nowrap; }
.shipping-invalid .selection-box { box-shadow: inset 0 0 0 .3px #e00000; }
@media(max-width:999px) { .selection-box { padding: 15px 14px; min-height: 52px; } .selection-box > strong { font-size: 15px; } }
.field-help { z-index: 2; }
.help-trigger { display: block; border: 0; padding: 0; width: 100%; height: 100%; color: inherit; background: transparent; cursor: help; }
.help-trigger:focus-visible { outline: 2px solid #000; outline-offset: 3px; border-radius: 50%; }
.help-tooltip { position: absolute; bottom: calc(100% + 10px); right: -24px; width: 165px; padding: 12px; background: #1a1a1a; color: #fff; border-radius: 12px; font-size: 12px; line-height: 16px; text-align: center; font-weight: 400; box-shadow: 0 2px 6px #0001; pointer-events: none; display: block; visibility: visible; opacity: 1; transform: translateY(0); transition: opacity .16s ease-out, transform .16s ease-out, visibility 0s; }
.help-tooltip[hidden] { display: block; visibility: hidden; opacity: 0; transform: translateY(5px); transition: opacity .12s ease-in, transform .12s ease-in, visibility 0s .12s; }
.help-tooltip::after { content: ''; position: absolute; top: 100%; right: 28px; border: 5px solid transparent; border-top-color: #1a1a1a; }
@media(max-width:999px) { .help-tooltip { right: -7px; width: 190px; font-size: 13px; line-height: 18px; } .help-tooltip::after { right: 12px; } }

.discount-area { margin-top: 24px; }
.discount-field input { background: #fff; padding-right: 92px; }
.discount-field label { max-width: calc(100% - 108px); }
.discount-apply { position: absolute; top: 7px; right: 7px; bottom: 7px; min-width: 58px; padding: 0 10px; border: 1px solid #005bd3; border-radius: 12px; background: #005bd3; color: #fff; font-size: 14px; font-weight: 600; line-height: 20px; }
.discount-apply:disabled { cursor: default; background: #fafafa; border-color: #ededed; color: #808080; }
.discount-apply[aria-busy="true"] { cursor: wait; }
.discount-field input:focus { border-color: #005bd3; outline: none; box-shadow: 0 0 0 2px #005bd340; }
.discount-field input[aria-invalid="true"] { border-color: #e00000; }
.discount-field input[aria-invalid="true"]:focus { border-color: #e00000; box-shadow: 0 0 0 2px #e0000040; }
.discount-codes { display: flex; gap: 8px; flex-wrap: wrap; }
.discount-codes:not(:empty) { margin-top: 14px; }
.discount-chip { display: inline-flex; align-items: center; gap: 5px; min-width: 0; padding: 4px 8px; border-radius: 9px; background: #ebebeb; font-size: 14px; line-height: 20px; }
.discount-chip > span { overflow-wrap: anywhere; }
.discount-chip > svg { width: 17px; height: 17px; flex: none; color: #707070; }
.discount-chip button { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 24px; flex: none; padding: 3px; background: transparent; color: #707070; border-radius: 4px; }
.discount-chip button svg { width: 14px; height: 14px; }
.discount-chip button:disabled { cursor: wait; opacity: .5; }
.discount-area + .summary-amounts .totals { margin-top: 32px; }
.shipping-calculated { color: #080808; }
.shipping-value s { color: #707070; margin-right: 3px; }
.totals .small-help { width: 13px; height: 13px; vertical-align: -2px; }
.totals .discount-label { color: #707070; margin-top: 5px; font-size: 12px; line-height: 18px; overflow-wrap: anywhere; }
.discount-label svg { flex: none; }
.total-savings { display: flex; align-items: center; gap: 6px; margin-top: 9px; font-size: 14px; line-height: 20px; }
.total-savings > svg { width: 19px; height: 19px; flex: none; }
.total-savings strong { font-weight: 600; }
.total-savings strong span { margin-left: 5px; white-space: nowrap; }
.discount-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media(min-width:1000px) { .discount-area { margin-top: 24px; } }
@media(max-width:999px) { .discount-area + .summary-amounts .totals { margin-top: 32px; } }

.shipping-policy-trigger { padding: 0; background: transparent; cursor: pointer; border: 0; position: relative; }
.shipping-policy-trigger::after { content: ''; position: absolute; inset: -7px; }
.shipping-policy-trigger:focus-visible { outline: 2px solid #000; outline-offset: 4px; border-radius: 50%; }
html { scrollbar-gutter: stable; }
dialog.policies-dialog { width: min(480px,calc(100% - 32px)); height: min(600px,90dvh); max-height: min(600px,90dvh); padding: 20px; border: 0; outline: none; border-radius: 16px; overflow: hidden; will-change: transform,opacity; animation: policy-enter .2s cubic-bezier(.2,.7,.3,1) both; }
.policies-dialog[open] { display: flex; flex-direction: column; }
.policies-dialog::backdrop { background: #0009; backdrop-filter: blur(5px); animation: policy-backdrop-enter .2s ease-out both; }
.policies-dialog .dialog-heading { flex: none; margin-bottom: 14px; }
.policies-dialog .dialog-heading h2 { font-size: 20px; line-height: 25px; font-weight: 600; letter-spacing: normal; }
.policies-dialog .icon-button { display: grid; place-items: center; width: 24px; height: 24px; flex: none; color: #707070; border-radius: 50%; }
.policies-dialog .icon-button svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; }
.policies-dialog .icon-button:focus-visible { outline: 2px solid #333; outline-offset: 1px; }
.policy-select-field { flex: none; margin-bottom: 16px; }
.policy-select-field select { font-size: 14px; height: 49px; border-radius: 12px; padding: 19px 28px 6px 10px; }
.policy-select-field > label { font-size: 12px; line-height: 16px; top: 7px; left: 10px; }
.policy-select-field .select-arrow { top: 50%; right: 12px; width: 14px; height: 14px; transform: translateY(-50%); }
.policy-select-field select:focus { border-color: #000; outline: none; box-shadow: 0 0 0 2px #0004; }
.policy-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: auto; scrollbar-gutter: stable; padding-right: 4px; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.policy-body p { margin: 0 0 16px; }
.policy-body h1,.policy-body h2,.policy-body h3,.policy-body h4 { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0; margin: 18px 0 16px; }
.policy-body ul,.policy-body ol { padding-left: 24px; margin: 0 0 16px; }
.policy-body li { margin-bottom: 6px; }
.policy-body a { text-decoration: underline; }
.policy-body table { border-collapse: collapse; width: 100%; }
.policy-body th,.policy-body td { border: 1px solid #ddd; padding: 6px; text-align: left; }
.policy-retry { display: block; margin-top: 16px; }
dialog.policies-dialog.is-closing { animation: policy-exit .16s ease-in both; }
.policies-dialog.is-closing::backdrop { animation: policy-backdrop-exit .16s ease-in both; }
@keyframes policy-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes policy-exit { to { opacity: 0; transform: translateY(8px); } }
@keyframes policy-backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes policy-backdrop-exit { to { opacity: 0; } }
@media(max-width:599px) { html { scrollbar-gutter: auto; } dialog.policies-dialog { position: fixed; inset: auto 0 0; margin: auto 0 0; width: 100%; max-width: none; height: 81dvh; max-height: 81dvh; padding: 20px; padding-bottom: max(20px,env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; } }
@media(prefers-reduced-motion:reduce) { .help-tooltip,.help-tooltip[hidden],.field input,.field select { transition: none; } dialog.policies-dialog,.policies-dialog::backdrop,dialog.policies-dialog.is-closing,.policies-dialog.is-closing::backdrop { animation: none; } }

/* A single hosted payment flow, with informational brands rather than wallet
   buttons that would falsely imply separate payment integrations. */
.allinpay-option { border: 1px solid #dedede; border-radius: 13px; background: #fff; overflow: visible; }
.allinpay-option .payment-choice { gap: 10px; padding: 13px 14px; min-height: 52px; cursor: default; justify-content: space-between; }
.allinpay-option .payment-choice-title { font-size: 14px; font-weight: 500; line-height: 20px; }
.payment-brand-preview { display: flex; align-items: center; gap: 4px; flex: none; }
.payment-brand-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.payment-brand-list li { display: flex; margin: 0; padding: 0; }
.payment-brand-list img { display: block; width: 32px; height: 20px; object-fit: contain; }
.payment-brands-toggle { display: grid; place-items: center; width: 25px; height: 22px; padding: 0; border: 1px solid #ededed; border-radius: 4px; background: #fff; color: #505050; font-size: 11px; line-height: 16px; }
.payment-brands-help { position: relative; display: flex; }
.payment-brands-popover { position: absolute; right: -8px; bottom: calc(100% + 11px); z-index: 15; width: 132px; padding: 12px; border-radius: 12px; background: #1a1a1a; box-shadow: 0 3px 12px #0002; visibility: visible; opacity: 1; transform: translateY(0); transition: opacity .16s ease-out, transform .16s ease-out, visibility 0s; }
.payment-brands-popover[hidden] { display: block; visibility: hidden; opacity: 0; transform: translateY(5px); pointer-events: none; transition: opacity .12s ease-in, transform .12s ease-in, visibility 0s .12s; }
.payment-brands-popover::after { content: ''; position: absolute; top: 100%; right: 15px; border: 6px solid transparent; border-top-color: #1a1a1a; }
.payment-brands-popover::before { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.payment-extra-brands { display: grid; grid-template-columns: repeat(3,32px); padding: 0; gap: 6px; }
.allinpay-option .payment-choice { border-radius: 12px 12px 0 0; }
.allinpay-option .payment-explainer { border-top: 1px solid #e3e3e3; background: #f8f8f8; text-align: left; min-height: 0; padding: 14px; }
.allinpay-option .payment-explainer { border-radius: 0 0 12px 12px; }
.allinpay-option .payment-explainer p { max-width: none; margin: 0; font-size: 13px; line-height: 20px; color: #505050; }
.payment-wallet-note { display: block; margin-top: 5px; font-size: 11px; line-height: 16px; color: #737373; }
.allinpay-option[data-availability="unavailable"] .payment-availability { color: #9a3412; }
@media(max-width:599px) { .allinpay-option .payment-choice { padding: 12px; gap: 8px; } .allinpay-option .payment-choice-title { font-size: 13px; } .allinpay-option .payment-explainer { padding: 12px; } }
@media(prefers-reduced-motion:reduce) { .payment-brands-popover,.payment-brands-popover[hidden] { transition: none; } }
