.list-text-color {
    color: #646464;
}

.catalog__card-header {
    min-height: unset !important;
}

button svg {
    width: 24px;
    height: 24px;
}

.main-slider img {
    height: 500px !important;
    object-fit: contain;
    margin: 0 auto;
}

.img-thumbnail {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease;
    cursor: pointer;
    object-fit: contain;
}

/* Активный элемент — с выделением */
.tns-nav-active img {
    border: 1px solid var(--bs-secondary);
}

/* Контейнер списка */
.spec-line {
    font-size: 12px;
}
.spec-title {
    margin-right: 2px;
}
.spec-value {
    margin-left: 2px;
    font-size: 12px;
}

/*.specs-list {*/
/*    padding-left: 0;*/
/*    margin: 0;*/
/*}*/

/*.spec {*/
/*    display: grid;*/
/*    grid-template-columns: minmax(120px, 360px) auto;*/
/*    align-items: baseline;*/
/*    gap: .5rem;*/
/*    overflow: hidden;*/
/*    margin-bottom: 10px;*/
/*}*/

/*.spec-title {*/
/*    position: relative;*/
/*    font-size: 12px;*/
/*    min-width: 0;*/
/*}*/

/*.spec-title-content {*/
/*    position: relative;*/
/*    z-index: 1;*/
/*    background: var(--bs-body-bg);*/
/*    padding: 1px 0;*/
/*    box-shadow: .5rem 0 0 var(--bs-body-bg);*/

/*    white-space: normal;*/
/*    word-wrap: break-word;*/
/*    overflow-wrap: anywhere;*/
/*}*/

/*.spec-title::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    left: 0;*/
/*    right: -0.25rem;*/
/*    top: 1em;*/
/*    border-bottom: 2px dotted rgb(0 0 0 / 60%);*/
/*    z-index: 0;*/
/*}*/

/*.spec-value {*/
/*    justify-self: end;*/
/*    text-align: right;*/
/*    font-size: 12px;*/
/*    font-weight: 600;*/
/*    background: var(--bs-body-bg);*/
/*    padding-left: .25rem;*/
/*    z-index: 1;*/
/*    max-width: 125px;*/
/*    overflow-wrap: anywhere;*/
/*}*/

/*@media (max-width: 768px) {*/
/*    .spec {*/
/*        grid-template-columns: minmax(220px, 655px) auto;*/
/*    }*/
/*}*/
/*@media (max-width: 665px) {*/
/*    .spec {*/
/*        grid-template-columns: minmax(150px, 530px) auto;*/
/*    }*/
/*    .spec-value {*/
/*        max-width: 136px;*/
/*    }*/
/*}*/

.product-info {
    margin-top: 50px;
}

.fancybox__content {
    width: 100% !important;
    height: auto !important;
    max-height: 100%;
}

/* В избранное/сравнить */
.product-card__actions.product-card__actions_catalog-custom {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 0;
}

.spec-divider {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.6) 48%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 4px 2px;
    background-repeat: repeat-x;
    width: auto;
    flex: 1 1 auto;
    margin-bottom: 5px;
}

.tns-outer,
.tns-liveregion,
.tns-ovh,
.tns-inner {
    height: 100%;
}

.text-category-active {
    color: var(--bs-secondary);
}

.catalog-tree li > ul {
    margin-top: 10px;
    border-left: 2px solid #c7cacf;
}

.catalog-tree li li {
    padding-left: 25px;
}

.product__fields--mobile {
    display: none !important;
}

/* media */
@media (min-width: 1257px) {
    .catalog__bnt-media {
        padding-right: 3.75rem !important;
        padding-left: 3.75rem !important;
    }
}

@media (max-width: 1133px) {
    .product__fields {
        display: none !important;
    }

    .product__fields--mobile {
        display: block !important;
    }

    .product__fields-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
        justify-items: center;
        align-items: start;
    }
}

@media (max-width: 800px) {
    .main-slider img {
        height: 400px !important;
    }
}

@media (max-width: 576px) {
    .main-slider img {
        height: 300px !important;
    }
}

@media (max-width: 400px) {
    .products__list .col {
        width: 100% !important;
    }
}

@media (max-width: 301px) {
    .product-characteristics__tab-nav {
        justify-content: center;
    }
}