/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {

    font-family: 'Segoe UI', sans-serif;

    background: linear-gradient(to bottom, #f3e5f5, #f8edff);

    color: #2e2e2e;
}

/* HEADER */
header {

    background-image: url("banner.png");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    height: 260px;

    width: 100%;
}

/* NAV */
nav {

    background: linear-gradient(90deg, #8e24aa, #ba68c8);

    padding: 16px;

    text-align: center;

    box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
}

nav a {

    color: white;

    margin: 15px;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s;

    font-size: 18px;
}

nav a:hover {

    color: #f3d9ff;

    transform: scale(1.05);
}

/* CONTENEDOR */
.contenedor {

    display: flex;

    justify-content: center;

    gap: 30px;

    margin: 60px 40px;

    flex-wrap: wrap;
}

/* CARDS */
.card {

    background: rgba(255,255,255,0.82);

    backdrop-filter: blur(10px);

    padding: 22px;

    width: 210px;

    border-radius: 20px;

    text-align: center;

    border: 1px solid rgba(255,255,255,0.5);

    box-shadow: 0px 10px 25px rgba(0,0,0,0.12);

    transition: 0.3s;
}

/* EFECTO CARD */
.card:hover {

    transform: translateY(-5px) scale(1.03);

    box-shadow: 0px 14px 30px rgba(0,0,0,0.18);
}

/* IMAGENES */
.card img {

    width: 100%;

    height: 130px;

    object-fit: cover;

    border-radius: 12px;

    margin-bottom: 10px;
}

/* TITULOS */
.card h2 {

    color: #7b1fa2;

    margin-bottom: 10px;

    font-size: 24px;
}

/* PRECIO */
.precio {

    color: #8e24aa;

    font-weight: bold;

    margin-top: 10px;

    font-size: 18px;
}

/* BOTONES */
button {

    margin-top: 15px;

    padding: 11px 18px;

    border: none;

    background: linear-gradient(135deg, #a855f7, #7e22ce);

    color: white;

    border-radius: 10px;

    cursor: pointer;

    transition: 0.3s;

    font-weight: bold;

    font-size: 15px;
}

button:hover {

    background: linear-gradient(135deg, #9333ea, #6b21a8);

    transform: scale(1.05);
}

/* FOOTER */
footer {

    background: linear-gradient(90deg, #8e24aa, #ba68c8);

    color: white;

    text-align: center;

    padding: 25px;

    margin-top: 40px;
}

/* REDES SOCIALES */
.redes a {

    color: black;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s;

    line-height: 30px;
}

.redes a:hover {

    color: #6A1B9A;
}

/* CARRITO CANTIDAD */
.cantidad-container {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    margin-top: 15px;
}

.cantidad-input {

    width: 55px;

    height: 38px;

    text-align: center;

    border: 2px solid #8e44ad;

    border-radius: 10px;

    font-size: 18px;

    font-weight: bold;

    background-color: #f3e8ff;

    color: #5e3370;
}

.cantidad-container button {

    width: 38px;

    height: 38px;

    border: none;

    border-radius: 10px;

    cursor: pointer;

    font-size: 22px;

    font-weight: bold;

    background: linear-gradient(135deg, #a855f7, #7e22ce);

    color: white;

    transition: 0.3s;
}

.cantidad-container button:hover {

    transform: scale(1.1);

    background: linear-gradient(135deg, #9333ea, #6b21a8);
}

/* SELECT PAGOS */
select {

    width: 100%;

    padding: 10px;

    border-radius: 10px;

    border: 2px solid #ba68c8;

    outline: none;

    font-size: 15px;
}

/* RESPONSIVE */
@media (max-width: 600px) {

    header {

        height: 180px;

        background-position: center;
    }

    .contenedor {

        flex-direction: column;

        align-items: center;

        margin: 40px 20px;
    }

    .card {

        width: 90%;
    }

    nav a {

        display: inline-block;

        margin: 10px;
    }
}
