/* Scoped purchase UI; existing theme tokens, no extra fonts or JS. */
.shop-add-form{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;width:100%;margin:0}
.shop-add-form .btn{width:100%;min-height:48px;justify-content:center;text-align:center;white-space:normal;line-height:1.35}
.bsx404-action{display:grid;gap:8px}
.shop-add-form .btn.secondary{border:1px solid var(--line);background:var(--surface);color:var(--text);box-shadow:none}
.shop-add-form .btn.secondary:hover{border-color:var(--blue)}
.shop-checkout-form .e125-checkout-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 12px}
.e125-checkout-steps span{padding:10px 6px;border:1px solid var(--line);border-radius:10px;text-align:center;font-size:.78rem;line-height:1.4;overflow-wrap:anywhere}
.e125-checkout-steps .is-current{border-color:var(--blue);color:var(--text);font-weight:700;background:var(--surface2)}
.e125-summary-title{font-size:clamp(1.2rem,2vw,1.5rem);margin:8px 0 18px}
.shop-checkout-form .shop-radio:has(input:checked){border-color:var(--blue);background:var(--surface2)}
.shop-checkout-form .shop-field input{min-height:44px}
.shop-checkout-form .shop-radio,.shop-checkout-form .shop-check{min-height:44px}
@media(max-width:640px){.shop-checkout-form .shop-field input{font-size:16px}.shop-add-form .btn{min-height:48px}.e125-checkout-steps span{font-size:.72rem}.shop-summary{min-width:0;overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.shop-add-form .btn,.shop-checkout-form .shop-radio{transition:none}}

.e126-shipping{display:grid;min-width:0;gap:12px;padding:16px;border:1px solid var(--line);border-radius:14px}.e126-shipping legend{font-weight:700;padding:0 6px}.e126-book-line small{display:block;color:var(--muted);font-size:.8rem}.book-product-bottom .shop-add-form{flex:1;min-width:0}

.e128-book-summary{display:flex;align-items:center;gap:12px;min-width:0}.e128-book-summary img{width:48px;height:64px;object-fit:contain;flex:0 0 48px;border-radius:6px}.e128-book-summary>span{min-width:0;overflow-wrap:anywhere}.e126-book-line>strong{flex-shrink:0}
