#cd-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(440px,100%);height:100%;max-height:100%;max-width:100%;border:0;padding:0;background:#fff;color:#171717;box-shadow:-12px 0 50px #0002;box-sizing:border-box}#cd-dialog::backdrop{background:#0007}#cd-dialog[open]{display:flex;flex-direction:column} .cd-head{display:flex;justify-content:space-between;align-items:center;padding:22px;border-bottom:1px solid #eee}.cd-head h2{margin:0;font-size:22px}.cd-head button{font-size:26px;border:0;background:transparent;cursor:pointer}.cd-body{padding:20px;overflow:auto;flex:1}.cd-line{display:grid;gap:8px;padding:16px 0;border-bottom:1px solid #eee}.cd-line small,.cd-note{color:#666}.cd-line form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.cd-line input{width:58px;padding:7px}.cd-line button{border:1px solid #ddd;background:white;border-radius:6px;padding:8px;cursor:pointer}.cd-total{display:flex;justify-content:space-between;gap:10px;margin:24px 0 16px;font-size:18px}.cd-checkout{width:100%;background:#222;color:white;border:0;border-radius:8px;padding:15px;font-weight:700;cursor:pointer}.cd-empty{padding:35px 0;text-align:center}.cd-message{background:#f4f4f4;padding:12px;border-radius:8px}.cd-note{font-size:12px}body:has(#cd-dialog[open]){overflow:hidden}