
body{background:#f7f5ef;color:var(--ink)}
.basket-shell{max-width:1080px;margin:0 auto;padding:34px 20px 100px}
.basket-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}
.basket-kicker{display:block;font-size:9px;letter-spacing:.18em;color:var(--violet);font-weight:900}
.basket-head h1{font-size:clamp(32px,4vw,46px);letter-spacing:-.04em;margin:5px 0}
.basket-head p{margin:0;color:var(--muted);font-size:13px}
.basket-shop-link{height:42px;padding:0 13px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);font-size:11px;font-weight:850;text-decoration:none;display:inline-flex;align-items:center;gap:7px}
.basket-shop-link svg{width:15px;height:15px}
.basket-loading,.basket-empty{padding:62px 18px;text-align:center;color:var(--muted)}
.basket-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:12px;align-items:start}
.basket-items-panel,.cart-summary{border:1px solid var(--line);border-radius:20px;background:#fff}
.basket-items-panel{padding:20px}
.basket-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:15px;border-bottom:1px solid #eeebe7}
.basket-section-head h2,.summary-head h2{font-size:18px;margin:0 0 4px}
.basket-section-head p,.summary-head p{margin:0;color:var(--muted);font-size:10px;line-height:1.45}
.basket-section-head>b{font-size:10px;color:var(--muted);white-space:nowrap}
.cart-items{display:grid}
.cart-line{display:grid;grid-template-columns:84px minmax(0,1fr) auto;gap:13px;padding:15px 0;border-bottom:1px solid #efebe6}
.cart-line:last-child{border-bottom:0}
.cart-line-media{width:84px;height:84px;border-radius:12px;background:#f5f3ef;overflow:hidden;display:grid;place-items:center}
.cart-line-media img{width:100%;height:100%;object-fit:cover}
.cart-line-body{display:contents}
.cart-line-content{min-width:0}
.line-meta{color:#918b95;font-size:9px;text-transform:uppercase;letter-spacing:.04em}
.cart-line h3{font-size:13px;margin:4px 0 5px;line-height:1.35}
.cart-line h3 a{color:inherit;text-decoration:none}
.line-attrs{color:#77717f;font-size:10px;line-height:1.45}
.line-stock{font-size:9px;margin-top:5px;color:#27785e}
.line-stock.bad{color:#b23d52}
.line-actions{display:flex;align-items:center;gap:9px;margin-top:10px;flex-wrap:wrap}
.qty-stepper{height:34px;display:inline-flex;align-items:center;border:1px solid #ddd8df;border-radius:10px;background:#fff;overflow:hidden}
.qty-stepper button{width:32px;height:32px;border:0;background:#f8f6f3;color:#3b3540;font-size:16px;cursor:pointer}
.qty-stepper input{width:43px;border:0;background:#fff;text-align:center;font-size:11px;font-weight:800;outline:0}
.remove-line{border:0;background:transparent;color:#8a6178;font-size:10px;font-weight:800;cursor:pointer;padding:5px}
.line-price{text-align:right;white-space:nowrap}
.line-price strong{display:block;font-size:13px}
.line-price span,.line-price small{display:block;margin-top:4px;color:#918b95;font-size:9px}
.cart-issue{background:#fff7e8;border:1px solid #efd9aa;color:#7d6022;border-radius:12px;padding:11px 12px;margin-bottom:13px;font-size:10px;line-height:1.5}
.clear-cart{margin-top:13px;border:0;background:transparent;color:#9a6d7c;font-size:10px;font-weight:800;display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.clear-cart svg{width:14px;height:14px}

/* Summary */
.cart-summary{position:sticky;top:18px;padding:20px}
.summary-head{padding-bottom:13px;border-bottom:1px solid #eeebe7}
.summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;font-size:11px}
.summary-row b{font-size:11px}
.summary-row.total{margin-top:3px;padding-top:14px;border-top:1px solid #eae6e1;font-size:15px}
.summary-row.total b{font-size:17px}
.cart-discount-row{color:#24704c}
.summary-section{margin:8px 0 4px;padding:13px;border:1px solid #ece8e2;border-radius:13px;background:#faf9f6}
.summary-section-title h3{font-size:12px;margin:0 0 3px}
.summary-section-title p{margin:0;color:var(--muted);font-size:9px;line-height:1.4}
.summary-note{margin:9px 0 0;color:#918b95;font-size:9px;line-height:1.5}
.checkout-btn{width:100%;min-height:46px;margin-top:14px;border:0;border-radius:11px;background:#2c224a;color:#fff;font-size:11px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}
.checkout-btn:hover{background:#453768}
.checkout-btn svg{width:15px;height:15px}

/* Fulfillment integration */
.delivery-method-options{display:grid;gap:7px;margin-top:10px}
.delivery-method{width:100%;display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px;border:1px solid #e6e1e8;border-radius:11px;background:#fff;color:#1c1b22;text-align:left;cursor:pointer;transition:.15s}
.delivery-method:hover{border-color:#cfc5eb}
.delivery-method.selected{border-color:#6754d9;box-shadow:0 0 0 2px rgba(103,84,217,.07)}
.delivery-method.disabled{opacity:.56;cursor:not-allowed;background:#faf9fa}
.delivery-radio{width:16px;height:16px;border:2px solid #bbb4c8;border-radius:50%;position:relative}
.delivery-method.selected .delivery-radio{border-color:#6754d9}
.delivery-method.selected .delivery-radio:after{content:"";position:absolute;inset:3px;border-radius:50%;background:#6754d9}
.delivery-method-icon{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#f2eff9;color:#5948b5;font-weight:900}
.delivery-method-copy{display:flex;min-width:0;flex-direction:column;gap:2px}
.delivery-method-name-row{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.delivery-method-copy b{font-size:10px}
.delivery-method-copy small{font-size:8px;color:#77717e;white-space:normal;line-height:1.35}
.delivery-method-copy em{font-size:8px;color:#6754d9;font-style:normal;font-weight:800}
.delivery-method-state{font-size:7px;line-height:1;padding:3px 5px;border-radius:99px;background:#eef8f2;color:#27785e;font-style:normal;font-weight:950;letter-spacing:.05em}
.delivery-method-state.on{background:#eee9ff;color:#5a46c8}
.delivery-method-state.off{background:#f4f2f4;color:#99919d}
.delivery-method>strong{font-size:9px;white-space:nowrap}
.delivery-method-empty{padding:10px;border:1px dashed #ded9e2;border-radius:10px;color:#77717e;font-size:9px;line-height:1.45}
.cart-delivery-place{margin-top:9px;padding-top:10px;border-top:1px solid #eae6e1;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.cart-delivery-place>div{display:grid;gap:2px;min-width:0}
.cart-delivery-place small{font-size:8px;color:#918b95}
.cart-delivery-place b{font-size:10px;color:#302b36;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.cart-delivery-estimate{color:#6754d9!important;font-weight:700}
.cart-place-link{font-size:9px;color:#6754d9;font-weight:850;text-decoration:none;white-space:nowrap}

/* Promo */
.cart-promo{background:#faf9f6}
.cart-promo-input{display:flex;gap:7px;margin-top:9px}
.cart-promo-input input{min-width:0;flex:1;height:38px;padding:0 10px;border:1px solid #ddd8df;border-radius:9px;background:#fff;color:#2c2830;font-size:10px;text-transform:uppercase;outline:0}
.cart-promo-input button{height:38px;padding:0 12px;border:0;border-radius:9px;background:#2c224a;color:#fff;font-size:9px;font-weight:900;cursor:pointer}
.cart-promo-status{margin-top:7px;color:#8b8590;font-size:8px;line-height:1.45}
.cart-promo-status.good{color:#24704c}
.cart-promo-status.bad{color:#aa4747}
.cart-promo-applied{display:flex;justify-content:space-between;gap:8px;align-items:center}
.cart-promo-applied button{border:0;background:transparent;color:#9a5d72;font-size:8px;font-weight:850;cursor:pointer}

/* Empty */
.basket-empty-icon{width:50px;height:50px;margin:0 auto 14px;border-radius:14px;background:#f0edff;color:var(--violet);display:grid;place-items:center}
.basket-empty-icon svg{width:23px;height:23px}
.basket-empty h2{font-size:22px;color:var(--ink);margin:0 0 6px}
.basket-empty p{font-size:12px;margin:0}
.basket-empty a{display:inline-flex;margin-top:15px;color:var(--violet);font-size:11px;font-weight:850;text-decoration:none}
.hidden{display:none!important}

@media(max-width:850px){
.cart-search{max-width:520px;flex:1;margin:0 6px;display:flex}
.basket-layout{grid-template-columns:1fr}
.cart-summary{position:static}
}
@media(max-width:620px){
.basket-shell{padding:22px 12px 88px}
.basket-head{align-items:flex-start}
.basket-head h1{font-size:34px}
.basket-head p{max-width:250px}
.basket-shop-link{height:38px;padding:0 10px;font-size:9px}
.basket-items-panel,.cart-summary{border-radius:16px}
.basket-items-panel,.cart-summary{padding:15px 13px}
.cart-line{grid-template-columns:68px minmax(0,1fr);gap:10px;padding:13px 0}
.cart-line-media{width:68px;height:68px;border-radius:10px}
.cart-line-body{display:block}
.line-price{grid-column:2;text-align:left;margin-top:7px}
.line-price strong{display:inline-block;margin-right:7px}
.line-price span{display:inline}
.delivery-method{grid-template-columns:auto auto minmax(0,1fr)}
.delivery-method>strong{grid-column:3;text-align:left}
.cart-delivery-place b{max-width:170px}
}

/* L4B — complete Basket navigation */
.cart-topbar .secondary-actions{gap:2px}
.cart-topbar .action-chip.active{background:#f0edff;color:#4e3fc4}
.cart-topbar .action-chip.active .action-icon{background:#ddd6ff;color:#4e3fc4}
@media(max-width:1280px) and (min-width:851px){.cart-search{max-width:340px}.cart-topbar .secondary-actions .action-chip{padding:7px 6px}.cart-topbar .secondary-actions .action-chip small{display:none}}
