.shop-basket { margin-block: 24px; padding: clamp(14px, 3vw, 24px); scroll-margin-top: 80px; }
.shop-basket h2 { margin: 0 0 6px; font-size: 1.2rem; }
.shop-basket-form { display: grid; gap: 9px; margin-top: 14px; }
.shop-basket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 172px), 1fr)); gap: 10px; }
.shop-basket-form label { display: grid; gap: 4px; }
.shop-basket-form input { width: 100%; min-width: 0; min-height: 40px; padding: 7px 10px; background: transparent; color: inherit; border: 1px solid var(--line,#6a727d); border-radius: 8px; }
.shop-basket input:focus-visible,.shop-basket button:focus-visible,.shop-basket-table:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.shop-basket-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.shop-basket-summary { margin-block: 16px; }
.shop-basket-summary div { border: 1px solid var(--line,#6a727d); border-radius: 8px; padding: 8px; }
.shop-basket-summary dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.shop-basket-table { overflow-x: auto; }
.shop-basket-table table { width: 100%; border-collapse: collapse; }
.shop-basket-table :is(th,td,caption) { padding: 7px; text-align: start; }
.shop-basket-table td { border-top: 1px solid var(--line,#6a727d); }
.shop-basket-table td:first-child { min-width: 145px; overflow-wrap: anywhere; }
.shop-basket-table td:last-child { min-width: 126px; }
.shop-basket-table button + button { margin-inline-start: 4px; }
