#related,
#similar_colors,
#similar_sizes {
    margin-top: 24px;
    padding: 0 24px;
}

#similar_colors #catalogElement .productList,
#similar_sizes #catalogElement .productList {
    border-left: 1px solid #e7e8ea;
}

#related .heading,
#similar_colors .heading,
#similar_sizes .heading {
    border-top: 1px solid #e7e8ea;
    font-family: "robotobold";
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 36px 0;
    font-weight: 800;
    font-size: 20px;
}
.paysystems {
    width: 255px;
}

/*Название карточки в 3 рядя*/
.productColText.large .name {
    height: 52px;
}
@media (max-width: 700px) {
    .product .productColText .name {
        max-height: 70px;
        height: auto;
    }
}
@media (min-width: 701px) {
    .productColText.large .name {
        transform: translateY(-20px);
        height: 60px;
    }
    .productColText.large .price {
        margin-top: -16px;
    }
}

/*Catalog detail*/
#elementContainer .article {
    display: none;
}
@media screen and (min-width: 791px) {
    #elementContainer .mainContainer .col {
        width: 67%;
    }
    #elementContainer .mainContainer .secondCol.col {
        width: 33%;
    }
}

.bx-composite-btn-fixed {
    right: calc(50% - 186px / 2) !important;
}

@media (max-width: 575px) {
    .productColImage {
        padding-top: 100%;
        position: relative;
    }
    .productColImage .picture {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 0 !important;
    }
}

.detail-text-wrap picture img,
.detail-text-wrap img.img-fluid {
    display: block;
    width: 100%;
    height: auto;
}
/* если товар недоступен для покупки */
.not-available,
.not-available-text {
    opacity: 0.2;
}
.not-available-text::before {
    content: "Временно нет в наличии";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    line-height: normal;
}

/* костыль, чтобы шапка не становилась в 2 строки. 3.06.24 */
#headerLine2 .headerLineColumn:first-child {
    width: 210px;
}

/*Catalog item*/
@media all and (max-width: 700px) {
    #smallElementTools .columnRow:first-child,
    #smallElementTools .columnRow:last-child {
        display: block;
        width: 50%;
        min-width: 200px;
    }
    #smallElementTools .columnRow a {
        box-sizing: border-box;
    }
}

/*Basket*/
@media (max-width: 580px) {
    .bx-soa-item-img-block {
        max-width: 100% !important;
    }
}
.bx-soa-item-img-block {
    pointer-events: none;
}

.footer__info p {
    display: inline-block;
    color: #888;
}

/* .product .marker {
    padding-right: 4px;
    padding-left: 4px;
} */

.img-fluid {
    display: inline-block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

/*OrderMake-Subscribe-Agreement*/

.user-consent {
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 1.5em;
    line-height: 1.6;
    font-size: 1rem;
    font-width: 500;
    border-radius: 4px;
    border: 1px solid #ddd;
    max-width: 100%; /* вместо фиксированной ширины */
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.consent-option {
    display: flex;
    align-items: flex-start;
    gap: 0.5em;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.consent-option input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 0.3em;
    position: static !important;
    margin-left: 0 !important;
    margin-top: 5px;
}

.consent-announce {
    flex: 1;
    min-width: 0; /* чтобы текст не толкал checkbox за экран */
    line-height: 1.4;
    cursor: pointer;
    padding-left: 0 !important;
}
@media (max-width: 767px) {
    .consent-mobile {
        display: block !important;
    }
    .consent-desktop {
        display: none;
    }
}

#bx-soa-order #bx-soa-total-mobile {
	display: none !important;
}