/* Scoped to checkout and confirmation. Product images and catalogue stay unchanged. */
.v3-page-checkout main,.v3-page-success main{max-width:1040px;margin:18px auto;padding:0 16px}
.v3-page-checkout .checkout-heading{max-width:960px;margin:16px auto 10px}
.v3-page-checkout .checkout-heading h1{font-size:clamp(26px,4vw,34px);margin:8px 0}
.v3-page-checkout .checkout-heading p{font-size:13px;line-height:1.4;margin:7px 0}
#onepage-checkout{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;max-width:960px;margin:12px auto;align-items:start}
#onepage-checkout>section{min-width:0;width:100%;padding:14px;border:1px solid var(--line,#e9e0d1);border-radius:6px}
#onepage-checkout .section-title{gap:8px;margin-bottom:8px}
#onepage-checkout .section-title h2{font-size:22px;margin:0;line-height:1.2}
#onepage-checkout .section-title>span{width:24px;height:24px;flex:0 0 24px;font-size:11px}
#onepage-checkout label{font-size:13px;line-height:1.35;margin:7px 0}
#onepage-checkout input:not([type=hidden]):not([type=checkbox]),#onepage-checkout select,#onepage-checkout textarea{box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:44px;padding:8px 10px;font-size:16px;line-height:1.3;margin-top:4px}
#onepage-checkout textarea{height:60px;min-height:60px;resize:vertical}
#onepage-checkout .field-pair{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
#onepage-checkout .field-pair>*{min-width:0}
#onepage-checkout .check{display:flex;gap:9px;align-items:flex-start;padding:5px 0;font-size:13px;line-height:1.45}
#onepage-checkout input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:0 0 20px;margin:0}
#onepage-checkout small,#onepage-checkout .optional{font-size:12px;line-height:1.35}
#onepage-checkout details{margin:8px 0;padding:9px}
#onepage-checkout summary{font-size:13px;padding:6px 0;cursor:pointer}
#onepage-checkout button{min-height:44px;max-width:100%;white-space:normal}
#onepage-checkout .date-trigger{font-size:13px;padding:7px 12px;margin-top:5px}
#onepage-checkout .total-line{font-size:14px;padding:7px 0;gap:12px}
#onepage-checkout .total-line>span:first-child{min-width:0;overflow-wrap:anywhere}
#onepage-checkout .grand-total{font-size:22px}
#onepage-checkout .checkout-submit{display:block;width:100%;padding:10px 12px;font-size:16px;min-height:46px}
#onepage-checkout .calendar{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
#onepage-checkout .calendar[hidden]{display:none}
.v3-page-success h1{font-size:clamp(27px,4vw,36px);line-height:1.15}
.v3-page-success .summary,.v3-page-success .success{max-width:960px;padding:16px;overflow-wrap:anywhere}
.v3-page-success main button,.v3-page-success main .button{min-height:44px;max-width:100%;font-size:15px;line-height:1.4;padding:10px 14px;white-space:normal;overflow-wrap:anywhere}
.v3-page-success main a.button{color:#fff;text-decoration:none}
.v3-page-success main p{font-size:15px;line-height:1.5}
@media(min-width:480px){#onepage-checkout .field-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media(min-width:860px){#onepage-checkout{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px}#onepage-checkout>section:first-of-type{grid-column:1;grid-row:1 / span 2}#onepage-checkout>section:nth-of-type(2),#onepage-checkout>section.checkout-total{grid-column:2}#onepage-checkout>section{padding:16px}}

/* V3_CHECKOUT_PAYMENT_RADIO_LAYOUT */
main .v3-checkout-payment-draft label.method {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 44px;
    text-align: start;
}

main .v3-checkout-payment-draft label.method input[type="radio"] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    margin: 0;
    padding: 0;
}

/* V3_CHECKOUT_PAYMENT_TYPOGRAPHY */
main .v3-checkout-payment-draft label.method,
main .v3-checkout-payment-draft label.terms {
    font-size: 0.875rem;
    line-height: 1.4;
}
