

/* Start:/bitrix/templates/dresscode/components/dresscode/catalog.item/detail/css/related.css?17931886136167*/
.additional-products {
    margin-top: 24px;
}

body #related .heading,
.additional-products .heading {
    border-top: 1px solid #e7e8ea;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 36px 24px;
    font-weight: 700;
    font-size: 20px;
    line-height: initial;
    background: transparent;
    color: initial;
    height: unset;
    margin-bottom: 0;
}
body #right #related .heading {
    padding-inline: 0;
}

#catalogElement .productList {
    border-left: 0;
}
#related .related-tabs,
#similar .items.productList.squares,
#discountedItems .items.productList.squares,
#accessories .items.productList.squares,
.faq-block {
    padding: 0 24px 24px;
    box-sizing: border-box;
}
body #right #related .related-tabs,
body #right .faq-block {
     padding-inline: 0;
}
body #right .faq-block {
    padding-bottom: 0;
}

#related .related-tabs-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

#related .related-tab {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

#related .related-tab.has-img img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    vertical-align: middle;
}
#related .related-tab.has-img span {
    vertical-align: middle;
}

#related .related-tab a {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: inherit;
    color: #333;
    background: #f6f6f6;
    border: 1px solid #f6f6f6;
    text-decoration: none;
    transition: 0.3s ease-out;
    white-space: nowrap;
}

#related .related-tab.has-img a {
    padding: 9px;
}

#related .related-tab a:hover {
    border-color: #e7e8ea;;
}

#related .related-tab.active a {
    border-color: #fc0;
    background: #fc0;
}
@media (min-width: 1599.9px) and (max-width: 2200px) {
    .additional-products .count-form .qty{
        width: 35px;
    }
}
@media (max-width: 1600px) {
     #right #catalogElement .additional-products .product  {
        width: 25%;
    }
}
@media (max-width: 1520px) {
    #catalogElement .additional-products .product{
        width: 25%;
    }
}
@media (max-width: 1300px) {
     #catalogElement .additional-products .product,
     #right #catalogElement .additional-products .product {
        width: 33.333333%;
    }
}
@media (max-width: 768px) {
     #catalogElement .additional-products .product,
     #right #catalogElement .additional-products .product {
        width: 50%;
    }
}
@media (max-width: 600px) {
     #catalogElement .additional-products .product,
     #right #catalogElement .additional-products .product {
        width: 100%;
    }
}

#related .related-tabs-content {
    position: relative;
    min-height: 200px;
}

#related .related-tab-content {
    display: none;
}

#related .related-tab-content.active {
    display: block;
}

#related .related-tab-loading {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 200px;
    padding: 32px 0;
}

#related .related-tab-loading__text {
    font-size: 14px;
    color: #888888;
    position: relative;
    padding-left: 24px;
}

#related .related-tab-loading__text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border: 2px solid #e7e8ea;
    border-top-color: #424242;
    border-radius: 50%;
    -webkit-animation: relatedTabSpinner 0.8s linear infinite;
    animation: relatedTabSpinner 0.8s linear infinite;
}

#related .related-empty {
    padding: 32px 0;
    text-align: center;
    font-size: 14px;
    color: #888888;
}

#related .related-tab-content #empty {
    display: none;
}

@-webkit-keyframes relatedTabSpinner {
    to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes relatedTabSpinner {
    to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@media (max-width: 599.98px) {
    #related .related-tabs,
    #similar .items.productList.squares,
    #discountedItems .items.productList.squares,
    #accessories .items.productList.squares,
    .faq-block{
        padding: 0 16px 16px;
    }

}

/* Karatt: «Могут понадобиться» — на мобильных первые 10 категорий, остальные по кнопке «Ещё» (relatedTabs.js) */
#related .related-tabs-more {
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
}
#related .related-tabs-more__btn {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
    padding: 5px 4px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    color: #997A00;
    font-size: 0;
}
#related .related-tabs-more__btn::before {
    content: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 6L8 10L4 6' stroke='%23CCA300' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    display: block;
    font-size: 16px;
    height: 16px;
}
#related .related-tabs-more__btn.active::before {
    transform: scaleY(-1);
}
#related .related-tabs-more__btn::after {
    content: attr(data-show);
    font-size: inherit;
    line-height: 18px;
}
#related .related-tabs-more__btn.active::after {
    content: attr(data-hide);
}
@media (max-width: 768px) {
    #related .related-tabs-more {
        display: flex;
        align-items: center;
    }
    #related .related-tabs-list:not(.is-expanded) .related-tab.is-extra {
        display: none;
    }
    #related .related-tabs-more__btn::after {
        font-size: 15px;
    }
}

/* End */
/* /bitrix/templates/dresscode/components/dresscode/catalog.item/detail/css/related.css?17931886136167 */
