.product_main_embla {
    position: sticky;
    top: 24px;
    height: max-content;
    & .embla {
        max-height: 750px;
        overflow: hidden;
        display: flex;
        flex-direction: row-reverse;
        align-items: stretch;
        gap: 16px;
        & .embla__viewport {
            overflow: hidden;
            & .embla_slide {
                flex: 0 0 100% !important;
                border-radius: var(--brad_small);
                overflow: hidden;
            }
        }

        & .embla-thumbs {
            & .embla-thumbs__viewport {
                overflow: hidden;
                & .embla-thumbs__container {
                    max-height: 750px;
                    transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);

                    display: flex;
                    flex-direction: column;
                    gap: 12px;
                }
                & .embla-thumbs__slide {
                    flex: 1 1 auto;
                    height: 187px;
                    width: 132px;
                    &.--selected {
                        border: 1px solid var(--accent1);
                    }
                }
            }
        }
        @media (max-width: 906px) {
            max-height: unset;
            flex-direction: column;

            & .embla-thumbs {
                & .embla-thumbs__viewport {
                    & .embla-thumbs__container {
                        flex-direction: row !important;
                        & .embla-thumbs__slide {
                            flex: 0 0 29% !important;
                            height: unset !important;
                            width: unset !important;
                        }
                    }
                }
            }
        }
    }
}
.product_features {
    padding-bottom: var(--mar-44);
    margin-bottom: var(--mar-44);
    gap: 48px !important;
    justify-content: start;
    & p {
        font-family: "Montserrat", sans-serif;
        font-size: 20px;
        font-weight: 500;
        color: var(--white);
    }
    & > div {
        justify-content: start;
        flex: unset !important;
        gap: 12px;
        @media (max-width: 768px) {
            align-items: start !important;
            flex-direction: row !important;
        }
    }
    &::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: var(--black3);
    }
}
.shipping_container {
    &.taCenter {
        & div:has(svg) {
            margin: 0 auto;
        }
    }
    &:not(.second) h3 {
        font-size: 18px;
        margin-bottom: 0;
    }
    & > div {
        gap: 16px;
        align-items: center;
        & > div {
            min-width: 64px;
            max-width: 64px;
        }
    }
    &.second {
        & h3 {
            margin-top: 20px;
            font-size: 22px;
        }
    }
}
.product_certs {
    gap: 10px;
    margin-top: var(--mar-32);
}
.highlights_items {
    margin-bottom: var(--mar-44);
}

.gallery__container {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    grid-auto-flow: dense;
}
.gallery__container > div {
    background-color: gray;
    min-height: 258px;
}
.gallery__container > div {
    grid-row: span 2;
}

@media (min-width: 768px) {
    .gallery__container > :nth-child(18n + 3),
    .gallery__container > :nth-child(18n + 4),
    .gallery__container > :nth-child(18n + 13),
    .gallery__container > :nth-child(18n + 14),
    .gallery__container > :nth-child(18n + 15),
    .gallery__container > :nth-child(18n + 16) {
        grid-row: span 3;
    }
}
@media (min-width: 480px) and (max-width: 768px) {
    .gallery__container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .gallery__container > :nth-child(18n + 3),
    .gallery__container > :nth-child(18n + 9),
    .gallery__container > :nth-child(18n + 12),
    .gallery__container > :nth-child(18n + 17) {
        grid-row: span 3;
    }
}
@media (min-width: 0px) and (max-width: 480px) {
    .gallery__container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gallery__container > div {
        grid-row: span 2;
    }
    .gallery__container > :nth-child(18n + 2),
    .gallery__container > :nth-child(18n + 9),
    .gallery__container > :nth-child(18n + 12),
    .gallery__container > :nth-child(18n + 17) {
        grid-row: span 3;
    }
}
