

/* Start:/local/templates/puh/src/css/product-detail.css?178116616624453*/
.wrapper{
    overflow: visible;
}
.product-detail{
    padding-bottom: 40px;
}
.product__breadcrumbs{
    padding: 20px 0 ;
}
.product-detail__body{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    overflow: visible;
    position: relative;
    /*justify-content: space-between;*/
}
.product-detail__images{

    max-width: 884px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    position: sticky;
    top: 140px;

    height: max-content;
}

.product-detail__image{
    width: 436px;
    max-width: 100%;
}

.product-detail__image img{
    width: 100%;
    height: 100%;
    /*height: auto;*/
    border-radius: 8px;
    object-fit: cover;
}
.product-detail__info{
    max-width: 496px;
    width: 100%;
    font-size: 16px;
    /*color: #5B5B5B;*/
    position: sticky;
    top: 140px;

    height: max-content;
}

.more-on-model{
    position: absolute;
    left: 11px;
    bottom: 10px;
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background-color: #fff;
    border-radius: 8px;
    z-index: 9;
    font-family: 'Montserrat-medium',sans-serif;
    font-size: 11px;
    color: #5B5B5B;
    transition: 0.3s;
    cursor: pointer;

}
.more-on-model svg path{
    transition: 0.3s;
}
.more-on-model:hover svg path{
    stroke:#1F1F1F;
}
.more-on-model:hover{
    color: #1F1F1F;
}
.product-detail__info-top{
    margin-bottom: 32px;
}
.product-detail__info-title-wrapper{
    position: relative;
    display: flex;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
}
.product-detail__info-name{
    font-family: 'Montserrat-Medium', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    max-width: 430px;
}
.product-detail__info-copy-article{
    font-size: 14px;
    line-height: 130%;
    text-transform: uppercase;
    color: #B3B3B3;
    position: relative;
}
.article-success{
    position: absolute;
    padding: 5px 10px;
    background: #f5f5f5;
    border-radius: 18px;
    text-transform: none;
    left: 170px;
    display: none;
}
.article-success.active{
    display: block;
}

.product-detail__info-copy-article:hover,
.product-detail__info-copy-article:hover svg path
{
    color: #5B5B5B;
    stroke: #5B5B5B;
}
.product-detail__favorite{
    position: absolute;
    top: 2px;
    right: 0;
}

.product-detail__favorite svg {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 1;
}
.product-detail__favorite svg path{
    transition: all .2s;
}
.product-detail__favorite svg:hover path {
    stroke: #5B5B5B;
}

.product-detail__favorite .heart-fill {
    clip-path: inset(100% 0 0 0); /* Скрываем заливку сверху вниз */
    transition: clip-path 0.4s ease;
    fill: #B3B3B3;
}

.product-detail__favorite.active .heart-fill {
    clip-path: inset(0 0 0 0); /* Показываем всю заливку */
}







.product-detail__info-copy-article{
    display: flex;
    align-items: center;
    gap: 5px;
}
.product-detail__info-price-wrapper{
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 40px;
}
.product-detail__info-price{
    font-family: 'Montserrat-medium', sans-serif;
    font-size: 24px;
}
.product-detail__info-split{
    font-size: 18px;
    color: #B3B3B3;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;

}
.product-detail__info-split:hover,
.product-detail__info-split:hover svg path
{
    color: #5B5B5B;
    fill: #5B5B5B;
}
.product-detail__info-color-wrapper{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}
.product-detail__info-color-name{
    font-size: 16px;
    color: #5B5B5B;
}
.product-detail__info-colors{
    display: flex;
    gap: 8px;
}
.product-detail__info-color{
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
}
.product-detail__info-color:hover{
    opacity: 0.7;
}
.product-detail__info-color.active{
    border: 2px solid #1F1F1F;
}


.product-detail__info-size-wrapper{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-detail__info-size{
    display: flex;
    justify-content: space-between;
}



.product-detail__info-size-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #B3B3B3;
    transition: 0.3s;
}
.product-detail__info-size-link svg path,
.product-detail__info-size-link svg rect{
    transition: 0.3s;
}
.product-detail__info-size-link:hover,
.product-detail__info-size-link:hover svg path,
.product-detail__info-size-link:hover svg rect
{
    color: #5B5B5B;
    stroke:#5B5B5B ;
}
.product-detail__info-size-box{
    width: 496px;
    border-radius: 8px;
    background-color: #F4F4F4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 19px 18px ;
    cursor: pointer;

    position: relative;
}
.product-detail__info-size-box.opened-dropdown{
    border-radius: 8px 8px 0 0 ;
}
.product-detail__info-size-input{
    cursor: pointer;
    width: 100%;
    user-select: none;
}

.product-detail__info-size-input::placeholder{
    text-transform: uppercase;
}
.product-detail__info-size-box svg{
    width: 10px;
    height: 10px;
}
.product-detail-item-input__box-dropdown{
    width: 100%;
    border-radius: 0 0 8px 8px ;
}
.product-detail__info-actions{
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 80px;
}
.product-detail__info-description{
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.product-detail__info-description-block{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.product-detail__info-description-name{
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-family: 'Montserrat-medium', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
}
.product-detail__info-description-name img{
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}
.product-detail__info-description-text{
    flex-direction: column;
    gap: 20px;
    font-size: 16px;
    text-transform: none;
    display: none;
    line-height: 140%;
}
.product-detail__info-description-text p{
    display: block;
}

.model-details{
    padding: 40px 0;
}

.model-details__wrapper{
    position: relative;
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 10px;

}
.model-details__image{
    position: sticky;
    top: 100px;
    height: max-content;
}
.model-details__image img{
    width: 566px;
    height: auto;
    border-radius: 8px;
}
.popup-model-details__image img{
    width: 100%;
}
.model-details__list-wrapper{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.model-details__list{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.model-details__item{
    max-width: 813px;
    width: 100%;

    padding: 14px 13px 13px 13px;
    background-color: #F4F4F4;
    border-radius: 8px;
    position: relative;
    display: flex;
    gap: 19px;
}
.model-details__item-image img {
    width: 156px;
    height: 100%;
    border-radius: 8px;
    flex-shrink: 0;
}
.model-details__item-info{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width:0;

}
.model-details__item-info-top{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.model-details__item-title{
    font-size: 18px;
    margin-bottom: 12px;
}
.model-details__item-price{
    font-size: 18px;
}
.model-details__item-favorite{
    width: 25px;
    height: 25px;
}

.model-details__item-size{
    margin-top: auto;
    font-size: 14px;
    color: #B3B3B3;
}

.button-model-details__button{
    line-height: 18px;
}
.product-recommended{
    padding: 40px 0;
}
.product-recommended__wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
}
/*.product-recommended__wrapper .product {*/
/*    flex: 1 1 calc(25% - 20px); !* 4 карточки занимают ширину *!*/
/*    max-width: calc(25% - 20px);*/
/*}*/

/*!* Если карточек меньше 4 — пусть не растягиваются *!*/
/*.product-recommended__wrapper:has(.product:nth-child(1):nth-last-child(3)),*/
/*.product-recommended__wrapper:has(.product:nth-child(1):nth-last-child(2)),*/
/*.product-recommended__wrapper:has(.product:nth-child(1):nth-last-child(1)) {*/
/*    justify-content: flex-start;*/
/*}*/

/*.product-recommended__wrapper:has(.product:nth-child(4):last-child) {*/
/*    justify-content: space-between;*/
/*}*/


.product-detail__images-wrapper{
    position: relative;
}
.product-detail__images-wrapper .custom-arrow{
    display: none;
}
.product-detail__btn-mobile{
    display: none;
}

.more-model-popup{
    width: 925px; /* или 813px + padding */
    max-width: 100vw;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 11;
    background-color: #fff;
    border-radius: 8px 0 0 8px;
    padding: 56px;
    opacity: 0;
    transform: translateX(200%);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}
.more-model-popup.open{
    opacity: 1;
    transform: translateX(0);
}

.more-model-popup__header{
    margin-bottom: 41px;
}

.more-mode-close-btn{
    position: absolute;
    top: 4px;
    right: 0;
}

.more-model-popup__body-inner{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.more-model-popup .button-model-details__button{
    width: 100%;
    font-weight: 400;
    margin-top: auto;
}
.more-model-popup__list-wrapper {
    height: 100%;
    margin-bottom: 15px;
}

.more-model-popup__list-wrapper::-webkit-scrollbar {
    display: none;
}
.more-model-popup .model-details__list{
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}
.more-model-popup .model-details__image{
    display: none;
}

.popup-sizes .popup__content{
    width: 743px;
}


.popup-sizes-button-close{
    position: absolute;
    top: 4px;
    right: 0;
}
.popup-sizes__name{
    margin-bottom: 33px;
}
.popup__actions{
    width: max-content;
    border-radius: 8px;
    padding: 8px;
    background-color: #F4F4F4;
    display: flex;
    gap: 4px;
    margin-bottom: 32px;
}
.popup__button{
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;

    font-family: 'Montserrat-Medium', sans-serif;
    font-size: 15px;
    color: #5B5B5B;
    border-radius: 6px;
    transition: 0.3s;
}
.popup__button:hover {
    color: #1F1F1F;
    background-color: #fff;
}

.popup__button.active {
    color: #1F1F1F;
    background-color: #fff;
}

.popup-sizes__table{
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 130%;
    color: #5B5B5B;
    text-align: center;

    margin-bottom: 80px;
}
.popup-sizes__table-row{
    display: grid;
    grid-template-columns: 1.5fr 2fr 2fr 2fr;
}
.popup-sizes__table-row-measurements{
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;

}
.popup-sizes__table-row:first-child{
    border-bottom:1px solid #F4F4F4;
}
.popup-sizes__table-row:first-child .popup-sizes__table-coll{
    padding: 15px;
}
.popup-sizes__table-coll{
    align-self: center;
    padding: 22px 0;
    border-right:1px solid #F4F4F4;
}
.popup-sizes__table-coll:last-child{
    border-right:none;
}
.popup-sizes__info{
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.popup-sizes__info-title{
    font-size: 24px;
}
.popup-sizes__info-content{
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.popup-sizes__info-item{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.popup-sizes__info-name {
    font-size: 16px;
    font-family: 'Montserrat-medium', sans-serif;
}
.popup-sizes__info-text{
    font-size: 16px;
    text-transform: none;
}

.size-table-img{
    width: 100%;
    margin-bottom: 10px;
}



@media screen and (max-width: 998px){
    .more-model-popup{
        transform: translateY(200%);
    }
    .more-model-popup.open{
        transform: translateY(0);
    }
    /*.wrapper{*/
    /*    overflow-x: hidden;*/
    /*}*/
    .product-detail__body{
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .product-detail__info{
        position: relative;
        top: 0;
        max-width: unset;
    }
    .product-detail__images{
        position: relative;
        top: 0;
        margin: 0 auto;
    }
    .product-detail__image img{
        border-radius: 0;
        width: 417px;
        height: auto;
    }
    .product-detail__images .slick-slide {
        padding: 0 !important;
        margin: 0 !important;
    }
    .product-detail__image {
        margin: 0 !important;
    }

    .product-detail__image img {
        display: block;
        width: 100%;
    }
    .product-detail__images .slick-dots {
        display: flex !important;
        position: absolute;
        bottom: 21px;
        left: 20px;
        gap: 8px;
        margin: 0;
        list-style: none;
    }

    .product-detail__images .slick-dots li {
        width: 50px; /* длина полоски */
        height: 2px; /* толщина полоски */
        margin: 0;
        cursor: pointer;
    }
    .product-detail__body .slick-dotted.slick-slider{
        margin-bottom: 0;
    }
    .product-detail__images .slick-dots li button {
        width: 100%;
        height: 2px;
        padding: 0;
        border: none;
        background: #B3B3B3;
        transition: background-color 0.3s;
    }

    .product-detail__images .slick-dots li.slick-active button {
        background: #fff; /* активная полоска */
    }
    .product-detail__info-name{
        font-size: 18px;
    }
    .product-detail__favorite{
        display: none;
    }
    .product-detail__info-copy-article{
        font-size: 12px;
    }
    .product-detail__info-price-wrapper{
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 20px;
        align-items: flex-start;
    }
    .product-detail__info-price{
        font-size: 17px;
    }
    .product-detail__info-split{
        font-size: 12px;
        margin-top: 0;
    }
    .product-detail__info-color-name{
        font-size: 12px;
    }
    .product-detail__info-size-name{
        font-size: 12px;
    }
    .product-detail__info-size-link{
        font-size: 9px;
    }
    .product-detail__info-size-box{
        width: 100%;
    }
    .product-detail__info-size-input{
        font-size: 10px;
    }
    .product-detail__info-size-input::placeholder{
        font-size: 10px;
    }
    .product-detail__info-actions{
        display: none;
    }
    .product-detail__info-top{
        margin-bottom: 40px;
    }
    .product-detail__info-description-name{
        font-size: 14px;
    }
    .product-detail__info-description-text{
        font-size: 14px;
    }
    .product-detail__images-wrapper .custom-arrow {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        position: absolute;
        transform: translateY(-50%);
        z-index: 1;
        width: 40px;
        height: 40px;
        top: 40px;
    }

    .product-detail__images-wrapper .slick-prev:before, .slick-next:before{
        content: "";
    }
    .product-detail__images-wrapper .slick-prev {
        left: 0;
    }

    .product-detail__images-wrapper .slick-next {
        right: 0;
        top: 26px;
        transform:rotate(180deg);
        transform-origin: center center; /* важно */
    }

    .model-details__image img{
        width: 446px;
        height: auto;
    }
    .model-details__item-image img{
        width: 98px;
    }
    .model-details__item-title{
        font-size: 12px;
    }
    .model-details__item-price{
        font-size: 12px;
    }
    .model-details__item-size{
        font-size: 12px;
    }

    .product-detail__info-description{
        gap: 24px;
    }
    .product-detail-header__bottom{
        background-color: #fff;
        width: 100%;
        max-width: unset;
        border-radius: 0;
        bottom: 0;
        padding: 12px 20px;
    }
    .product-detail-header__bottom .header__bottom-container{
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0;
        gap: 12px;
    }
    .header__bottom-one{
        display: flex;
        justify-content: center;
        width: 100%;
        gap: 6px;
    }
    .header__bottom-btn{
        padding: 17px 0 ;
        height: 50px;
    }
    .header__bottom-btn.btn-transparent{
        width: 366px;
        font-size: 12px;
    }
    .header__bottom-btn.btn-black{
        width: 366px;
        display: flex;
        gap: 12px;
    }
    .header__bottom-favorite-btn{
        padding: 12px 12px 13px 13px;
        border-radius: 8px;
        background-color: #F4F4F4;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        flex: 0 0 auto;
    }
    .header__bottom-two{
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    .product-detail-header__bottom .header__bottom-button{
        color: #B3B3B3;
        border-color: #B3B3B3;
        transition: 0.3s ease;
    }
    .product-detail-header__bottom .header__bottom-link{
        padding: 0 0 ;
    }
    .product-detail-header__bottom .header__bottom-button svg path{
        stroke: #B3B3B3;
        transition: 0.3s ease;
    }

    .product-detail-header__bottom .header__bottom-link svg path,
    .product-detail-header__bottom .header__bottom-link svg circle{
        stroke: #B3B3B3;
        transition: 0.3s ease;
    }
    .product-detail-header__bottom .header__bottom-button:hover {
        color: #5B5B5B;
        border-color: #5B5B5B;
    }

    .product-detail-header__bottom .header__bottom-button:hover svg path {
        stroke: #5B5B5B;
    }

    .product-detail-header__bottom .header__bottom-link:hover svg path,
    .product-detail-header__bottom .header__bottom-link:hover svg circle {
        stroke: #5B5B5B;
    }

    .header__bottom-favorite-btn svg {
        width: 100%;
        height: 100%;
        display: block;
        position: relative;
        z-index: 1;
    }
    .header__bottom-favorite-btn svg{
        width:  25px;
        height: 25px;
    }
    .header__bottom-favorite-btn svg path{
        transition: all .2s;
    }
    .header__bottom-favorite-btn svg:hover path {
        stroke: #5B5B5B;
    }

    .header__bottom-favorite-btn .heart-fill {
        clip-path: inset(100% 0 0 0); /* Скрываем заливку сверху вниз */
        transition: clip-path 0.4s ease;
        fill: #B3B3B3;
    }

    .header__bottom-favorite-btn.active .heart-fill {
        clip-path: inset(0 0 0 0); /* Показываем всю заливку */
    }
    .product-recommended__wrapper{
        gap: 18px;
    }
    .more-on-model{
        top: unset;
        bottom: 10px;
        left: unset;
        right: 47px;
        font-size: 8px;
        padding: 8px 10px;
    }
    .more-model-popup{
        left: 0;
        right: 0;
        height: 70%;
        bottom: 0;
        top: unset;
        width: 100%;
        padding: 40px 20px;
        overflow-y: auto;
        border-radius: 8px 8px 0 0;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE и Edge */
    }
    .more-model-popup::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    .more-model-popup__body-inner{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 13px;

    }
    .more-model-popup .model-details__image{
        display: block;
        top: 0;

    }

    .more-model-popup__list-wrapper{
        margin-bottom: 0;
        max-height: unset;
        overflow-y: unset;
    }
    .more-mode-close-btn{
        top: 0;
    }
    .more-mode-close-btn svg{
        width: 15px;
        height: 15px;
    }
    .popup-sizes{
        left: 0;
        right: 0;
        height: 70%;
        bottom: 0;
        top: unset;
        width: 100%;
        padding: 40px 20px;
        border-radius: 8px 8px 0 0 ;
    }
    .popup-sizes .popup__content{
        height: 100%;
        width: unset;
    }
    .popup-sizes-button-close svg{
        width: 15px;
        height: 15px;
    }
    .popup__actions{
        padding: 4px;
    }
    .popup__button{
        padding: 12px 17px;
        font-size: 11px;
        height: 37px;
    }
    .popup-sizes__name{
        margin-bottom: 20px;
    }
    .popup-sizes__table{
        font-size: 14px;
        margin-bottom: 60px;
    }
    .popup-sizes__info{
        gap: 20px;
        font-size: 14px;
    }
    .popup-sizes__info-item{
        gap: 8px;
    }
    .popup-sizes__info-name{
        font-size: 14px;
    }
    .popup-sizes__info-text{
        font-size: 14px;
    }

}





@media screen and (max-width: 1439px){
    .product-detail__body{
        grid-template-columns: 1fr 2fr;
    }
}



@media screen and (max-width: 834px){
    .product-detail__images{
        margin-left: -20px;
        margin-right: -20px;
    }
    .header__bottom-one{
        justify-content: space-between;
    }
    .model-details__image img{
        width: 300px;
        height: auto;
    }
    .popup-model-details__image img{
        width: 100%;
    }
    .more-on-model {
        right: 0;
    }
}

@media screen and (max-width: 768px){
    .more-model-popup .model-details__image{
        display: none;
    }
    .more-model-popup__body-inner{
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 674px){
    .model-details__image{
        display: none;
    }
    .model-details__wrapper{
        grid-template-columns: 1fr  ;
    }
    .wrapper{
        overflow: hidden;
    }
}

@media screen and (max-width: 572px){
    .product-recommended__wrapper{
        gap: 12px;
    }
    .product-detail__images{
        margin-right: 40px;
        margin-left: 40px;
    }
    .product-detail__images-wrapper .slick-next{
        right: 20px;
    }
    .product-detail__images-wrapper .slick-prev{
        left: 20px;
    }
    .product-detail__images-wrapper{
        display: flex;
        justify-content: center;
        position: relative;
        width: 100%;
        margin: 0 auto;
    }

    .product-detail__body{
        margin-left: -20px;
        margin-right: -20px;
    }

    .product-detail__body .slick-dotted.slick-slider{
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .product-detail__image img{
        height: auto;
        width: 100%;
    }

    .product-detail__btn-mobile{
        display: block;
        font-size: 12px;
        margin-bottom: 20px;
        height: 50px;
        padding: 0;
    }
    .product-detail__info{
        padding: 0 20px;
    }
    .product-detail__info-price-wrapper{
        margin-bottom: 8px;
    }
    .header__bottom-one{
        flex-direction: row-reverse;
    }
    .header__bottom-btn-buy{
        display: none ;
    }
    .model-details{
        padding: 20px 0;
    }
    .product-recommended{
        padding: 20px 0;
    }
    .socials{
        margin-bottom: 20px;
    }
    .more-on-model {
        top: unset;
        right: 5px;
        bottom: 30px;
    }
    .popup-sizes__table-row:first-child .popup-sizes__table-coll{
        padding: 8px;
    }
    .popup-sizes__table-coll{
        padding: 14px 0;
        width: 86px;
    }
    .popup-sizes__name{
        max-width: 240px;
    }
    .popup-sizes__table{
        margin-bottom: 40px;
        font-size: 14px;
    }
    .popup-sizes__info-title{
        font-size: 18px;
    }
    .popup-sizes__info-text{
        line-height:  16px;
    }
    .header__bottom-btn.btn-black{
     flex: 1;
    }
    .product-detail__images .slick-dots {
        width: 90%;
        left: 10px;
        right: 10px;
    }
    .product-detail-header__bottom{
        padding: 0 20px;
    }
}

@media screen and (max-width: 450px) {
    .product-detail__images {
        margin-right: 10px;
        margin-left: 10px;
    }

    .product-detail__images-wrapper .slick-next {
        right: 20px;
    }

    .product-detail__images-wrapper .slick-prev {
        left: 20px;
    }

}
@media screen and (max-width: 400px){
    .product-detail__images{
        margin-right: -20px;
        margin-left: -20px;
    }


}

/* End */


/* Start:/local/templates/puh/components/bitrix/catalog.section/.default/style.css?17811661661267*/
.product__size span {
    margin-left: -4px;
	margin-left: 0.1em;
}
.product__size span[data-stock="0"] {
    color: #c00;
}

/* Для менеджеров показываем блок размеров в мобильной версии */
.product__sizes.mp-visible-sizes {
    display: flex !important;
    flex-wrap: wrap;
    gap: unset;
    margin-top: 8px;
    justify-content: flex-start;
}

/* Стилизация элементов размера с остатком */
.product__sizes.mp-visible-sizes .product__size {
    display: inline-flex;
    align-items: center;
    justify-content: left;
    min-width: 48px;
    color: #1f1f1f;
	font-size: 11px;
    white-space: nowrap;
    transition: all 0.2s;
    cursor: default;
}

.product__sizes.mp-visible-sizes .product__size-stock {
    margin-left: 0.3em;
    font-size: 0.3em;
    opacity: 0.9;
}

.product__sizes.mp-visible-sizes .product__size[data-stock="0"] .product__size-stock {
    color: #c00;
}

/* Адаптивность для очень маленьких экранов */
@media screen and (max-width: 480px) {
    .product__sizes.mp-visible-sizes .product__size {
        min-width: 60px;
        font-size: 0.7em;
    }
}

.product__sizes.mp-visible-sizes {
    opacity: unset;
}

/* End */


/* Start:/local/templates/puh/src/css/catalog.css?17811661665317*/
.catalog{
    padding-bottom: 80px;
}
.catalog__header{
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.catalog__product-info{
    display: flex;
    gap: 8px;
}
.catalog__product-name{
    font-size: 36px;
    line-height: 1;
    color: #1F1F1F;
    font-weight: 400;
}
.catalog__product-amount{
    font-size: 12px;
    line-height: 130%;
    color: #B3B3B3;
    align-self: flex-end;
}
.catalog__filters{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.catalog__filters-types{
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;
    margin-right: -20px;
}
.catalog__filters-types::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.catalog__filters-button-type{
    flex: 0 0 auto;
    font-size: 12px;
    color: #1F1F1F;
    padding: 12px 16px;
    border-radius: 8px;
    background-color: #F4F4F4;
    text-transform: none;
    transition: 0.3s;
    line-height: normal;
}
.catalog__filters-button-type.active{
    background-color: #5B5B5B;
    color: #fff;
}
.catalog__filters-button-type.active:hover{
    color: #000;
}
.catalog__filters-button-type:last-child{
   margin-right: 20px;
}
.catalog__filters-button-type:hover{
    background-color: #DBDBDB;
}
.catalog__filters-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.catalog__filters-left{
    display: flex;
    gap: 20px;
}

.input-mirror {
    position: absolute;
    visibility: hidden;
    white-space: pre;
    font: inherit;
    padding: 0;
    margin: 0;
}

.catalog__item-input__box{
    position: relative;
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px 0;
    cursor: pointer;
    transition: all 0.2s;
}
.catalog__item-input__box svg{

    flex: 0 0 auto;
    transition: all 0.2s;
}
.catalog__item-input__box-name{
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    height: 17px;
    display: flex;
    align-items: center;
    color: #B3B3B3;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.catalog__item-input__box:hover .catalog__item-input__box-name {
    color: #5B5B5B;
}
.catalog__item-input__box:active .catalog__item-input__box-name  {
    color: #1F1F1F;
}
.catalog__item-input__box:focus .catalog__item-input__box-name {
    color: #1F1F1F;
}
.catalog__item-input__box:hover svg path {
    stroke: #5B5B5B;
}
.catalog__item-input__box:active svg path {
    stroke: #1F1F1F;
}
.catalog__item-input__box:focus svg path {
    stroke: #1F1F1F;
}


.selected-count {
    display: inline-block;
    background-color: #000;
    color: #fff;
    font-size: 10px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    text-align: center;
    line-height: 17px;

    flex: 0 0 auto;
}

.item-input__box-dropdown-price{
    max-width: 328px;
    background-color: #F4F4F4;
    padding: 26px 27px;
    width: unset;
}
.item-price-range-inputs{
    display: flex;
    gap: 50px;
}
.item-price-range-input{
    max-width: 70px;
    background-color: transparent;
    font-size: 16px;
    color: #1F1F1F;
}
.item-price-range-input::placeholder{
    font-size: 16px;
    color: #B3B3B3;
}
.item-price-range-label{
    font-size: 12px;
    line-height: 15px;
    color: #5B5B5B;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog__filters-right .item-input__box-dropdown{
    right: 0;
    left: unset;
}

.catalog-item-input__box-dropdown-list-item:hover:first-child{
    border-radius: 8px 8px 0 0 ;
}
.catalog-item-input__box-dropdown-list-item:hover:last-child{
    border-radius: 0 0 8px 8px ;
}
.catalog-item-input__box-dropdown-list-item.selected:first-child{
        border-radius: 8px 8px 0 0 ;
}
.catalog-item-input__box-dropdown-list-item.selected:last-child{
        border-radius: 0 0 8px 8px ;
}


.catalog__wrapper{
    display: flex;
    flex-direction: column;
}
.catalog__products{
    padding:20px 0 12px 0
}


 @media screen and (max-width: 998px){

     .catalog__product-name{
         font-size: 20px;
     }
     .catalog__product-amount{
         font-size: 10px;
     }
     .catalog__filters{
         gap: 12px;
     }
     .catalog__filters-left{
         gap: 16px;
     }
     .catalog__filters-types{
         gap: 6px;
     }
     .catalog__filters-button-type{
         font-size: 10px;
         padding: 8px 12px;
     }
     .catalog__item-input__box{
         gap: 6px;
     }
     .catalog__item-input__box-name {
         font-size: 10px;
         text-transform: uppercase  ;
     }

    .selected-count{
        width: 14px;
        height: 14px;
        line-height: 14px;
    }
     .catalog__products{
         padding: 12px 0;
     }
     .close-icon{
         width: 7px;
         height: 7px;
     }
     .item-input__box-dropdown-price{
         padding: 10px 13px;
     }
     .item-price-range-inputs{
         flex-direction: column;

     }
     .item-price-range-label{
         font-size: 10px;
     }
     .item-price-range-input{
         font-size: 10px;
     }
     .item-price-range-input::placeholder{
         font-size: 10px;
     }

 }

@media screen and (max-width: 572px){
    .selected-count{
        margin-left: 0;
    }


}
/* End */
/* /local/templates/puh/src/css/product-detail.css?178116616624453 */
/* /local/templates/puh/components/bitrix/catalog.section/.default/style.css?17811661661267 */
/* /local/templates/puh/src/css/catalog.css?17811661665317 */
