.checkout-page { min-height: 100vh; margin: 0; background: #dfe3df; color: #30343a; font-family: 'Inter', sans-serif; }
.checkout-backdrop { position: fixed; inset: 0; background: radial-gradient(circle at 50% 18%, rgba(255,255,255,.78), rgba(92,101,103,.2) 48%, rgba(57,64,65,.3)); }
.checkout-shell { position: relative; z-index: 1; min-height: 100vh; display: grid; place-items: center; padding: 26px 18px; }
.checkout-modal { width: min(550px, 100%); max-height: min(900px, calc(100vh - 52px)); overflow: hidden; border-radius: 15px; background: #fff; box-shadow: 0 24px 80px rgba(24,35,33,.28); }
.checkout-modal-head { height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 0 25px; border-bottom: 1px solid #edf0ee; }
.checkout-modal-head h1 { margin: 0; font-size: 16px; font-weight: 700; }
.checkout-close { width: 38px; height: 38px; border: 1px solid #777c7f; border-radius: 50%; background: white; color: #6f7578; font-size: 29px; font-weight: 300; line-height: 1; cursor: pointer; }
.checkout-close:hover { background: #f1f4f2; }
.checkout-progress { height: 5px; background: #e7e9e8; }
.checkout-progress span { display: block; width: 33%; height: 100%; background: #168579; transition: width .3s ease; }
.checkout-scroll { max-height: calc(min(900px, 100vh - 52px) - 89px); overflow-y: auto; padding: 24px 25px 28px; }
.processing-note, .payment-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 15px; border-radius: 11px; background: #f4eeee; color: #606468; font-size: 13px; line-height: 1.45; }
.processing-note span, .payment-alert span { color: #a05a64; font-size: 17px; line-height: 1; }
.processing-note p, .payment-alert p { margin: 0; }
.checkout-product-list, .summary-products { margin: 15px 0 25px; padding: 0 14px; border: 1px solid #eceeed; border-radius: 13px; }
.checkout-product { min-height: 70px; display: grid; grid-template-columns: 54px minmax(0,1fr) auto; gap: 12px; align-items: center; border-bottom: 1px solid #eff1ef; }
.checkout-product:last-child { border-bottom: 0; }
.checkout-product img { width: 54px; height: 54px; border-radius: 50%; object-fit: contain; background: #e4eadb; }
.checkout-product strong, .checkout-product small { display: block; }
.checkout-product strong { font-size: 14px; }
.checkout-product small { margin-top: 4px; color: #7a7f82; font-size: 12px; }
.checkout-product b { white-space: nowrap; font-size: 14px; }
.checkout-product.compact { grid-template-columns: 70px minmax(0,1fr) auto; min-height: 88px; border-bottom: 0; }
.checkout-product.compact img { width: 64px; height: 64px; border-radius: 10px; }
.checkout-scroll h2 { margin: 23px 0 14px; font-size: 15px; }
.checkout-field { position: relative; margin-bottom: 15px; }
.checkout-field label { position: absolute; z-index: 1; top: -7px; left: 14px; padding: 0 5px; background: white; color: #898e91; font-size: 12px; }
.checkout-field input, .checkout-field select, .checkout-field textarea { width: 100%; border: 1px solid #e1e4e2; border-radius: 9px; padding: 14px 14px; color: #30343a; background: #fff; font: 14px 'Inter', sans-serif; outline: none; }
.checkout-field textarea { resize: vertical; min-height: 78px; }
.checkout-field input:focus, .checkout-field select:focus, .checkout-field textarea:focus { border-color: #168579; box-shadow: 0 0 0 3px rgba(22,133,121,.1); }
.save-details, .checkout-secondary, .coupon-link { width: 100%; border: 0; background: #fafafa; color: #168579; padding: 14px; border-radius: 9px; cursor: pointer; font: 14px 'Inter', sans-serif; }
.save-details:hover, .checkout-secondary:hover { background: #f0f5f2; }
.recipient-toggle { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 16px; padding: 8px 10px; border: 1px solid #9bd3ce; border-radius: 9px; color: #168579; font-size: 12px; font-weight: 600; }
.recipient-toggle input { accent-color: #168579; }
.delivery-option { display: flex; align-items: center; gap: 11px; margin: 12px 0 18px; padding: 14px; border-radius: 11px; background: #f8f8f8; }
.option-icon { color: #168579; }
.delivery-option strong, .delivery-option small { display: block; }
.delivery-option strong { font-size: 14px; }
.delivery-option small { margin-top: 4px; color: #7d8285; font-size: 11px; }
.option-radio { margin-left: auto; color: #c8cccb; font-size: 24px; }
.checkout-primary { width: 100%; border: 0; border-radius: 10px; padding: 15px; background: #168579; color: white; font: 600 14px 'Inter', sans-serif; cursor: pointer; }
.checkout-primary:hover { background: #116f65; }
.checkout-primary:disabled, .payment-methods button:disabled { cursor: wait; opacity: .6; }
.checkout-error { margin-bottom: 15px; padding: 12px 14px; border-radius: 9px; background: #fff0f0; color: #a23f48; font-size: 13px; }
.summary-info-card { display: flex; justify-content: space-between; gap: 16px; padding: 15px; border-bottom: 1px solid #eceeec; background: #fafafa; }
.summary-info-card:first-of-type { border-radius: 11px 11px 0 0; }
.summary-info-card:last-of-type { border-radius: 0 0 11px 11px; }
.summary-info-card > div span, .summary-info-card strong, .summary-info-card small { display: block; }
.summary-info-card > div span { margin-bottom: 6px; color: #6e7476; font-size: 13px; }
.summary-info-card strong { font-size: 14px; }
.summary-info-card small { margin-top: 4px; color: #777d80; font-size: 12px; }
.summary-icon { color: #c4c8c6; }
.coupon-link { width: auto; padding: 13px 0 0; background: transparent; color: #454a4c; text-decoration: underline; font-weight: 600; }
.summary-heading { margin-top: 22px !important; color: #777d80; font-size: 13px !important; font-weight: 500; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; color: #697073; font-size: 13px; }
.summary-row strong { color: #30343a; }
.summary-total { margin-top: 6px; padding-top: 13px; border-top: 1px solid #eceeec; color: #30343a; font-weight: 600; }
.checkout-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.payment-alert { border-radius: 0; margin: -24px -25px 26px; padding: 11px 15px; background: #f1e2e3; color: #42484b; }
.payment-amount { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 18px 0 28px; border-bottom: 1px solid #e9ebea; font-size: 24px; }
.payment-amount strong { font-size: 26px; }
.payment-methods { margin-top: 30px; overflow: hidden; border-radius: 16px; background: #fafafa; }
.payment-methods button { display: grid; grid-template-columns: 42px minmax(0,1fr) 12px; gap: 10px; align-items: center; width: 100%; border: 0; border-bottom: 1px solid #ededed; padding: 14px; background: transparent; text-align: left; cursor: pointer; }
.payment-methods button:last-child { border-bottom: 0; }
.payment-methods button:hover { background: #f0f5f2; }
.payment-methods strong, .payment-methods small { display: block; }
.payment-methods strong { font-size: 14px; font-weight: 500; }
.payment-methods small { margin-top: 4px; color: #757b7e; font-size: 11px; }
.payment-methods b { color: #9aa0a1; font-size: 22px; font-weight: 400; }
.method-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: white; font-weight: 700; font-size: 19px; }
.method-icon.paystack { color: #08a7df; }
.method-icon.bank { color: #bd1542; }
.method-icon.crypto { color: #91d500; }
.method-icon.mono { color: #111; }
.method-icon.share { color: #f19b14; }
.bank-transfer-details { margin-top: 24px; padding: 20px; border: 1px solid #dce7e3; border-radius: 15px; background: #f8fbfa; }
.bank-transfer-details h2 { margin: 0 0 8px; font-size: 18px; }
.bank-transfer-intro { margin: 0 0 16px; color: #697073; font-size: 13px; line-height: 1.5; }
.bank-account-details { margin: 0; border: 1px solid #e0e8e5; border-radius: 10px; overflow: hidden; background: #fff; }
.bank-account-details div { display: flex; justify-content: space-between; gap: 15px; padding: 12px 14px; border-bottom: 1px solid #edf1ef; }
.bank-account-details div:last-child { border-bottom: 0; }
.bank-account-details dt { color: #737a7c; font-size: 12px; }
.bank-account-details dd { margin: 0; color: #30343a; font-size: 13px; font-weight: 700; text-align: right; }
.receipt-form { margin-top: 20px; }
.receipt-form label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.receipt-form input[type="file"] { display: block; width: 100%; box-sizing: border-box; border: 1px dashed #9fc9c3; border-radius: 10px; padding: 10px; background: #fff; color: #555e60; font: 13px 'Inter', sans-serif; }
.receipt-form small { display: block; margin: 7px 0 15px; color: #737a7c; font-size: 11px; }
.order-complete { padding: 36px 15px; text-align: center; }
.order-complete > span { display: grid; width: 54px; height: 54px; margin: 0 auto 18px; place-items: center; border-radius: 50%; background: #168579; color: white; font-size: 28px; }
.payment-processing .processing-check { animation: payment-check .7s cubic-bezier(.2,.9,.3,1.4) both; }
@keyframes payment-check { from { transform: scale(0) rotate(-35deg); opacity: 0; } 70% { transform: scale(1.15) rotate(5deg); } to { transform: scale(1) rotate(0); opacity: 1; } }
.order-complete h2 { margin: 0 0 10px; font: 600 28px 'Playfair Display', serif; }
.order-complete p { color: #697073; font-size: 14px; }
.confirmation-help { display: block; max-width: 360px; margin: 14px auto 0; color: #7a867e; font-size: 12px; line-height: 1.5; }
.confirmation-help a { margin-top: 0; color: #168579; text-decoration: underline; }
.order-complete a { display: inline-block; margin-top: 12px; color: #168579; font-weight: 600; text-decoration: none; }

@media (max-width: 560px) {
  .checkout-shell { padding: 0; align-items: start; }
  .checkout-modal { min-height: 100vh; max-height: none; border-radius: 0; }
  .checkout-scroll { max-height: calc(100vh - 89px); padding: 22px 18px 26px; }
  .checkout-modal-head { padding: 0 18px; }
  .payment-alert { margin-left: -18px; margin-right: -18px; }
}
