.nav-tabs button#tab_1:target,
.nav-tabs button#home-tab:target {
    scroll-margin-top: 100px;
}

.product-tasks>h2 {
    font-size: 40px;
    font-weight: 700;
}

.tasks-list {
    margin-bottom: 40px;
}

.tasks-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
}

.task-item>img {
    height: 46px;
    width: 46px;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefits-list {
    gap: 30px !important;
}

.benefit-item {
    display: flex;
    flex-direction: column;
}

.benefit-image {
    border-radius: 7px;
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.benefit-name {
    font-size: 18px;
    font-weight: 700;
}

.benefit-description {
    font-size: 14px;
    font-weight: 400;
}

.tab-content {
    padding-top: 20px;
}

.tab-container {
    display: flex;
    border-bottom: 1px solid #ccc;
    /* серая линия */
    gap: 30px;
}

.tab {
    font-family: Inter, Arial, sans-serif !important;
    position: relative;
    padding: 14px 0;
    text-decoration: none;
    color: rgb(85, 85, 85);
    font-weight: 400;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
}

.tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: transparent;
    transition: background-color 0.3s;
}

.tab.active::after {
    height: 1px;
    background-color: #e32636;
}

.tab-container {
    display: flex;
    flex-wrap: nowrap;

    position: relative;
    gap: 10px;
}

.more-tabs-wrapper {
    position: relative;
}

.more-tab {
    white-space: nowrap;
}

.more-tabs-dropdown {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 154%;
    /* bottom: -54px; */
    right: 1px;
    /* left: -5px; */
    background: white;
    border-radius: 7px;
    z-index: 1000;
    min-width: 150px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    padding: 14px 10px;

    flex-direction: column;
    gap: 12px;
}

.more-tabs-dropdown a {
    white-space: nowrap;
    text-decoration: none;
    color: rgb(85, 85, 85);
}

.more-tabs-dropdown>.tab {
    padding: 0 !important;
}

.more-tabs-wrapper.open .more-tabs-dropdown {
    display: flex;
}

.more-tabs-wrapper {
    position: relative;
}

.more-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    text-decoration: none;
    color: #555;
    user-select: none;
}

.more-tab .arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #555;
    border-bottom: 2px solid #555;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-top: 2px;
}

/* Поворот стрелки при открытии */
.more-tabs-wrapper.open .arrow {
    transform: rotate(-135deg);
}

/* Выпадающее меню */
.more-tabs-dropdown {
    position: absolute;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;


}

/* Показываем меню при открытии */
.more-tabs-wrapper.open .more-tabs-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-swiper-wrapper {
    width: 100%;
    padding: 40px 0;
}

.custom-slide {
    background: #fff;
    color: #000;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--main-color1);
}

.custom-swiper-next {
    color: rgb(60, 70, 91) !important;
}

.custom-swiper-prev {
    color: rgb(60, 70, 91) !important;
}

.config-title {
    font-size: 20px;
    font-weight: bold;
}

.config-subinfo {
    margin-top: 10px;
    font-size: 14px;
    color: #ccc;
}

.config-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.config-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ebebeb;
    padding: 8px 0;
}

.config-flag,
.config-value {
    font-size: 15px;
}

.possibility-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    min-width: 0;
}

.possibility-card {
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent;
    min-width: 0;
}

.possibility-card>div:nth-child(1) {
    height: 220px !important;
}

.file-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.file-group-title {
    padding: 20px 0;
}

.file-title {
    display: flex;
}

.file-title {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    display: block;
}

.file-item {
    background: #f8f8f8;
    border-radius: var(--main-border-radius);
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: all 0.2s ease;
}

.possibility-card>div>div {
    height: 100% !important;
}

.possibility-card>div>div>div {
    height: 100% !important;
}

.possibility-card>div>div>div>a>img {
    height: 100% !important;
}

.possibility-desc-wrapper {
    position: relative;
}

.possibility-desc.short {
    overflow: hidden;
    max-height: 8.5em;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    transition: max-height 0.3s ease;
}

.read-more-btn {
    margin-top: 8px;
    background: none;
    border: none;
    color: #f35975;
    cursor: pointer;
    padding: 0;
}

.product-possibilities>h2 {
    padding-bottom: 20px;
}

.possibility-desc ul li::marker {
    content: "- ";
    color: #f35975;
    font-weight: 300;
    font-size: 1.5em;
}

.custom-slide>a>img {
    height: 270px !important;
}

.tasks-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    margin-bottom: 40px;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.task-item>img {
    height: 46px;
    width: 46px;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
}

.benefit-image {
    border-radius: 7px;
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.benefit-name {
    font-size: 18px;
    font-weight: 700;
}

.benefit-description {
    font-size: 14px;
    font-weight: 400;
}

.tasks-list-1 {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 0;
    font-size: 14px;
    font-weight: 400;
}

:root {
    --main-color1: #00ade5;
    --main-border-radius: 7px;
}

.config-table tbody tr:nth-last-child(1) td:nth-child(n+2) {
    font-size: 14px !important;
    font-weight: 600;
}

tbody tr td:first-child {
    text-align: left !important;
    font-weight: 600;
    max-width: 480px;
    background-color: rgb(235, 235, 235);
}

.custom-swiper-wrapper {
    width: 100%;
    padding: 40px 0;
}

.product_system:hover {
    background-color: #f1f1f1;
}

.custom-swiper .custom-swiper-next,
.custom-swiper-prev {
    position: absolute;
    top: var(--swiper-navigation-top-offset, 95%) !important;
    width: calc(var(--swiper-navigation-size)/ 44 * 27);
    height: var(--swiper-navigation-size);
    margin-top: calc(0px - (var(--swiper-navigation-size)/ 2));
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color1) !important;
}

.custom-swiper>.custom-swiper-prev {
    position: absolute;
    top: var(--swiper-navigation-top-offset, 95%) !important;
    width: calc(var(--swiper-navigation-size)/ 44 * 27);
    height: var(--swiper-navigation-size);
    margin-top: calc(0px - (var(--swiper-navigation-size)/ 2));
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color1) !important;
}

.custom-swiper-pagination {
    height: max-content;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    position: absolute;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
    margin-top: 0;
}

.custom-swiper.custom-swiper-horizontal>.custom-swiper-pagination,
.custom-swiper-pagination.custom-swiper-horizontal,
.custom-swiper-pagination-custom,
.custom-swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, 40px);
    top: var(--swiper-pagination-top, auto) !important;
    left: 0;
    width: 100%;
}

.custom-swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: var(--main-color1) !important;
}

#nano_big_button .nano_big_button_link {
    width: 100%;
    display: block;
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: var(--main-color1);
    padding: 20px;
    border-radius: var(--main-border-radius);
    border: 1px solid var(--main-color1);
    transition: 0.3s;
}

.config-table thead tr th {
    text-align: center;
}

.sect-konf {
    padding: 60px 0;
}

.sect-konf h2 {
    margin-bottom: 40;
    margin-top: 0;
    font-size: 40px;
    font-weight: 700;
}

#config-table td {
    width: max-content !important;
}


.element-text {
    font-size: 15px;
}

.conf-btn {
    font-weight: 500;
    font-size: 16px;
    background: rgb(29, 38, 46);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: var(--main-border-radius);
}

.product-card {
    padding: 10px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: var(--main-border-radius);
}

.product-card.highlight {
    border-color: #007bff;
    background-color: #e6f0ff;
}

.plat_tab_img {
    height: 170px;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    filter: drop-shadow(0px 0px 0px #fff);
}

.config-table th {
    font-size: 18px !important;
    padding: 15px !important;
}

.config-table td {
    font-size: 18px !important;
    padding: 15px !important;
}

.config-table tbody tr td:first-child {

    background-color: transparent !important;
    border-right: 1px solid #d8d8d8;
}

.element-text {
    font-size: 16px !important;
}

.config-table tbody tr td:nth-child(2) {

    background-color: transparent !important;
    border-right: 1px solid #d8d8d8;
}

.config-table tbody tr td:nth-child(3) {

    background-color: transparent !important;
    border-right: 1px solid #d8d8d8;
}

.config-table tbody tr td:nth-child(4) {

    background-color: transparent !important;
    border-right: 1px solid #d8d8d8;
}

.config-table tbody tr td:nth-child(5) {

    background-color: transparent !important;
    border-right: 1px solid #d8d8d8;
}

.config-table tbody tr td:nth-child(6) {

    background-color: transparent !important;

}

.config-table tbody tr:nth-child(1) {

    background-color: #eeeeee;


}

.config-table tbody tr:nth-child(2) {

    background-color: #eeeeee !important;

}

.config-table tbody tr:nth-child(3) {

    background-color: #eeeeee !important;

}

.config-table tbody tr:nth-child(4) {

    background-color: #eeeeee !important;


}

.config-table tbody tr td:nth-child(n+2)>div {
    border-bottom: 1px solid #d8d8d8;
    height: 50px;
    padding: 15px;
}

.config-table tbody tr td i.fa-check {
    padding: 10px 11px;
    background: #00ade5;
    border-radius: 50px;
    color: #fff;
}

.config-table tbody tr td i.fa-xmark {

    padding: 10px 12px;
    background: #e1e1e1;
    border-radius: 50px;
    color: #fff;
}

.product-price {
    gap: 10px;
    display: flex;
    align-items: flex-end;
}

.product-price>img {
    height: 22px;
    width: 22px;
    filter: invert(100%) sepia(0%) saturate(7491%) hue-rotate(173deg) brightness(104%) contrast(104%);
}

.config-table tbody tr:nth-last-child(2) td:nth-child(n+2) {
    font-size: 14px !important;
}

.config-table tbody tr:nth-last-child(1) td:nth-child(n+2) {
    font-size: 14px !important;
    font-weight: 600;
}

.config-table tbody tr:nth-last-child(1) {
    background-color: transparent !important;

}

.config-table thead tr th:nth-child(n+2) .element-text {
    border: 1px solid #d8d8d8;
    border-radius: var(--main-border-radius);
    padding: 5px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-pagination-bullet-active {
    background-color: var(--main-color1) !important;
}

.config-table tbody tr:nth-last-child(1) td {
    border: none !important;
}

.my-config-slider__pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.config-table tbody tr:last-child td:nth-child(n+2)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.15), transparent);
}

.config-table tbody tr:last-child td:nth-child(n+2) {
    position: relative;
    /* чтобы псевдоэлемент позиционировался от ячейки */
}

.config-table tbody tr:nth-last-child(1) td:nth-child(1) {
    background-color: #fff !important;
}

.config-table tbody tr:last-child td:nth-child(2)::before {}

.config-table tbody tr:last-child td:nth-child(3)::before {}

.config-table tbody tr:last-child td:nth-child(4)::before {
    left: -1px !important;
}

.config-table tbody tr:last-child td:nth-child(5)::before {
    left: -1px !important;
}

.config-table tbody tr:last-child td:nth-child(6)::before {
    left: -1px !important;
}




.element-text.highlight-text {
    background-color: var(--main-color1);
    color: #fff !important;
    border: none !important;
}

.config-table thead {
    position: sticky;
    top: 140px;
}

.element-text {
    background-color: #fff;
}

.platform_prod_item {
    cursor: pointer;
    transition: background 0.3s ease;
}

.product-sostav {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
    margin: 20px 0 35px;
}

.sostav-item {
    display: flex;
    width: 20%;
    padding: 10px;
    border: 1px solid #b2b2b2ad;
    border-radius: var(--main-border-radius);
    transition: 0.3s;
    flex-grow: 1;
    flex-direction: column;
    align-items: center;

}

.sostav-item p {
    margin: 0;
    text-align: left;
}

.product-sostav {
    margin-bottom: 0;
}

#vozm-prod2 {
    cursor: pointer;
}

.new-item {
    justify-content: space-between;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.fixed-cell>span {
    font-weight: 500 !important;
    color: #9c9c9c;
}

.new-text {
    flex: 0 0 70%;
    color: #fff !important;
}

.new-text h3>p {
    margin: 0;
    font-size: 18px !important;
}

.new-text h3 {
    margin: 0;
}



.tab-content-whats-new {
    padding-bottom: 40px;
}

.new-items-wrapper h3 {
    margin: 0;
    color: #000 !important;
}

.new-items-wrapper p {
    color: #000 !important;
}

.new-item {
    border-radius: 7px !important;
    transition: background-color 0.3s ease;
}

.new-item:hover {

    background-color: #f1f1f1 !important;
}

.section-title {
    font-size: 40px;
}

.nanocad-webinar-content {
    margin-top: 40px;
}

.tab-section .tabs-buttons {
    position: sticky;
    top: 68px;
    padding-top: 20px;
    background: #fcfbf9;
}

.new-item {
    border: 1px solid #fff;
}

.product-btn {
    cursor: pointer;
}

.tab-content #config-table thead {
    position: sticky;
    top: 65px;
    background-color: #fff;
    /* белый фон */
    z-index: 10;
    /* чтобы была над содержимым */
}

.tab-content #config-table thead th {
    background-color: #fff;
    /* отдельно для th, чтобы фон точно был */
    z-index: 11;
    /* чуть выше, чем у thead */
}

.products-container #config-table thead {
    position: sticky;
    top: 65px;
    background-color: #fff;
    /* белый фон */
    z-index: 10;
    /* чтобы была над содержимым */
}

.products-container #config-table thead th {
    background-color: #fff;
    /* отдельно для th, чтобы фон точно был */
    z-index: 11;
    /* чуть выше, чем у thead */
}

.my-config-slider {
    width: 100%;
    padding: 40px 0;
}

.my-config-slider__controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
    margin-right: 4px;
}

.my-config-slider__nav {
    display: flex;
    gap: 10px;
}

.my-config-slider__prev,
.my-config-slider__next {
    border-radius: 50%;
    cursor: pointer;
    width: 40px;
    height: 40px;

    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    box-shadow: 4px 4px 8px #d1d1d1, -4px -4px 8px #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
    border: none;
}

.my-config-slider__prev::before,
.my-config-slider__next::before {
    color: var(--main-color1);
    font-family: swiper-icons;
    font-size: 20px;
    text-align: center;
    line-height: 1;
}

.my-config-slider__prev::before {
    content: 'prev';
}

.my-config-slider__next::before {
    content: 'next';
}

/* Hover-эффект: подсветка и "нажатие" */
.my-config-slider__prev:hover,
.my-config-slider__next:hover {
    box-shadow: inset 2px 2px 5px #d1d1d1, inset -2px -2px 5px #ffffff;
    background: linear-gradient(145deg, #f0f0f0, #dcdcdc);
    transform: translateY(-1px);
}

.my-config-slider__wrapper {
    display: flex;
}

.my-config-slider__slide {
    flex-shrink: 0;
    width: 100%;
    background: #fff;
    color: #000;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--main-color1);
}

.my-config-slider__header {
    margin-bottom: 20px;
}

.my-config-slider__title {
    font-size: 20px;
    font-weight: bold;
}

.my-config-slider__subinfo {
    margin-top: 10px;
    font-size: 14px;
    color: #ccc;
}

.my-config-slider__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.my-config-slider__row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ebebeb;
    padding: 8px 0;
}

.my-config-slider__flag,
.my-config-slider__value {
    font-size: 15px;
}

.my-config-slider__pagination,
.my-config-slider__prev,
.my-config-slider__next {
    margin-top: 20px;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: var(--swiper-navigation-top-offset, 13%) !important;
    width: calc(var(--swiper-navigation-size)/ 44 * 27);
    height: var(--swiper-navigation-size);
    margin-top: calc(0px - (var(--swiper-navigation-size)/ 2));
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--swiper-navigation-color, var(--swiper-theme-color));
}

@media (max-width: 991px) {
    .possibility-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        min-width: 0;
    }

    .benefits-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 30px !important;
    }

    .platform_product {
        margin-top: 25px !important;
    }
}

@media (max-width: 767px) {
    .brand-detail-info__preview {
        flex-direction: column;
    }

    .nav-tabs {
        margin-bottom: 0 !important;
        gap: 15px !important;
    }

    .platform_tabs_block>.nano_big_button {
        margin-top: 15px !important;
    }

    .platform_product {
        margin-top: 25px !important;
    }

    .nano_big_button_link {
        font-size: 15px !important;
        padding: 10px !important;
    }

}

@media (max-width: 575px) {
    .brand-detail-info__preview {
        flex-direction: row;
    }

    .benefits-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }

    .possibility-list {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
        min-width: 0;
    }

    .tasks-list {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px 20px;

    }

    .my-config-slider {
        padding-top: 10px !important;
    }

    #configuration>h2 {
        font-size: 26px !important;
    }

    .products-container>h2 {
        font-size: 26px !important;
    }
}

@media (max-width: 490px) {
    .brand-detail-info__preview {
        flex-direction: row;
    }

    .benefits-list {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 30px !important;
    }

    .requirement-content {
        flex-direction: column;
    }

    .requirement-content>.second_column {
        float: left !important;
        width: 100% !important;
    }

    .second_column>ul {
        padding-left: 0 !important;
    }

    .requirement-content>.first_column {
        margin: 0 !important;
        float: left !important;
        width: 100% !important;
        margin-right: 3% !important;
    }
}