.products-page {
    --color-products-background: #467ff721;
}

.products-page .main-navigation a[href$="/productos/"] {
    border-color: var(--color-navy);
    color: var(--color-navy);
}

.products-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 1;
}

.products-introduction {
    padding: 50px 0;
    text-align: center;
}

.products-introduction h1 {
    margin-bottom: 15px;
    color: var(--color-brand);
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
}

.products-introduction p {
    width: 54%;
    margin: 0 auto 14.4px;
    font-size: 16px;
    line-height: 24px;
}

.products-catalog {
    background: var(--color-products-background);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.products-grid article {
    min-width: 0;
    padding: 3.333333vw 6.666667vw;
}

.products-grid h2 {
    color: var(--color-brand);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    overflow-wrap: break-word;
}

.products-grid p {
    margin-bottom: 14.4px;
    font-size: 16px;
    line-height: 24px;
}

.product-gallery {
    --slides-visible: 3;
    padding-bottom: 13px;
}

.product-gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 1536 / 1025;
    object-fit: contain;
}

.product-gallery .carousel-arrow {
    color: #e4e4e4;
    font-size: 32px;
}

@media (max-width: 1024px) {
    /* Evitar palabras partidas por el margen lateral excesivo del original. */
    .products-grid article {
        padding: 32px 24px;
    }

    .product-gallery {
        --slides-visible: 2;
    }
}

@media (max-width: 767px) {
    .products-introduction p {
        width: 85%;
    }

    .products-grid {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
    }

    .products-grid article {
        padding: 10vw 0;
    }

    .product-gallery {
        --slides-visible: 1;
    }
}
