
/* 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: auto;
}
.section-detail__images-descr:not(:first-child) {
    margin-top: var(--offset-secondary);
}
.section-detail__images .slider-images__wrapper {
    align-items: start;
}
.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)); */
    top: var(--offset-block-secondary);
}
.section-detail__aside {
    /* max-height: calc(100vh - var(--height-header, 0rem) - var(--offset-block-secondary) * 2); */
    max-height: calc(100vh - 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);
}

/**/
.section-detail__table-wrapper ul:not([class]),
.section-detail__table-wrapper ol:not([class]) {
    padding-left: 0;
}
.section-detail__table-wrapper ul:not([class]) li,
.section-detail__table-wrapper ol:not([class]) li {
    list-style-type: none;
}
.section-detail__table-wrapper p:not(:last-child),
.section-detail__table-wrapper ul:not([class]):not(:last-child),
.section-detail__table-wrapper ol:not([class]):not(:last-child),
.section-detail__table-wrapper li:not([class]):not(:last-child) {
    margin-bottom: -0.25rem;
}
.section-detail__table-wrapper p:not(:first-child),
.section-detail__table-wrapper ul:not([class]):not(:first-child),
.section-detail__table-wrapper ol:not([class]):not(:first-child),
.section-detail__table-wrapper li:not([class]):not(:first-child) {
    margin-top: 0;
}
.content .section-detail__descr p:not(:last-child) {
    margin-bottom: 0.625em !important;
}
.content .section-detail__descr p:not(:first-child) {
    margin-top: 0.625em !important;
}
/* 
@media screen and (min-width: 1900px) {
    .section-detail__table-wrapper table tr td:first-child {
        max-width: 220px;
        width: 220px;
    }
    .section-detail__table-wrapper table tr td:last-child {
        max-width: 382px;
        width: 382px;
    }
} */

@media screen and (min-width: 1700px) {

    .section-detail__aside-items .card-aside__image {
        max-height: 108px;
    }
}

@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-wrapper table {
        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;
    }
    .section-detail__images-descr:not(:first-child) {
        margin-top: 0.75rem;
    }
    .section-detail__images .slider-images {
        margin-bottom: 0.75rem;
    }
    
}

@media screen and (max-width: 424px) {
    .section-detail__table-wrapper table tr td {
        hyphens: auto;
    }
    /* .section-detail__table-wrapper table tr td:first-child {
        max-width: 148px;
        width: 148px;
        min-width: 148px;
    }
    .section-detail__table-wrapper table tr td:nth-child(2),
    .section-detail__table-wrapper table tr td:last-child {
        max-width: 204px;
        width: 204px;
        min-width: 204px;
    } */
    .section-detail__table-wrapper table {
        margin-bottom: 5px !important;
    }
}