
/* section-detail */
.section-detail {
    --offset-block: 3rem;
    --offset-block-secondary: var(--offset-big);
    --width-content: 59.7%;
}
.section-detail__wrapper {
    display: flex;
    align-items: start;
    gap: var(--offset-main);
}
.section-detail__content {
    flex-grow: 1;
    max-width: var(--width-content);
    min-width: var(--width-content);
    display: flex;
    flex-direction: column;
    gap: var(--offset-block);
}
.section-detail__block {
    display: flex;
    flex-direction: column;
    gap: var(--offset-block-secondary);
}
.section-detail__image {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
}
.section-detail__image img {
    display: block;
    width: 100%;
    height: 100%;
}
.section-detail__images-descr:not(:first-child) {
    margin-top: var(--offset-secondary);
}
.section-detail__bottom {
    display: flex;
    align-items: center;
    gap: var(--offset-main);
}
.section-detail__soc {
    display: flex;
    align-items: center;
    gap: var(--offset-small);
}
.section-detail__table-wrapper {
    position: relative;
    min-width: 100%;
    overflow-x: auto;
}
.section-detail__table-touch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--offset-small);
    background: var(--color-black-80);
    color: var(--color-text);
    cursor: pointer;
    text-align: center;
    pointer-events: none;
    border-radius: var(--radius);
    transition: var(--transition);
}
.section-detail__table-touch svg {
    display: block;
    width: calc(var(--size-icon) * 2);
    height: calc(var(--size-icon) * 2);
}
.section-detail__table-touch:not(._visible) {
    opacity: 0;
}

/**/
.section-detail__aside {
    flex-grow: 1;
    position: sticky;
    top: calc(var(--height-header, 0rem) + var(--offset-block-secondary));
}
.section-detail__aside {
    max-height: calc(100dvh - var(--height-header, 0rem) - var(--offset-block-secondary) * 2);
    overflow-y: auto;
    scrollbar-width: none;
}
.section-detail__aside::-webkit-scrollbar,
.section-detail__aside::-webkit-scrollbar-track,
.section-detail__aside::-webkit-scrollbar-thumb {
    display: none;
}
.section-detail__aside,
.section-detail__aside-items {
    display: flex;
    flex-direction: column;
    gap: var(--offset-secondary);
}

@media screen and (min-width: 1024px) {
    .section-detail__table-wrapper {
        scrollbar-width: none;
    }
    .section-detail__table-wrapper::-webkit-scrollbar,
    .section-detail__table-wrapper::-webkit-scrollbar-track,
    .section-detail__table-wrapper::-webkit-scrollbar-thumb {
        display: none;
    }
}
@media screen and (max-width: 1023.5px) {
    .section-detail {
        --offset-block: var(--offset-big);
        --offset-block-secondary: var(--offset-main);
        --width-content: 100%;
    }
    .section-detail__wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: var(--offset-big);
    }
    .section-detail__aside {
        max-height: 100%;
        overflow: visible;
    }
    .section-detail .card-slider {
        margin-left: calc(var(--grid-gap) * -1);
        margin-right: calc(var(--grid-gap) * -1);
        width: calc(100% + var(--grid-gap) * 2);
        max-width: calc(100% + var(--grid-gap) * 2);
    }
    .section-detail__table-content {
        font-size: 0.8125rem;
        line-height: 1.39;
    }
    .section-detail__table-touch {
        display: none;
    }
    .section-detail__table-wrapper {
        scrollbar-width: 0.375rem;
        padding: 0 var(--grid-gap);
        margin: 0 calc(var(--grid-gap) * -1);
    }
    .section-detail__table-wrapper::-webkit-scrollbar {
        height: 0.5rem;
        border-radius: 0.5rem;
        background-color: transparent;
    }
    .section-detail__table-wrapper::-webkit-scrollbar-thumb {
        height: 0.5rem;
        border-radius: 0.5rem;
        background-color: var(--color-grey-32);
    }
    .section-detail__table-wrapper::-webkit-scrollbar-track {
        background-color: transparent;
    }
}