@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");
@import url('https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css');
@import url('https://fonts.cdnfonts.com/css/self-deception');

body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #ffd6e8, #ffe6f9, #fddde6);
    background-size: 300% 300%;
    animation: gradientBG 12s ease infinite;
    margin: 0;
    color: #333;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ======== SCROLLBAR ======== */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #ff80ab, #ff4081);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #f50057, #c51162);
}

/* ======== CONTENEDOR ======== */
.container {
    max-width: 1200px;
}
.row {
    row-gap: 35px;
}

/* ======== TARJETAS ======== */
.card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    box-shadow: 0 6px 15px rgba(255,64,129,0.15);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255,64,129,0.25);
}

.card-img-top {
    width: 100%;
    height: 150px;
    object-fit: contain;
    padding: 10px;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.card-body {
    text-align: center;
    padding: 15px;
    margin-top: 15px;
}
.card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ff4081;
}

/* ======== BOTONES CATEGORÍAS ======== */
.btn-categoria {
    background: linear-gradient(90deg, #ff4081, #f50057) !important;
    color: white !important;
    font-weight: 500;
    border-radius: 5px;
    padding: 6px 14px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 3px 8px rgba(255,64,129,0.3);
}
.btn-categoria:hover {
    background: linear-gradient(90deg, #f50057, #c51162) !important;
    transform: scale(1.07);
    box-shadow: 0 5px 12px rgba(255,64,129,0.4);
}

/* ======== RESPONSIVIDAD ======== */
@media (max-width: 768px) {
    .categorias1 ul, .categorias2 ul { flex-direction: column; align-items: center; }
    .categorias1 li, .categorias2 li { width: 85%; }
    .categorias1 li img, .categorias2 li img { width: 50px; }
}
@media (max-width: 480px) {
    .categorias1 li img, .categorias2 li img { width: 45px; }
}