*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:#0f172a;
    color:#fff;
    min-height:100vh;
}

/*
|----------------------------------------------------------
| CONTENEDOR
|----------------------------------------------------------
*/

.contenedor{
    width:100%;
    max-width:1400px;
    margin:auto;
    padding:30px 20px 60px;
}

/*
|----------------------------------------------------------
| HEADER
|----------------------------------------------------------
*/

.header{
    text-align:center;
    margin-bottom:35px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.header h1{
    font-size:42px;
    margin-bottom:10px;
    color:#ffffff;
}

.header img{
    width:85%;
    max-width:400px;
    height:auto;

    display:block;

    margin:0 auto;

    object-fit:contain;

    transition:0.3s ease;
}

.header img:hover{
    transform:scale(1.03);
}

.header p{
    color:#cbd5e1;
    font-size:17px;
}
/*
|----------------------------------------------------------
| BOTON PROMOCIONES
|----------------------------------------------------------
*/

.btn-promos{
    display:inline-flex;

    align-items:center;
    justify-content:center;

    margin-top:25px;

    padding:16px 28px;

    background:
    linear-gradient(
        135deg,
        #ef4444,
        #b91c1c
    );

    color:#fff;

    text-decoration:none;

    border-radius:18px;

    font-size:17px;
    font-weight:700;

    letter-spacing:0.5px;

    box-shadow:
    0 12px 30px rgba(239,68,68,0.35);

    transition:0.3s ease;
}

.btn-promos:hover{
    transform:
    translateY(-4px)
    scale(1.03);

    box-shadow:
    0 18px 40px rgba(239,68,68,0.45);
}
/*
|----------------------------------------------------------
| BUSCADOR
|----------------------------------------------------------
*/

.buscador{
    display:grid;
    grid-template-columns:1fr 250px 150px;
    gap:15px;
    margin-bottom:35px;
}

.buscador input,
.buscador select{
    width:100%;
    padding:15px;
    border:none;
    border-radius:14px;
    background:#1e293b;
    color:#fff;
    font-size:15px;
    outline:none;
}

.buscador input::placeholder{
    color:#94a3b8;
}

.buscador button{
    width:100%;
    height:52px;
    border:none;
    border-radius:16px;
    background:linear-gradient(135deg,#0069B4,#004a7c);
    color:#fff;
    font-size:16px;
    font-weight:700;
    letter-spacing:0.5px;
    cursor:pointer;
    align-items:center;
    justify-content:center;

    transition:0.3s ease;

    box-shadow:
    0 10px 25px rgba(0,105,180,0.25);
}

.buscador button:hover{
    transform:
    translateY(-3px)
    scale(1.02);

    box-shadow:
    0 15px 35px rgba(0,105,180,0.35);
}

.buscador button:active{
    transform:scale(0.98);
}

.sugerencias{
    position:absolute;
    background:#fff;
    color:#000;
    width:100%;
    max-width:400px;
    border-radius:10px;
    overflow:hidden;
    z-index:999;
    margin-top:5px;
}

.sugerencias div{
    padding:10px;
    cursor:pointer;
    border-bottom:1px solid #eee;
}

.sugerencias div:hover{
    background:#0069B4;
    color:#fff;
}
/*
|----------------------------------------------------------
| GRID
|----------------------------------------------------------
*/

.grid{
    display:grid;
    grid-template-columns:
        repeat(auto-fit,minmax(280px,1fr));

    gap:25px;
}

/*
|----------------------------------------------------------
| CARD
|----------------------------------------------------------
*/

.card{
    position:relative;
    background:#111827;
    border-radius:24px;
    padding:25px;
    text-decoration:none;
    color:#fff;
    overflow:hidden;
    transition:0.35s;
    border:1px solid rgba(255,255,255,0.05);

    box-shadow:
    0 10px 25px rgba(0,0,0,0.35);
}

.card:hover{
    transform:
    translateY(-8px)
    scale(1.02);

    box-shadow:
    0 20px 45px rgba(0,0,0,0.45);
}

/*
|----------------------------------------------------------
| BADGE
|----------------------------------------------------------
*/

.badge{
    position:absolute;
    top:15px;
    right:15px;

    background:#f59e0b;
    color:#fff;

    padding:8px 12px;

    border-radius:50px;

    font-size:12px;
    font-weight:bold;

    box-shadow:
    0 5px 15px rgba(245,158,11,0.45);
}

/*
|----------------------------------------------------------
| LOGO
|----------------------------------------------------------
*/

.logo{
    width:110px;
    height:110px;

    object-fit:cover;
    object-position:center;

    border-radius:22px;

    display:block;
    margin:auto;

    background:#1e293b;

    border:4px solid rgba(255,255,255,0.08);

    margin-bottom:20px;

    transition:0.35s;
}

.card:hover .logo{
    transform:scale(1.08);
}

/*
|----------------------------------------------------------
| TEXTOS
|----------------------------------------------------------
*/

.card h3{
    text-align:center;
    margin-bottom:10px;
    font-size:26px;
    color:#fff;
}

.categoria{
    text-align:center;
    margin-bottom:15px;

    color:#38bdf8;
    font-weight:bold;
    font-size:20px;
}

.card p{
    color:#cbd5e1;
    font-size:14px;
    line-height:1.6;
    margin-bottom:18px;
}

/*
|----------------------------------------------------------
| CIUDAD
|----------------------------------------------------------
*/

.ciudad{
    font-size:14px;
    color:#94a3b8;
}

/*
|----------------------------------------------------------
| SIN RESULTADOS
|----------------------------------------------------------
*/

.sin-resultados{
    grid-column:1/-1;

    background:#111827;
    padding:40px;
    border-radius:24px;

    text-align:center;
    color:#cbd5e1;
    font-size:18px;
}

/*
|----------------------------------------------------------
| RESPONSIVE
|----------------------------------------------------------
*/

@media(max-width:900px){

    .buscador{
        grid-template-columns:1fr;
    }

}

@media(max-width:600px){

    .header h1{
        font-size:32px;
    }

    .card{
        padding:20px;
    }

}