.checkout-page { padding: 5.5rem 0 7rem; background: #fffaf6; }
.checkout-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.75rem; }
.checkout-page h1, .checkout-page h2 { font-family: Georgia, serif; color: #281d1a; }
.checkout-page h1 { margin: 0 0 .65rem; font-size: clamp(2.45rem, 4.5vw, 4.35rem); letter-spacing: -.045em; }
.checkout-heading p:not(.eyebrow) { max-width: 42rem; margin: 0; color: #746761; font-size: 1.05rem; }
.checkout-back { color: #332522; font-weight: 700; text-decoration: none; white-space: nowrap; }
.checkout-back:hover { color: var(--coral); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(19rem, .62fr); gap: 2rem; align-items: start; }
.checkout-form-card, .checkout-summary { border: 1px solid #eadfd7; background: #fff; }
.checkout-form-card { padding: clamp(1.4rem, 3vw, 2.5rem); }
.checkout-form-card__head { display: flex; gap: 1rem; align-items: center; margin-bottom: 2rem; }
.checkout-step { display: grid; width: 2rem; height: 2rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #2d211f; color: #fff; font-size: .82rem; font-weight: 800; }
.checkout-form-card h2 { margin: 0; font-size: 1.75rem; }
.checkout-form-card__head p { margin: .3rem 0 0; color: #776a64; font-size: .9rem; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.checkout-field { display: grid; gap: .45rem; color: #382a26; font-size: .88rem; font-weight: 750; }
.checkout-field--wide { grid-column: 1 / -1; }
.checkout-field input, .checkout-field textarea, .checkout-field select { width: 100%; padding: .82rem .9rem; border: 1px solid #dcd0c8; border-radius: 0; background: #fffdfb; color: #2d211f; font: inherit; font-weight: 400; }
.checkout-field textarea { min-height: 6.5rem; resize: vertical; }
.checkout-field input:focus, .checkout-field textarea:focus, .checkout-field select:focus { border-color: #d25c45; outline: 3px solid rgba(210,92,69,.13); }
.checkout-field span { color: #806f67; font-size: .75rem; font-weight: 400; }
.checkout-section { margin-top: 2rem; padding-top: 1.8rem; border-top: 1px solid #eee3dc; }
.checkout-section[hidden], #checkout-manual-payment[hidden] { display: none; }
.checkout-section h3 { margin: 0 0 .85rem; color: #302421; font-size: 1rem; }
.checkout-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.checkout-options--two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 1rem; }
.checkout-option { position: relative; display: grid; min-height: 6.4rem; align-content: space-between; gap: .7rem; padding: .9rem; border: 1px solid #ded2ca; background: #fffdfb; color: #302421; cursor: pointer; }
.checkout-option input { position: absolute; opacity: 0; }
.checkout-option strong { font-size: .9rem; }
.checkout-option span { color: #7b6e67; font-size: .76rem; line-height: 1.35; }
.checkout-option:has(input:checked) { border-color: #2d211f; box-shadow: inset 0 0 0 1px #2d211f; background: #f8eee8; }
.checkout-option:has(input:focus-visible) { outline: 3px solid rgba(210,92,69,.22); outline-offset: 2px; }
.checkout-notice { display: flex; gap: .65rem; margin-top: 2rem; padding: .9rem 1rem; border-left: 3px solid #d25c45; background: #fff5ef; color: #71554e; font-size: .84rem; line-height: 1.5; }
.checkout-payment-empty { padding: .9rem; background: #fff5ef; color: #71554e; }
.checkout-promotion { display: flex; align-items: end; gap: .75rem; }
.checkout-promotion .checkout-field { flex: 1; }
.checkout-promotion__apply { min-height: 2.85rem; padding: .7rem 1rem; border: 1px solid #382a26; background: #382a26; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.checkout-promotion__apply:disabled { opacity: .6; cursor: wait; }
.checkout-promotion__status { min-height: 1.3rem; margin: .55rem 0 0; color: #71554e; font-size: .85rem; }
.checkout-promotion__status.is-error { color: #a32626; }
.checkout-promotion__status.is-success { color: #28613a; }
.checkout-summary__promotion { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; color: #28613a; font-size: .9rem; }
.checkout-payment-instructions { display: grid; gap: .65rem; margin: 1rem 0; }
.checkout-payment-instructions article { padding: .85rem 1rem; border-left: 3px solid #d25c45; background: #fff8f4; }
.checkout-payment-instructions strong { color: #3a2b27; font-size: .88rem; }
.checkout-payment-instructions p { margin: .35rem 0 0; color: #725f58; font-size: .83rem; line-height: 1.45; }
.checkout-notice strong { color: #3d2d29; }
.checkout-submit { display: flex; width: 100%; min-height: 3.75rem; align-items: center; justify-content: center; margin-top: 1.2rem; padding: 1rem 1.4rem; border: 0; border-radius: .55rem; background: #e3624a; box-shadow: 0 5px 0 #bd4936; color: #fff; cursor: pointer; font: inherit; font-weight: 800; text-align: center; transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.checkout-submit:hover:not(:disabled) { transform: translateY(-2px); background: #cf513b; box-shadow: 0 7px 0 #a83e2d; }
.checkout-submit:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 2px 0 #a83e2d; }
.checkout-submit:focus-visible { outline: 3px solid rgba(210,92,69,.35); outline-offset: 4px; }
.checkout-submit:disabled { background: #e1d7d1; box-shadow: none; color: #83726b; cursor: wait; }
.checkout-summary { position: sticky; top: 7rem; padding: 1.65rem; }
.checkout-summary h2 { margin: 0 0 1.35rem; font-size: 1.65rem; }
.checkout-summary__items { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.checkout-summary__items li { display: grid; grid-template-columns: 1fr auto; gap: .6rem; padding-bottom: .9rem; border-bottom: 1px solid #eee3dc; }
.checkout-summary__items strong { color: #342622; font-size: .92rem; }
.checkout-summary__items span { grid-column: 1; color: #806f67; font-size: .78rem; }
.checkout-summary__items b { align-self: center; color: #382a26; font-size: .86rem; white-space: nowrap; }
.checkout-summary__total { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-top: 1.15rem; border-top: 1px solid #d8cac1; color: #3a2b27; }
.checkout-summary__total strong { font-size: 1.15rem; }
.checkout-summary__link { display: inline-block; margin-top: 1.3rem; color: #49342e; font-size: .85rem; font-weight: 750; text-decoration: none; }
.checkout-summary__link:hover { color: var(--coral); }
.checkout-empty { max-width: 42rem; padding: 3rem; border: 1px solid #eadfd7; background: #fff; text-align: center; }
.checkout-empty h2 { margin: .2rem 0 .8rem; font-size: 2rem; }
.checkout-empty p:not(.eyebrow) { color: #746761; }
@media (max-width: 850px) { .checkout-layout { grid-template-columns: 1fr; } .checkout-summary { position: static; } }
@media (max-width: 620px) { .checkout-page { padding: 3.5rem 0 5rem; } .checkout-heading { display: grid; align-items: start; } .checkout-fields, .checkout-options { grid-template-columns: 1fr; } .checkout-promotion { align-items: stretch; flex-direction: column; } }
