* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f0f11;
    color: #ffffff;
    display: flex;
    justify-content: center;
    padding: 30px 20px;
}

.container {
    max-width: 600px;
    width: 100%;
}

h1 {
    color: #e20074;
    text-align: center;
    margin-bottom: 5px;
    text-transform: uppercase;
}

p.subtitle {
    color: #a0a0ab;
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.product-card, .cart-card {
    background-color: #1a1a1e;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #2a2a30;
}

.product-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.price {
    color: #e20074;
    font-weight: bold;
    margin-bottom: 15px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #e20074;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #c00062;
}

button:disabled {
    background-color: #444;
    cursor: not-allowed;
}

.cart-card h2 {
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid #2a2a30;
    padding-bottom: 10px;
}

#lista-carrito {
    list-style: none;
    margin-bottom: 15px;
}

#lista-carrito li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #25252b;
    font-size: 14px;
}

.empty-cart {
    color: #777;
}

.total-box {
    text-align: right;
    font-size: 18px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    font-size: 12px;
    color: #ccc;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 10px;
    background: #0f0f11;
    border: 1px solid #33333d;
    border-radius: 6px;
    color: #fff;
    outline: none;
}

input:focus {
    border-color: #e20074;
}

/* Modal */
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: #1a1a1e;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    border: 1px solid #333;
}

.qr-box {
    background: #25252b;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.qr-img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
}

.btn-cancel {
    background: transparent;
    border: 1px solid #555;
    margin-top: 8px;
}

.hidden { display: none; }
.status-box { margin-top: 15px; padding: 10px; border-radius: 6px; font-size: 13px; }
.success { background: #1b4332; color: #75ecb4; border: 1px solid #75ecb4; }
.error { background: #4a151b; color: #ff9ebb; border: 1px solid #ff9ebb; }
