.cart-overlay{
    position:fixed;
    inset:0;
    background:rgba(16,22,47,.42);
    opacity:0;
    pointer-events:none;
    transition:.2s ease;
    z-index:90;
}
.cart-overlay.ativo{
    opacity:1;
    pointer-events:auto;
}
.cart-drawer{
    position:fixed;
    top:0;
    right:0;
    width:min(430px,100vw);
    height:100vh;
    background:#fff;
    box-shadow:-24px 0 48px rgba(16,22,47,.18);
    z-index:91;
    transform:translateX(105%);
    transition:.25s ease;
    display:flex;
    flex-direction:column;
}
.cart-drawer.ativo{transform:translateX(0)}
.cart-head{
    padding:22px;
    border-bottom:1px solid #e3e9f2;
    display:flex;
    justify-content:space-between;
    gap:16px;
}
.cart-head strong{display:block;font-size:22px;color:#10162f}
.cart-head span{display:block;color:#65728a;font-size:13px;margin-top:4px}
.cart-head button{
    width:38px;height:38px;border:0;border-radius:999px;background:#f1f5f9;font-weight:900;
}
.cart-items{padding:18px;overflow:auto;flex:1;display:grid;gap:12px;align-content:start}
.cart-empty{
    color:#65728a;
    border:1px dashed #cbd5e1;
    padding:24px;
    border-radius:14px;
    text-align:center;
    font-weight:800;
}
.cart-item{
    display:grid;
    grid-template-columns:72px 1fr;
    gap:12px;
    border:1px solid #e3e9f2;
    border-radius:14px;
    padding:10px;
}
.cart-item img{width:72px;height:72px;object-fit:contain;border-radius:10px;background:#f8fafc}
.cart-item h4{margin:0;color:#10162f;font-size:14px;line-height:1.25}
.cart-item small{display:block;color:#65728a;margin:3px 0 8px}
.cart-line{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}
.cart-qty{display:inline-flex;border:1px solid #e3e9f2;border-radius:999px;overflow:hidden}
.cart-qty button{width:30px;height:30px;border:0;background:#f8fafc;font-weight:900}
.cart-qty span{width:34px;display:inline-flex;align-items:center;justify-content:center;font-weight:900}
.cart-remove{
    border:0;
    background:transparent;
    color:#b91c1c;
    font-size:12px;
    font-weight:900;
}
.cart-foot{
    padding:18px;
    border-top:1px solid #e3e9f2;
}
.cart-total-line{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:12px;
}
.cart-total-line strong{font-size:22px;color:#10162f}
.cart-checkout,.cart-continue{
    width:100%;
    min-height:48px;
    border-radius:12px;
    border:0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
}
.cart-checkout{background:#ec008c;color:#fff}
.cart-continue{background:#f1f5f9;color:#10162f;margin-top:8px}
