.containers-index {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/* BANNERS PRINCIPALES */
.box-img-principal {
    width: 100%;
}
.img-principal {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
}
.img-principal2 {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: none;
}


/* BOX INDICES IMAGENES */
.box-imagenes-indices {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    width: 96%;
}
.box-imagenes-indices a {
    text-decoration: none;
}
.container-imagen-indice {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.1rem;
    cursor: pointer;
    width: 5.5rem;
}
.container-imagen-indice:hover label {
    color: var(--azul);
}
.box-imagen-indice {
    width: 5.2rem;
    height: 5.2rem;
    border-radius: 50%;
}
.box-imagen-indice img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
    border-radius: 50%;
}
.container-imagen-indice label {
    height: 1rem;
    font-family: var(--font2);
    font-size: 0.6rem;
    text-align: center;
    color: rgba(0,0,0,0.8);
    font-weight: bold;
    cursor: pointer;
}


/* BOX INDICEX */
.box-index {
    width: 96%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: white;
}
.label-index {
    align-self: flex-start;
    display: inline-block;
    width: auto;
    height: 100%;
    align-items: center;
    font-family: var(--font2);
    font-size: 1.3rem;
    font-weight: bold;
    color: rgba(0,0,0,0.8);
    margin-top: 1rem;
    margin-left: 1rem;
}
.link-label {
    font-family: var(--font2);
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--rojo-base);
    cursor: pointer;
}
.box-productos {
    width: 100%;
    padding: 1rem;
    background-color: white;
    border-bottom-left-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow-x: auto;       
    white-space: nowrap;
    scroll-behavior: smooth;  
       
}
.box-productos::-webkit-scrollbar {
    display: none;
}
.box-producto {
    width: 14rem;
    flex: 0 0 auto;
    padding: 0.4rem;
    background-color: white;
}
.box-img {
    width: 100%;
    height: 12rem;
    cursor: pointer;
}
.box-img img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
}
.container-info-producto {
    width: 100%;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}
.label-producto {
    font-family: var(--font2);
    font-size: 0.8rem;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;      /* número de líneas visibles */
    -webkit-box-orient: vertical;
    overflow: hidden;           /* oculta el resto del texto */
    text-overflow: ellipsis;    /* agrega "..." */
    white-space: normal; 
    height: 3.4rem;
}
.box-precios {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.label-precio {
    font-family: var(--font2);
    font-weight: bold;
}
.label-precio2 {
    color: grey;
    text-decoration: line-through;
    font-family: var(--font2);
    font-size: 0.8rem;
}
.container-variedades {
    width: 100%;
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    height: 1.6rem;
}
.box-variedades {
    font-family: var(--font2);
    color: grey;
    font-size: 0.7rem;
    padding: 0.3rem;
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: 0.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.box-variedad-agotado { 
    border: 1px solid rgba(0,0,0,0.3);
    color: rgba(0,0,0,0.3);
    text-decoration: line-through;
}
.box-variedad-select {
    border: 1px solid var(--rojo-secundario);
    color: var(--rojo-secundario);
    font-weight: bold;
}
.div-unidades {
    width: 100%;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    font-family: var(--font2);
    color: var(--verde);
    font-size: 0.7rem;
    display: flex;
    gap: 0.4rem;
    align-items: center;
}
.div-unidades i {
    font-size: 0.4rem;
    margin-top: 0.1rem;
}
.producto-agotado {
    color: grey;
}
.input-agregar {
    width: 100%;
    height: 2rem;
    border: none;
    border-radius: 0.3rem;
    background-color: var(--rojo-secundario);
    color: white;
    cursor: pointer;
    font-family: var(--font2);
}
.input-agregar:disabled {
    background-color: var(--rojo-rgba);
    color: white;
    cursor: not-allowed;
}
.inp-scroll {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(211, 211, 211, 1);
    font-size: 1.2rem;
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    cursor: pointer;
    position: absolute;
}
.inp-left {
    left: 0%;
    margin-left: -1.25rem;
}
.inp-right {
    right: 0%;
    margin-right: -1.25rem;
}
.inp-left:hover, .inp-right:hover {
    background-color: var(--rojo-base);
}
.icon-arrow {
    height: 1.3rem;
    width: 1.3rem;
    color: white;
}
.container-marcas {
    width: 96%;
    
    background-color: white;
    border-radius: 0.3rem;
}
.box-marcas {
    width: 100%;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
}
.box-marcas2 {
    width: 8rem;
    height: 4rem;
}
.box-marcas2 img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}


/* PREGUNTAS FRECUENTES */
.container-preguntas-frecuentes {
    width: 96%;
    background-color: white;
    border-radius: 0.2rem;
}
.container-box-preg-frec {
    width: 100%;
    padding: 1rem;

}
.box-pregunta {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    padding-top: 1rem;
    padding-bottom: 1rem;
    align-items: center;
}
.text-pregunta {
    font-family: var(--font2);
    font-size: 1.2rem;
    color: rgba(0,0,0,0.8);
}
.icono-preg-frec {
    width: 1.4rem;
    height: 1.4rem;
}
.Box-respuesta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    font-family: var(--font2);
    font-size: 1rem;
    color: rgba(0,0,0,0.5);
}
.Box-respuesta.open {
    max-height: 10rem;
}














@media (min-width: 480px) {
    
}

@media (min-width: 768px){
    .img-principal {
        display: none;
    }
    .img-principal2 {
        display: block;
    }
    .box-imagenes-indices {
        gap: 2rem;
    }
    .container-imagen-indice {
        width: 10rem;
        gap: 0.5rem;
    }
    .box-imagen-indice {
        width: 10rem;
        height: 10rem;
    }
    .container-imagen-indice label {
        height: 2rem;
        font-size: 0.9rem;
    }
    .inp-scroll {
        display: flex;
    }
    .container-preguntas-frecuentes {
        width: 70%;
    }
}

@media (min-width: 1024px) {
    .container-imagen-indice {
        width: 12rem;
    }
    .box-imagen-indice {
        width: 12rem;
        height: 12rem;
    }
}
@media (min-width: 1200px) {
    .container-preguntas-frecuentes {
        width: 50%;
    }
}
@media (min-width: 1400px) {
    
}
@media (min-width: 1600px) {
    
}

.hidd {
    display: none;
}