   :root {
  --verde1: #298a38;
    --verdeoscuro: #2d572c;
  --verde2: #73b23b;
  --gris: #393737;

}


.imgredes{
    padding-left: 15px;
    font-size: 25px!important;
}

.bgverde1{
    background-color: var(--verdeoscuro);
}

    .navbar-brand{
        width: 100%;
        height: auto;
    }

.idioma{
    position: fixed;
    right: 15px;
    z-index: 1000;
    background-color: green;
    top: 0px:;
    padding: 3px;
    border-radius: 0px 0px 10px 10px; /* three values */
 

}

.txtidioma{
       color: #fff!important;
       font-size: 15px; 
         padding: 5px;
}

.hvr-grow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

footer .footer-logo img {
  max-height: 125px!important;
}

.footer-final{
  background-color:#333;
  text-align: center;
  padding: 10px!important;
}


.texto-info{
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  position: relative;
  margin: 0 auto;
  text-align: justify;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

/* Estilos para el ícono de Font Awesome */
.whatsapp-button .fab.fa-whatsapp {
    font-size: 30px; /* Ajusta este valor para cambiar el tamaño del ícono */
}

/* Si el padding hace que el ícono se vea muy pequeño, puedes ajustarlo */
/* .whatsapp-button {
    padding: 12px;
} */



.espacioarriba{
    padding-top: 20px!important;
}

.textoprod{
    font-size: 17px!important;
    line-height: 19px!important;
}




   /* --- TABLA DE ALIMENTOS --- */

/* --- ESTILOS GENERALES Y ESCRITORIO --- */

.seccion_tabla {
    /* Padding lateral para que el contenedor no esté pegado al borde */
    padding: 20px 15px; 
}

.container_tablas {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden; /* Oculta scroll no deseado en escritorio */
    width: 100%;
    max-width: 1000px;
    position: relative;
    margin: 0 auto;
}

.header_tablas {
    background-color: #4CAF50;
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    letter-spacing: 1px;
}

/* --- Estilos de la Tabla (Escritorio) --- */
table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; 
}

th, td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    word-wrap: break-word;
}

th {
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #e0e0e0;
}

/* --- Estilos de la Columna de Foto (Escritorio) --- */
.photo-column {
    width: 100px; 
    text-align: center;
}

.photo-placeholder {
    width: 100px;
    height: 100px;
    background-color: #c8e6c9;
    border-radius: 4px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #4CAF50;
    font-size: 10px;
    line-height: 1.1;
    overflow: hidden;
    cursor: pointer;
    margin: auto;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ================================================= */
/* --- ESTILOS RESPONSIVOS (MÓVIL) - 4 COLUMNAS VISIBLES --- */
/* ================================================= */
@media (max-width: 768px) {
    
    .header_tablas {
        font-size: 1.5em;
        padding: 10px;
    }
    
    /* 1. Ajuste drástico de espaciado y fuente para que las 4 columnas quepan */
    th, td {
        padding: 5px 3px; /* Espaciado muy reducido */
        font-size: 0.75em; /* Fuente más pequeña para ahorrar espacio */
        white-space: normal; /* Asegura que el texto se rompa en varias líneas */
        line-height: 1.2;
    }
    
    /* 2. Forzar salto de línea en los encabezados largos para que no se apilen verticalmente */
    /* Esto es lo que soluciona el problema del texto vertical, forzando un salto de línea horizontal */
    table thead th:nth-child(3) { /* CON EMPAQUE MAP */
        word-break: break-word;
        max-width: 25%; /* Limitamos el ancho para forzar el salto */
    }
     table thead th:nth-child(4) { /* SIN EMPAQUE MAP */
        word-break: break-word;
        max-width: 25%; /* Limitamos el ancho para forzar el salto */
    }
    
    /* 3. Ajustar los anchos de las 4 columnas (table-layout: fixed) */
    table {
        table-layout: fixed; 
    }
    
    /* Columna 1 (Foto) */
    table thead th:nth-child(1),
    table tbody td:nth-child(1) {
        width: 18%; 
    }
    
    /* Columna 2 (Producto) */
    table thead th:nth-child(2),
    table tbody td:nth-child(2) {
        width: 28%; 
        text-align: left; /* Alineado a la izquierda */
    }
    
    /* Columna 3 (Con Empaque MAP) */
    table thead th:nth-child(3),
    table tbody td:nth-child(3) {
        width: 27%; 
        text-align: center;
    }
    
    /* Columna 4 (Sin Empaque MAP) */
    table thead th:nth-child(4),
    table tbody td:nth-child(4) {
        width: 27%; 
        text-align: center;
    }
    
    /* Ajustar el tamaño del placeholder de la foto */
    .photo-placeholder {
        width: 40px; 
        height: 40px;
    }

    /* Evitar scroll si es posible, o que sea muy limitado */
    .container_tablas {
        overflow-x: hidden; 
    }
}


           /* --- TABLA DE ALIMENTOS --- */