.header{
    top: 0px;
    margin-right: 20px;
    margin-top: 5px;
    text-align: right;
}

/* Usamos un fondo traslúcido basado en tu verde más oscuro */
.fondo{
    background-image: url(../images/fondo1.jpg);
    background-color: rgba(29, 51, 19, 0.7);
    background-attachment: fixed;
    background-size: 100%;
}
.fondo1{
    background-image: url(../images/fondo1.jpg);
    background-color: rgba(29, 51, 19, 0.7);
    background-attachment: fixed;
    background-size: 100%;
}
.fondo2{
    background-image: url(../images/fondo1.jpg);
    background-color: rgba(29, 51, 19, 0.7);
    background-attachment: fixed;
    background-size: 100%;
}
.fondo3{
    background-image: url(../images/fondo1.jpg);
    background-color: rgba(29, 51, 19, 0.7);
    background-attachment: fixed;
    background-size: 100%;
}
.fondo4{
    background-image: url(../images/fondo1.jpg);
    background-color: rgba(29, 51, 19, 0.7);
    background-attachment: fixed;
    background-size: 100%;
}
.fondo5{
    background-image: url(../images/fondo1.jpg);
    background-color: rgba(29, 51, 19, 0.7);
    background-attachment: fixed;
    background-size: 100%;
}

.container-botones{
    display:flex;
    align-items: center;
    justify-content:center;
    flex-direction: column;
    margin-top: -100px;
}

/* Links estándar integrados con tus dos verdes más claros */
.links{
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    margin-top: 12px;
    padding: 0.5em;
    width: 90%;
    background: linear-gradient(90deg, rgba(127, 173, 101, 0.85), rgba(174, 203, 148, 0.85));
    color:#fff;
    text-shadow: rgba(0, 0, 0, 0.4) 0.1em 0.1em 0.2em;
    font-size: 20px;
    border: 1px solid #7fad65;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* El botón llamativo (.hot) ahora usa el color complementario de contraste para destacar */
.hot{
    font-family: 'Montserrat', sans-serif;
    margin-top: 12px;
    padding: 0.5em;
    width: 90%;
    color:#fff;
    font-size: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-shadow: 0.07em 0.07em 0.2em rgba(0, 0, 0, 0.6);
    animation-name: anim;
    animation-duration: 5s;
    animation-iteration-count: infinite;
}

/* Animación de cambio de color usando tus verdes y el contraste en el punto medio */
/* Animación premium de cambio de color (más profunda y elegante) */
@keyframes anim {
    0% {
        background-color: rgba(29, 51, 19, 0.95);  /* Verde oscuro base profundo */
        border-color: #7fad65;
    } 
    35% {
        background-color: rgba(127, 173, 101, 0.9); /* Transición al verde salvia */
        border-color: #aecb94;
    } 
    50% {
        background-color: rgba(209, 186, 156, 0.95); /* Clímax llamativo en champán/oro viejo */
        border-color: #ffffff;
        box-shadow: 0 6px 20px rgba(209, 186, 156, 0.4); /* Un ligero resplandor dorado al brillar */
    } 
    65% {
        background-color: rgba(127, 173, 101, 0.9);
        border-color: #aecb94;
    }
    100% {
        background-color: rgba(29, 51, 19, 0.95);  /* Regresa suavemente al verde profundo */
        border-color: #7fad65;
    } 
}

.links :hover{
    border-color: #fff !important;
    color: #fff;
    border-radius: 0px;
    border-width: 3px;
}

.encabezado{
    background-color: transparent !important;
}

/* Avatar con borde de tu verde salvia medio */
.encabezado .imagen_face{
    display: flex;
    justify-content: center !important;
    align-items: center;
    width: 120px;
    height: 120px;
    border-radius: 150px;
    border-color: #7fad65;
    border-style: solid;
    border-width: 3px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);

    animation-name: anim2;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

.redes-superiores{
    position: relative;
    top: -120px;
    margin-left: auto;
    margin-right: auto;
}

/* Animación del avatar alternando tus tres colores */
@keyframes anim2{
    0% {border-color: #1d3313;} 
   20% {border-color: #7fad65;} 
   40% {border-color: #aecb94;} 
   60% {border-color: #d1ba9c;} 
   80% {border-color: #7fad65;} 
   100% {border-color: #1d3313;} 
}

.encabezado .video_face{
    display: flex;
    justify-content: center !important;
    align-items: center;
    width: 120px;
    height: 120px;
    border-radius: 150px;
    border-color: #aecb94;
    border-style: solid;
    border-width: 3px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.encabezado .texto_face{
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 30px;
    text-align: center;
    margin-top: 5px;
    color: #aecb94;
    text-shadow: rgba(0, 0, 0, 0.5) 0.1em 0.1em 0.2em;
}

.texto_descripcion_face{
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1px;
    margin-bottom: 15px; 
    text-align: center;
    color: #ffffff; /* Texto descriptivo en el tono champán para mejor lectura */
    text-shadow: rgba(0, 0, 0, 0.5) 0.1px 0.1px 0.2px;
}

.py-5{
    padding-top: 1rem !important;
}

.fondo-avatar{
    background-color: rgba(29, 51, 19, 0.6);
    width: 100%;
    padding: 5px;
    margin-left: auto;
    margin-right: auto;
}

.titulo_promocion{
    color: #1d3313;
    text-shadow: rgba(0, 0, 0, 0.4) 0.1em 0.1em 0.2em;
    text-align: center;
}

.fab {
    padding: 20px;
    font-size: 30px;
    width: 30px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 50%;
}
    
.fab:hover {
    opacity: 0.7;
}
    
.fa-whatsapp {
    background: #7fad65; /* Tu verde medio para WhatsApp */
    color: white;
}

.encabezado .imagen_whatsapp{
    display: flex;
    justify-content: center !important;
    align-items: center;
    width: 50px;
    height: 50px;
}

.imagen_rrss{
    display: flex;
    justify-content: center !important;
    align-items: center;
    width: 50px;
    height: 50px;
}

.imagen_instagram{
    display: flex;
    justify-content: center !important;
    align-items: center;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.encabezado .imagen_telegram{
    display: flex;
    justify-content: center !important;
    align-items: center;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.icon-color{
    color: #ffffff;
}

.container-design{
    margin-top: 20px;
    position: relative;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 100%;
}

.footer{
    padding: 5px;
    margin-top: 20px;
    position: relative;
    color: #aecb94;
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    text-align: center;
    width: 100%;
}

.link_footer{
    color: #d1ba9c;
}

.encabezado .imagen_face_promocion{
    display: flex;
    top: 20px;
    justify-content: center !important;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 150px;
    border-color: #7fad65;
    border-style: solid;
    border-width: 3px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.imagen_promocion{
    width: 85%;
    border-style: solid;
    border-width: 1px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/****Css de las imágenes de los productos*/
.contenedor{
    position: relative;
    display: inline-block;
    text-align: center;
}
.texto-encima{
    position: absolute;
    top: 10px;
    left: 10px;
}
.texto-imagen{
    position: relative;
    margin-top: 0px;
    left: 50%;
    transform: translate(-50%, 0%);
    background-color: rgba(29, 51, 19, 0.8);
    padding: 10px;
}

/****Fin de css de las imágenes de los productos*/
    
/*******Ventana modal */

.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(19, 31, 14, 0.85); /* Overlay oscuro basado en tu verde oliva profundo */
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}
.modalDialog:target {
    opacity:1;
    pointer-events: auto;
}
.modalDialog > div {
    width: 90%;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background: #fff;
    background: -moz-linear-gradient(#ffffff, #f7f9f5);
    background: -webkit-linear-gradient(#ffffff, #f7f9f5);
    background: -o-linear-gradient(#ffffff, #f7f9f5);
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
}
.close {
    background: #1d3313; /* Botones de cerrar con el verde de firma */
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.close:hover { background: #7fad65; }

.close_abajo {
    background: #1d3313;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    left: 50%;
    text-align: center;
    bottom: 10px;
    width: 100px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/*******Fin ventana modal*/

.blink_me {
    animation: blinker 1s linear infinite;
}
      
@keyframes blinker {
    30% {
        opacity: 0;
        background-color: #7fad65;
    }
}

.share-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
}

.btn-premium-share {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-premium-share:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(127, 173, 101, 0.3);
}

.btn-premium-share i {
    color: #aecb94;
    font-size: 22px;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.3);
}


.contenedor-producto {
  background: #ffffff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* El resplandor hover de tus fotos usa tu verde salvia claro */
.contenedor-producto:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(174, 203, 148, 0.3);
}

/* Estilo estilizado para la imagen */
.imagen-productos {
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
  transition: filter 0.3s ease;
}

.contenedor-producto:hover .imagen-productos {
  filter: brightness(1.03);
}


/* Animación de entrada */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.share-container { animation: slideIn 0.8s ease-out; }

/* ===== SECCIÓN DE REDES SOCIALES ===== */
.container-redes {
    margin-top: 30px;
    margin-bottom: 30px;
    max-width: 900px;
}

.btn-red-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 95px;
    background: linear-gradient(135deg, #FFFFFF, #1d3313); /* Fondo degradado usando tu verde oscuro */
    color: #aecb94;
    text-decoration: none;
    border-radius: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    border: 2px solid #7fad65;
}

.btn-red-social:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 25px rgba(127, 173, 101, 0.4);
    background: linear-gradient(135deg, #7fad65, #aecb94);
    color: #fff;
    border-color: #fff;
}

.btn-red-social i {
    font-size: 28px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.btn-red-social:hover i {
    transform: scale(1.2);
    color: #fff;
}

.btn-red-social span {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    letter-spacing: 0.5px;
}

/* Versión compacta para móviles */
@media (max-width: 768px) {
    .container-redes {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .btn-red-social {
        width: 75px;
        height: 85px;
        font-size: 10px;
        padding: 8px;
    }

    .btn-red-social i {
        font-size: 24px;
    }
}

/* ===== FIN SECCIÓN DE REDES SOCIALES ===== */

.fondo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(29, 51, 19, 0.0) 0%, 
        rgba(19, 31, 14, 0.5) 100%);
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 700px){
    .fondo{
        background-image: url(../images/fondo.jpg);
        background-color: #f6f8f5; /* Un fondo blanco-salvia extremadamente limpio */
        background-attachment: fixed;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
    .fondo1{
        background-image: url(../images/fondo.jpg);
        background-color: #f6f8f5;
        background-attachment: fixed;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
    .fondo2{
        background-image: url(../images/fondo.jpg);
        background-color: #f6f8f5;
        background-attachment: fixed;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
    .fondo3{
        background-image: url(../images/fondo2.jpg);
        background-color: #f6f8f5;
        background-attachment: fixed;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
    .fondo4{
        background-image: url(../images/fondo2.jpg);
        background-color: #f6f8f5;
        background-attachment: fixed;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
    .fondo5{
        background-image: url(../images/fondo2.jpg);
        background-color: #f6f8f5;
        background-attachment: fixed;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }

    .fondo-modal{
        background-color: #f6f8f5;
        background-attachment: fixed;
        background-size: 110% 110%;
        background-repeat: no-repeat;
    }
}