/* ============================================
   INDEX - BANNER PRINCIPAL
   PRISCILLA DISEÑOS & MUEBLES
============================================ */


/* ============================================
   1. CONTENEDOR DEL BANNER
============================================ */

.banner_inicio {
    position: relative;
    isolation: isolate;

    width: 100%;
    min-height: 430px;

    display: flex;
    align-items: center;

    overflow: hidden;
    border-radius: 10px;

    background-color: #171512;
}

/* ============================================
  BUSCADOR 
============================================ */

.navegador_busqueda_wrapper {
    position: relative;
    width: 100%;
    max-width: 670px;
    min-width: 0;
    margin-inline: auto;
}


/* ========================================
   RESULTADOS DEL BUSCADOR
======================================== */

#resultados_busqueda {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    max-height: 380px;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    z-index: 2000;

    display: none;

    background: #ffffff;
    border: 1px solid #eee5da;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
}

#resultados_busqueda.visible {
    display: block;
}

/* Cada resultado */

.resultado_busqueda {
    width: 100%;
    min-width: 0;
    padding: 12px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    gap: 13px;

    border: 0;
    border-bottom: 1px solid #f0ebe4;
    background: #ffffff;
    text-align: left;
    cursor: pointer;

    transition: background 0.2s ease;
}

.resultado_busqueda:last-child {
    border-bottom: none;
}

.resultado_busqueda:hover {
    background: #fff9ed;
}

/* Imagen: tamaño controlado */

.resultado_busqueda img {
    display: block;
    flex: 0 0 75px;
    width: 75px;
    height: 75px;
    max-width: 75px;
    object-fit: cover;
    border-radius: 8px;
    background: #f7f3ed;
}

/* Información */

.resultado_busqueda_info {
    flex: 1;
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 4px;
}

.resultado_busqueda_info span {
    color: #b7832b;
    font-family: var(--font_primary, 'Manrope', sans-serif);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.resultado_busqueda_info strong {
    overflow: hidden;
    color: #211b16;
    font-family: var(--font_primary, 'Manrope', sans-serif);
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.resultado_busqueda_info p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #77716c;
    font-family: var(--font_primary, 'Manrope', sans-serif);
    font-size: 11px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Precio */

.resultado_busqueda_precio {
    flex: 0 0 auto;
    color: #98620c;
    font-family: var(--font_primary, 'Manrope', sans-serif);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

/* Sin resultados */

.busqueda_sin_resultados {
    margin: 0;
    padding: 22px 15px;
    color: #77716c;
    font-family: var(--font_primary, 'Manrope', sans-serif);
    font-size: 13px;
    text-align: center;
}

/* Responsive */

@media (max-width: 767px) {
    #resultados_busqueda {
        max-height: 320px;
        border-radius: 10px;
    }

    .resultado_busqueda {
        gap: 10px;
        padding: 10px;
    }

    .resultado_busqueda img {
        flex-basis: 62px;
        width: 62px;
        height: 62px;
        max-width: 62px;
    }

    .resultado_busqueda_info strong {
        font-size: 11px;
    }

    .resultado_busqueda_precio {
        font-size: 12px;
    }
}


/* ============================================
   2. IMAGEN DEL BANNER
============================================ */

.banner_inicio_imagen {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    z-index: -2;
}


/* ============================================
   3. CAPA DEGRADADA
============================================ */

.banner_inicio_capa {
    position: absolute;
    inset: 0;

    background: linear-gradient(90deg,
            rgba(15, 13, 10, 0.82) 0%,
            rgba(15, 13, 10, 0.65) 32%,
            rgba(15, 13, 10, 0.28) 58%,
            rgba(15, 13, 10, 0.02) 100%);

    z-index: -1;
}


/* ============================================
   4. CONTENIDO DEL BANNER
============================================ */

.banner_inicio_contenido {
    position: relative;

    width: 100%;

    display: flex;
    align-items: center;

    padding: 65px 5%;
}


.banner_inicio_texto {
    width: 100%;
    max-width: 530px;
}


/* ============================================
   5. ETIQUETA DE MARCA
============================================ */

.banner_inicio_etiqueta {
    display: block;
    font-family: var(--font_primary, 'Manrope', sans-serif);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(115deg,
            #ff9900 25%,
            #eca006 48%,
            #f1c254 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================
   6. TÍTULO PRINCIPAL
============================================ */

.banner_inicio_texto h1 {
    margin: 0 0 18px;

    font-family: var(--font_primary, 'Manrope', sans-serif);
    font-size: clamp(32px, 3.2vw, 46px);
    font-weight: 700;

    line-height: 1.15;
    letter-spacing: -1.3px;

    color: #FFFFFF;
}


/* ============================================
   7. DESCRIPCIÓN
============================================ */

.banner_inicio_texto p {
    margin: 0 0 28px;

    font-family: var(--font_primary, 'Manrope', sans-serif);
    font-size: 15px;
    font-weight: 400;

    line-height: 1.7;

    color: #F5F3EF;
}


/* ============================================
   8. BOTÓN DEL BANNER
============================================ */

.banner_inicio_boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 28px;

    background: linear-gradient(115deg,
            #ff9900 25%,
            #eca006 48%,
            #f1c254 100%);

    color: #fff;

    font-family: var(--font_primary, 'Manrope', sans-serif);
    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    border: 1px solid rgba(255, 217, 92, 0.7);
    border-radius: 6px;

    transition:
        filter 0.25s ease,
        transform 0.25s ease;
}

.banner_inicio_boton:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}


/* ============================================
   9. PANTALLAS GRANDES
   1440px EN ADELANTE
============================================ */

@media (min-width: 1440px) {

    .banner_inicio {
        min-height: 470px;
    }

    .banner_inicio_contenido {
        padding-inline: 6%;
    }

    .banner_inicio_texto {
        max-width: 570px;
    }

}


/* ============================================
   10. LAPTOPS
   1024px - 1439px
============================================ */

@media (min-width: 1024px) and (max-width: 1439px) {

    .navegador_busqueda_wrapper {
        max-width: 420px;
    }

    .banner_inicio {
        min-height: 400px;
    }

    .banner_inicio_contenido {
        padding: 55px 5%;
    }

    .banner_inicio_texto {
        max-width: 480px;
    }

    .banner_inicio_texto h1 {
        font-size: 38px;
    }

}


/* ============================================
   11. TABLETS
   768px - 1023px
============================================ */

@media (min-width: 768px) and (max-width: 1023px) {

    .banner_inicio {
        min-height: 340px;
        border-radius: 8px;
    }

    .banner_inicio_imagen {
        object-position: 58% center;
    }

    .banner_inicio_capa {
        background: linear-gradient(90deg,
                rgba(15, 13, 10, 0.82) 0%,
                rgba(15, 13, 10, 0.60) 55%,
                rgba(15, 13, 10, 0.12) 100%);
    }

    .banner_inicio_contenido {
        padding: 45px 5%;
    }

    .banner_inicio_texto {
        max-width: 420px;
    }

    .banner_inicio_etiqueta {
        font-size: 12px;
    }

    .banner_inicio_texto h1 {
        font-size: 34px;
    }

    .banner_inicio_texto p {
        font-size: 14px;
    }

}


/* ============================================
   12. CELULARES
   HASTA 767px
============================================ */

@media (max-width: 767px) {

    .banner_inicio {
        display: none;
    }

}