/* Raíz del componente */
.SectionHandText {
    max-width: 100vw;
    position: relative;
    margin-left: calc(-50vw + 50%);
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 5%;
    margin-bottom: 5%;
}

/* Contenedor principal */
.SectionHandText .SectionHandText__container {
    width: 95%;
    margin: 0 auto;
}

/* Columna de texto */
.SectionHandText .SectionHandText__texto {
    width: 85%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: end;

}

/* Título */
.SectionHandText .SectionHandText__titulo {
    color: var(--neutro2);
    margin-top: 0;
    margin-bottom: calc(var(--tamanio-base) * 0.5rem);
}

/* Párrafo desplazable (antes .txt_scroll) */
.SectionHandText .SectionHandText__container .SectionHandText__texto .SectionHandText__scroll {
    font-weight: 300;
}

/* Wrapper e imagen (antes .img_scroll / .img_scroll img) */
.SectionHandText .SectionHandText__imgWrapper {
    width: 100vw; /* ocupa todo el ancho de la ventana */
    margin-left: calc(-50vw + 50%); /* truco para salir del container */
    margin-right: calc(-50vw + 50%);
}

.SectionHandText .SectionHandText__img {
    width: 100%;
    height: auto;
}

/* Área con scroll (antes .text_block) — aplico al contenedor de texto */
.SectionHandText .SectionHandText__textoOption {
    width: 80%;
    line-height: 1.5;
    font-weight: 300;
    transition: max-height 0.3s ease;
}

.SectionHandText .SectionHandText__textoOption::-webkit-scrollbar {
    width: 6px;
}

.SectionHandText .SectionHandText__textoOption::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.SectionHandText .SectionHandText__textoOption::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.SectionHandText .SectionHandText__textoOption::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Botón/ícono — limitados al shortcode para no contaminar global */
.SectionHandText .button-banner_ofertas_CTA-default-Boton{
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color1);
    color: var(--neutro1);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 0.375rem;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.SectionHandText .icon-banner_ofertas_CTA-default-Icono{
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
    border: 0;
    width: 1.5rem;
    height: 1.5rem;
}
.SectionHandText__titulo span{
    color: var(--color1);
}
.SectionHandText__texto{
    text-align: right;
}
.SectionHandText__textoOption{
    width: 100%;
}

.SectionHandText__container .SectionHandText__texto li{
    list-style: none;
}

/* Responsive */
@media (max-width: 425px){
    .SectionHandText .SectionHandText__container .SectionHandText__imgWrapper{
        margin-top: 20px;
    }
    .SectionHandText .SectionHandText__textoOption{
        width: 100%;
    }
    .SectionHandText .SectionHandText__titulo{
        width: 100%;
    }
    .SectionHandText .SectionHandText__container{
        margin: unset;
    }
}

@media (min-width: 768px) {
    .SectionHandText .SectionHandText__container {
        width: 80%;
        display: flex;
        align-items: flex-start;
        gap: 20px;
    }
    .SectionHandText .SectionHandText__texto {
        width: 50%;
        margin: 0;
    }
    .SectionHandText .SectionHandText__imgWrapper {
        width: 50%;
    }
}

@media (min-width: 1024px) {
    .SectionHandText .SectionHandText__container {
        width: 85%;
        display: flex;
        align-items: center;
        gap: 40px;
    }
    .SectionHandText .SectionHandText__texto {
        width: 55%;
    }
    .SectionHandText .SectionHandText__imgWrapper {
        width: 55%;
    }
}

@media (min-width: 1440px) {
    .SectionHandText .SectionHandText__container {
        width: 85%;
        display: flex;
        align-items: center;
    }
    .SectionHandText .SectionHandText__imgWrapper {
        width: 55%;
    }
    .SectionHandText .SectionHandText__texto {
        width: 65%;
    }
}

@media (max-width: 767px) {
    .SectionHandText .SectionHandText__texto,
    .SectionHandText .SectionHandText__imgWrapper {
        width: 100%;
    }
    .SectionHandText .SectionHandText__container {
        display: flex;
        flex-direction: column-reverse;
    }
    .SectionHandText .SectionHandText__texto{
        width: 100%;
        text-align: left;
    }
    .SectionHandText .SectionHandText__imgWrapper {
        margin-bottom: 20px;
    }
}
