.blz-search-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 10px;
    padding: 0 4px;
}



.blz-sin-resultados {
    padding: 40px 20px;
    text-align: center;
}

.blz-sin-resultados i {
    font-size: 32px;
    opacity: .55;
}

.blz-sin-resultados h4 {
    margin: 12px 0 6px;
    font-weight: 800;
}

.blz-sin-resultados p {
    margin: 0;
    opacity: .65;
}





/* =====================================================
   ESTADO NORMAL DEL HERO
===================================================== */

#hero {
    transition:
        height 0.35s ease,
        min-height 0.35s ease,
        padding 0.35s ease;
}




/* =====================================================
   ESTADO NORMAL DEL HERO
===================================================== */

#hero {
    transition:
        height 0.35s ease,
        min-height 0.35s ease,
        padding 0.35s ease;
}


/* =====================================================
   HERO MIENTRAS SE BUSCA
===================================================== */

#hero.hero-buscando {
    min-height: 20px;
}


/* Ocultar imagen */

#hero.hero-buscando .blz-hero-gallery {
    display: none;
}


/* Ocultar título principal y texto*/

#hero.hero-buscando .titulo-hero {
    display: none;
}

#hero.hero-buscando .blz-eyebrow {
    display: none;
}


/* Ocultar texto typing */

#hero.hero-buscando #typing {
    display: none;
}


/* Reducir espacios */

#hero.hero-buscando .bg-cream {
    padding-top: 2px;
}


/* Centrar buscador */

#hero.hero-buscando .blz-search-box {
    margin-top: 0;
}


.resultados-bar-busqueda {
    padding-top: 15px;
    padding-bottom: 20px;
}

.resultados-bar-busqueda h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 400;
    color: #444;
}

.resultados-bar-busqueda h3 strong {
    font-weight: 700;
    color: #222;
}



/* =====================================================
   BADGE DE SUBCATEGORÍA
===================================================== */

.blz-card-image {
    position: relative;
    display: block;
}


/* Badge flotante */
.blz-subcategory-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.35rem 0.75rem;
    background-color: #d8ad3d;
    color: #4f4430;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    pointer-events: none;
}


/* =====================================================
   SEPARADOR DE KEYWORDS
===================================================== */

.blz-keywords-separator {

    margin-top: 18px;
    margin-bottom: 14px;

    border: 0;
    border-top: 1px solid #e4e1db;

}




/* =====================================================
   KEYWORD / ETIQUETA
===================================================== */

.blz-search-keyword {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    background: #f3f2edd4;
    border: none;
    border-radius: 0;
    color: #66625b;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;

    /* Asegura comportamiento de no-botón */
    cursor: default;
    user-select: none;
    pointer-events: none;
}





.blz-pagina-separador {

    width: 100%;

    margin-top: 18px;
    margin-bottom: 24px;

    text-align: center;

}

.blz-pagina-titulo {

    display: inline-block;

    padding: 5px 14px;

    font-size: 0.75rem;

    font-weight: 600;

    color: #777;

    background: #f3f2ef;

    border: 1px solid #e3e0da;

    border-radius: 20px;

    letter-spacing: 0.2px;

}

.blz-scroll-sentinel {

    width: 100%;
    height: 1px;

}

/* CONTENEDOR BUSCADOR */
.blz-search-box {
    margin-top: 25px;
    position: relative;
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 18px;
    background: #fff;
    border-radius: 999px;
    border: none;
    border: 2px solid #2f67ff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);


    width: 100%;
     max-width: 650px;

    transition:
        width 0.3s ease,
        box-shadow 0.3s ease;
}

/* INPUT */
.blz-search-box input {
    flex: 1;
    width: 0;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 22px;
    height: 100%;
    padding-right: 20px; /* espacio para Buscar */
    box-sizing: border-box;

}
 
.blz-search-icon {
    font-size: 26px;
    color: #6b7280;
    margin-right: 15px;
    flex: none;
}

.blz-search-box.busqueda-activa {
    width: 680px;
}

@media (max-width: 767px) {

    .blz-search-box,
    .blz-search-box.busqueda-activa {

        width: 100%;

    }

}

/* =====================================================
   BUSCADOR DESKTOP
===================================================== */

@media (min-width: 992px) {

    .hero-col-izquierda {
        transition:
            width 0.35s ease,
            max-width 0.35s ease,
            flex-basis 0.35s ease;
    }

    .blz-search-box {
        width: 100%;
        max-width: 760px;

        transition:
            width 0.35s ease,
            max-width 0.35s ease;

        box-sizing: border-box;

        height: 54px;
        padding: 0 14px;
    }

    .blz-search-box input {
        height: 60px;
        font-size: 24px;
    }

    .blz-clear-btn {
        width: 38px;
        height: 38px;
    }

    /* ================================================
       CUANDO EL VISITANTE ESTÁ BUSCANDO
    ================================================ */

    #hero.busqueda-activa .hero-col-izquierda {

        width: 100% !important;
        max-width: 100% !important;

        flex: 0 0 100% !important;

    }


    #hero.busqueda-activa .blz-search-box {

        width: 100% !important;
        max-width: 100% !important;

    }


    /* Ocultar la galería cuando busca */

    #hero.busqueda-activa .blz-hero-gallery {

        display: none;

    }

}