.scd{position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,100%);height:100%;height:100dvh;max-width:100%;max-height:100dvh;padding:0;border:0;border-left:1px solid #383a3d;background:#17181a;color:#f5f5f5;box-shadow:-20px 0 70px #0006;overflow:hidden;transform:translateX(100%);transition:transform .24s ease,display .24s allow-discrete,overlay .24s allow-discrete}
.scd[open]{transform:translateX(0)}
.scd::backdrop{background:#0009;backdrop-filter:blur(2px)}
@starting-style{.scd[open]{transform:translateX(100%)}}
.scd .scd-panel{height:100%;display:flex;flex-direction:column;min-height:0}
.scd .scd-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 24px;border-bottom:1px solid #35373a;flex-shrink:0}
.scd h2{font-size:24px;line-height:1.25;margin:0;letter-spacing:-.5px}
.scd [data-drawer-count]{display:inline-flex;font:600 12px/1 sans-serif;border-radius:20px;background:#303235;padding:6px 9px;vertical-align:middle;margin-left:8px}
.scd button{font:inherit;cursor:pointer;letter-spacing:normal;text-transform:none}
.scd .scd-close{width:44px;height:44px;padding:0;border:1px solid #444;border-radius:50%;background:transparent;color:#fff;font-size:28px;flex-shrink:0}
.scd .scd-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 24px}
.scd .scd-item{display:grid;grid-template-columns:80px minmax(0,1fr);gap:16px;padding:24px 0;border-bottom:1px solid #35373a}
.scd .scd-image{width:80px;height:112px;object-fit:contain;border-radius:6px;background:#0a0a0a}
.scd .scd-item-head{display:flex;align-items:start;gap:12px;justify-content:space-between}
.scd .scd-item-title{font-weight:700;font-size:14px;line-height:1.4;overflow-wrap:anywhere;color:#fff;text-decoration:none}
.scd .scd-line-total{font-size:14px;white-space:nowrap;font-weight:700;font-variant-numeric:tabular-nums}
.scd .scd-meta{font-size:12px;color:#b7b9bd;line-height:1.5;margin:6px 0;overflow-wrap:anywhere}
.scd .scd-price{font-size:12px;color:#b7b9bd;margin:6px 0 12px}
.scd .scd-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.scd .scd-quantity{display:flex;align-items:center;border:1px solid #46484b;border-radius:10px;overflow:hidden}
.scd .scd-quantity button{width:40px;height:40px;padding:0;border:0;border-radius:0;background:#242629;color:#fff;font-size:20px}
.scd .scd-quantity input{width:44px;height:40px;min-height:0;padding:0;border:0;border-radius:0;background:transparent;text-align:center;color:#fff;font-size:14px;appearance:textfield;-moz-appearance:textfield}
.scd .scd-quantity input::-webkit-inner-spin-button,.scd .scd-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.scd .scd-remove{background:none;border:0;padding:10px 0;color:#bbb;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.scd .scd-footer{padding:20px 24px max(18px,env(safe-area-inset-bottom));border-top:1px solid #414347;flex-shrink:0;background:#1c1d1f}
.scd .scd-subtotal{display:flex;justify-content:space-between;gap:20px;font-size:18px;font-weight:700}
.scd .scd-footer p{color:#aaaeb3;font-size:12px;line-height:1.5;margin:10px 0 16px}
.scd .scd-checkout{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:50px;padding:15px 18px;background:#e8e8e6;border:0;border-radius:9px;color:#111;font-weight:800;font-size:13px;text-transform:uppercase;letter-spacing:1px}
.scd .scd-continue{width:100%;background:transparent;border:0;color:#ddd;padding:14px 8px 0;font-size:13px}
.scd .scd-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:250px;text-align:center;gap:16px}
.scd .scd-empty p{font-size:19px;font-weight:600}
.scd .scd-empty button{border:1px solid #555;border-radius:8px;background:#292b2e;padding:12px 20px;color:#fff}
.scd .scd-error{margin:12px 24px 0;padding:12px;border:1px solid #8c4e4e;border-radius:8px;background:#402727;color:#ffd4d4;font-size:13px;flex-shrink:0}
.scd [hidden]{display:none!important}.scd button:disabled,.scd input:disabled{opacity:.45;cursor:wait}.scd :focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:400px){.scd .scd-header,.scd .scd-footer{padding-left:16px;padding-right:16px}.scd .scd-content{padding:0 16px}.scd .scd-item{grid-template-columns:66px minmax(0,1fr);gap:12px}.scd .scd-image{width:66px;height:94px}.scd .scd-item-head{flex-wrap:wrap;gap:6px}}
@media(prefers-reduced-motion:reduce){.scd{transition:none}}
[data-quick-add] [hidden]{display:none!important}
.card [data-stepper]{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:48px;border:2px solid #353638;border-radius:11px;background:#27282a;overflow:hidden}
.card [data-stepper] button{flex:0 0 44px;width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:8px;background:#202123;color:#eee;font-size:22px;cursor:pointer}
.card [data-stepper] button:disabled{opacity:.35;cursor:not-allowed}
.card [data-stepper] .quantity-middle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;line-height:1.15}
.card [data-stepper] strong{font-size:16px;font-variant-numeric:tabular-nums}
.card [data-stepper] small{font-size:8px;letter-spacing:.3px;text-transform:uppercase;color:#aaa;font-weight:700}
.card [data-stepper] button:focus-visible{outline:2px solid #fff;outline-offset:-3px}
