/* /books/order */
.order-section{padding-top:40px}
.order-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}
.order-step{border:1px solid var(--border);border-radius:12px;background:#fff;padding:22px 24px 8px;margin:0 0 20px;min-width:0}
.order-step legend{display:flex;align-items:center;gap:10px;font-family:'Source Serif 4',serif;font-size:21px;font-weight:600;padding:0 6px;margin-left:-6px}
.order-step legend span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--bg-dark);color:#fff;font-family:'DM Sans',sans-serif;font-size:14px}
.order-step small{font-weight:400;color:var(--text-light)}
.order-books{display:grid;gap:10px;margin:6px 0 4px}
.order-book{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:14px;align-items:center;padding:10px 12px;border:1px solid var(--border);border-radius:10px;transition:border-color .2s,background .2s}
.order-book.is-chosen{border-color:var(--accent);background:var(--accent-light)}
.order-book img{width:56px;height:auto;border-radius:2px;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.order-book strong{display:block;font-size:16px;line-height:1.3}
.order-book small{display:block;font-size:13px}
.order-unit{display:block;font-size:14px;margin-top:2px}
.order-unit s{color:var(--text-light)}
.order-unit b{color:var(--accent-hover)}
.qty{display:flex;align-items:center;border:1px solid var(--border);border-radius:8px;background:#fff;overflow:hidden}
.qty button{width:38px;height:42px;border:0;background:none;font-size:20px;color:var(--text);cursor:pointer}
.qty button:hover{background:var(--bg-warm)}
.qty input{width:40px;height:42px;border:0;text-align:center;font:600 16px 'DM Sans',sans-serif;color:var(--text);-moz-appearance:textfield;appearance:textfield}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.order-hint{font-size:14px;color:var(--text-secondary);margin:6px 0 14px}
.order-hint a,.order-done a:not(.hero-cta),.order-error a{color:var(--accent-hover)}
.order-row-3{grid-template-columns:1.6fr 1fr 1fr}
.pay-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:6px 0 16px}
.pay-option{display:flex;gap:10px;align-items:flex-start;padding:14px;border:1px solid var(--border);border-radius:10px;cursor:pointer;font-size:15px}
.pay-option:has(input:checked){border-color:var(--accent);background:var(--accent-light)}
.pay-option input{margin-top:5px;accent-color:var(--accent)}
.pay-option small{display:block;font-size:13px;color:var(--text-secondary);line-height:1.5;margin-top:2px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.order-summary{position:sticky;top:20px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:22px 22px 18px;box-shadow:var(--shadow-md)}
.order-summary h2{font-family:'Source Serif 4',serif;font-size:22px;margin-bottom:10px}
.summary-lines{list-style:none;border-bottom:1px solid var(--border);padding-bottom:10px}
.summary-lines li{display:flex;justify-content:space-between;gap:12px;font-size:15px;padding:4px 0}
.summary-empty{color:var(--text-light)}
.summary-totals div{display:flex;justify-content:space-between;font-size:15px;padding:4px 0}
.summary-totals dd{margin:0}
.summary-totals .summary-total{font-size:20px;font-weight:700;padding-top:8px}
.summary-totals .summary-gst{font-size:13px;color:var(--text-light)}
.summary-offer{font-size:13px;background:var(--bg-accent);border:1px solid #F1DDB8;border-radius:8px;padding:8px 10px;margin-top:10px}
.summary-small{font-size:13px;color:var(--text-light);margin-top:10px;line-height:1.5}
.order-error{background:#FCEBE8;color:#8C2F22;border-radius:8px;padding:10px 12px;font-size:14px;margin-top:12px}
.form-submit:disabled{opacity:.7;cursor:wait;transform:none}
.order-done{max-width:640px;margin:0 auto;text-align:center;background:#fff;border:1px solid var(--border);border-radius:12px;padding:40px 28px}
.order-done:focus{outline:none}
.order-done h2{font-family:'Source Serif 4',serif;font-size:28px;line-height:1.25;margin-bottom:12px}
.order-done p{color:var(--text-secondary);margin-bottom:12px}
.order-done .hero-cta{margin-top:12px}
.done-tick{width:56px;height:56px;margin:0 auto 14px;border-radius:50%;background:var(--green-light);color:var(--green);display:grid;place-items:center;font-size:28px;font-weight:700}
.order-faq{background:var(--bg-warm)}
.order-faq h2{font-family:'Source Serif 4',serif;font-size:clamp(26px,3.6vw,32px);margin-bottom:10px}
.order-faq details{border-bottom:1px solid var(--border);padding:16px 0}
.order-faq summary{cursor:pointer;font-weight:600;font-size:17px}
.order-faq details p{margin-top:10px;color:var(--text-secondary)}
@media(max-width:860px){.order-layout{grid-template-columns:1fr}.order-summary{position:static}}
@media(max-width:560px){.order-step{padding:18px 16px 4px}.pay-options,.order-row-3{grid-template-columns:1fr}.order-row-3{gap:0}.order-book{grid-template-columns:44px minmax(0,1fr);}.order-book img{width:44px}.order-book .qty{grid-column:1/-1;justify-self:end}}
.coupon{margin:12px 0 6px}
.coupon label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}
.coupon-row{display:flex;gap:8px}
.coupon-row input{flex:1;min-width:0;padding:10px 12px;font:15px 'DM Sans',sans-serif;text-transform:uppercase;border:1px solid var(--border);border-radius:6px}
.coupon-row input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(196,88,43,.1)}
.coupon-row button{padding:10px 16px;border:1px solid var(--bg-dark);background:var(--bg-dark);color:#fff;font:600 14px 'DM Sans',sans-serif;border-radius:6px;cursor:pointer}
.coupon-row button:disabled{opacity:.6;cursor:wait}
.coupon-msg{font-size:13px;margin-top:6px;color:#8C2F22}
.coupon-msg.is-ok{color:var(--green)}
.pay-now{margin:22px auto 18px;max-width:420px;text-align:left;border:1px solid var(--border);border-radius:12px;padding:18px 18px 8px;background:var(--bg)}
.pay-now h3{font-family:'Source Serif 4',serif;font-size:20px;margin-bottom:6px;text-align:center}
.order-done .pay-now-msg{font-size:15px;color:var(--text);text-align:center;margin-bottom:12px}
.order-done .pay-now-msg.is-ok{color:var(--green);font-weight:600}
.paypal-buttons{min-height:10px}
.order-done .pay-now-small{font-size:12px;color:var(--text-light);text-align:center;margin-top:8px}
.summary-totals div[hidden],.pay-now[hidden]{display:none}
.checkout-label{font-weight:600;font-size:14px;margin:14px 0 8px}
.checkout-buttons{min-height:10px}
.checkout-msg{font-size:14px;color:var(--text-secondary);margin-top:6px}
.checkout-msg[hidden]{display:none}
