/* Payment fields read these same tokens through Stripe's Appearance API. */
.profile-photo { display:block; width:96px; height:96px; object-fit:cover; border-radius:50%; margin-bottom:16px; }
.account-shell { max-width:850px; padding-bottom:50px; }
.account-shell .checkout-step { margin-bottom:22px; }
#profile-panel details { margin-top:24px; }
:root {
  --checkout-primary: #142525;
  --checkout-text: #1c2929;
  --checkout-background: #f4f1e9;
  --checkout-danger: #9b2722;
  --checkout-success: #26734d;
  --checkout-surface: #fffdf8;
  --checkout-border: #d8d8cd;
  --checkout-radius: 8px;
}
.checkout-shell { padding-bottom: 70px; }
.checkout-heading { padding: 52px 0 32px; }
.checkout-heading h1 { font-size: clamp(38px, 4.5vw, 62px); letter-spacing: -2.5px; margin-bottom: 18px; }
.checkout-heading .lead { font-size: 18px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.product-summary { background: var(--checkout-primary); color: var(--paper); padding: 32px; border-radius: 14px; position: sticky; top: 24px; }
.summary-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.edition { font: 11px Consolas, monospace; letter-spacing: 1.2px; color: #c7d7cd; }
.product-monogram { display: grid; place-items: center; width: 42px; height: 42px; background: var(--gold); color: var(--checkout-primary); font-weight: 750; font-size: 28px; border-radius: 10px; }
.product-summary h2 { font-size: 44px; margin-bottom: 8px; }
.summary-description { color: #c7d7cd; font-size: 16px; }
.checkout-shot { width: 100%; height: auto; display: block; border-radius: 6px; border: 1px solid #3a514c; margin: 26px 0; }
.product-points { list-style: none; padding: 0; margin: 0 0 26px; font-size: 14px; }
.product-points li { margin: 12px 0; display: flex; gap: 12px; }
.product-points li::before { content: '✓'; color: var(--gold); }
.summary-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #3a514c; padding-top: 24px; font-size: 14px; }
.summary-price strong { font-size: clamp(27px, 3vw, 38px); font-weight: 600; white-space: nowrap; letter-spacing: -1px; }
.summary-price small, .summary-footnote { color: #c7d7cd; font-size: 12px; }
.summary-footnote { margin-top: 15px; }
.product-summary > a { font-size: 13px; }
.checkout-notice { background: #ede8dc; border: 1px solid #dfd4b9; border-radius: var(--checkout-radius); font-size: 14px; padding: 15px 18px; }
.checkout-step { padding: 25px 0; border-bottom: 1px solid var(--checkout-border); min-width: 0; }
.step-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.checkout-step h2 { font-size: 23px; letter-spacing: -.5px; margin: 0; }
.step-number { font: 12px Consolas, monospace; background: #e7e6dd; color: var(--muted); border-radius: 50%; display: grid; place-items: center; width: 29px; height: 29px; flex-shrink: 0; }
.text-button { border: 0; background: transparent; color: var(--checkout-primary); padding: 5px 0; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; margin-left: auto; }
.checkout-step > p { font-size: 14px; }
.checkout-step .status:empty { display: none; }
.checkout-step fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.checkout-step label { font-size: 14px; }
.price-input { display: flex; align-items: center; background: var(--checkout-surface); border: 1px solid #829088; border-radius: var(--checkout-radius); padding: 0 16px; gap: 8px; }
.price-input:focus-within { outline: 2px solid var(--checkout-primary); outline-offset: 2px; }
.price-input span:first-child { font-size: 22px; }
.price-input span:last-child { font: 12px Consolas, monospace; color: var(--muted); }
.price-input input { background: transparent; border: 0; outline: 0; border-radius: 0; font-size: 28px; max-width: none; width: 100%; min-width: 0; padding: 10px 0; appearance: textfield; }
.price-input input::-webkit-inner-spin-button, .price-input input::-webkit-outer-spin-button { appearance: none; margin: 0; }
#price-help { margin-top: 10px; }
.price-options { display: flex; gap: 10px; margin: 14px 0 22px; }
.price-options button { flex: 1; border: 1px solid var(--checkout-border); border-radius: var(--checkout-radius); padding: 8px; font-size: 14px; background: transparent; color: var(--checkout-primary); cursor: pointer; }
.price-options button:hover, .price-options button[aria-pressed=true] { border-color: var(--checkout-primary); background: #e6e7dd; }
.checkout-step .check { font-size: 13px; font-weight: 400; margin-bottom: 20px; }
.checkout-button { width: 100%; justify-content: space-between; background: var(--checkout-primary); border-radius: var(--checkout-radius); min-height: 48px; }
.checkout-button:disabled { opacity: .5; }
.payment-placeholder { display: flex; align-items: center; gap: 16px; padding: 22px; border: 1px dashed #acb4a9; border-radius: var(--checkout-radius); }
.payment-placeholder p { margin: 0; font-size: 14px; }
.payment-placeholder p span { color: var(--muted); font-size: 13px; }
.lock-icon { font-size: 26px; color: var(--muted); }
.payment-note { margin: 15px 0 0; }
.payment-total { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 24px 0; padding-top: 20px; border-top: 1px solid var(--checkout-border); }
.payment-total small { font-size: 12px; color: var(--muted); }
.payment-total strong { font-size: 25px; }
#billing-section { margin-bottom: 24px; }
.status.error { color: var(--checkout-danger); }
.status.success { color: var(--checkout-success); }
@media (max-width: 850px) {
  .checkout-layout { grid-template-columns: 1fr; gap: 24px; }
  .product-summary { position: static; padding: 24px; }
  .checkout-heading { padding-top: 32px; }
  .checkout-shot { max-height: 260px; object-fit: contain; background: #1c2929; }
}
