/* Spanish copy adjustments for longer text and the existing content modules. */
body.lyth-es-home .modules-clients {
    padding-top: 24px;
    padding-bottom: 48px;
}
body.lyth-es-home .modules-clients .sec-title {
    margin: 0 0 28px;
}
body.lyth-es-home .modules-clients .c-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px 28px;
    margin: 0;
}
body.lyth-es-home .modules-clients .c-item {
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
}
body.lyth-es-home .modules-clients .c-item img {
    display: block;
    width: 100%;
    max-width: 180px;
    height: 78px;
    margin-inline: auto;
    object-fit: contain;
}

body.lyth-es-about #modules-13 > .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 40px;
    margin-inline: 0;
}
body.lyth-es-about #modules-13 > .row > [class*="col-"] {
    float: none;
    width: auto !important;
    max-width: 100%;
    min-width: 0;
    padding-inline: 0;
}
body.lyth-es-about #modules-13 video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}
body.lyth-es-about #modules-15 {
    margin: 0 !important;
    padding: 0 !important;
}
body.lyth-es-about #modules-15 br:first-child,
body.lyth-es-about #modules-15 br:first-child + br {
    display: none;
}
body.lyth-es-about #modules-15 p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 17px;
    line-height: 1.75;
}

html[lang="es"] .battery-product-page > .container {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
}
html[lang="es"] .battery-product-page .main-image-wrapper,
html[lang="es"] .battery-product-page .product-description-wrapper,
html[lang="es"] .battery-product-page .thumbnail-images-wrapper {
    max-width: 100%;
}
html[lang="es"] .battery-product-page .product-gallery {
    height: auto !important;
    min-height: 400px;
    align-items: flex-start;
}
html[lang="es"] .battery-product-page .product-description-wrapper {
    min-width: 0;
    min-height: 400px;
    height: auto !important;
    max-height: none;
    justify-content: flex-start;
    overflow: visible;
}
html[lang="es"] .battery-product-page .product-description-wrapper h3 {
    margin: 0 0 14px;
    font-size: 19px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    hyphens: auto;
}
html[lang="es"] .battery-product-page .product-description-wrapper li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.55;
    text-align: start;
    overflow-wrap: anywhere;
    hyphens: auto;
}
html[lang="es"] .battery-product-page .thumbnail-images-wrapper {
    flex: 0 0 144px;
    width: 144px;
    min-width: 0;
    min-height: 400px;
    height: auto !important;
    justify-content: flex-start;
    gap: 16px;
}
html[lang="es"] .battery-product-page .thumbnail-images {
    height: auto;
    gap: 14px;
}
html[lang="es"] .battery-product-page .thumbnail-images img {
    margin: 0;
}
html[lang="es"] .battery-product-page .thumbnail-images-wrapper .cta-button {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
    html[lang="es"] .battery-product-page .product-gallery {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        min-height: 0;
    }
    html[lang="es"] .battery-product-page .main-image-wrapper {
        width: 100%;
        height: auto;
        min-width: 0;
        aspect-ratio: 1;
    }
    html[lang="es"] .battery-product-page .main-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    html[lang="es"] .battery-product-page .product-description-wrapper {
        min-height: 0;
    }
    html[lang="es"] .battery-product-page .thumbnail-images-wrapper {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        width: 100%;
        min-height: 0;
        gap: 20px;
    }
    html[lang="es"] .battery-product-page .thumbnail-images {
        flex-direction: row;
        flex-wrap: wrap;
        width: auto;
        min-width: 0;
    }
    html[lang="es"] .battery-product-page .thumbnail-images-wrapper .cta-button {
        flex: 0 1 180px;
        width: auto;
    }
}

@media (max-width: 767px) {
    body.lyth-es-home .modules-clients {
        padding-top: 20px;
        padding-bottom: 32px;
    }
    body.lyth-es-home .modules-clients .c-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 20px;
    }
    body.lyth-es-home .modules-clients .c-item img {
        height: 64px;
    }
    body.lyth-es-about #modules-13 > .row {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    body.lyth-es-about #modules-15 p {
        font-size: 16px;
        line-height: 1.7;
    }
    html[lang="es"] .battery-product-page .product-gallery {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
    html[lang="es"] .battery-product-page .main-image-wrapper {
        grid-row: 1;
    }
    html[lang="es"] .battery-product-page .thumbnail-images-wrapper {
        grid-row: 2;
        flex-wrap: wrap;
        gap: 14px;
    }
    html[lang="es"] .battery-product-page .product-description-wrapper {
        grid-row: 3;
        width: 100%;
    }
    html[lang="es"] .battery-product-page .product-description-wrapper h3 {
        font-size: 18px;
    }
}

html[lang="es"] .lyth-footer .lyth-contact-form .wpforms-field-label {
    box-sizing: border-box;
    padding-right: 12px !important;
    line-height: 1.45;
    white-space: normal !important;
    overflow-wrap: anywhere;
    hyphens: auto;
}
