#sl-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 9998;
}
#sl-cart {
  display: none; position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 3px solid #e63329;
  border-radius: 8px 8px 0 0;
  z-index: 9999; max-height: 85vh;
  flex-direction: column;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.10);
  font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif;
}
#sl-cart.open, #sl-overlay.open { display: flex; }
.sl-handle-row { padding: 10px 0 6px; display: flex; justify-content: center; flex-shrink: 0; }
.sl-handle { width: 40px; height: 4px; background: #ddd; border-radius: 2px; }
.sl-head { padding: 0 18px 14px; border-bottom: 1px solid #f0f0ee; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.sl-head-left { display: flex; align-items: baseline; gap: 8px; }
.sl-title { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.sl-qty-label { font-size: 12px; color: #aaa; }
.sl-close { background: #f2f2f0; border: none; border-radius: 4px; width: 30px; height: 30px; cursor: pointer; color: #888; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.sl-items { flex: 1; overflow-y: auto; }
.sl-item { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #f5f5f3; }
.sl-item-img { width: 52px; height: 52px; background: #f5f5f3; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.sl-item-info { flex: 1; min-width: 0; }
.sl-item-name { font-size: 13px; font-weight: 600; color: #1a1a1a; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-item-sub { font-size: 11px; color: #bbb; margin-bottom: 4px; }
.sl-item-price { font-size: 13px; font-weight: 700; color: #1a1a1a; }
.sl-ctrl { display: flex; align-items: center; border: 1px solid #e8e8e6; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.sl-ctrl button { background: #f5f5f3; border: none; width: 32px; height: 32px; font-size: 16px; color: #888; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sl-ctrl button:hover { color: #e63329; }
.sl-ctrl span { width: 32px; text-align: center; font-size: 13px; font-weight: 700; color: #1a1a1a; border-left: 1px solid #e8e8e6; border-right: 1px solid #e8e8e6; }
.sl-empty { padding: 48px 18px; text-align: center; color: #ccc; font-size: 13px; }
.sl-foot { padding: 14px 18px 24px; border-top: 1px solid #ebebea; flex-shrink: 0; }
.sl-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sl-total-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: #aaa; }
.sl-total-sum { font-size: 26px; font-weight: 800; color: #1a1a1a; }
.sl-total-sum sup { font-size: 14px; font-weight: 500; color: #888; margin-right: 2px; }
.sl-btn-order { width: 100%; background: #e63329; color: #fff; border: none; border-radius: 6px; padding: 15px; font-size: 13px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; cursor: pointer; }
.sl-btn-order:hover { background: #c4251b; }
.sl-btn-order:disabled { background: #ddd; color: #bbb; cursor: default; }
.sl-foot-links { display: flex; justify-content: space-between; margin-top: 10px; }
.sl-foot-links button { background: none; border: none; font-size: 11px; color: #ccc; cursor: pointer; }
.sl-foot-links button:hover { color: #e63329; }