.product__info {
    display: block;
    max-width:700px;
}

.product__info li {
    max-width: 60%;
}

.container-fluid {
    margin-left: 15px;
    margin-right: 15px;
    /*max-width: 1430px;*/
    padding-left: 15px;
    padding-right: 15px;
    background: #fff;
}

.content .container-fluid {
    font-size: 1rem;
}
.content .content__title {
    font-size: 2rem;
    margin-bottom: 40px;
}

.content {
    padding: 10px 0;
    /*line-height: 160%;*/
}

.content .container-fluid {
    font-size: 1.125rem;
    color: var(--general-gray);
    background: transparent;
}

.content .content__title {
    font-size: 3rem;
    color: var(--general-black);
    margin-bottom: 60px;
    line-height: 120%;
}

.content h2 {
    font-size: 2rem;
    color: var(--general-black);
    line-height: 120%;
    margin-bottom: 24px;
}

.content h3 {
    font-size: 1.375rem;
    color: var(--general-black);
    line-height: 120%;
    margin-bottom: 24px;
}

.content .justify-center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.content a {
    text-decoration: underline;
}

.content .button {
    text-decoration: none;
}

.content ul {
    list-style: disc;
    /*color: ;*/
    /*padding: 0;*/
    margin: 0 0 24px 0;
}

.content ul li {
    margin-bottom: 16px;
}

.content ul li::before {
    display: inline-block;
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--general-accent);
    margin-right: 16px;
}

.content ul li::marker {
    color: rgb(2, 187, 233);
}

.content ul li:last-child {
    margin-bottom: 0;
}

.content p {
    margin-bottom: 24px;
}

.content p:last-child {
    margin-bottom: 0;
}

.content table {
    width: 100% !important;
}

.content table tr:nth-child(2n+1) {
    background: #ECF0FA;
}

.content table th {
    background: var(--general-accent);
    color: var(--general-white);
    font-weight: 400;
    text-align: left;
    padding: 30px 24px;
    font-size: 1.125rem;
}

.content table td {
    padding: 24px;
    color: var(--general-black);
}

.content .content__table {
    overflow-x: auto;
}

.content.ver_01 .container-fluid {
    max-width: 960px;
}

.content.ver_01 .content__title {
    text-align: center;
}

.content.ver_02 .img-fluid {
    display: block;
    width: 100%;
}

.content.ver_02 .content__title {
    text-align: center;
}

.content.ver_02 .row {
    margin-bottom: 60px;
}

.content.ver_03 .content__desc {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.content.ver_03 .content__text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding-right: 150px;
}

.content.ver_03 .content__num {
    width: 586px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.content.ver_03 .content__num-item {
    width: 50%;
    padding: 0 10px 20px;
}

.content.ver_03 .content__num-info {
    background: var(--other-accent-light);
    border-radius: var(--border-radius-8);
    height: 140px;
    padding: 25px;
}

.content.ver_03 .content__num-count {
    color: var(--general-accent);
    font-size: 3.75rem;
    line-height: 100%;
    margin-bottom: 12px;
    font-weight: 700;
}

.content.ver_03 .content__num-desc {
    font-size: 1.125rem;
    color: var(--general-black);
}

.content.ver_03 .content__more {
    margin-top: 60px;
}

.content.ver_04 .content__desc {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 40px;
}

.content.ver_04 .content__title {
    width: 447px;
}

.content.ver_04 .content__text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding-left: 150px;
}

.content.ver_04 .content__more {
    margin-top: 40px;
}

.content.ver_05 .container-fluid {
    max-width: 960px;
}

.product__category:hover {
    background: #f2f3f7;
}

.product-item__img img {
    max-width: 178px;
    max-height: 178px;
    width: auto;
    height: auto;
}

.btn.link {
    display: inline-block;
    padding:4px 10px 4px 10px;
    background-color: #02bbe9;
    color: #ffffff;
    width: 100%;
    text-decoration: none;
    box-sizing: border-box;
}

.btn.link:hover {
    color: #ffffff;
}

.link {
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    -webkit-transition: color .15s ease;
    -o-transition: color .15s ease;
    transition: color .15s ease;
    position: relative;
    z-index: 2
}

.link:hover {
    color: #02bbe9;
}

.tiporazmer_link {
    color: #02bbe9;
    text-decoration: none;
    font-weight: 500;
}

.tiporazmer_link.selected {
    font-weight: 900;
    text-decoration: underline;
}

@media screen and (max-width: 1000px) {
    .cart-button {
        background: transparent;
        height: 22px;
    }

    .cart-button__text {
        visibility: hidden;
    }
}

.filter__page .cards__product {
    -webkit-box-flex: 1;
    -ms-flex: 1 0;
    flex: 1 0;
    padding: 0;
}

.cards__product .product__category {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -15px 40px;
}

@media screen and (max-width: 1400px) {
    .cards__product .product__category .product__category-link {
        width: calc(25% - 30px);
    }
}

@media screen and (max-width: 767.98px) {
    .cards__product .product__category .product__category-link {
        width: calc(33.33% - 30px);
    }
}

@media screen and (max-width: 575.98px) {
    .cards__product .product__category .product__category-link {
        width: calc(50% - 30px);
    }
}

.cards__product .product__category .product__category-link {
    width: calc(50% - 30px);
}


.cards__product .product__category .product__category-link {
    background: white;
    width: calc(20% - 30px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 15px;
    border: 1px solid grey;
    margin-bottom: 30px;
    padding: 15px;
    border-radius: 2px;
    text-align: center;

    font-weight: 600;
    color: #000000;
    text-decoration: none;
    -webkit-transition: color .15s ease;
    -o-transition: color .15s ease;
    transition: color .15s ease;
    position: relative;
    z-index: 2
}


.cards__product .product__category .product__category-link:hover {
    color: #02bbe9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1400px) {
    .cards__product .product__category .product__category-link {
        width: calc(25% - 30px); /* Стиль для вложенного product__category-link */
    }
    .fields_left_right_margin{
        margin:0 -15px;
    }
}

@media screen and (max-width: 1199.98px) {
    /* Стиль для .cards__product когда он вложен в .card__product-item .product__item-inner */
    .card__product-item .product__item-inner .cards__product {
        padding-left: 25px;
    }
    .cards__product .product__item .product__image {
        height: 200px;
    }
    .cards__product .product__item .product__image img {
        max-height: 200px;
    }
}

@media screen and (max-width: 991.98px) {
    .cards__product {
        padding: 30px 0;
    }
    .cards__product .container-fluid {
        padding: 0;
    }
    .cards__product .product__sort {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .cards__product .product__sort > * {
        margin: 0 0 10px 0;
    }

    .cards__product .product__add {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    /* Стиль для .cards__product когда он вложен в .card__product-item .product__item-inner */
    .card__product-item .product__item-inner .cards__product {
        padding-left: 0px;
    }
}

@media screen and (max-width: 767.98px) {
    /* Стиль для вложенного product__category-link */
    .cards__product .product__category .product__category-link {
        width: calc(33.33% - 30px);
    }
}

@media screen and (max-width: 575.98px) {
    /* Стиль для вложенного product__category-link */
    .cards__product .product__category .product__category-link {
        width: calc(50% - 30px);
    }
    /* Примечание: этот стиль применяется к дочернему .product__item */
    .cards__product .product__item {
        padding: 15px;
    }
    .cards__product .container-fluid .row {
        margin: 0;
    }
    .cards__product .container-fluid .row > div {
        padding: 0;
    }
    .cards__product{
        width: 100%;
    }
}

/* Стили для попапа */
.also_variants_popup {
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    max-width: 100%;
    overflow-x: auto;
}

.content__table {
    margin-top: 15px;
}

/* Таблица вариантов товара */
.innerTovarTable {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    table-layout: fixed;
}

.innerTovarTable th,
.innerTovarTable td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
    vertical-align: middle;
    word-break: break-word;
}

.innerTovarTable th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.innerTovarTable tr:nth-child(even) {
    background-color: #fafafa;
}

/* Выделение текущей строки */
.innerTovarTable .thisCode {
    background-color: #e6f7ff;
    font-weight: bold;
    border-left: 3px solid #1890ff;
}

/* Стилизация для текста внутри ячеек */
.innerTovarTable td span,
.innerTovarTable td div {
    display: block;
}

/* Адаптивность на мобилках */
@media (max-width: 768px) {
    .content_popup {
        padding: 10px;
    }

    .innerTovarTable th,
    .innerTovarTable td {
        font-size: 12px;
        padding: 8px;
    }
}

.row {
    display: flex;
    flex-direction: row;
}

.col-md-1 {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 8.3333333333%;
    -ms-flex: 0 0 8.3333333333%;
    flex: 0 0 8.3333333333%;
    max-width: 8.3333333333%;
    padding-top: 16px;
}

.seo_tiporazmer {
    color: #02bbe9;
    padding-top: 8px
}

.form-group textarea {
    height: 15vw;
}

.popup__close{
    float: right;
}

.subcats__item a {
    color: #02bbe9;
    text-decoration: none;
}

.subcats__item a:hover {
   font-weight: bolder;
}

.subcats__item {
    padding: 5px 15px;
}

.content__table {
    max-height: 70vh;
}

.js_online_zapis_agreement + span a {
    color: #02bbe9;
    text-decoration: none;
}
