*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#F4F0E4;
    font-family:'Poppins', sans-serif;
    overflow-x:hidden;
}

/* IMÁGENES */

img{
    max-width:100%;
    display:block;
}

/* NAVBAR */

.custom-nav{
    background:#f0eada;

    padding:12px 0;

    position:fixed;

    width:100%;

    top:0;

    left:0;

    z-index:1000;
}

.nav-logo{
    width:70px;
}

.nav-icons i{
    font-size:24px;

    margin-left:20px;

    cursor:pointer;

    color:#8A008A;

    transition:.3s;
}

.nav-icons i:hover{
    color:#640064;
}

/* HERO */

.hero{
    width:100%;

    min-height:75vh;

    display:flex;

    flex-direction:column;

    align-items:center;

    overflow:hidden;

    padding-top:70px;
}

/* IMAGEN HERO */

.hero-logo{
    width:100vw;

    display:block;

    object-fit:cover;
}

/* CONTENIDO HERO */

.hero-content{
    width:100%;

    background:#03c4c9;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    padding:45px 20px 60px;
}

/* TEXTO */

.hero-text{
    font-size:30px;

    color:#ffffff;

    margin-bottom:35px;
}

/* BOTÓN */

.custom-btn{
    background:#A000A0;

    color:white;

    border:none;

    border-radius:40px;

    padding:15px 55px;

    font-size:20px;

    transition:.3s;
}

.custom-btn:hover{
    background:#700070;

    color:white;
}
/* FRASE */

.phrase{
    text-align:center;

    font-size:30px;

    font-weight:bold;

    color:#8A008A;

    padding:60px 20px;
}


/* CATEGORÍAS */

.category-card{
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.category-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.category-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-overlay h3{
    color: white;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 1px;
}

.category-card:hover .category-overlay{
    opacity: 1;
}

.category-card:hover .category-img{
    transform: scale(1.08);
}
/* PRODUCTOS */

.product-card{
    text-align:center;

    transition:.3s;
}

.product-card:hover{
    transform:translateY(-5px);
}

.product-image{
    background:#19C2CC;

    height:250px;

    border-radius:25px;

    display:flex;

    justify-content:center;

    align-items:center;

    overflow:hidden;
}

.product-image img{
    width:100%;

    height:100%;

    object-fit:cover;
}

.product-btn{
    background:#03c4c9;

    color:white;

    border:none;

    border-radius:25px;

    padding:10px 25px;

    transition:.3s;
}

.product-btn:hover{
    background:#640064;
}

/* FOOTER */

.footer{
    background:#E8C4D7;

    text-align:center;

    padding:70px 20px;

    margin-top:80px;
}

/* RESPONSIVE */

@media(max-width:768px){

    .nav-logo{
        width:55px;
    }

    .nav-icons i{
        font-size:20px;

        margin-left:15px;
    }

    .hero-logo{
        width:140vw;
    }

    .hero-text{
        font-size:18px;
    }

    .custom-btn{
        font-size:16px;

        padding:12px 35px;
    }

    .category-card{
        height:180px;

        font-size:24px;
    }

    .product-image{
        height:180px;
    }

}
.schedule-section{
    
    background: #8A008A;
    max-width: 700px;
    margin: 60px auto;
    padding: 50px 30px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}

.schedule-section h2{
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 700;
}

.schedule-section p{
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.schedule-section .glow-text{
    margin-top: 25px;
    color: #ffffff;
    font-style: italic;
}

.products-hero{
    padding: 100px 20px;
    text-align: center;
    background: #f8f4f1;
}

.products-hero h1{
    font-size: 4rem;
    font-weight: 700;
}

.products-hero p{
    font-size: 1.2rem;
    color: #777;
}

.product-card{
    background: white;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: .3s;
    height: 100%;
}

.product-card:hover{
    transform: translateY(-8px);
}

.product-card img{
    border-radius: 15px;
    margin-bottom: 15px;
}

.product-btn{
    border-radius: 30px;
    padding: 10px 25px;
}

/* SIDEBAR CATEGORÍAS */

.category-sidebar{
    background: #f7f2e8;
    padding: 30px;
    border-radius: 20px;
    position: sticky;
    top: 100px;
}

.category-sidebar h4{
    color: #b88be8;
    font-weight: 700;
    margin-bottom: 25px;
}

.category-sidebar ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-sidebar li{
    margin-bottom: 18px;
}

.category-sidebar a{
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    transition: .3s;
}

.category-sidebar a:hover{
    color: #b88be8;
    padding-left: 8px;
}

html{
    scroll-behavior:smooth;
}

.search-box {
  display: none; /* 🔥 esto es lo más importante */
  position: absolute;
  top: 80px;
  right: 20px;
  z-index: 1000;
}

.search-box input {
  border: none;
  outline: none;
  background: white;
}
.product-card img {
    width: 100%;
    height: 250px;      /* mismo alto para todas */
    object-fit: cover;  /* recorta sin deformar */
    border-radius: 10px; /* opcional aesthetic */
}

.card {
    background-color: #f0eada68; /* color del fondo */
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn-secondary {
    background-color: #cba6f7;
    border-color: #cba6f7;
    color: white;
}

.btn-secondary:hover {
    background-color: #b38be0;
    border-color: #b38be0;
}
.btn-danger {
    background-color: #ff7aa2;
    border-color: #ff7aa2;
}

.btn-danger:hover {
    background-color: #ff5d8d;
    border-color: #ff5d8d;
}
.btn-dark {
    background-color: #8b5cf6;
    border-color: #8b5cf6;
}

.btn-dark:hover {
    background-color: #7c3aed;
    border-color: #7c3aed;
}
.card img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

/* FONDO SOLO DEL CARRITO */

body.carrito-page{
    background-color: #03c4c9;
    min-height: 100vh;
}

/* CONTENEDOR DEL CARRITO */

.carrito-page .container.py-5{
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
}

/* TARJETAS DE PRODUCTOS */

.carrito-page .card{
    border: none;
    border-radius: 15px;
    background: #fff8fc;
}

/* IMÁGENES */

.carrito-page .card img{
    width: 300px;
    height: 300px;
    object-fit: cover;
}

/* BOTONES + Y - */

.carrito-page .btn-secondary{
    background-color: #8A008A;
    border-color: #8A008A;
}

/* BOTÓN ELIMINAR */

.carrito-page .btn-danger{
    background-color: #03c4c9;
    border-color: #03c4c9;
}
.carrito-page .btn-dark{
    background-color: #8A008A;
    border-color: #8A008A;
    color: white;
}

.carrito-page .btn-dark:hover{
    background-color: #8a008a70;
    border-color: #8A008A;
}


.btn-success{
    background-color: #c3d633;
    border-color: #d63384;
}

.btn-success:hover{
    background-color: #b0256f;
    border-color: #b0256f;
}

.form-control{
    border-radius: 12px;
}
.form-control,
.form-select{
    border-radius: 12px;
}

.btn-success{
    background-color: #8A008A;
    border-color: #8A008A;
}

.btn-success:hover{
    background-color: #03c4c9;
    border-color: #03c4c9;
}