*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{--primary:#D9032C;--secondary:#FFE9ED;--border:#D7D7D7}
html,body{font-family:'Inter',system-ui,sans-serif;background:#fff;color:#0A0A0A;font-size:16px;line-height:1.5;min-height:100%}
a{color:inherit;text-decoration:none}
button,input,select{font-family:inherit}
.top{display:flex;align-items:center;gap:16px;padding:14px 14px 10px}
.back{width:34px;height:34px;border:none;background:none;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:9999px}
.back:hover{background:#f5f5f5}
.progress{flex:1;height:4px;background:#e5e5e5;border-radius:9999px;overflow:hidden}
.progress i{display:block;height:100%;background:var(--primary);border-radius:9999px;transition:width .35s}
.body{flex:1;overflow-y:auto;overflow-x:hidden;padding:6px 14px 20px;display:flex;flex-direction:column;gap:18px}
h1{font-size:22px;font-weight:600;line-height:1.3}
.sub{font-size:13px;color:#4b4b4b;margin-top:4px}
label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}
label small{font-weight:400;color:#707070}
.field{display:flex;align-items:center;gap:10px;height:44px;border:1px solid var(--border);border-radius:12px;padding:0 14px;background:#fff;transition:border-color .15s}
.field:focus-within{border-color:#AAA}
.field.bad{border-color:var(--primary)}
.field input,.field select{flex:1;border:none;outline:none;background:transparent;font-size:14px;min-width:0}
.field input::placeholder{color:#AAA}
.field svg{width:20px;height:20px;color:var(--primary);flex-shrink:0}
.row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.row>div{min-width:0}
.btn{width:100%;height:46px;border:none;border-radius:12px;background:var(--primary);color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:transform .15s,background .15s;display:flex;align-items:center;justify-content:center;gap:8px}
.btn:active{transform:scale(.97)}
.btn:disabled{background:#D5D5D5;color:#9A9A9A;cursor:not-allowed}
.btn.ghost{background:#fff;color:#0A0A0A;border:1px solid var(--border)}
.foot{padding:12px 14px 16px;border-top:1px solid #f0f0f0;display:flex;flex-direction:column;gap:10px}
.total{display:flex;justify-content:space-between;font-size:14px}
.total b{font-size:16px}
.total small{font-size:12px;color:#707070}
.items{display:flex;flex-direction:column;gap:12px}
.item{display:flex;gap:12px;align-items:center;border:1px solid #E5E5E5;border-radius:16px;padding:10px}
.item img{width:58px;height:66px;object-fit:contain;flex-shrink:0;mix-blend-mode:multiply}
.item .in{flex:1;min-width:0}
.item .n{font-size:13px;font-weight:600;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.item .c{font-size:11px;color:#707070}
.item .p{font-size:14px;font-weight:600;margin-top:4px}
.qty{display:flex;flex-direction:column;align-items:center;gap:3px}
.qb{width:28px;height:28px;border-radius:9999px;border:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.qb svg{width:26px}
.qn{font-weight:600;font-size:15px}
.empty{text-align:center;padding:40px 10px;display:flex;flex-direction:column;gap:10px;align-items:center}
.empty h2{font-size:20px;font-weight:600}
.empty p{font-size:13px;color:#4b4b4b}
.coupon{display:flex;align-items:center;gap:10px;height:46px;border:1px solid var(--border);border-radius:9999px;padding:0 8px 0 14px}
.coupon img{width:24px;height:24px;object-fit:contain}
.coupon input{flex:1;border:none;outline:none;font-size:13px;min-width:0}
.coupon button{height:30px;width:80px;border-radius:9999px;border:none;font-size:12px;font-weight:500;background:#D5D5D5;color:#9A9A9A;cursor:not-allowed}
.coupon input:not(:placeholder-shown)+button{background:var(--primary);color:#fff;cursor:pointer}
.opts{display:flex;flex-direction:column;gap:10px}
.opt{display:flex;align-items:center;gap:12px;border:1px solid #E5E5E5;border-radius:16px;padding:14px;cursor:pointer;transition:all .15s;user-select:none}
.opt.on{border-color:var(--primary);background:var(--secondary)}
.radio{width:22px;height:22px;border-radius:9999px;border:1px solid var(--border);background:#fff;flex-shrink:0;transition:all .15s}
.opt.on .radio{border:6px solid var(--primary)}
.opt .t{font-size:14px;font-weight:600}
.opt .d{font-size:12px;color:#707070}
.opt .v{margin-left:auto;font-size:13px;font-weight:600;white-space:nowrap}
.opt .v.free{color:#1a9d3e}
.summary{border:1px solid #E5E5E5;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:8px;font-size:13px}
.summary div{display:flex;justify-content:space-between}
.summary .tt{border-top:1px solid #E5E5E5;padding-top:8px;font-weight:600;font-size:15px}
.pix{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.pix img{width:220px;height:220px;border:1px solid #E5E5E5;border-radius:16px;padding:8px;background:#fff}
.pix code{font-size:11px;word-break:break-all;background:#f7f7f7;border-radius:10px;padding:10px;color:#4b4b4b;text-align:left;width:100%}
.pix .timer{font-size:13px;color:#707070}
.status{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:#707070}
.status .dot{width:10px;height:10px;border-radius:9999px;background:#f5a623;animation:blink 1s infinite}
.status.paid{color:#1a9d3e}.status.paid .dot{background:#1a9d3e;animation:none}
@keyframes blink{50%{opacity:.3}}
.ok{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:20px 0 6px}
.ok .ck{width:72px;height:72px;border-radius:9999px;background:var(--secondary);display:flex;align-items:center;justify-content:center;color:var(--primary)}
.ok h2{font-size:22px;font-weight:600}
.ok p{font-size:13px;color:#4b4b4b}
.spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:9999px;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.hidden{display:none!important}
