.checkout-page{min-width:0}.checkout-heading{display:flex;align-items:center;gap:18px;max-width:none;padding:16px 0;background:transparent;margin:0 0 18px;border-radius:0}.checkout-heading a{font-size:28px;line-height:1}.checkout-heading h1{font-size:20px;margin:0}.checkout-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}.checkout-grid>#buy-form{display:contents}.checkout-goods,.checkout-contract,.checkout-summary{background:white;border:1px solid #eee;border-radius:12px;padding:24px;min-width:0}.checkout-goods{grid-column:1;grid-row:1}.checkout-contract{grid-column:1;grid-row:2}.checkout-summary{grid-column:2;grid-row:1 / span 2;position:sticky;top:24px}.checkout-page h2,.checkout-contract h3{font-size:16px;margin:0 0 18px}.checkout-seller{display:flex;align-items:center;gap:9px;font-size:13px;padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid #f3f3f3}.checkout-seller img{border-radius:50%}.checkout-product{display:flex;gap:15px;align-items:flex-start;min-width:0}.checkout-cover{width:100px;height:100px;flex-shrink:0;object-fit:cover;background:#f8f8f8;border-radius:6px}.checkout-cover.placeholder{object-fit:contain;padding:10px}.checkout-product>div{flex:1;min-width:0}.checkout-product h3{font-size:15px;font-weight:500;line-height:1.5;margin:0 0 8px;overflow-wrap:anywhere}.checkout-product p{font-size:12px;color:#999;margin:0 0 8px}.checkout-product strong{font-size:17px;color:#f33}.checkout-quantity{font-size:12px;color:#888}.checkout-page dl{margin:20px 0}.checkout-page dl>div{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin:12px 0}.checkout-page dt{color:#888}.checkout-page dd{margin:0;text-align:right}.checkout-subtotal{border-top:1px solid #f4f4f4;padding-top:6px}.checkout-subtotal dd{font-weight:600}.checkout-notice{margin-top:24px;border-top:1px solid #f4f4f4;padding-top:20px}.checkout-notice h2{font-size:14px;margin-bottom:10px}.checkout-notice p,.checkout-contract>p{font-size:13px;color:#777;line-height:1.7}.checkout-notice>a{font-size:12px;color:#806b00}.checkout-text{white-space:pre-wrap;overflow-wrap:anywhere}.checkout-contract label{font-size:13px}.checkout-contract textarea{min-height:95px}.checkout-payment-note{font-size:12px;line-height:1.7;color:#999}.checkout-submit-bar{margin-top:24px}.checkout-submit-bar>div{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px}.checkout-submit-bar strong{font-size:24px;color:#f33}.checkout-submit-bar button{width:100%;border-radius:24px;margin-top:20px;background:#ffe600;color:#222}.checkout-submit-bar button:disabled{opacity:.6;cursor:wait}.checkout-page>a{display:inline-block;margin:15px}.checkout-page a:focus-visible,.checkout-page button:focus-visible{outline:2px solid #806b00;outline-offset:3px}
@media(max-width:1000px){.checkout-grid{grid-template-columns:minmax(0,1fr) 250px;gap:14px}.checkout-goods,.checkout-contract,.checkout-summary{padding:18px}.checkout-cover{width:80px;height:80px}}
@media(max-width:700px){.checkout-page{margin:0 -12px;padding:0 12px 95px}.checkout-heading{padding:14px 2px;margin-bottom:10px;gap:15px}.checkout-heading h1{font-size:17px}.checkout-grid{display:flex;flex-direction:column;gap:12px}.checkout-goods,.checkout-contract,.checkout-summary{width:100%;border:0;border-radius:9px;padding:18px 14px}.checkout-summary{position:static}.checkout-goods h2,.checkout-contract h3,.checkout-summary h2{font-size:14px}.checkout-summary>h2,.checkout-summary>dl{display:none}.checkout-seller{font-size:12px;margin-bottom:16px;padding-bottom:14px}.checkout-cover{width:80px;height:80px}.checkout-product{gap:12px}.checkout-product h3{font-size:13px}.checkout-product p{font-size:11px}.checkout-notice p,.checkout-contract>p{font-size:12px}.checkout-submit-bar{position:fixed;bottom:0;left:0;right:0;z-index:8;display:flex;gap:15px;justify-content:space-between;align-items:center;background:white;border-top:1px solid #eee;margin:0;padding:12px 18px calc(12px + env(safe-area-inset-bottom,0px))}.checkout-submit-bar>div{display:flex;align-items:baseline;gap:8px;font-size:12px}.checkout-submit-bar strong{font-size:21px}.checkout-submit-bar button{width:auto;min-width:124px;margin:0;font-size:14px;padding:12px 24px}.checkout-payment-note{margin:0}body[data-page=checkout] #nav{display:none}}
/* Source: APK submit-order render (scope-pages-index-submit-order-submit-order.txt).
   Keep the native warning -> goods -> subtotal order; desktop summary is an adaptation. */
.checkout-grid>.checkout-notice{grid-column:1;grid-row:1;margin:0;padding:16px 20px;background:#fef2f2;border:1px solid #f4d1d8;border-radius:9px;min-width:0}
.checkout-grid>.checkout-notice h2{font-size:12px;margin:0 0 4px;color:#3d3d3d}
.checkout-grid>.checkout-notice p{font-size:12px;line-height:1.5;color:#877c7c;margin:6px 0}
.checkout-grid>.checkout-notice a{color:#8b5148}
.checkout-goods{grid-row:2}.checkout-contract{grid-row:3}.checkout-summary{grid-row:1 / span 3}
.checkout-item-price{flex-shrink:0;white-space:nowrap;font-size:14px!important;font-weight:900;color:#333!important}
.checkout-submit-bar button{background:#fe4d22;color:#fff}.checkout-submit-bar strong{color:#fa624a}
@media(max-width:700px){body[data-page=checkout]{background:#f5f3f3}.checkout-heading h1{font-size:15px}.checkout-grid{gap:5px}.checkout-grid>.checkout-notice{padding:14px 15px}.checkout-goods{padding:10px 15px}.checkout-cover{width:87px;height:87px}.checkout-product{gap:15px}.checkout-product h3{font-size:14px}.checkout-product>.checkout-quantity{display:none}.checkout-subtotal{border-top:0;margin:8px 0 0;padding:8px 0}.checkout-subtotal>div{margin:0;font-size:14px}.checkout-subtotal dd{font-weight:900}.checkout-submit-bar{min-height:57px;padding:12px 20px calc(12px + env(safe-area-inset-bottom,0px));justify-content:flex-end;gap:12px}.checkout-submit-bar button{min-width:81px;min-height:32px;font-size:14px;padding:8px 14px;border-radius:6px}.checkout-submit-bar strong{font-size:14px;font-weight:900}}
/* Recovery is a focused decision card, independent of the two-column purchase form. */
.checkout-recovery{box-sizing:border-box;width:100%;padding:24px;background:#fff;border-radius:12px;line-height:1.7}
.checkout-recovery h1{margin:0 0 16px;font-size:20px;line-height:1.4}
.checkout-recovery p{margin:12px 0;font-size:14px;color:#555;overflow-wrap:anywhere}
.checkout-recovery [role=status],.checkout-recovery [role=alert]{padding:12px 14px;border-radius:8px;background:#f7f7f7}
.checkout-recovery-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}
.checkout-recovery-actions button{min-height:44px;border-radius:24px;padding:10px 22px}
.checkout-recovery-actions .secondary{background:#fff;border:1px solid #d6d6d6;font-weight:400}
.checkout-recovery>a{display:inline-block;margin-top:12px;color:#555;font-size:14px}
@media(max-width:700px){.checkout-recovery{padding:20px 16px}.checkout-recovery-actions{display:grid;grid-template-columns:1fr;gap:10px}}
@media(min-width:1100px){.checkout-recovery{max-width:760px;margin:24px auto;padding:32px 40px}.checkout-recovery-actions button{min-width:180px}}
@media(min-width:701px){
 .checkout-notice .product-service-profile:has(.service-profile-photo){display:grid;grid-template-columns:112px minmax(0,1fr);column-gap:16px;align-items:start;margin:14px 0}
 .checkout-notice .product-service-profile>h3{grid-column:1/-1;margin:0 0 10px;font-size:14px}
 .checkout-notice .product-service-profile>.service-profile-photo{grid-column:1;grid-row:2/span 3;width:112px;margin:0}
 .checkout-notice .product-service-profile>p,.checkout-notice .product-service-profile>small{grid-column:2;overflow-wrap:anywhere}
}
