@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
            margin: 0;
            padding: 0;
            height: 100vh;
            height: -webkit-fill-available;
            background: #ffffff;
}

/* 🆕 VARIABLES CSS CONTROLADAS DESDE JS */
:root{
    --item-width: 60vw;
    --lateral-peek: 20vw;
}

.masterContainer{
    width: 100%;
    height: 100%;
    position: fixed;
    display: grid;
    grid-template-rows: 70px 1fr 30px 110px;
    background: white;
}

@media (min-width: 1200px) {

    body{
        display: flex;
        justify-content: center;
        background-color: rgb(255, 255, 255);
    }
    .masterContainer {
        width: 1100px;
        height: 100vh;
        box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 15px;
    }

    .slider{
        min-height: 0px !important;
    }

   .balon11Img{
        max-width: 50% !important;
    }

   .balon45Img{
        max-width: 32% !important;
    }

}

.appContainer{
    width: 100%;
    height: 100%;
    position: relative;
    padding: 0rem 0rem;
    display: grid;
    grid-template-rows: minmax(0px, 0.1fr) minmax(auto, 0.5fr) minmax(auto, 3fr) minmax(auto, 0.2fr);
    place-items: center;
    -background-color: black;

}

.hero{
    width: 100%;
    max-width: 100%;
    height: 100%;
    padding: 0rem 1rem;
    display: grid;
    grid-template-columns: 65px 120px 1fr 50px;
    align-items: center;
    gap: 0.4rem;
    justify-content:left;
    -background-color: red;
}

.masLogo{
    width: 100%;
    height: 65px;
    position: relative;
    -background-color: black;
}

.logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: fadeInOut 12s infinite; /* 8s = 4s cada uno */
}

/* Logo 1 comienza visible */
.logo-1 {
    animation-delay: 0s;
    z-index: 2;
    background-color: white;
}

/* Logo 2 comienza oculto y aparece después de 4s */
.logo-2 {
    animation-delay: 6s;
    z-index: 1;
    background-color: white;
}

/* Animación de fundido */
@keyframes fadeInOut {
    0% {
        opacity: 1;
    }
    45% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    95% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.masIso{
    width: 100%;
    height: 100%;
    background: url(icon/masGasIso.svg);
    background-position: right center;
    background-size: contain;
    background-repeat: no-repeat;
    -background-color: black;
}

.telefonosEmerg{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: url(icon/numerosIco.svg);
    background-position: center center;
    background-size: 65%;
    background-repeat: no-repeat;
    border: 1px solid rgba(15, 147, 255, 0.2);
    background-color: rgba(15, 147, 255, 0.05);
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

/* 🔴 SLIDER CON ANCHOS AGRESIVOS POR DISPOSITIVO */
.slider{
    width: 100vw;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    background: linear-gradient(0deg,rgba(255, 255, 255, 1) 3%, rgba(215, 214, 214, 1) 15%, rgba(255, 255, 255, 1) 35%);
}

/* TABLET: Slider más compacto */
@media (min-width: 768px) {
    .slider {
        width: 85vw;
    }
}

/* PC: Slider muy compacto */
@media (min-width: 1200px) {
    .slider {
        width: 100%;
    }
}

.slider .list{
    position: absolute;
    width: max-content;
    height: 100%;
    display: flex;
    justify-content: start;
    align-items: end;
    transition: transform 0.8s ease-in-out;
}

/* 🔴 ITEMS CON ANCHO CONTROLADO POR VARIABLE CSS */
.slider .list .item{
    height: 96%;
    width: var(--item-width);
    transform: scale(1);
    transition: transform 0.8s ease-in-out;
    -background-color: rgba(0, 0, 0, 0.0);
    flex-shrink: 0;
}

/* 🔴 SPACERS CON ANCHO CONTROLADO POR VARIABLE CSS */
.spacer{
    width: var(--lateral-peek);
    height: 100%;
    flex-shrink: 0;
    background-color: transparent;
}

.testMoving{
    display: grid;
    place-items: center;
    align-items: end;
}

/* ITEM ACTIVO MÁS GRANDE */
.slider .list .item.active{
    transform: scale(1.1);
    z-index: 10; 
}

.balon45Img{
    max-width: 48%;
    height: auto;
    transform: translateY(0px);
    transition: all ease-in-out 0.6s;
}

.balon11Img{
    max-width: 80%;
    height: auto;
    transform: translateY(0px);
    transform: scale(1);
    transition: all ease-in-out 0.6s;
}

/* ANIMACIONES CUANDO ESTÁ ACTIVO */
.slider .list .item.active > .balon45Img{
    transform: translateY(-10%);
}

.slider .list .item.active > .balon11Img{
   transform: translateY(-14%);
}

#prev,
#next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 70px;
    width: 70px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid #eee9;
    cursor: pointer;
    z-index: 30;
    transition: opacity 0.3s;
}

#prev{
    left: 15px;
    background: url(icon/arrowLeft.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: rgba(238, 238, 238, 0.459);
}

#next{
    right: 15px;
    background: url(icon/arrowRight.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: rgba(238, 238, 238, 0.459);
}

#prev:disabled,
#next:disabled{
    opacity: 0.3;
    cursor: not-allowed;
}

.contMenuApp{
    width: 100%;
    height: 100%;
    position: relative;
    display: grid;
    place-items: end center;
    -background-color: orange;
}

.menuApp{
    width: 96%;
    height: 70px;
    position: relative;
    border-radius: 1rem;
    z-index: 25;
    padding: 0.4rem 0.5rem;
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1.4fr 1fr 1px 1fr;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 8px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    background-color: rgba(206, 206, 233, 0.1);
}

@media (min-width: 1200px) {
    .menuApp {
        width: 50%;
    }
}

.botomShoots{
    height: 100%;
    width: 100%;
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 0.3rem;
    -background-color: rgba(0, 0, 0, 0.05);
}

.iconComunas{
    width: 100%;
    height: 100%;
    background: url(icon/comunasIco.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    -background-color: rgba(0, 0, 0, 0.04);
}

.iconpromoQr{
    width: 100%;
    height: 100%;
    background: url(icon/promoQrIco.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    -background-color: rgba(0, 0, 0, 0.04);
}

.iconInformacion{
    width: 100%;
    height: 100%;
    background: url(icon/infoIco.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    -background-color: rgba(0, 0, 0, 0.04);
}

.iconSucursales{
    width: 100%;
    height: 100%;
    background: url(icon/sucursalesIco.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    -background-color: rgba(0, 0, 0, 0.04);
}

.lineaMenu{
    width: 100%;
    height: 70%;
    background-color: rgba(0, 0, 0, 0.15);
}

.circuloInfo{
    position: absolute;
    top: -5px;
    right: 0px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: url(icon/unoIco.svg);
    background-position: center;
    background-size: 8px 8px;
    background-repeat: no-repeat;
    background-color: rgb(255, 21, 21);
}

.infoAnimation{
    animation-name: bounceInfo;
    animation-duration: 6s;  
    animation-timing-function: ease-out;
    animation-delay: 3.1s; 
    animation-iteration-count: infinite;
    animation-direction: normal;
    animation-fill-mode: forwards;
    transform: scale(1);
}

@keyframes bounceInfo {

    0% { transform: scale(1); }
    4%  { transform: scale(1); }
    8%  { transform: scale(1.1); }
    10% { transform: scale(1.5); }
    12% { transform: scale(1.1); }
    16% { transform: scale(1); }
    20% { transform: scale(1); }
    100% { transform: scale(1); }
}

.icoWhatsApp{
    width: 80px;
    height: 80px;
    border-radius: 80px;
    display: grid;
    place-content: center;
    position: absolute;
    top: -35px;
    left: calc(50% - 40px);
    z-index: 25;
    border: solid 1px rgba(255, 255, 255, 0.6);
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
    background: #66b041;
    background: linear-gradient(180deg,rgba(102, 176, 65, 1) 27%, rgba(100, 157, 63, 1) 85%);
}

.wasaAnimation{
    animation-name: bouncePedido;
    animation-duration: 4s;  
    animation-timing-function: ease-out;
    animation-delay: 3.1s; 
    animation-iteration-count: infinite;
    animation-direction: normal;
    animation-fill-mode: forwards;
    transform: scale(1);
}

@keyframes bouncePedido {

    0% { transform: scale(1); }
    4%  { transform: scale(1); }
    8%  { transform: scale(1.05); }
    10% { transform: scale(1); }
    12% { transform: scale(1.05); }
    16% { transform: scale(1); }
    20% { transform: scale(1); }
    100% { transform: scale(1); }
}

.wasaIco{
    width: 90px;
    height: 90px;
    border-radius: 80px;
    background: url(icon/pedidoIco.svg);
    background-position: center center;
    background-size: 58%;
    background-repeat: no-repeat;
}

.textoBotom{
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: -0.55px;
    text-transform: uppercase;
    text-align: center;
    color: rgba(0, 0, 0, 0.5);
}

/* 🔴 SLIDER TEXTO ARRIBA */
.sliderUp{
    width: 100vw;
    height: 60px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.6);
}

/* TABLET: Mismo ancho que slider de imágenes */
@media (min-width: 768px) {
    .sliderUp {
        width: 65vw;  /* 🔴 CORREGIDO: igual que .slider */
    }
}

/* PC: Mismo ancho que slider de imágenes */
@media (min-width: 1200px) {
    .sliderUp {
        width: 50vw;  /* 🔴 CORREGIDO: igual que .slider */
    }
}

.sliderUp .listUp{
    position: absolute;
    width: max-content;
    height: fit-content;
    display: flex;
    justify-content: start;
    align-items: center;  /* 🔴 CORREGIDO: centrado vertical */
    transition: transform 0.8s ease-in-out;
}

/* 🔴 ANCHO DE ITEMS RESPONSIVE */
.sliderUp .listUp .itemUp{
    height: fit-content;
    width: 100vw;  /* 🔴 CORREGIDO: 100vw en móvil */
    transform: scale(1);
    transition: transform 0.8s ease-in-out;
    background-color: rgba(0, 0, 0, 0.0);
    flex-shrink: 0;
    display: grid;
    place-items: center;
}

@media (min-width: 768px) {
    .sliderUp .listUp .itemUp {
        width: 65vw;  /* 🔴 NUEVO: igual que .sliderUp en tablet */
    }
}

@media (min-width: 1200px) {
    .sliderUp .listUp .itemUp {
        width: 50vw;  /* 🔴 NUEVO: igual que .sliderUp en PC */
    }
}

.texProduCont{
    width: 100%;
    max-width: 375px;
    height: fit-content;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.0);
}

.publPymeCont{
    width: 100%;
    max-width: 375px;
    height: 100%;
    min-height: 60px;
    background: url(icon/pymesIco.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    -background-color: rgba(0, 0, 0, 0.1);
}



.catProducto{
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1;
    color: rgba(0, 0, 0, 0.55);
}

.nomProducto{
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -1.6px;
    line-height: 1;
    color: rgba(0, 0, 0, 0.7);
}


/* 🔴 SLIDER TEXTO ABAJO */
.sliderDown{
    width: 100vw;
    height: 50px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.6);
}

/* TABLET: Mismo ancho que slider de imágenes */
@media (min-width: 768px) {
    .sliderDown {
        width: 65vw;  /* 🔴 CORREGIDO: igual que .slider */
    }
}

/* PC: Mismo ancho que slider de imágenes */
@media (min-width: 1200px) {
    .sliderDown {
        width: 50vw;  /* 🔴 CORREGIDO: igual que .slider */
    }
}

.sliderDown .listDown{
    position: absolute;
    width: 90%;
    height: fit-content;
    display: flex;
    justify-content: start;
    align-items: center;  /* 🔴 CORREGIDO: centrado vertical */
    transition: transform 0.8s ease-in-out;
}

/* 🔴 ANCHO DE ITEMS RESPONSIVE */
.sliderDown .listDown .itemDown{
    height: fit-content;
    width: 100vw;  /* 🔴 CORREGIDO: 100vw en móvil */
    transform: scale(1);
    transition: transform 0.8s ease-in-out;
    background-color: rgba(0, 0, 0, 0.0);
    flex-shrink: 0;
    display: grid;
    place-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .sliderDown .listDown .itemUDown {
        width: 65vw;  /* 🔴 NUEVO: igual que .sliderUp en tablet */
    }
}

@media (min-width: 1200px) {
    .sliderDown .listDown .itemDown {
        width: 50vw;  /* 🔴 NUEVO: igual que .sliderUp en PC */
    }
}

.priceProductCont{
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: 1fr 2px 1fr 2px 1fr;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 0, 0, 0.0);
}

.priceProductContDos{
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 0, 0, 0.0);
}

.priceProductContPubli{
    width: 100%;
    height: 100%;
    display: grid;
    place-content: center;
}

.contPrice{
    width: 100%;
    height: 100%;
    text-align: center;
}

.priceTitulo{
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    margin-bottom: 0.15rem;
    color: rgba(0, 0, 0, 0.5);
}

.priceNumero{
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    padding-top: 0.1rem;
    color: #0084e2;
}

.priceNumeroQr{
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1.4px;
    color: white;
    padding: 0rem 0.4rem;
    background-color: #0084e2;
}

.linea{
    height: 70%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.botomPymesIngresar{
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 1rem;
    margin-bottom: 0.5rem;
    background-color: #2e66ffc0;
}


@media (min-width: 768px) {
    .hero {
        width: 100%;
        max-width: 800px;
    }
}

@media (min-width: 1200px) {
    .hero {
        width: 100%;
        max-width: 1200px;
    }
}



.conPedidoForm{
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    place-content: center;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.5);
}

.fechaValoresCont{
    width: 100%;
    height: 100%;
    display: grid;
    place-content: start center;
    -background-color: black;
}

.fechaValores{
    width: fit-content;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    padding-top: 0.3rem;
    color: rgba(255, 46, 46, 0.8);
}



/* ========================================
   POPUP FORMULARIO
======================================== */

.popup-overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    place-items: center;
    padding: 1rem;
    overflow-y: auto;
}

.popup-overlay.active {
    display: grid;
}

.popup-container {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-header {
    background: linear-gradient(180deg, #2e66ff 0%, #579aff 70%, #c0d9ff 85%, #ffffff 100%);
    color: white;
    padding: 0rem 1rem;
    display: flex;
    justify-content: space-between;
    height: 120px;
}

.popup-header h2 {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.05px;
    margin: 0;
    margin-top: 2rem;
}

.popup-close {
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    font-weight: 800;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.3s;
    margin-top: 1rem;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.popup-form {
    padding: 1rem 1rem 2rem 1rem;
    max-height: 70vh;
    overflow-y: auto;
}

.form-section {
    margin-bottom: 2rem;
}

.productItemCont{
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    -background-color: black;
}

.form-section p {
    font-size: 1.1rem;
    line-height: 1.3rem;
    color: #555;
    margin-bottom: 1rem;
    font-weight: 500;
}

.avisoImportante {
    font-size: 1rem;
    line-height: 1.3rem;
    color: #555;
    border-radius: 0.3rem;
    margin-bottom: 2rem;
    font-weight: 500;
    padding: 1rem 0.5rem;
    background-color: rgba(255, 46, 46, 0.15);
}

.form-section label {
    display: block;
    font-size: 1.1rem;
    line-height: 1.3rem;
    color: #555;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* ========================================
   PRODUCTOS CON +/-
======================================== */

.producto-item {
    display: grid;
    grid-template-rows: 1fr 1fr;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 0.5rem 0.5rem 0.5rem;
    border: 2px solid #e6e3e3;
    /* background: #f5f5f5; */
    border-radius: 0.5rem;
}

.producto-item label {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.cantidad-control {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.btn-menos,
.btn-mas {
    width: 40px;
    height: 40px;
    border: none;
    background: #3e77f1;
    color: white;
    font-size: 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s;
    font-weight: bold;
}

.btn-menos:hover,
.btn-mas:hover {
    background: #113480;
}

.btn-menos:active,
.btn-mas:active {
    transform: scale(0.95);
}

.cantidad-input {
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    color: #333;
}

/* ========================================
   INPUTS Y SELECT
======================================== */

.form-section input[type="text"],
.form-section select, .form-section input[type="tel"], .form-section input[type="email"] {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: white;
    color: #333;
    transition: border-color 0.3s;
}

.form-section input[type="text"]:focus,
.form-section select:focus {
    outline: none;
    border-color: #357cff;
}

.form-section select {
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    cursor: pointer;
}

/* ========================================
   BOTONES DEL FORMULARIO
======================================== */

.form-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-cancelar,
.btn-enviar {
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cancelar {
    background: #e0e0e0;
    color: #666;
}

.btn-cancelar:hover {
    background: #d0d0d0;
}

.btn-enviar {
    background: #66b041;
    background: linear-gradient(180deg,rgba(102, 176, 65, 1) 27%, rgba(100, 157, 63, 1) 85%);
    color: white;
    box-shadow: 0 4px 15px rgba(17, 100, 48, 0.5);
}

.btn-enviar:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}

.btn-enviar:active {
    transform: translateY(0);
}

/* ========================================
   RADIO BUTTONS PARA HORA DE ENVÍO
======================================== */

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.radio-option:hover {
    background: #ebebeb;
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 0.8rem;
    cursor: pointer;
    accent-color: #FF6B35;
}

.radio-option input[type="radio"]:checked + span {
    font-weight: 600;
    color: #FF6B35;
}

.radio-option:has(input:checked) {
    background: #fff5f2;
    border-color: #FF6B35;
}

.radio-option span {
    font-size: 1.1rem;
    color: #333;
}

.hora-programada-container {
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 10px;
    border: 2px solid #ddd;
}

.hora-programada-container label {
    margin-bottom: 0.5rem;
}

.hora-programada-container input[type="time"] {
    width: 50%;
    padding: 1rem;
    font-size: 1.2rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: white;
    cursor: pointer;
}

.hora-programada-container input[type="time"]:focus {
    outline: none;
    border-color: #FF6B35;
}

.hora-programada-container small {
    font-size: 0.9rem;
}

/* ========================================
   POPUP NUMEROS EMERGENCIA
======================================== */

.popupMaster{
    display: none;/* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2010;
    place-items: center;
    padding: 1rem;
    overflow-y: hidden;
    background: rgba(0, 0, 0, 0.75);
    transition: all ease-in 1s ;
    animation-name: fadeIn; /* Name of the keyframe animation */
    animation-duration: 0.6s; /* Duration of the animation */
    animation-timing-function: ease-in-out; /* Speed curve of the animation */
    animation-fill-mode: forwards; /* Element retains the styles of the last keyframe */
}

.popupMaster.active {
    display: grid;
}

@keyframes fadeIn {
  0% {
    opacity: 0; /* Start completely transparent */
  }
  100% {
    opacity: 1; /* End fully opaque */
  }
}

.popupMasterCont{
    position: relative;
    width: 100%;
    max-width: 500px;
    height: fit-content;
    max-height: 80vh;
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 0rem;
    border-radius: 1rem;
    border: solid 2px #357cff;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.popScroll{
     overflow-y: auto;
     overflow-x: hidden;
}

.tituloPopCont{
    width: 100%;
    height: 70px;
    display: grid;
    grid-template-columns: 0.2rem 1.4rem 1fr 70px;
    gap: 0.8rem;
    align-items: center;
    border-radius: 0.8rem 0.8rem 0rem 0rem;
    background-color: #357cff;
}

.cerrarPopupMaster{
    height: 100%;
    width: 100%;
    /* border: solid 3px #357cff; */
    border-radius: 0rem 1rem 0rem 1rem;
    background: url(icon/cerrarIco.svg);
    background-position: center;
    background-size: 80%;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.4);
}

.icontelefono{
    width: 1.4rem;
    height: 1.4rem;
    background: url(icon/telefonoIco.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    -background-color: black;
}

.tituloPopup{
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: -0.15px;
    color: white;
}

.infoPopupCont{
    width: 100%;
    height: 100%;
    display: grid;
    justify-items: start;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    overflow-y: auto;
}

.tituloInfoPopup{
    width: 100%;
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    border-bottom: solid 1px rgba(0, 0, 0, 0.3);
}

.contactoCont{
    width: 100%;
    height: fit-content;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    grid: 0.5rem;
    padding: 0.6rem 0rem;
    margin-top: 2px;
    margin-bottom: 2px;
    background-color: rgba(0, 0, 0, 0.00);
}

.numeroTelefono{
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem;
    color: #6ca7ff;
}

a{
    color: #6ca7ff !important;
}

.botonLlamar{
    height: 40px;
    width: 100px;
    border-radius: 0.3rem;
    color: rgb(255, 255, 255);
    border: none;
    font-size: 1rem;
    background-color:#1db125;
}

.tel{
    color: #918f8f !important;
}

/* ========================================
   POPUP SUCURSALES
======================================== */

.localFoto{
    width: 100%;
    height: 150px;
    border-radius: 1rem;
    margin-top: 2rem;
    background: url(images/localPuenteAlto.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.3);
}

.localFotoDos{
    width: 100%;
    height: 150px;
    border-radius: 1rem;
    margin-top: 2rem;
    background: url(images/localSanJuaquin.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.3);
}

.iconTiendas{
    width: 1.4rem;
    height: 1.4rem;
    background: url(icon/sucursalesBlackIco.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    -background-color: black;
}

.tituloInfoPopupXl{
    width: 100%;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    border-bottom: solid 1px rgba(0, 0, 0, 0.3);
}

.textDireccion{
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    padding-bottom: 0.5rem;
}

.ubicacionCont{
    width: 100%;
    height: 250px;
    display: grid;
    gap: 0.5rem;
    border-radius: 1rem;
    overflow: hidden;
    margin-top: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.imgTienda{
    width: 100%;
    height: 100%;
    background: url(images/localPuenteAlto.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.3);
}
.bi{
    font-weight: 800;
    color: #333;
    margin-top: 1px;
}

/* ========================================
   POPUP PROMOCION QR
======================================== */

.iconLlamas{
    width: 1.4rem;
    height: 1.4rem;
    background: url(icon/llamitaIco.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    -background-color: black;
}

.promoQrFoto{
    width: 100%;
    height: 150px;
    border-radius: 1rem;
    margin-top: 1rem;
    background: url(images/publicidad_PromoQR_mid.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.3);
}

.qrPasos{
    width: 100%;
    height: 80px;
    display: grid;
    grid-template-columns: 50px 1px 1fr;
    gap: 0.5rem;
    border-radius: 0.8rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
    background-color: rgba(0, 119, 255, 0.08);
}

.icoPasosQr{
    width: 100%;
    height: 100%;
    background: url(icon/scanQrIco.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    -background-color: rgba(0, 0, 0, 0.25);
}

.lineaPasos{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.23);
}

.pasosTextCont{
    width: 100%;
    height: 100%;
    -background-color: rgba(0, 0, 0, 0.15);
}

.tituloPasos{
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.15px;
    color: #444;
}

.textPasos{
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: -0.15px;
    color: #555;
}

.icoPasosUbicacion{
    width: 100%;
    height: 100%;
    background: url(icon/selectLocalIco.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    -background-color: rgba(0, 0, 0, 0.25);
}

.icoPasosBalonGas{
    width: 100%;
    height: 100%;
    background: url(icon/balonGasIco.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    -background-color: rgba(0, 0, 0, 0.25);
}

.icoPasosCodigo{
    width: 100%;
    height: 100%;
    background: url(icon/codigoIco.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    -background-color: rgba(0, 0, 0, 0.25);
}

.icoPasosMes{
    width: 100%;
    height: 100%;
    background: url(icon/mesIco.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    -background-color: rgba(0, 0, 0, 0.25);
}

.contQrIngreso{
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.qrIngreso{
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1px 80px;
    gap: 0.5rem;
    border-radius: 0.8rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
    background-color: rgba(0, 89, 255, 0.05);                          
}

.linkGasContigo{
    text-decoration: none;
}

.tituloQrOpciones{
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.15px;
    color: #444;
}

.textQrOpciones{
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: -0.15px;
    color: #555;
}

.icoOpciones{
    width: 100%;
    height: 100%;
    background: url(icon/qrOriginalIco.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    -background-color: rgba(0, 0, 0, 0.25);
}

.botomGasConect{
    width: 100%;
    height: 100%;
    display: grid;
    place-content: center;
}

.botomAccesoGas{
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 400;
    text-align: center;
    color: white;
    border-radius: 0.5rem;
    background-color: #5a9cff;
    border: solid 1px rgba(0, 162, 255, 0.4);
    box-shadow: rgba(0, 0, 0, 0.54) 0px 3px 8px;
}


.tituloPreguntas{
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2rem;
    letter-spacing: -0.15px;
    color: #333;
    margin-bottom: 0.5rem;
}

.textPasosPreguntas{
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: -0.15px;
    color: #666;
    margin-bottom: 1rem;
}

/* ========================================
   POPUP COMUNAS
======================================== */

.iconDistribucion{
    width: 100%;
    height: 100%;
    background: url(icon/comunasWhiteIco.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    -background-color: rgba(0, 0, 0, 0.25);
}

.tituloCobertura{
    height: 100%;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2rem;
    letter-spacing: -0.15px;
    color: #333;
    margin-bottom: 0.5rem;
}

.comunasCont{
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
    place-content: center;
    margin-bottom: 2rem;
}

.textCobertura{
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.15px;
    color: #555;
    text-align: center;
    padding: 0.5rem 0rem;
    border-radius: 0.2rem;
    background-color: rgba(46, 154, 255, 0.1);
}

.promoComunas{
    width: 100%;
    height: 150px;
    border-radius: 1rem;
    margin-top: 1rem;
    background: url(images/publicidad_Comunas_mid.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.3);
}

/* ========================================
   POPUP INFORMACIONES
======================================== */

.iconNews{
    width: 100%;
    height: 100%;
    background: url(icon/newsIco.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    -background-color: rgba(0, 0, 0, 0.25);
}

.corazon{
    font-size: 1.1rem;
    color: #5f5e5e !important;
    margin-top: 0px;
}

.contBlog{
    width: 100%;
    height: fit-content;
    padding: 0rem 0em;
    border-radius: 1rem;
    margin-bottom: 1rem  ;
    background-color: rgba(198, 198, 231, 0.2);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.promoBlog{
    width: 100%;
    height: 150px;
    border-radius: 1rem;
    background: url(images/publicidad_Qr_NoticiaUno.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.3);
}

.contTextBlog{
    width: 100%;
    padding: 0rem 1rem;
    height: fit-content;
}

.tituloBlog{
    height: 100%;
    width: 100%;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.15px;
    /* color: #333; */
    color: #2f7aeb;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.subTituloBlog{
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.2rem;
    letter-spacing: -0.15px;
    font-style: italic;
    color: #5f5e5e;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: solid 1px rgba(0, 0, 0, 0.16);
}

.textoBlog{
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2rem;
    letter-spacing: -0.15px;
    color: #666;
    margin-bottom: 2rem;
     text-wrap: pretty;
}

.promoBlogDos{
    width: 100%;
    height: 150px;
    border-radius: 1rem;
    background: url(images/publicidad_Qr_NoticiaDos.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.3);
}

.promoBlogTres{
    width: 100%;
    height: 150px;
    border-radius: 1rem;
    background: url(images/publicidad_Qr_NoticiaTres.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.3);
}

/* ========================================
   POPUP PYMES INSCRIPCIÓN
======================================== */

.avisoImportanteVerde {
    font-size: 1rem;
    line-height: 1.3rem;
    color: #555;
    border-radius: 0.3rem;
    margin-bottom: 2rem;
    font-weight: 500;
    padding: 1rem 0.5rem;
    background-color: rgba(88, 255, 46, 0.15);
}

.tituloPymesForm{
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.15px;
    line-height: 1.5rem;
    color: #357cff;
    margin-bottom: 1rem;
}

.textPymesForm{
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: -0.15px;
    color: #777;
    padding-bottom: 0.5rem;
}

.espText{
    margin-bottom: 2rem;
}


/* ========================================
   POPUP PUBLICIDAD AUTOMATICA
======================================== */

/* El fondo oscuro que cubre la pantalla */
.popup-overlay {
    display: none;
    /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* El contenedor del pop-up */
.popup-content {
    width: 100%;
    max-width: 500px;
    height: 100%;
    max-height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: url(images/PublicidadPopUp.jpg);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5); */
}

.publiPopUp{
    width: auto;
    height: 90%;
    border-radius: 1rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.contContador{
    position: absolute;
    top: -4px;
    right: -2px;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    z-index: 2000;
    background-color: rgba(0, 0, 0, 0.8);
}

/* El contador en la esquina */
.countdown-timer {
    font-size: 1em;
    font-weight: bold;
    color: #ffffff;
}