:root {
    --rosado-fuerte: #EC4899;
    --rosado-semifuerte: #EB62A6;
    --rosado: #E77EB1;
    --rosado-suave: #F5BED9;
    --gris-claro: #EDEDED;
    --blanco: #FFFFFF;
    --negro: #000000;
    --titulos: 'Fredoka', impact;
    --parrafos: 'Montserrat', sans-serif;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.carrito {
    flex: 1;
    padding-left: 120px;
    padding-right: 120px;
}
.pie-pagina, .footer {
    margin-top: auto;
}
.carrito-contenido table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-radius: 12px;
    font-size: 1.1rem;
    overflow: hidden;
}
.carrito-contenido th, 
.carrito-contenido td {
    font-size: 1.5rem;
    padding: 18px 10px;
    text-align: center;
    vertical-align: middle;
}
.carrito-contenido th {
    background: #f8d3e0;
    color: var(--rosado-fuerte);
    font-size: 1.6rem;
    font-weight: bold;
    border: none;
}
.carrito-contenido td, .carrito-contenido th {
    font-family: var(--parrafos);
}
.carrito-contenido td {
    color: #3d2b1f;
    font-size: 1.5rem;
    border: none;
}
.carrito-contenido td:first-child {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-start;
    padding-left: 24px;
}
.carrito-contenido img {
    border-radius: 8px;
    width: 60px;
    height: 60px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.carrito-contenido button {
    background: var(--rosado-fuerte);
    color: #fff;
    border: none;
    padding: 8px 18px;
    margin: 0 2px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.2s;
}
.carrito-contenido button:hover {
    background:var(--rosado-semifuerte);
}
.carrito h1 {
    text-align: left;
    color: var(--rosado-fuerte);
    font-size: 3rem;
    margin-bottom: 20px;
    font-family: var(--titulos);
    font-weight: bold;
    margin-left: 0;
}
.carrito-contenido p {
    text-align: center;
    font-size: 2.5rem;
    color: var(--rosado-fuerte);
    font-weight: bold;
    margin: 60px 0;
    font-family: var(--parrafos);
}

/* BOTON DE WHATSAPP */
.btn-whatsapp {
    position: fixed;
    bottom: 120px; /* tamaño*/
    right: 40px;
    background: var(--rosado-fuerte);
    color: #fff;
    border: 2px solid #fff;
    padding: 16px 36px;
    border-radius: 40px;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s, box-shadow 0.2s;
    font-family: var(--parrafos);
}
.btn-whatsapp:hover {
    background: var(--rosado-semifuerte);
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.btn-whatsapp i {
    font-size: 1.5rem;
}

/* RESPONSIVE PARA EL CARRITO */
@media (max-width: 900px) {
    .carrito {
        padding-left: 20px;
        padding-right: 20px;
    }
    .carrito-contenido table {
        font-size: 1rem;
    }
    .carrito-contenido th, .carrito-contenido td {
        padding: 10px 4px;
    }
}
@media (max-width: 600px) {
    .carrito-contenido td:first-child {
        flex-direction: column;
        align-items: center;
    }
    .carrito-contenido img {
        width: 50px;
        height: 50px;
    }
    .carrito h1 {
        font-size: 1.5rem;
        margin-left: 0;
    }
    /* Responsive para el botón de WhatsApp */
    .btn-whatsapp {
        right: 10px;
        bottom: 90px;
        padding: 10px 18px;
        font-size: 1rem;
        border-radius: 30px;
        gap: 8px;
    }
    .btn-whatsapp i {
        font-size: 1.1rem;
    }
}
@media (max-width: 400px) {
    .carrito-contenido table {
        font-size: 0.9rem;
    }
    .carrito-contenido th, .carrito-contenido td {
        padding: 8px 2px;
    }
    .carrito h1 {
        font-size: 1.3rem;
        margin-left: 0;
    }
    .btn-whatsapp {
        right: 4px;
        bottom: 70px;
        padding: 8px 10px;
        font-size: 0.9rem;
        border-radius: 22px;
        gap: 5px;
    }
    .btn-whatsapp i {
        font-size: 1rem;
    }
}
