.mp-cart-back[hidden] { display: none !important; }
.mp-cart-back {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    justify-content: flex-end;
    background: rgba(2, 6, 23, 0.55);
}
.mp-cart-drawer {
    width: min(380px, 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(22, 31, 54, 0.92);
    border-left: 1px solid rgba(96, 165, 250, 0.35);
    box-shadow: -16px 0 40px rgba(2, 6, 23, 0.5), 0 0 24px rgba(37, 99, 235, 0.18);
    backdrop-filter: blur(18px);
    color: #e2e8f0;
    animation: mpCartIn 0.22s ease;
}
@keyframes mpCartIn {
    from { transform: translateX(28px); }
    to { transform: none; }
}
.mp-cart-head, .mp-cart-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.22);
}
.mp-cart-head h2 { margin: 0; font-size: 18px; }
.mp-cart-head button {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    background: #10192c;
    color: #e2e8f0;
    cursor: pointer;
}
#mpCartLines {
    flex: 1;
    overflow: auto;
    padding: 12px 16px;
    display: grid;
    align-content: start;
    gap: 10px;
}
.mp-cart-line {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border-radius: 14px;
    background: rgba(11, 17, 32, 0.55);
    border: 1px solid rgba(59, 130, 246, 0.2);
}
.mp-cart-line img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    background: #10192c;
}
.mp-cart-fallback {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    font-weight: 800;
}
.mp-cart-line strong { display: block; font-size: 14px; }
.mp-cart-line p { margin: 4px 0 0; color: #facc15; font-weight: 700; }
.mp-cart-qty { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.mp-cart-qty button {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    background: #10192c;
    color: #e2e8f0;
    cursor: pointer;
}
.mp-cart-qty [data-remove] { margin-left: auto; width: 32px; }
.mp-cart-empty { margin: 0; color: #8b9bb8; }
.mp-cart-foot {
    display: grid;
    gap: 10px;
    border-bottom: 0;
    border-top: 1px solid rgba(59, 130, 246, 0.22);
}
.mp-cart-foot div { display: flex; justify-content: space-between; width: 100%; }
.mp-cart-foot strong { color: #facc15; }
.mp-checkout {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 12px;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(90deg, #7c3aed, #2563eb);
}
.mp-checkout:disabled { opacity: 0.45; cursor: default; }
.mp-check-back[hidden] { display: none !important; }
.mp-check-back {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(2, 6, 23, 0.62);
}
.mp-check-card {
    width: min(440px, 100%);
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(22, 31, 54, 0.94);
    border: 1px solid rgba(96, 165, 250, 0.35);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.5);
    backdrop-filter: blur(18px);
    color: #e2e8f0;
}
.mp-check-head, .mp-check-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mp-check-head h2 { margin: 0; }
.mp-check-head button, #mpCheckBackBtn {
    border-radius: 10px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    background: #10192c;
    color: #e2e8f0;
    cursor: pointer;
}
.mp-check-head button { width: 32px; height: 32px; }
#mpCheckBackBtn { padding: 10px 14px; }
.mp-steps { display: flex; gap: 8px; }
.mp-steps span {
    flex: 1;
    text-align: center;
    font-size: 12px;
    padding: 6px 4px;
    border-radius: 999px;
    color: #8b9bb8;
    border: 1px solid rgba(96, 165, 250, 0.25);
}
.mp-steps span.on { color: #fff; background: rgba(37, 99, 235, 0.35); }
.mp-check-card label { display: grid; gap: 4px; font-size: 13px; margin-bottom: 8px; }
.mp-check-card input[type="text"], .mp-check-card input:not([type="radio"]) {
    border-radius: 10px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    background: #10192c;
    color: #e2e8f0;
    padding: 10px 12px;
}
.mp-pay { display: flex !important; align-items: center; gap: 8px; }
.mp-review { margin: 0; padding-left: 18px; }
.mp-review-total { color: #facc15; font-weight: 800; }
.mp-check-note { margin: 0; color: #fecaca; }
.mp-wa { color: #93c5fd; font-weight: 700; }
