/* Reset */
* {
    box-sizing: border-box;
}

html {
    font-size: 18px; /* base más grande */
}

@media screen and (max-width: 600px) {
    html {
        font-size: 20px; /* aún más grande en móvil */
    }
}

body {
    font-family: 'Arial', sans-serif;
    padding: 20px;
    margin: 0;
    background: #1e1e1e;
    color: #fff;
}

/* Títulos */
h1, h2, h3 {
    color: #00E3EA;
    font-size: 2rem;
    margin: 20px 0;
    text-align: center;
}

/* Botones de marca y generales */
button {
    display: block;
    width: 100%;
    padding: 20px;
    margin: 15px 0;
    font-size: 1.6rem;
    font-weight: bold;
    background-color: #00E3EA;
    color: #1e1e1e;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background-color: #00cbd2;
}

/* Lista del carrito */
ul {
    list-style-type: none;
    padding: 0;
}

li {
    background: #fff;
    color: #222;
    padding: 12px 16px;
    margin: 10px 0;
    border-radius: 8px;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between; /* Separar texto y botón */
    align-items: center;
}

/* Contenedor de productos */
#productosDisponibles > div {
    background: #fff;
    color: #222;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
}

/* Inputs de cantidad */
#productosDisponibles input[type="number"] {
    width: 80px;
    height: 50px;
    font-size: 1.5rem;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    border: 2px solid #00E3EA;
}

#productosDisponibles > div {
    background: #fff;
    color: #222;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
}

#productosDisponibles button {
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 1.4rem;
    border-radius: 50%;
    background-color: #00E3EA;
    color: #1e1e1e;
    border: none;
    cursor: pointer;
}

#productosDisponibles input[type="number"] {
    width: 70px;
    height: 40px;
    font-size: 1.4rem;
    text-align: center;
    border-radius: 8px;
    border: 2px solid #00E3EA;
}

.btn-eliminar {
    background: transparent;
    border: none;
    color: #ff4d4d;
    font-weight: bold;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    vertical-align: middle;
    width: auto; /* Que no ocupe todo el ancho */
    transition: color 0.3s ease;
    flex-shrink: 0; /* Que no reduzca su tamaño */
}

.btn-eliminar:hover {
    color: #ff1a1a;
}
/* Responsive (por si el usuario está en pantalla chica) */
@media screen and (max-width: 600px) {
    body {
        padding: 10px;
    }

    h1, h2, h3 {
        font-size: 1.8rem;
    }

    button {
        padding: 24px;
        font-size: 1.8rem;
    }

    li {
        font-size: 1.4rem;
        padding: 18px;
    }

    #productosDisponibles input[type="number"] {
        width: 70px;
        height: 50px;
        font-size: 1.4rem;
    }
}