/* TEMA */
body {
    font-family: 'Montserrat';
}

.btn-primary{
    background-color:  #83A32C;/*VERDE*/
    border: none;
    border-radius: 360px;
}
.btn-primary:hover{
    background-color:  #8C5125; 
    border-color: black;
}
.btn-primary:disabled{
    background-color:  #b97847;
    border-color: black;
}

.btn-secondary{
    color: #000000;
    background-color:  #ffffff;/*BLANCO*/
    border: none;
    border-radius: 360px;
}
.btn-secondary:hover{
    background-color:  #8C5125; 
    border-color: black;
}
.btn-secondary:disabled{
    background-color:  #b97847;
    border-color: black;
}

.btn-outline-dark {
    color: #8C5125;
    border-color: #8C5125;
}

.btn-outline-dark:hover {
    background-color: #8C5125;
}
.dropdown-item
{
    color: #8C5125;
}
.dropdown-item:hover
{
    color: #74411b;
    background-color:  #dbaa47; 
}

.resaltado-verde { color: #83A32C;  }


/* TOPBAR */
.top-bar
{
  max-height: 64px;
  padding: 4px 4px;
  font-size: small;
  color: white;
  background-color:  #728f23; 
}



/*------------------------------------------------------------*/
/* NAVBAR */

.nav-link {
    text-decoration: none;
    color: #000000 !important;
}

.nav-link:hover{
    text-decoration: none;
    color:#83A32C!important;
}

nav .active {
    background-color: #83A32C!important;
    color:aliceblue!important;
    border-radius: 0%!important;
}

nav .active:hover {
    background-color: #83A32C!important;
    color:aliceblue!important;
    border-radius: 0%!important;
    text-decoration: underline;
}

nav li:hover{
    text-decoration: underline;
    color:#83A32C!important;
}

nav .disabled {
    color: #c0c0c0!important;
}

nav{
    background-color:  #ffffff;
    background-size: cover;
}

.nav-superior{
    font-size: large;
}


.nav-inferior{
    font-size: 18pt;
}

.nav-logo {
    height: 100px;
    width: auto;
}

button::after {
    background-color: #ffffff!important;
    color: brown!important;
}

.texto-cuenta {
    text-shadow: 2px 2px #74747448;
    margin: 0px 8px;
}


/*--------------------------------------*/
/* Estilos para botón de pago deshabilitado */
.btn-primary.btn-lg:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    position: relative;
}

.btn-primary.btn-lg:disabled::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    margin-bottom: 5px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.btn-primary.btn-lg:disabled:hover::after {
    opacity: 1;
}



/*--------------------------------------*/
/* Barra de carga para envio gratis*/

.progress-bar-container {
    width: 100%;
    height: 16px; /* Más delgada */
    background-color: #f8f9fa;
    border-radius: 8px; /* Radio proporcional al nuevo alto */
    margin: 12px 0;
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745 0%, #5cb85c 100%);
    width: 0%;
    border-radius: 8px;
    position: absolute;
    left: 0;
    top: 0;
    transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1), 
                background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Texto del peso con mejor contraste */
.weight-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #495057;
    font-weight: 600;
    font-size: 11px;
    text-shadow: 0 1px 1px rgba(255,255,255,0.8);
    z-index: 2;
    padding: 0 8px;
    background-color: rgba(255,255,255,0.7);
    border-radius: 10px;
    backdrop-filter: blur(2px);
}

/* Estados de la barra con animaciones */
.progress-bar-fill.red {
    background: linear-gradient(90deg, #ff5252 0%, #ff7676 100%);
    animation: pulse-red 1.5s infinite alternate;
}

.progress-bar-fill.blue {
    background: linear-gradient(90deg, #4285f4 0%, #5c9dff 100%);
    animation: pulse-blue 1.5s infinite alternate;
}

/* Animaciones */
@keyframes pulse-red {
    0% { opacity: 0.9; box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.4); }
    100% { opacity: 1; box-shadow: 0 0 0 6px rgba(255, 82, 82, 0); }
}

@keyframes pulse-blue {
    0% { opacity: 0.9; box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.4); }
    100% { opacity: 1; box-shadow: 0 0 0 6px rgba(66, 133, 244, 0); }
}

/* Elementos de texto */
.remaining-weight {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.5rem;
    font-weight: 500;
}

.min-purchase-warning {
    font-size: 0.8rem;
    color: #dc3545;
    margin-top: 0.5rem;
    font-weight: 500;
    display: none;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-3px); }
    40%, 80% { transform: translateX(3px); }
}

/*------------------------------------------------------------*/
/* MASTHEAD (Banner principal) */
.banner {
    position: relative;
    height: 60vh;
    background: linear-gradient(90deg, rgba(227,170,3,1) 48%, rgba(255,255,255,1) 100%);
    /*background-image: url('https://media.gq.com.mx/photos/5f3f4f7f4545293c7ebf8ad9/master/pass/cereales.jpg');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .al-fondo {
    vertical-align: bottom;
    border: 0;
    width: 60vh;
  }

  .banner  p {
    font-family: 'Montserrat';
    font-weight:normal;
    font-size: x-large;
  }

  .banner strong {
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: x-large;
    color: #ffffff;
  }

  .banner button {
    font-weight: normal;
    font-size: large;
    color: #ffffff;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
  }
  
  .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vh;
    height: 70vh;
    border-radius: 50%;
    background-color: #fff;
    background-image: url('/img/burbuja-blanca.png');
    display: flex;
    justify-content: center;
    align-items: center;
  }



/*------------------------------------------------------------*/
/* LOGOS */

.logos-pago{
    gap: 8px;
}

.logos-pago > img {
    width: 80px;
    height: 36px;
}

/*------------------------------------------------------------*/
/* FEAUTRES */

#features p {
    font-family: 'Montserrat';
    font-size: medium;
    margin: 0%;
}

/*------------------------------------------------------------*/
/* GENERICO */


.list-group-item {
    color: aliceblue;
}

.caja-mix > img {
    width: 256px;
}


.caja-mix > div > h3 {
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: x-large;
}

.caja-mix > p {
    font-size: 20pt;
    font-family: 'Montserrat';
    font-weight:normal;
    font-size: medium;
}

#wraper {
    
    transition: all 0.3s;
}

.bold{
    font-weight: bold;
}

.bold{
    font-weight: bolder;
}

/*------------------------------------------------------------*/
/* FOOTER */
footer {
    margin-top: 64px;
    padding: 16px;
}

footer a {
    color: #fff;
    font-style: normal;
    text-decoration: none;
}

footer a:hover {
    color: #dbaa47;
}

footer ul {
    /* quitar indentacion (sangria) */
    padding: 0;
    list-style-type: none;
}

footer h4 {
    padding-bottom: 16px;
}

.data-fiscal {
    width: 120px;
    height: 165px;
}

/*------------------------------------------------------------*/
/* TIENDA */

.lateral-tienda {
    height: 100%;
    border-color: #000000;
    border-right: solid;
    border-width: 1px;
    display: flex;
    justify-content: center;
}

.lateral-tienda li {
    padding: 4px;
}

.lateral-tienda ul {
    padding: 0;
    list-style-type: none;
}

.lateral-tienda img {
    width: 200px;
    max-width: 100%;
    margin-bottom: 32px;
}

.lateral-tienda a {
    color: #4b4b4b;
    font-style: normal;
    text-decoration: none;
    font-size: large;
}

.lateral-tienda a:hover {
    color:#204222;
    text-decoration: underline;
}

.header-tienda{
    margin-top: 32px;
}

.header-tienda div {
    padding: 4px;
}

.header-tienda button {
    height: 100%;
}

.header-tienda input{
    background-color: #ebebeb;
    border-radius: 360px;
    padding: 16px 16px;
}

.header-tienda .dropdown{
    border-color: #4b4b4b;
    border-style: solid;
    border-width: 1px;
    border-radius: 16px;
    padding: 8px 24px;
    height: 100%;
    width: min-content;
    margin: 0px;
}

#grilla-tienda {
    
}

/*------------------------------------------------------------*/
/* PRODUCTOS */
.carta-producto{
    padding: 12px;
    margin: 8px;
    height: 560px;
    width: 300px;
}


.carta-producto img{
    width: 100%;
}

.carta-producto button {
    border: none;
    background-color: #83A32C;
    color: #ffffff;
    padding: 12px;
}

.carta-producto button:hover {
    background-color: #d1a03e!important;
    color: #ffffff;
}

.botonera-suma {
    background-color: #ffffff!important;
    font-weight: bolder;
}

.botonera-suma button {
    text-decoration: none;
    font-weight: bolder;
    border-radius: 10%;
    padding: 0;
    margin: 0;
}

.input-group input {
    height: 46px;
    text-align: center;
}

.input-group-btn button .disabled {
    background-color: #d10a0a!important;
    
}

.producto-nombre {
    margin-top: 12px;
}

.producto-nombre h5{
    font-size: 16px;
    font-weight: bold;
    color: #000000;
}

.producto-nombre a{
    text-decoration: none!important;

}

.producto-nombre h5:hover{
    color: #d1a03e!important;
}



.producto-peso p{
    /*border-color: #4b4b4b;
    border-style: solid;
    border-width: 1px;*/
    font-style: italic;
    font-size: 13px;

}

.producto-detalles{

}

.producto-detalles p{
    font-size: 12px;
}

.producto-precio{
    font-weight: bold;
    font-size: 15px;
}

/*------------------------------------------------------------*/
/* TRABAJO */

#trabajo p {
    font-size: medium;
    inline-size:auto;
}

#trabajo i {
    height: 100%;
    font-size: xx-large;
    color:#728f23;
}

/*------------------------------------------------------------*/
/* LOGIN - REGISTRO */

#main-login a{
    text-decoration: none;
}

#main-login a:hover{
    text-decoration: none;
}


.ingreso-derecha{
    color: #000000;
    text-decoration: none;
}
.ingreso-derecha a {
    color: #000000;
    text-decoration: none;
}
.ingreso-derecha a:hover {
    color: #000000;
    text-decoration: underline;
}

.logo-login img{
    width: auto;
    max-width: 300px;
    align-self: center;
}

.ingreso-izquierda {
    padding: 16px;
    font-size: x-large!important;
    text-align: center;
}

.input_text
{
    background-color: #D9D9D9;
    border-radius: 360px;

}
.input_text input
{
    background-color: #D9D9D9;
    border: 0;
    min-height: fit-content;
    padding-left: 2.5rem;
}

.input-group i{
    color:#83A32C;
}

.social-login
{
    display: flex;
    justify-content: center;
    margin-top: 16px;
    row-gap: 8px;
}

.social-login a
{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    font-size: 24px;
    border: none;
    cursor: pointer;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.social-login a:hover{
    color: white;
}

.social-login a.facebook{
    background: #3b5998;
}

.social-login a.google{
    background: #ea4335;
}

.login_btn button{
    height: 48px;
    width: 100%;
    padding: 4px 48px;
}


/*------------------------------------------------------------*/
/* PEDIDOS - TARJETA DE PEDIDO GUARDADO */

.pedido-guardado {
    background-color:  #d1a03e; 
    border-radius: 10%;
    padding: 24px 24px;
}


/*------------------------------------------------------------*/
/* COMPRA */

.resumen-compra-panel{
    padding: 2rem 3rem;
}

.resumen-compra-panel h2{
    color: #fff;
}

.lista-carrito {
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
    padding-right: 2rem;
    margin-bottom: 0;
}

.lista-carrito-item {
    position: relative;
  display: block;
  padding: 0.5rem 1rem;
  color: #212529;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.resumen-compra-datos{
    padding:  2rem 3rem;
}


/*------------------------------------------------------------*/
/* CUENTA */

.lista-items-comprados {
    list-style: none;
}

.lista-montos-comprados {
    list-style: none;
}

/*------------------------------------------------------------*/
/* COLORES */
/* background-color:  #728f23; */  /* VERDE */
/* background-color:  #E0AD46; */ /*AMARILLO*/
/* background-color:  #8C5125; */ /*MARRON OSCURO*/
.bg-acento{
    background-color:  #728f23; 
}
.bg-mostaza{
    background-color:  #d1a03e; 
}
.bg-oro{
    background-color:  #dbaa47; 
}
.bg-marron{
    background-color:  #8C5125;
}
.bg-marron-oscuro{
    background-color:  #6b3f1d;
}
.bg-gris-claro{
    background-color:  #e6e6e6;
}
.bg-verde-claro { background-color:  #83A32C; }

.bg-verde-oscuro { background-color:  #204222; }

.bg-gradiente-amarillo-blanco { 
    background: linear-gradient(90deg, rgba(227,170,3,1) 48%, rgba(255,255,255,1) 100%);
}



.text-acento {
    color:  #8C5125;
}

.enlace-simple {
    color: #83A32C;
}

.enlace-simple:hover {
    color:#d1a03e;
}

@media (max-width: 768px) {
    .grilla-combos .row {
        justify-content: center;
    }

    .caja-mix {
        margin-left: auto;
        margin-right: auto;
    }

    .caja-mix > img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .data-fiscal {
        display: block;
        margin: 20px auto 0 auto;
    }
}

@media (max-width: 768px) {
    #main-login {
        padding-left: 16px;
        padding-right: 16px;
    }
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}