@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/* body{
    font-family: 'DM Serif Display', serif;
      font-family: "Roboto", sans-serif;
} */


:root{
    --color-c1: #083e1f;
    --color-c2: #4d755e;
    --color-c3: #9BB8A9;
    --bg-light: #f9f5f2;
   
}
#bloquePrincipal{
    margin-top: 30px;
}
#nav{
    padding: 20px 0px;
}
.logoBayteca{
    width: 220px;
}

#footerContainer{
    padding: 20px 0px;
}
#letras a{
    text-decoration: none;
   font-family: "Roboto", sans-serif;
   color:black;
   margin: 10px;
}
form .ssl {
    color:black !important;
}
#logo{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Sobreescribimos el comportamiento de Bootstrap para esta etiqueta */
.error-message.invalid-feedback {
    display: none; /* Por defecto oculto, Bootstrap lo mostrará con 'block' */
    background-color: #fff5f5;    /* Fondo rojo muy suave */
    color: #cb2d3e;               /* Rojo vibrante pero elegante */
    border-left: 4px solid #cb2d3e; /* Línea de acento a la izquierda */
    padding: 15px 12px;            /* Espaciado interno */
    margin-top: 10px;             /* Separación del input */
    font-size: 0.875rem;          /* Tamaño estándar Bootstrap */
    font-weight: 500;             /* Texto un poco más grueso */
    border-radius: 4px;           /* Bordes suavizados */
    box-shadow: 0 2px 5px rgba(203, 45, 62, 0.1); /* Sombra sutil roja */
}

/* Forzamos el display cuando Bootstrap decide mostrarlo */
.error-message.invalid-feedback:not(.d-none) {
    display: block !important;
}

/* Opcional: Un pequeño icono antes del texto sin tocar el HTML */
.error-message.invalid-feedback::before {
    content: "✕"; 
    font-weight: bold;
    margin-right: 8px;
    background: #cb2d3e;
    color: white;
    border-radius: 100%;
    padding:3px 6px;
    font-size: 0.75rem;
}

  #tapaForm {
    display: none;
text-align: center;
      padding: 20px;
     
  }
  .loading {
    margin-top: 10px;
    width: 35px;
  }


.control-checkbox {
    margin-top: 20px;
    font-size: 0.8rem;
    color: black;
    font-family: "Roboto", sans-serif;
    
    /* Alineación clave */
    display: flex;
    justify-content: flex-start;
    align-items: flex-start; /* Alinea el checkbox con la primera línea de texto */
    gap: 10px;
}
.control-checkbox a{
    color:black !important;
}

input.frmPrivacidad {
    /* 1. Anulamos el estilo por defecto del navegador */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* 2. Aplicamos tus medidas */
    width: 25px !important;
    height: 25px !important;
    flex-shrink: 0;
    margin: 0 !important;

    /* 3. Estilos básicos (sin checkar) */
    border: 1px solid var(--color-c2) !important;
    /* El fondo cuando no está checkado */
    background-color: rgba(77, 117, 94, 0.05) !important; 
    
    /* Estética */
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    transition: background-color 0.2s; /* Un pequeño efecto visual */
}

/* 4. Estilos cuando el check está ACTIVO */
input.frmPrivacidad:checked {
    /* Rellenamos el fondo de tu color verde */
    background-color: var(--color-c2) !important;
    border-color: var(--color-c2) !important;

    /* 5. EL TRUCO: Un ganchito SVG perfecto como imagen de fondo */
    /* Este SVG es blanco, centrado y proporcional */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important;
    
    /* Aseguramos que el SVG se posicione bien */
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 70% !important; /* Ajusta este % si quieres el ganchito más grande o pequeño */
}

.control-checkbox span {
    /* Esto asegura que el texto se comporte como un bloque al lado del input */
    line-height: 1.2; 
    padding-top: 2px; /* Ajuste fino manual para centrar con el checkbox */
}


@media (max-width: 1450px) {




}

@media (max-width: 1200px) {

    .logoBayteca{
    width: 150px;
}

.multiOfertaLogo{
    width: 150px;
}


}


@media (max-width: 360px) {

    .logoBayteca{
    width: 120px;
}

.multiOfertaLogo{
    width: 120px;
}

}