.basket-page{margin:24px 0 56px;color:#322b25}
.basket-page h1{margin:0 0 24px;font-size:clamp(32px,4vw,52px)}
#basket{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,32%);gap:clamp(20px,4vw,58px);align-items:start}
.basket-lines{min-width:0;border-top:1px solid #ded9cf}
.basket-line{display:grid;grid-template-columns:88px minmax(0,1fr) auto;gap:20px;padding:24px 0;border-bottom:1px solid #ded9cf;align-items:start}
.basket-cover{display:grid;place-items:center;background:#f5f1e9;color:#785154;border-radius:6px;padding:8px;height:122px;font:600 20px Georgia,serif}
.basket-cover img{width:100%;height:100%;min-height:0;object-fit:contain}
.basket-title{font-size:clamp(17px,2vw,22px);font-weight:700;line-height:1.3;text-decoration:none;color:inherit;overflow-wrap:anywhere}
.basket-title:hover,.basket-back:hover{text-decoration:underline}
.basket-page p{font-size:15px;line-height:1.45;margin:0}
.basket-page .basket-author{font-size:14px;color:#665c52;margin:0 0 4px}
.basket-page .basket-status{margin-top:7px;color:#5a5845}
.basket-page .basket-unit{color:#685f56;margin-top:3px}
.basket-controls,.basket-stepper{display:flex;align-items:center}
.basket-controls{gap:16px;flex-wrap:wrap;margin-top:12px}
.basket-stepper{border:1px solid #cfc6bc;border-radius:9px;overflow:hidden}
.basket-controls button{font:inherit;color:#704247;background:transparent;border:0;min-height:42px;cursor:pointer}
.basket-stepper button{width:42px;font-size:21px}
.basket-stepper button:hover:enabled{background:#f4efea}
.basket-stepper button:focus-visible{outline-offset:-3px}
.basket-stepper button:disabled{color:#aaa39c;cursor:default}
.basket-stepper span{min-width:1.4em;text-align:center;font-variant-numeric:tabular-nums}
.basket-remove{font-size:14px!important;text-decoration:underline;text-underline-offset:3px}
.basket-amount,.basket-total strong{white-space:nowrap;font-variant-numeric:tabular-nums}
.basket-amount{font-size:20px}
.basket-summary{border:1px solid #e1d8cd;background:#f8f5ef;border-radius:16px;padding:24px}
.basket-total{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px;border-bottom:1px solid #ded5c9;padding-bottom:15px;margin-bottom:16px}
.basket-total h2{font-weight:600;line-height:1.3;font-family:inherit;font-size:18px;letter-spacing:normal;margin:0}
.basket-total strong{font-size:26px}
.basket-delivery,.basket-back{color:#75484a;font-weight:600;text-underline-offset:3px}
.basket-summary p{margin-top:6px;color:#60584f}
.basket-summary .basket-payment{margin-top:16px}
.basket-back{display:inline-block;margin:22px 0 0}
.basket-empty{grid-column:1/-1;padding:24px;background:#f8f5ef;border-radius:12px}
@media(max-width:760px){#basket{grid-template-columns:1fr;gap:18px}.basket-line{grid-template-columns:68px minmax(0,1fr);gap:6px 14px;padding:18px 0}.basket-cover{height:96px;grid-row:1/3}.basket-amount{grid-column:2;font-size:17px}.basket-summary{padding:18px}.basket-page h1{margin-bottom:16px}}
.basket-quote,.basket-quote label{display:grid;gap:6px;min-width:0}
.basket-quote{gap:12px;margin-top:14px}
.basket-quote input,.basket-quote select{width:100%;min-width:0;font:inherit;border:1px solid #cfc6bc;border-radius:8px;background:white;color:inherit;padding:9px}
.basket-quote small{color:#60584f;line-height:1.45}
.basket-quote button:disabled{opacity:.55}
