
.checkout-grid{display:grid;grid-template-columns:1fr 400px;gap:var(--space-10);align-items:start;padding-block:var(--space-6) var(--space-16)}
@media(max-width:900px){.checkout-grid{grid-template-columns:1fr;gap:var(--space-8)}}
.co-block{background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-e1);padding:var(--space-6);margin-bottom:var(--space-5)}
.co-block h2{font-size:1.15rem;display:flex;align-items:center;gap:var(--space-3);margin-bottom:var(--space-5)}
.co-block h2 .n{width:28px;height:28px;flex:none;border-radius:var(--radius-pill);background:var(--navy-900);color:var(--gold-300);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem}
.auth-block{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);flex-wrap:wrap;background:var(--bg-sunken);border:1px dashed var(--border-strong);border-radius:var(--radius-md);padding:var(--space-4);margin-bottom:var(--space-5)}
.auth-block .txt{font-size:.9rem}.auth-block .txt b{color:var(--navy-900)}
.auth-block .acts{display:flex;gap:var(--space-2)}
.form-2{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-4)}
@media(max-width:560px){.form-2{grid-template-columns:1fr}}
.field{margin-bottom:0}.field.full{grid-column:1 / -1}
.field label{display:block;font-size:.8125rem;font-weight:600;color:var(--text-secondary);margin-bottom:var(--space-2)}
.field input,.field select{width:100%;padding:var(--space-3) var(--space-4);border-radius:var(--radius-sm);border:1.5px solid var(--border);background:var(--bg-elevated);color:var(--navy-900);font-family:inherit;font-size:.9rem;min-height:44px}
.field input:focus,.field select:focus{outline:2px solid var(--link);outline-offset:1px;border-color:transparent}
.field .err{display:none;color:var(--clay-error);font-size:.75rem;margin-top:4px}
.field.invalid input{border-color:var(--clay-error)}.field.invalid .err{display:block}
.method{display:flex;align-items:center;gap:var(--space-4);border:1.5px solid var(--border);border-radius:var(--radius-md);padding:var(--space-4);cursor:pointer;margin-bottom:var(--space-3);transition:border-color var(--duration-fast)}
.method:last-child{margin-bottom:0}
.method.on{border-color:var(--navy-800);background:var(--n-100)}
.method.disabled{opacity:.55;cursor:not-allowed}
.method .radio{width:20px;height:20px;flex:none;border-radius:var(--radius-pill);border:2px solid var(--border-strong);position:relative}
.method.on .radio{border-color:var(--navy-800)}.method.on .radio::after{content:"";position:absolute;inset:3px;border-radius:var(--radius-pill);background:var(--navy-800)}
.method .ico{width:40px;height:40px;flex:none;border-radius:var(--radius-md);background:var(--bg-sunken);display:flex;align-items:center;justify-content:center}
.method .ico svg{width:22px;height:22px;stroke:var(--navy-800)}
.method .info{flex:1}.method .info b{display:block;font-size:.95rem}.method .info span{font-size:.8rem;color:var(--text-secondary)}
.method .price{font-weight:700;font-size:.9rem}
.method .gated{font-size:.75rem;color:var(--clay-error);font-weight:600}
/* order summary */
.co-summary{position:sticky;top:96px}
@media(max-width:900px){.co-summary{position:static}}
.summary{background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-e2);overflow:hidden}
.summary .sh{padding:var(--space-5);border-bottom:1px solid var(--border);font-weight:700}
.summary .sec{padding:var(--space-5);border-bottom:1px solid var(--border)}
.summary .sec .lbl{font-size:.72rem;font-weight:700;color:var(--text-tertiary);margin-bottom:var(--space-3);letter-spacing:.02em}
.line-item{display:flex;gap:var(--space-3);align-items:center;margin-bottom:var(--space-4)}
.line-item:last-child{margin-bottom:0}
.line-item .thumb{width:52px;height:64px;flex:none;border-radius:var(--radius-sm);background:linear-gradient(160deg,#fbf8f3,var(--n-100));display:flex;align-items:center;justify-content:center}
.line-item .thumb svg{width:26px;height:26px;stroke:var(--n-300)}
.line-item .li-info{flex:1}.line-item .li-info b{font-size:.85rem;display:block}.line-item .li-info .q{font-size:.75rem;color:var(--text-tertiary)}
.line-item .li-price{font-weight:700;font-size:.85rem}
.freeship{margin-top:var(--space-3)}
.freeship .bar{height:8px;border-radius:var(--radius-pill);background:var(--bg-sunken);overflow:hidden;margin-top:var(--space-2)}
.freeship .bar i{display:block;height:100%;background:linear-gradient(90deg,var(--gold-500),var(--gold-300));border-radius:var(--radius-pill)}
.freeship .note{font-size:.75rem;color:var(--text-secondary)}
.ship-row,.trow{display:flex;align-items:center;justify-content:space-between;font-size:.9rem}
.coupon-in{display:flex;gap:var(--space-2)}
.coupon-in input{flex:1;padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);border:1.5px solid var(--border);font-family:inherit;min-height:40px}
.coupon-in .btn{padding:var(--space-2) var(--space-4);min-height:40px}
.coupon-ok{display:none;color:var(--success);font-size:.78rem;font-weight:600;margin-top:var(--space-2)}
.coupon-ok.show{display:block}
.wallet-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}
.wallet-row .wl b{color:var(--gold-text)}
.switch{width:44px;height:26px;border-radius:var(--radius-pill);background:var(--n-300);position:relative;flex:none;transition:background var(--duration-fast)}
.switch::after{content:"";position:absolute;top:3px;inset-inline-start:3px;width:20px;height:20px;border-radius:var(--radius-pill);background:#fff;transition:inset-inline-start var(--duration-fast)}
.switch.on{background:var(--success)}.switch.on::after{inset-inline-start:21px}
.totals{padding:var(--space-5)}
.totals .trow{margin-bottom:var(--space-2);color:var(--text-secondary)}
.totals .trow.discount{color:var(--success)}
.totals .grand{display:flex;align-items:center;justify-content:space-between;margin-top:var(--space-3);padding-top:var(--space-3);border-top:1px solid var(--border)}
.totals .grand b{font-size:1.3rem;font-weight:700;color:var(--navy-900)}
.totals .grand span{font-weight:600}
/* review step */
.review{background:var(--bg-sunken);margin:var(--space-5);border-radius:var(--radius-md);padding:var(--space-4)}
.review .lbl{font-size:.72rem;font-weight:700;color:var(--text-tertiary);margin-bottom:var(--space-3);display:flex;align-items:center;gap:6px}
.review .lbl svg{width:15px;height:15px;stroke:var(--gold-500)}
.review .r{display:flex;justify-content:space-between;font-size:.82rem;margin-bottom:var(--space-2)}
.review .r:last-child{margin-bottom:0}.review .r span:first-child{color:var(--text-secondary)}.review .r b{font-weight:600}
.place{padding:0 var(--space-5) var(--space-5)}
.trust-mini{padding:var(--space-4) var(--space-5);background:var(--bg-sunken);display:flex;flex-direction:column;gap:var(--space-3)}
.trust-mini .g{display:flex;align-items:center;gap:var(--space-2);font-size:.78rem;color:var(--text-secondary)}
.trust-mini .g svg{width:18px;height:18px;stroke:var(--gold-500);flex:none}
.trust-mini .seals{display:flex;gap:var(--space-2);margin-top:var(--space-1)}
.trust-mini .seals .s{width:40px;height:40px;border-radius:var(--radius-sm);background:var(--bg-elevated);border:1px solid var(--border);display:flex;align-items:center;justify-content:center}
.trust-mini .seals .s svg{width:20px;height:20px;stroke:var(--gold-500)}
.co-buybar{position:fixed;inset-inline:0;bottom:0;z-index:var(--z-buybar);background:var(--bg-elevated);border-top:1px solid var(--border);box-shadow:0 -6px 20px rgba(16,33,52,.12);padding:var(--space-3) var(--pad-inline);display:none;align-items:center;gap:var(--space-4)}
.co-buybar .p b{font-size:1.15rem;font-weight:700}.co-buybar .p span{font-size:.72rem;color:var(--text-tertiary);display:block}
.co-buybar .btn-buy{flex:1}
@media(max-width:900px){.co-buybar{display:flex}main{padding-bottom:80px}}
