* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.checkout-page { margin: 0; min-width: 320px; overflow-x: hidden; background: #fff; color: #111; font-family: var(--sans); font-size: 13px; font-weight: 300; line-height: 1.5; }
button, input, select { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; transform: translateY(-150%); padding: 10px 14px; background: #111; color: #fff; }
.skip-link:focus { transform: none; }
.checkout-header { height: 66px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(20px, 4vw, 54px); border-bottom: 1px solid #dedede; background: #fff; }
.checkout-wordmark { grid-column: 2; font-size: .88rem; font-weight: 500; letter-spacing: .28em; text-decoration: none; text-transform: uppercase; }
.checkout-help { justify-self: end; font-size: 12px; text-underline-offset: 4px; }
.checkout-layout { min-height: calc(100vh - 66px); display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(390px, .94fr); }
.checkout-content { width: 100%; max-width: 780px; margin-left: auto; padding: 54px clamp(34px, 6vw, 88px) 80px clamp(24px, 5vw, 72px); }
.checkout-steps { display: flex; gap: 9px; margin-bottom: 26px; color: #777; font-size: 11px; }
.checkout-steps > * + *::before { content: "/"; margin-right: 9px; color: #bbb; }
.checkout-steps a { text-underline-offset: 3px; }
.checkout-steps [aria-current="step"] { color: #111; }
.checkout-content h1 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.checkout-intro { max-width: 520px; margin: 14px 0 0; color: #666; font-size: 12px; }
.checkout-form { margin-top: 44px; }
.checkout-section { margin: 0; padding: 0 0 38px; border: 0; }
.checkout-section + .checkout-section { padding-top: 34px; border-top: 1px solid #d7d7d7; }
.checkout-section legend { width: 100%; display: flex; gap: 13px; margin-bottom: 22px; font-size: 17px; font-weight: 400; }
.field { margin-bottom: 14px; }
.field label, .promo-row > label { display: block; margin: 0 0 6px; color: #333; font-size: 11px; }
.field label span { color: #888; }
.field input, .field select, .promo-row input { width: 100%; height: 48px; border: 1px solid #aaa; border-radius: 0; background: #fff; color: #111; padding: 0 13px; outline: none; }
.field input:focus, .field select:focus, .promo-row input:focus { border-color: #111; box-shadow: 0 0 0 1px #111; }
.field-grid { display: grid; gap: 12px; }
.field-grid--two { grid-template-columns: 1fr 1fr; }
.field-grid--three { grid-template-columns: 1.2fr 1fr 1fr; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin-top: 2px; font-size: 12px; }
.check-row input { width: 15px; height: 15px; margin-top: 2px; accent-color: #111; }
.delivery-option { min-height: 82px; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 16px; border: 1px solid #111; cursor: pointer; }
.delivery-option input { margin-top: 2px; accent-color: #111; }
.delivery-option span { display: grid; gap: 3px; }
.delivery-option strong { font-weight: 400; }
.delivery-option small { color: #666; font-size: 11px; }
.delivery-option em { color: #555; font-size: 11px; font-style: normal; white-space: nowrap; }
.payment-placeholder { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 18px; border: 1px solid #b9b9b9; background: #f7f7f7; }
.payment-placeholder strong { font-weight: 400; }
.payment-placeholder p { margin: 5px 0 0; color: #666; font-size: 11px; line-height: 1.5; }
.lock-mark { position: relative; width: 16px; height: 13px; margin: 7px 0 0 3px; border: 1px solid #111; }
.lock-mark::before { content: ""; position: absolute; left: 3px; right: 3px; bottom: 11px; height: 8px; border: 1px solid #111; border-bottom: 0; border-radius: 8px 8px 0 0; }
.checkout-submit { width: 100%; min-height: 50px; border: 1px solid #111; background: #111; color: #fff; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.checkout-submit:hover, .checkout-submit:focus-visible { background: #2b2b2b; }
.checkout-submit:disabled { border-color: #bbb; background: #eee; color: #777; cursor: not-allowed; }
.checkout-status { min-height: 38px; margin: 11px 0 0; color: #555; font-size: 12px; }
.order-summary { background: #f5f5f3; border-left: 1px solid #dedede; }
.summary-inner { position: sticky; top: 0; max-width: 650px; padding: 56px clamp(26px, 5vw, 72px) 70px; }
.summary-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 21px; border-bottom: 1px solid #cfcfca; }
.summary-heading h2 { margin: 0; font-size: 15px; font-weight: 400; }
.summary-heading h2 span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 5px; border: 1px solid #777; border-radius: 50%; font-size: 10px; }
.summary-heading a, .empty-bag a { font-size: 11px; text-underline-offset: 4px; }
.preview-note { margin: 14px 0 0; padding: 10px 12px; background: #e8edf0; color: #34404a; font-size: 11px; }
.summary-items { display: grid; }
.summary-item { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid #cfcfca; }
.summary-thumb { width: 82px; aspect-ratio: .78; overflow: hidden; background: #ddd; }
.summary-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.summary-thumb--scarlet { background: linear-gradient(145deg, #8d1f1e, #ca5d49 52%, #f1c3ae); }
.summary-thumb--ivory { background: linear-gradient(145deg, #f1ede3, #dad0bb 55%, #f7f4ed); }
.summary-thumb--obi { background: linear-gradient(35deg, #5e3d25, #b86a2b 38%, #d8aa63 39%, #8a3b25 65%, #efe0bd 66%, #c98732); }
.summary-thumb--indigo { background: linear-gradient(135deg, #182a48, #274a79 46%, #92a9c7 47%, #1f385d 62%, #d5c29b 63%, #233d63); }
.summary-thumb--gold { background: linear-gradient(145deg, #8e5427, #d39c51 30%, #f0d7a2 31%, #a84e28 64%, #e2b971 65%, #704122); }
.summary-thumb--plum { background: linear-gradient(145deg, #3b2337, #7d405d 48%, #d9aeb7 49%, #582b42 68%, #c28b79); }
.summary-thumb--pine { background: linear-gradient(135deg, #152f2a, #356154 48%, #d3c08b 49%, #183b33 70%, #8ea28d); }
.summary-thumb--silver { background: linear-gradient(145deg, #d8dadb, #f7f7f2 35%, #969da2 36%, #d5d2c8 65%, #7c858c 66%, #ecebe6); }
.summary-thumb--vermilion { background: linear-gradient(35deg, #6d1e17, #cf5435 38%, #e6be79 39%, #9a2e21 64%, #f2dfb5 65%, #ba3b25); }
.summary-thumb--blackgold { background: linear-gradient(135deg, #0c0c0d, #303033 45%, #c89d4b 46%, #171719 63%, #e1c57f 64%, #232326); }
.summary-thumb--bronze { background: linear-gradient(150deg, #3e2a24, #89604d 45%, #c69c76 46%, #5f4135 72%, #d6b08a); }
.summary-thumb--bluegray { background: linear-gradient(145deg, #26384c, #70869c 52%, #d9e0e3); }
.summary-thumb--rose { background: linear-gradient(145deg, #763f45, #c9878b 52%, #f0d1c6); }
.summary-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.summary-copy h3 { margin: 0; font-size: 13px; font-weight: 400; }
.summary-copy p { margin: 3px 0 0; color: #666; font-size: 11px; }
.summary-copy strong { margin-top: auto; padding-top: 13px; font-size: 11px; font-weight: 400; }
.summary-copy button { margin-top: 7px; padding: 0; border: 0; background: none; color: #666; font-size: 10px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.empty-bag { padding: 34px 0 31px; border-bottom: 1px solid #cfcfca; }
.empty-bag p { margin: 0 0 10px; }
.promo-row { padding: 22px 0; border-bottom: 1px solid #cfcfca; }
.promo-row > div { display: grid; grid-template-columns: 1fr 82px; }
.promo-row input { border-right: 0; }
.promo-row button { border: 1px solid #111; background: #fff; cursor: pointer; font-size: 11px; }
.promo-row p { min-height: 15px; margin: 7px 0 0; color: #666; font-size: 10px; }
.summary-totals { margin: 0; padding: 20px 0 0; }
.summary-totals > div { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 9px; }
.summary-totals dt, .summary-totals dd { margin: 0; font-size: 11px; font-weight: 300; }
.summary-totals dd { text-align: right; }
.summary-total { margin-top: 19px; padding-top: 18px; border-top: 1px solid #999; }
.summary-total dt, .summary-total dd { font-size: 14px; font-weight: 400; }
.summary-assurance { margin: 18px 0 0; color: #666; font-size: 10px; }
.checkout-footer { display: flex; gap: 24px; padding: 20px clamp(20px, 4vw, 54px); border-top: 1px solid #dedede; background: #fff; color: #666; font-size: 10px; }
.checkout-footer a { text-underline-offset: 3px; }
@media (max-width: 860px) {
  .checkout-header { height: 58px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { order: -1; border-left: 0; border-bottom: 1px solid #dedede; }
  .summary-inner { position: static; max-width: none; padding: 28px 20px 32px; }
  .checkout-content { max-width: none; margin: 0; padding: 38px 20px 60px; }
}
@media (max-width: 560px) {
  .checkout-header { grid-template-columns: 1fr auto; padding: 0 18px; }
  .checkout-wordmark { grid-column: 1; justify-self: start; font-size: .76rem; letter-spacing: .22em; }
  .checkout-help { grid-column: 2; }
  .checkout-content h1 { font-size: 2.45rem; }
  .field-grid--two, .field-grid--three { grid-template-columns: 1fr; gap: 0; }
  .delivery-option { grid-template-columns: 18px 1fr; }
  .delivery-option em { grid-column: 2; }
  .summary-item { grid-template-columns: 72px minmax(0, 1fr); }
  .summary-thumb { width: 72px; }
}
