html.cd-open{overflow:hidden}
.cd[hidden]{display:none}
.cd{position:fixed;inset:0;z-index:50}
.cd-overlay{position:absolute;inset:0;background:rgba(0,0,0,.5);opacity:0;transition:opacity .25s}
.cd-panel{position:absolute;top:0;right:0;bottom:0;display:flex;flex-direction:column;width:min(420px,100%);background:#fff;transform:translateX(100%);transition:transform .25s}
.cd.is-open .cd-overlay{opacity:1}
.cd.is-open .cd-panel{transform:none}
.cd.is-busy .cd-body,.cd.is-busy .cd-foot{opacity:.6;pointer-events:none}
.cd-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#000;color:#fff}
.cd-head h2{margin:0;font-size:24px;text-align:left;color:var(--accent)}
.cd-head button{width:36px;height:36px;border:0;background:none;color:#fff;font-size:28px;line-height:1;cursor:pointer}
.cd-body{flex:1;min-height:0;overflow-y:auto;padding:14px 16px}
.cd-progress{margin-bottom:14px;text-align:center}
.cd-progress p{margin:0 0 8px;font-weight:600;font-size:14px}
.cd-track{height:8px;border-radius:999px;background:#e8e8e8;overflow:hidden}
.cd-track span{display:block;height:100%;background:var(--accent)}
.cd-marks{display:flex;justify-content:space-between;margin-top:5px;font-size:12px;color:#555}
.cd-item{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;padding:12px 0;border-top:1px solid #eee}
.cd-item>img,.cd-noimg{width:72px;height:72px;border-radius:8px;object-fit:cover;background:#f4f4f2}
.cd-info{display:grid;gap:6px}
.cd-info small{color:#555}
.cd-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cd-remove{flex:none;display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:6px;background:none;color:#444;cursor:pointer}
.cd-remove:hover{background:#f1f1f1;color:#b00020}
.cd-qty{display:flex;align-items:center;border:1px solid #bbb;border-radius:8px;overflow:hidden}
.cd-qty button{width:32px;height:32px;border:0;background:#f7f7f7;font-size:18px;cursor:pointer}
.cd-qty button:hover{background:var(--accent-soft)}
.cd-qty span{min-width:30px;text-align:center;font-weight:600;font-size:14px}
.cd-price s{color:#888;font-size:13px}
.cd-upsells{padding-top:12px;border-top:1px solid #eee}
.cd-upsells h3{margin:0 0 10px;font-size:13px;letter-spacing:.5px;text-transform:uppercase}
.cd-upsell{display:grid;grid-template-columns:48px minmax(0,1fr) auto auto;align-items:center;gap:10px;margin-bottom:10px;font-size:14px;font-weight:600}
.cd-upsell img{width:48px;height:48px;border-radius:6px;object-fit:cover}
.cd-upsell button{padding:8px 14px;border:0;border-radius:6px;background:#000;color:var(--accent);font:600 14px Poppins,Arial,sans-serif;cursor:pointer}
.cd-foot{padding:12px 16px 14px;border-top:1px solid #ddd;background:#fff}
.cd-foot[hidden]{display:none}
.cd-line{display:flex;justify-content:space-between;margin-bottom:6px;font-weight:600}
.cd-free{color:#157a2c}
.cd-total{font-size:20px}
.cd-checkout{display:block;margin-top:10px;padding:14px;border-radius:10px;background:var(--accent);color:#000;font-weight:700;font-size:17px;text-align:center;text-decoration:none}
.cd-checkout:hover{background:#F0C53A}
.cd-block{margin:10px 0 0;padding:10px;border:2px solid var(--accent);border-radius:8px;font-weight:600;font-size:14px}
.cd-error{margin:0 0 10px;color:#b00020;font-size:14px}
.cd-pay{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:10px}
.cd-pay svg{width:38px;height:24px}
.cd-empty{padding:40px 0;text-align:center}
.cd-empty a{display:inline-block;margin-top:6px;padding:12px 20px;border-radius:10px;background:var(--accent);color:#000;font-weight:700;text-decoration:none}
