/* ==========================================================================
   RUTA DEL ARCHIVO: static/css/home.css
   PROPÓSITO: Estilos globales de la página de inicio, rejilla responsiva
              y componentes visuales (tarjetas y buscador).
   ========================================================================== */

/* Contenedor principal del Home */
.home-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Rejilla de productos adaptativa (Web y Móvil) */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
    width: 100%;
}

/* Estado de catálogo vacío */
.no-products-box {
    text-align: center;
    padding: 40px 20px;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #eeeeee;
}

.no-products-indicator {
    width: 12px;
    height: 12px;
    background-color: #fdcf33;
    border-radius: 50%;
    margin: 0 auto 15px auto;
}

.no-products-text {
    color: #666666;
    margin: 0;
    font-size: 14px;
}

/* ==========================================================================
   COMPONENTE: home_search_bar.html
   ========================================================================== */
.home-search-bar {
    margin-bottom: 20px;
    width: 100%;
}

.search-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: none;
    border-radius: 30px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

.search-button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.search_bar_background{

    background-color: #084e88;
    padding-left: 15px;
    padding-right: 15px;
}

/* =========================================
   TASAS BCV (Replicado de Flutter)
========================================= */
.tasas-bcv-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px; /* Equivalente al SizedBox(width: 15) */
    margin-top: 16px;
    padding-bottom: 13px;
}

.tasa-pastilla {
    background-color: rgba(0, 0, 0, 0.2); /* Colors.black.withOpacity(0.2) */
    border-radius: 15px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 4px; /* Equivalente al SizedBox(width: 4) */
}

.tasa-icono {
    color: #fdcf33; /* AppColors.amarilloMarca */
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.tasa-texto {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
}