@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700,700i&subset=cyrillic,cyrillic-ext');
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@200..900&display=swap');

:root {
    --blackdark: rgba(23, 21, 22, 1);
    --black: rgba(34, 30, 32, 1);
    --grey: rgba(54, 58, 71, 1);
    --greylight: rgba(109, 119, 139, 1);
    --greylight-1: rgba(199, 199, 219, 1);
    --greylight-2: rgba(220, 220, 233, 1);
    --greylight-3: rgba(241, 243, 249, 1);
    --greylight-4: rgba(248, 249, 252, 1);
    --white: rgba(255, 255, 255, 1);
    --red: rgba(201, 37, 44, 1);
}
.greylight{
    color: var(--greylight);
}

/*----------------------------------------PAGINATION---------------------------------------------*/
.pagination-nd {
    width: 100%;
    max-width: 480px;
    margin: auto;
    padding-top: 40px;
    color: var(--greylight);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.fetcher-nd {
    display: flex;
    gap: 4px;
    align-items: center;
}
.fetcher-nd .page_item,
.fetcher-nd .page_pointer {
    height: 32px;
    width: 32px;
    display: flex;
    border-radius: 100px;
    align-items: center;
    justify-content: center;
    color: var(--greylight);
    transition: all .2s ease;
}
.fetcher-nd .paginator:hover {
    color: var(--black);
}
.fetcher-nd .paginator.disabled {
    color: var(--greylight);
    opacity: .5;
}
.fetcher-nd .act_page {
    background-color: var(--red);
    color: var(--white);
}
.fetcher-nd .page_pointer {
    height: 36px;
    width: 36px;
    background: url(../images/nav-arrow-icon.png?1) no-repeat center / 24px;
    transition: background-image .2s ease;
}
.fetcher-nd .page_pointer:hover {
    background-image: url(../images/nav-arrow-icon-2.png);
}
.fetcher-nd .page_pointer.disabled {
    opacity: .5;
    cursor: default;
    background-image: url(../images/nav-arrow-icon.png);
}
.fetcher-nd .page_pointer.backward {
    transform: rotate(180deg);
}
.load-more-nd {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 100%;
    border: 1px solid var(--greylight);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
}
.load-more-nd:hover {
    border-color: var(--grey);
    color: var(--grey);
}
.load-more-nd.disabled {
    border-color: var(--greylight);
    color: var(--greylight);
    opacity: .5;
    cursor: auto;
}
/*----------------------------------------GOODS LIST---------------------------------------------*/
.btn-cart-nd {
    background-color: var(--grey);
    border-color: var(--grey);
    color: var(--white);
    flex: 1;
    transition: all .2s ease;
}
.btn-cart-nd:disabled {
    background-color: var(--black);
    cursor: default;
}
.btn-cart-nd:hover {
    background-color: var(--black);
}
.body-nd{
    color: var(--grey);
    padding: 12px 21px;
}
.catalog-body-wrapper-nd{
    padding-bottom: 40px;
}
.banner-nd{
    padding-bottom: 24px;
}
.banner-nd h1{
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 120%;
    margin: 0;
}
.catalog-nd{
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.wrapper-filter-cards{
    flex: 1;
}

.btn-main-nd,.btn-secondary-nd{
    padding: 8px 0;
    font-family: inherit;
    text-align: center;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    transition: all .2s ease;
}

.filter-nd{
    width: 270px;
    display: flex;
    flex-direction: column;
    padding-right: 12px;
    gap: 4px;
    border-right: 1px solid var(--greylight-3);
    color: var(--grey);
    font-size: 14px;
}
.filter-nd a{
    color: inherit;
    text-decoration: none;
}
.filter-nd .filter-block-childless-nd,
.filter-nd .filter-subchild-nd{
    transition: all .2s ease;
}
.filter-nd .filter-block-childless-nd:hover, .filter-nd .filter-subchild-nd:hover{
    background-color: var(--greylight-4);
}

.filter-nd .filter-parent-nd{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row;
    padding: 12px 24px 12px 12px;
    border-bottom: 1px solid var(--greylight-3);
    transition: color .2s ease;
}
.filter-nd .filter-parent-nd > .filter-parent-icon {
    width: 16px;
    height: 16px;
    transform: rotate(90deg);
    color: var(--greylight);
    transition: color .2s ease;
}
.filter-nd .filter-parent-nd:hover,
.filter-nd .filter-parent-nd:hover > .filter-parent-icon{
    color: var(--black);
}
.filter-nd .filter-block-nd{
    border-radius: 4px;
}
.filter-nd > .filter-child-nd{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 500;
}
.filter-nd .filter-child-nd > a{
    flex: 1;
    padding: 12px;
}
.filter-nd .filter-block-has-children-nd {
    padding: 12px 0 12px 12px;
    cursor: pointer;
}
.filter-nd .filter-block-has-children-nd:hover,
.filter-nd .filter-block-has-children-nd:hover .filter-arrow-icon-nd {
    color: var(--black);
}
.filter-nd .filter-arrow-wrapper-nd{
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100%;
}
.filter-nd .filter-arrow-icon-nd{
    width: 16px;
    height: 16px;
    transition: transform .2s ease;
    transform: rotate(180deg);
    color: var(--greylight);
}
.filter-nd .filter-child-nd.collapsed .filter-arrow-icon-nd{
    transform: none;
}
.filter-nd .filter-subchildren-block-nd{
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.filter-nd .filter-subchildren-block-nd > .filter-block-nd{
    display: block;
    padding: 8px 0 8px 24px;
}

.filter-form-nd{
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
}
.filter-form-nd .filter-dropdown-buttons-nd{
    display: flex;
    gap: 8px;
}

.filter-form-nd .dropdown > p{
    background-color: var(--greylight-3);
    border-radius: 4px;
    padding: 7px 8px;
    display: flex;
    gap: 4px;
    transition: background-color .2s ease;
}
.filter-form-nd .dropdown.chosen > p{
    background-color: var(--greylight-2);
}
.filter-form-nd .dropdown.open > p{
    background-color: rgb(230, 230, 238);
}

.filter-form-nd .filter-wrapper-desktop .dropdown > p:after {
    content: none;
}
.filter-form-nd .filter-wrapper-mobile .dropdown > p:after{
    content: '';
    font-family: inherit;
    position: static;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.filter-wrapper-mobile .dropdown > p.icon-sort:after{
    background-image: url(../images/sort-icon.png);
}

.filter-wrapper-mobile .dropdown > p.icon-filter:after{
    background-image: url(../images/filter-icon.png);
}
.filter-form-nd .filter-dropdown-icon {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    transition: transform .2s ease;
}
.filter-form-nd .dropdown.open > p > .filter-dropdown-icon {
    transform: rotate(180deg);
}
.filter-form-nd .dropdown.chosen .filter-dropdown-icon {
    transform: none;
}
.filter-form-nd .dropdown:hover p, .filter-form-nd .dropdown:hover:after{
    color: inherit;
}
.filter-form-nd .dropdown-menu:after, .filter-form-nd .dropdown-menu:before,
.top-link-share-nd .dropdown-menu:after, .top-link-share-nd .dropdown-menu:before{
    content: none;
}
.filter-form-nd .dropdown-menu, .top-link-share-nd .dropdown-menu{
    width: 225px;
    padding: 12px;
    position: absolute;
    min-width: 200px;
    background-color: var(--white);
    top: calc(100% + 8px);
    z-index: 1;
    box-shadow: 0 0 60px rgba(128, 128, 128, 0.15);
    border-radius: 4px;
    color: var(--greylight);
}
.filter-form-nd .menu-body-nd{
    display: flex;
    flex-direction: column;
    font-weight: 400;
}
.filter-wrapper-desktop .menu-body-nd{
    margin-bottom: 12px;
}
.filter-form-nd .menu-prices-nd{
    flex-direction: row;
    gap: 8px;
}
.filter-form-nd .menu-price-wrapper-nd{
    flex: 1;
}
.filter-form-nd .menu-price-wrapper-nd label{
    display: flex;
    flex-direction: column;
    font-size: 10px;
    color: var(--greylight);
    gap: 2px;
}
.filter-form-nd .menu-price-wrapper-nd input{
    width: 100%;
    padding: 6px 8px;
    border-radius: 4px;
    border: 1px solid var(--greylight-3);
    background-color: var(--greylight-4);
    color: var(--grey);
    font-size: 12px;
    font-family: inherit;
    font-weight: 500;
}

.filter-form-nd .menu-price-wrapper-nd input:focus{
    outline: none;
    border: 1px solid var(--greylight-2);
}
.filter-form-nd .menu-price-wrapper-nd input::placeholder{
    color: var(--greylight-2);
}

.filter-form-nd .menu-radio-nd{
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
    scrollbar-color: var(--greylight-2) var(--greylight-4);
    scrollbar-width: thin;
}

.filter-form-nd .menu-radio-nd label{
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
}

.filter-form-nd .menu-radio-nd input:checked + span,
.filter-form-nd .menu-radio-nd input:checked + span:before{
    color: var(--grey);
}

.filter-form-nd .menu-radio-nd input{
    display: none;
}
.filter-form-nd .menu-radio-nd span:before{
    color: var(--greylight-2);
    margin-right: 6px;
    font-size: 20px;
    display: inline-block;
    width: 20px;
    text-align: center;
    vertical-align: middle;
    position: relative;
}
.filter-form-nd .menu-radio-nd input[type="radio"] + span:before{
    content: '';
    top: -1px;
    width: 16px;
    height: 16px;
    background: url(../images/radio-icon.png) no-repeat center / contain;
}
.filter-form-nd .menu-radio-nd input[type="radio"]:checked + span:before{
    content: '';
    background-image: url(../images/radio-selected-icon.png);
}
.filter-form-nd .menu-radio-nd input[type="checkbox"] + span:before{
    content: '';
    top: -1px;
    width: 16px;
    height: 16px;
    background: url(../images/checkbox-icon.png) no-repeat center / contain;
}
.filter-form-nd .menu-radio-nd input[type="checkbox"]:checked + span:before{
    content: '';
    background-image: url(../images/checkbox-checked-icon.png);
}

.filter-form-nd .menu-buttons-nd{
    display: flex;
    gap: 8px;
    width: 100%;
}
.filter-form-nd .menu-buttons-nd button{
    flex: 1;
}
.btn-main-nd{
    background-color: var(--grey);
    color: var(--white);
    cursor: pointer;
}
.btn-main-nd:hover,
.btn-main-nd:active{
    background-color: var(--black);
}
.btn-main-nd:disabled,
.btn-main-nd.disabled{
    background-color: var(--grey);
    opacity: .2;
}
.btn-secondary-nd{
    background-color: var(--greylight-2);
    color: var(--grey);
}
.btn-secondary-nd:hover{
    background-color: rgba(211, 211, 229, 1);
}
.btn-secondary-nd:active{
    background-color: rgba(200, 200, 218, 1);
}
.btn-secondary-nd:disabled{
    background-color: var(--greylight-2);
    opacity: .5;
}

.filter-wrapper-mobile{
    display: none;
}
.filter-wrapper-mobile .dropdown > p:after{
    margin-top: 2px;
}

.filter-wrapper-mobile .dropdown-menu{
    top: 0;
    left: 0;
    width: 265px;
}
.filter-wrapper-mobile .dropdown{
    position: static;
}
.filter-wrapper-mobile .filter-dropdown-buttons-nd{
    position: relative;
}

.filter-wrapper-mobile .dropdown-header-nd,
.filter-wrapper-mobile .filter-button-nd{
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--greylight-2);
    cursor: pointer;
}
.filter-wrapper-mobile .menu-body-nd{
    border-bottom: 1px solid var(--greylight-2);
    margin-bottom: 0
}
.filter-wrapper-mobile .filter-button-nd{
    padding-top: 16px;
}
.filter-wrapper-mobile .dropdown-header-nd.active > .filter-dropdown-icon{
    transform: rotate(180deg);
}
.filter-wrapper-mobile .menu-body-nd{
    padding: 20px 0 16px 0;
    gap: 14px;
}
.filter-wrapper-mobile .menu-button-nd,
.filter-wrapper-mobile .menu-buttons-nd{
    padding-top: 16px;
}
.filter-wrapper-mobile .dropdown-button-text-nd > span{
    font-size: 11px;
    color: var(--greylight-2);
}

.list-turn-nd{
    display: flex;
    padding: 2px;
    background-color: var(--greylight-3);
    border-radius: 4px;
    overflow: hidden;
}
.list-turn-nd .list-icon-wrapper-nd{
    border-radius: 4px;
    cursor: pointer;
    background-color: transparent;
    box-shadow: none;
    transition: all .2s ease;
}
.list-turn-nd .list-icon-wrapper-nd.active{
    background-color: var(--white);
    box-shadow: 0 1px 16px 0 rgba(4, 6, 28, 0.1);
    padding-left: 10px;
    padding-right: 10px;
}
.list-turn-nd .list-icon-grid-wrapper-nd{
    padding: 6px 6px 5px 4px;
}
.list-turn-nd .list-icon-list-wrapper-nd{
    padding: 6px 4px 5px 6px;
}
.list-turn-nd .list-icon-wrapper-nd > div{
    height: 17px;
    width: 20px;
    background-color: var(--greylight-2);
    transition: background-color .2s ease;
}
.list-turn-nd .list-icon-wrapper-nd.active > div{
    background-color: var(--grey);
}
.list-icon-grid-nd,
.list-icon-nd{
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 100% auto;

    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 100% auto;
}
.list-icon-grid-nd{
    -webkit-mask-image: url(../images/icons/list_icon_grid.svg);
    mask-image: url(../images/icons/list_icon_grid.svg);
}
.list-icon-nd{
    -webkit-mask-image: url(../images/icons/list_icon.svg);
    mask-image: url(../images/icons/list_icon.svg);
}

.cards-wrapper-nd{
    --grid-card-gap: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: var(--grid-card-gap);
    padding-top: 12px;
}
.cards-wrapper-nd .cards-form {
    display: contents;
}
.cards-wrapper-nd .card-wrapper{
    position: relative;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: var(--white);
}
.cards-wrapper-nd.cards-grid .card-wrapper {
    display: flex;
    flex-direction: column;
}

@media (hover: hover) and (pointer: fine) {
    .catalog-nd .cards-wrapper-nd.cards-grid .card-nd:hover .card-wrapper,
    .cards-wrapper-nd.cards-grid .card-nd.active .card-wrapper{
        z-index: 2;
        height: auto;
        box-shadow: 0 0 60px rgba(128, 128, 128, 0.15);
    }
}

.cards-wrapper-nd a{
    color: inherit;
}

.cards-wrapper-nd .card-image-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 246px;
}
.cards-wrapper-nd .card-image{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.cards-wrapper-nd .card-image.active{
    opacity: 1;
}
.cards-wrapper-nd .card-nd.card-oos-nd .card-image.active{
    opacity: 0.5;
}
.cards-wrapper-nd .card-slider-wrapper{
    padding-top: 4px;
    display: flex;
    justify-content: center;
    gap: 2px;
}
.cards-wrapper-nd .card-slider{
    height: 4px;
    width: 8px;
    border-radius: 1px;
    background-color: var(--greylight-4);
}
.cards-wrapper-nd .card-slider.active{
    background-color: var(--greylight);
}

.cards-wrapper-nd.cards-grid .card-contents {
    flex: 1;
}
.cards-wrapper-nd.cards-grid .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.cards-wrapper-nd .card-badges{
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 400;
    font-size: 8px;
    text-transform: uppercase;
    color: var(--black);
}
.cards-wrapper-nd .card-badge{
    padding: 4px;
    border-radius: 6px;
    background: var(--greylight-3);
}
.cards-wrapper-nd .card-favorite{
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    cursor: pointer;
    background: url(../images/fav-icon-3.png) no-repeat center / 24px;
    transition: background-image .2s ease;
}
.cards-wrapper-nd .card-favorite:hover{
    background-image: url(../images/fav-icon.png);
}
.cards-wrapper-nd .card-favorite.favorited{
    background-image: url(../images/fav-icon-1.png);
}
.cards-wrapper-nd.cards-list .card-favorite {
    top: 24px;
    right: 0;
    width: 24px;
    height: 24px;
}

.cards-wrapper-nd .card-text{
    overflow: hidden;
    min-height: calc(3 * 1.3em);
}
.cards-wrapper-nd .card-text{
    margin-top: 0;
}
.cards-wrapper-nd .card-articul{
    font-size: 9px;
}
.cards-wrapper-nd.cards-grid .card-articul{
    display: none;
}

.cards-wrapper-nd .card-title,
.cards-wrapper-nd .card-description{
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.cards-wrapper-nd .card-title{
    font-family: 'Unbounded', sans-serif;
    margin-top: 11px;
    font-size: 16px;
    font-weight: 300;
    padding: 0;
    -webkit-line-clamp: 2;
}

.cards-wrapper-nd.cards-list .card-title{
    margin-top: 6px;
    -webkit-line-clamp: unset;
}
@media (hover: hover) and (pointer: fine) {
    .cards-wrapper-nd.cards-grid .card-nd:hover .card-title,
    .cards-wrapper-nd.cards-grid .card-nd.active .card-title{
        -webkit-line-clamp: unset;
        overflow: visible;
    }
}

.cards-wrapper-nd .card-description{
    font-size: 12px;
    color: var(--greylight);
    margin-top: 4px;
    -webkit-line-clamp: 1;
}
.cards-wrapper-nd.cards-grid .card-title.title-one-line + .card-description{
    -webkit-line-clamp: 2;
}
.cards-wrapper-nd.cards-list .card-description{
    -webkit-line-clamp: 3;
}
@media (hover: hover) and (pointer: fine) {
    .cards-wrapper-nd.cards-grid .card-nd:hover .card-description,
    .cards-wrapper-nd.cards-grid .card-nd.active .card-description{
        -webkit-line-clamp: 3;
    }
}

.cards-wrapper-nd .card-price{
    margin-top: 12px;
}
.cards-wrapper-nd.cards-list .card-price{
    display: none;
}

.cards-wrapper-nd .price-new{
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
}

.cards-wrapper-nd .price-old{
    font-size: 12px;
    text-decoration: line-through;
    padding-left: 8px;
}
.cards-wrapper-nd .price-none{
    color: var(--red);
    font-weight: 600;
    align-self: flex-start;
}
.cards-wrapper-nd.cards-grid .card-footer .price-none{
    display: none;
}

.cards-wrapper-nd .price-title{
    font-size: 9px;
    color: var(--greylight);
    padding-bottom: 5px;
}
.cards-wrapper-nd.cards-list .price-new{
    font-size: 24px;
}
.cards-wrapper-nd.cards-list .price-old{
    padding-left: 0;
    padding-top: 4px;
    color: var(--greylight);
}
.cards-wrapper-nd.cards-grid .card-price-for-list{
    display: none;
}

.cards-wrapper-nd .card-footer{
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .catalog-nd .cards-wrapper-nd.cards-grid .card-nd:hover .card-footer,
    .cards-wrapper-nd.cards-grid .card-nd.active .card-footer{
        display: block;
    }
}

.cards-wrapper-nd.cards-list .btn-cart-nd{
    height: 40px;
    width: 100%;
    flex: unset;
}
.cards-wrapper-nd.cards-grid .btn-cart-nd{
    display: none;
}

.cards-wrapper-nd.cards-list{
    flex-direction: column;
}
.cards-wrapper-nd.cards-list .card-nd,
.cards-wrapper-nd.cards-list .card-wrapper{
    width: 100%;
    height: 223px;
}
.cards-wrapper-nd.cards-list .card-header {
    width: 226px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}
.cards-wrapper-nd.cards-list .card-wrapper{
    display: flex;
    gap: 12px;
    padding: 24px 0;
    background: transparent;
}
.cards-wrapper-nd.cards-list .card-nd:not(:last-child){
    padding-bottom: 12px;
    box-sizing: content-box;
    border-bottom: 1px solid var(--greylight-3);
}
.cards-wrapper-nd.cards-list .card-footer{
    display: flex;
    flex-direction: column;
    width: 226px;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 15px;
}
.cards-wrapper-nd.cards-list .card-contents {
    display: flex;
    gap: 24px;
    flex: 1;
}
.cards-wrapper-nd.cards-list .card-body{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.cards-wrapper-nd.cards-list .card-image-wrapper{
    width: 167px;
    height: 167px;
}

.cards-wrapper-nd.cards-grid .card-specifics{
    display: none;
}
.cards-wrapper-nd.cards-list .card-specifics{
    font-size: 12px;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    column-gap: 40px;
    grid-auto-columns: max-content;
}

.cards-wrapper-nd .spec-wrapper{
    display: inline-block;
    margin-bottom: 5px;
    white-space: nowrap;
}
.cards-wrapper-nd .spec-wrapper:nth-child(2n),
.cards-wrapper-nd .spec-wrapper:last-child {
    margin-bottom: 0;
}
.cards-wrapper-nd .spec-wrapper > .greylight {
    margin-right: 2px;
}

.cards-wrapper-nd.cards-grid .card-nd,
.cards-wrapper-nd.cards-grid .card-wrapper{
    height: 384px;
    min-height: 384px;
}

.cards-wrapper-nd.cards-grid .card-nd{
    width: calc(100% / 5 - var(--grid-card-gap) / 5 * 4);
}
.cards-wrapper-nd.has-subcategories.cards-grid .card-nd{
    width: calc(100% / 4 - var(--grid-card-gap) / 4 * 3);
}
.cards-wrapper-nd.cards-grid-fixed .card-nd{
    width: 270px;
}

/*----------------------------------------GOODS ITEM---------------------------------------------*/
.copy-btn-nd {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background: url(../images/copy-icon.png) no-repeat center / contain;
    position: relative;
    cursor: pointer;
}
.copy-btn-nd .tooltip {
    --shift-x: 0;
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(calc(-50% + var(--shift-x)));
    background: var(--grey);
    color: var(--white);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition:
            opacity .2s ease,
            visibility 0s linear .2s;
}
.copy-btn-nd .tooltip.active {
    opacity: 1;
    visibility: visible;
    transition:
            opacity .2s ease,
            visibility 0s;
}
.copy-btn-nd .tooltip::after {
    content: "";
    position: absolute;
    bottom: -4px;
    top: auto;

    left: 50%;
    transform: translateX(calc(-50% - var(--shift-x)));

    border-width: 4px 4px 0 4px;
    border-style: solid;
    border-color: var(--grey) transparent transparent transparent;
}

.product-body-wrapper-nd {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: 80px;
    padding: 12px 24px;
}
.product-wrapper-nd {
    display: flex;
    gap: 8px;
}
.product-wrapper-nd form {
    display: contents;
}
.product-title-sub-nd {
    font-family: 'Unbounded', sans-serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 24px;
}

.good-top-links-nd {
    display: flex;
    justify-content: space-between;
    padding: 18px 24px 0 24px;
    color: var(--grey);
}
.good-top-links-nd a {
    color: inherit;
}
.good-top-links-nd .dropdown:hover p {
    color: inherit;
}
.good-top-links-nd .good-top-link {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row;
    padding: 4px 0;
    font-size: 14px;
}
.top-link-return-nd > .top-link-return-icon {
    width: 14px;
    height: 14px;
    transform: rotate(90deg);
    color: var(--greylight);
    transition: color .2s ease;
}
.top-link-return-nd:hover {
    color: var(--black);
}
.top-link-return-nd:hover > .top-link-return-icon {
    color: var(--grey);
}
.top-link-share-nd {
    display: flex;
}
.top-link-share-nd > p:before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url(../images/share-icon.png) no-repeat center / contain;
    margin-right: 10px;
    margin-bottom: -2px;
}

.top-link-share-nd > p:after {
    content: none;
}
.top-link-share-nd .dropdown-menu {
    right: 0;
    width: 100px;
    max-width: 100px;
    color: var(--grey);
}
.top-link-share-nd .dropdown-menu:before,
.top-link-share-nd .dropdown-menu:after {
    content: none;
}
.top-link-share-nd .share-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.top-link-share-nd .url-data {
    display: flex;
    height: 40px;
    gap: 4px;

    justify-content: center;
    align-items: center;
    border: 1px solid var(--greylight-2);
    border-radius: 4px;
    padding: 0 10px;
}
.top-link-share-nd .url-data > input {
    overflow: hidden;
    text-overflow: ellipsis;
    height: 100%;
    width: 100%;
    white-space: nowrap;
    box-sizing: border-box;
    border-width: 0;
    font-family: inherit;
    color: var(--greylight);
}
.top-link-share-nd .url-data > input:focus-visible {
    outline: none;
}
.top-link-share-nd .ya-share2__list.ya-share2__list_direction_horizontal > .ya-share2__item {
    margin: 0 8px 0 0;
}
.top-link-share-nd .ya-share2__item_service_vkontakte .ya-share2__badge,
.top-link-share-nd .ya-share2__item_service_telegram .ya-share2__badge{
    background-color: transparent;
}
.top-link-share-nd .ya-share2 a.ya-share2__link {
    background: none;
    padding: 0;
    border-width: 0;
}
.top-link-share-nd .ya-share2__item:not(.ya-share2__item_more):hover,
.top-link-share-nd .ya-share2__item.ya-share2__item_more > .ya-share2__link:hover,
.top-link-share-nd .ya-share2__item:not(.ya-share2__item_more):focus,
.top-link-share-nd .ya-share2__item.ya-share2__item_more > .ya-share2__link:focus {
    opacity: 1;
}
.top-link-share-nd .ya-share2__icon {
    transition: background-image .2s ease;
}
.top-link-share-nd .ya-share2__item_service_vkontakte .ya-share2__icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M13.162 18.994c.609 0 .858-.406.851-.915-.031-1.917.714-2.949 2.059-1.604 1.488 1.488 1.796 2.519 3.603 2.519h3.2c.808 0 1.126-.26 1.126-.668 0-.863-1.421-2.386-2.625-3.504-1.686-1.565-1.765-1.602-.313-3.486 1.801-2.339 4.157-5.336 2.073-5.336h-3.981c-.772 0-.828.435-1.103 1.083-.995 2.347-2.886 5.387-3.604 4.922-.751-.485-.407-2.406-.35-5.261.015-.754.011-1.271-1.141-1.539-.629-.145-1.241-.205-1.809-.205-2.273 0-3.841.953-2.95 1.119 1.571.293 1.42 3.692 1.054 5.16-.638 2.556-3.036-2.024-4.035-4.305-.241-.548-.315-.974-1.175-.974h-3.255c-.492 0-.787.16-.787.516 0 .602 2.96 6.72 5.786 9.77 2.756 2.975 5.48 2.708 7.376 2.708z' fill='%236d778b'/%3e%3c/svg%3e");
}
.top-link-share-nd .ya-share2__item_service_telegram .ya-share2__icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.78 18.65l.28-4.23 7.68-6.92c.34-.31-.07-.46-.52-.19L7.74 13.3 3.64 12c-.88-.25-.89-.86.2-1.3l15.97-6.16c.73-.33 1.43.18 1.15 1.3l-2.72 12.81c-.19.91-.74 1.13-1.5.71L12.6 16.3l-1.99 1.93c-.23.23-.42.42-.83.42z' fill='%236d778b'/%3e%3c/svg%3e");
}
.top-link-share-nd .ya-share2__item_service_vkontakte .ya-share2__icon:hover {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M13.162 18.994c.609 0 .858-.406.851-.915-.031-1.917.714-2.949 2.059-1.604 1.488 1.488 1.796 2.519 3.603 2.519h3.2c.808 0 1.126-.26 1.126-.668 0-.863-1.421-2.386-2.625-3.504-1.686-1.565-1.765-1.602-.313-3.486 1.801-2.339 4.157-5.336 2.073-5.336h-3.981c-.772 0-.828.435-1.103 1.083-.995 2.347-2.886 5.387-3.604 4.922-.751-.485-.407-2.406-.35-5.261.015-.754.011-1.271-1.141-1.539-.629-.145-1.241-.205-1.809-.205-2.273 0-3.841.953-2.95 1.119 1.571.293 1.42 3.692 1.054 5.16-.638 2.556-3.036-2.024-4.035-4.305-.241-.548-.315-.974-1.175-.974h-3.255c-.492 0-.787.16-.787.516 0 .602 2.96 6.72 5.786 9.77 2.756 2.975 5.48 2.708 7.376 2.708z' fill='%23363a47'/%3e%3c/svg%3e");
}
.top-link-share-nd .ya-share2__item_service_telegram .ya-share2__icon:hover {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.78 18.65l.28-4.23 7.68-6.92c.34-.31-.07-.46-.52-.19L7.74 13.3 3.64 12c-.88-.25-.89-.86.2-1.3l15.97-6.16c.73-.33 1.43.18 1.15 1.3l-2.72 12.81c-.19.91-.74 1.13-1.5.71L12.6 16.3l-1.99 1.93c-.23.23-.42.42-.83.42z' fill='%23363a47'/%3e%3c/svg%3e");
}

.product-wrapper-nd .product-block-wrapper-top {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 80px;
    min-width: 0;
}
.product-wrapper-nd .product-block-wrapper-bottom {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: sticky;
    top: 80px; /* nav-box height */
    align-self: start;
    font-size: 14px;
}
.product-wrapper-nd .product-block-2 {
    display: flex;
}
.product-wrapper-nd .product-block-3 {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.product-wrapper-nd .product-block-3 > div{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.product-wrapper-nd .product-block-4 {
    display: flex;
    flex-direction: column;
    gap:40px;
}

.product-wrapper-nd .product-name {
    font-family: 'Unbounded', sans-serif;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 8px;
}
.product-wrapper-nd .product-articul .greylight {
    font-size: 12px;
}
.product-wrapper-nd .articul-data{
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-left: 4px;
}
.product-wrapper-nd .product-badges {
    margin-top: 12px;
}
.product-wrapper-nd .product-badges {
    display: flex;
    gap: 8px;
}
.product-wrapper-nd .product-badge {
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    background: var(--greylight-3);
}

.product-params-nd{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.product-params-nd .product-param,
.product-params-nd .product-param > *{
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-params-nd .product-param > *{
    color: inherit;
    width: 100%;
    height: 100%;
}
.product-params-nd .product-param img {
    padding: 12px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-params-nd .product-param {
    height: 40px;
    min-width: 70px;
    white-space: nowrap;
    border: 1px solid var(--greylight-2);
    border-radius: 4px;
    font-size: 16px;
    color: var(--grey);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding: 0 10px;
    transition: border-color .2s ease;
}
.product-params-nd .product-param.active {
    border-color: var(--grey);
    cursor: default;
}
.product-params-nd .product-param.disabled {
    color: var(--greylight-2);
    opacity: .4;
    cursor: default;
}
.product-params-nd .product-param.disabled:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to top right,
        transparent 0%,
        transparent calc(50% - 1px),
        var(--greylight-2) 50%,
        transparent calc(50% + 1px),
        transparent 100%);
    pointer-events: none;
}
.product-params-nd .product-param:not(.disabled, .active):hover {
    border-color: var(--greylight-1);
}
.product-wrapper-nd .product-colors-wrapper > p {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
}
.product-wrapper-nd .product-color {
    height: 70px;
    min-width: 70px;
    padding: 0;
}
.product-wrapper-nd .product-link {
    text-decoration: underline;
    cursor: pointer;
}
.product-wrapper-nd .product-price-new {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 32px;
}
.product-wrapper-nd .product-price-old {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    text-decoration: line-through;
    color: var(--greylight);
    opacity: .6;
}
.product-wrapper-nd .product-price-none {
    color: var(--red);
    font-weight: 600;
    font-size: 16px;
}
.product-wrapper-nd .product-info-count {
    height: 40px;
    display: flex;
    width: min-content;
    font-weight: 500;
    font-size: 16px;
}
.product-wrapper-nd .product-info-count > span {
    padding: 0 11px;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.product-wrapper-nd .product-info-count > input {
    border: none;
    height: 100%;
    width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}
.product-wrapper-nd .product-info-count > input:focus-visible {
    outline: none;
}

.product-wrapper-nd .product-buttons {
    display: flex;
    gap: 8px;
}
.product-wrapper-nd .product-buttons button {
    font-family: inherit;
    text-align: center;
    border-radius: 4px;
    border-width: 1px;
    border-style: solid;
    font-size: 16px;
    height: 60px;
}
.product-wrapper-nd .btn-favorite {
    width: 152px;
    background-color: var(--white);
    border-color: var(--greylight-2);
    background-image: url(../images/fav-icon-3.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
    transition: border-color .2s ease;
}
.product-wrapper-nd .btn-favorite:hover {
    border-color: var(--greylight-1);
}
.product-wrapper-nd .btn-favorite.favorited {
    background-image: url(../images/fav-icon-1.png);
    border-color: var(--red);
}

.product-wrapper-nd .product-slider-side {
    width: 60px;
    min-height: 0;
    max-height: 625px;
    overflow: hidden;
}
.product-wrapper-nd .product-slider-side .slick-arrow {
    background-color: var(--greylight-4);
}
.product-wrapper-nd .product-slider-main {
    min-width: 0;
    flex: 1;
}
.product-wrapper-nd .product-slider-main .item {
    height: 100%;
}
.product-wrapper-nd .product-slider-main .slick-slide img {
    max-width: 100%;
    margin: 0 auto;
}
.product-wrapper-nd .slick-arrow,
.product-wrapper-nd .slick-arrow:hover,
.product-refs-nd .slick-arrow,
.product-refs-nd .slick-arrow:hover{
    background-image: url(../images/arrow-slider-2.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
    background-color: var(--greylight-4);
    opacity: 1;
    width: 24px;
    height: 24px;
    border-radius: 16px;
    padding: 16px;
}
.product-wrapper-nd .slick-arrow,
.product-refs-nd .slick-arrow{
    transition: background-image .2s ease;
}
.product-wrapper-nd .slick-arrow:not(.slick-disabled):hover,
.product-refs-nd .slick-arrow:not(.slick-disabled):hover{
    background-image: url(../images/arrow-slider-3.png);
}
.product-wrapper-nd .product-slider-main .slick-arrow,
.product-wrapper-nd .product-slider-main .slick-arrow:hover{
    background-color: var(--white);
}
.product-slider-main .slick-next{
    right: 12px;
}
.product-slider-main .slick-prev{
    left: 12px;
}
.product-slider-side .item,
.product-slider-main .item {
    cursor: pointer;
}
.product-slider-side .item {
    height: 60px;
    width: 60px !important;
    margin: 0 8px 8px 0;
    border-radius: 4px;
    border: 1px solid var(--greylight-2);
    cursor: pointer;
    overflow: hidden;
    transition: border-color .2s ease;
}
.product-slider-side .item:not(.slick-current):hover {
    border-color: var(--greylight-1);
}
.product-slider-side .item.slick-current {
    border-color: var(--grey);
}
.product-slider-side img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}
.product-wrapper-nd .slick-vertical .slick-arrow {
    left: 0;
    right: 0;
    bottom: unset;
    top: unset;
    margin: 0 auto;
}
.product-wrapper-nd .slick-vertical .slick-prev {
    top: 0;
    transform: rotate(-90deg);
}
.product-wrapper-nd .slick-vertical .slick-next {
    bottom: 0;
    transform: rotate(90deg);
}

.product-wrapper-nd .product-descr-wrapper {
    max-width: 692px;
}
.product-wrapper-nd .descr-nd ul {
    list-style-type: inherit;
    padding-left: 30px;
}
.product-wrapper-nd .descr-nd p {
    margin-bottom: 10px;
}
.product-wrapper-nd .btn-show-nd,
.product-wrapper-nd .btn-hide-nd {
    color: var(--red);
    font-size: 14px;
    cursor: pointer;
}
.product-wrapper-nd .product-video > iframe {
    border-radius: 24px;
}

.product-wrapper-nd .product-specifics {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(5, max-content);
    grid-auto-columns: 1fr;
    gap: 0 40px;
    margin-bottom: 6px;
}
.product-wrapper-nd .spec-wrapper {
    display: inline-block;
    white-space: nowrap;
    margin-bottom: 8px;
    padding: 4px 0;
}
.product-wrapper-nd .spec-wrapper:nth-child(5n),
.product-wrapper-nd .spec-wrapper:last-child {
    margin-bottom: 0;
}

.product-refs-nd {
    min-width: 0;
    width: 100%;
}
.product-refs-nd .slick-next{
    right: 0;
}
.product-refs-nd .slick-prev{
    left: 0;
}
.product-refs-nd .cards-wrapper-nd {
    display: block;
    padding: 0;
}
.product-refs-nd .card-nd {
    margin-right: 12px;
}

.product-refs-nd .cards-wrapper-nd.active .slick-list {
    padding-bottom: 150px;
    margin-bottom: -150px;
    padding-top: 150px;
    margin-top: -150px;
}

/*------------------------------------GOODS ITEM FANCYBOX-----------------------------------------*/
.fancybox-custom-nd {
    --fancybox-bg: rgba(0, 0, 0, 0.6);
    --content-width: 800px;
    --content-height: 800px;
    --arrow-padding: 40px;
}
.fancybox-custom-nd .fancybox__slide.has-image>.fancybox__content  {
    width: var(--content-width) !important;
    height: var(--content-height) !important;
    border-radius: 24px;
    background-color: white;
    overflow: hidden;
}
.fancybox-custom-nd .fancybox__nav .f-button:hover {
    background-color: var(--greylight-4);
    background-image: url(../images/arrow-slider-3.png);
}
.fancybox-custom-nd .f-button img,
.fancybox-custom-nd .f-button svg{
    display: none;
}
.fancybox-custom-nd .f-button[data-fancybox-close] {
    background: url(../images/close-icon-2.png) no-repeat center / 40px;
    height: 40px;
    width: 40px;
    margin: 40px;
}
.fancybox-custom-nd .fancybox__nav .f-button {
    background: url(../images/arrow-slider-2.png) no-repeat center / 30px var(--greylight-4);
    border-radius: 20px;
    transition: background-image .2s ease;
}
.fancybox-custom-nd .fancybox__nav {
    --f-button-width: 40px;
    --f-button-height: 40px;
    --f-button-next-pos: calc((100vw -
        var(--content-width)) / 2 -
        var(--f-button-width) -
        var(--arrow-padding));
    --f-button-prev-pos: var(--f-button-next-pos);

}
.fancybox-custom-nd .is-horizontal .fancybox__nav .f-button.is-prev {
    transform: translateY(-50%) rotate(180deg);
}
.fancybox-custom-nd .fancybox__footer {
    margin-bottom: 40px;
}
.fancybox-custom-nd.is-compact .fancybox__footer {
    background: rgba(0, 0, 0, 0);
}
.fancybox-custom-nd .f-thumbs__viewport {
    border-radius: 4px;
}
.fancybox-custom-nd .fancybox__thumbs {
    --f-thumb-width: 60px;
    --f-thumb-height: 60px;
    --f-thumb-border-radius: 4px;
    --f-thumb-outline: 0;
    --f-thumb-opacity: 0.4;
}
.fancybox-custom-nd .fancybox__thumbs.is-classic {
    --f-thumb-opacity: 0.4;
}
.fancybox-custom-nd .f-thumbs.is-horizontal .f-thumbs__track {
    padding: 0;
}
.fancybox-custom-nd .is-classic .f-thumbs__slide__button,
.fancybox-custom-nd .is-classic .is-nav-selected .f-thumbs__slide__button {
    border: none;
}
.fancybox-custom-nd .f-thumbs__slide__img {
    border: 1px solid rgba(220, 220, 233, 1);
}
.fancybox-custom-nd.is-idle .fancybox__toolbar {
    pointer-events: initial;
    animation: none;
}

@media only screen and (max-width: 1440px){
   
    /*--------------------------------------CENTERED MODAL-------------------------------------------*/
    .modal-centered-nd {
        width: 800px;
    }
    /*----------------------------------------GOODS LIST---------------------------------------------*/
    .filter-wrapper-desktop{
        display: none;
    }
    .filter-wrapper-mobile{
        display: block;
    }
    .filter-nd{
        width: 237px;
    }
    .cards-wrapper-nd.cards-grid .card-nd,
    .cards-wrapper-nd.cards-grid .card-wrapper{
        height: 351px;
        min-height: 351px;
    }

    .cards-wrapper-nd.cards-grid .card-nd{
        width: calc(100% / 4 - var(--grid-card-gap) / 4 * 3);
    }
    .cards-wrapper-nd.has-subcategories.cards-grid .card-nd{
        width: calc(100% / 3 - var(--grid-card-gap) / 3 * 2);
    }
    .cards-wrapper-nd.cards-list .card-footer {
        max-width: inherit;
    }
    .cards-wrapper-nd.cards-list .card-header {
        width: 226px;
    }
    .cards-wrapper-nd.has-subcategories.cards-list .card-footer {
        max-width: 160px;
    }
    .cards-wrapper-nd.has-subcategories.cards-list .card-header {
        width: 160px;
    }
    .cards-wrapper-nd.cards-grid-fixed .card-nd{
        width: 237px;
    }
    .cards-wrapper-nd.cards-grid .card-image-wrapper{
        height: 213px;
    }
    /*----------------------------------------GOODS ITEM---------------------------------------------*/
    .product-body-wrapper-nd {
        gap: 60px;
        margin-bottom: 60px;
    }
    /*----------------------------------------PAGINATION---------------------------------------------*/
    .pagination-nd {
        padding-top: 32px;
    }
    /*------------------------------------GOODS ITEM FANCYBOX-----------------------------------------*/
    .fancybox-custom-nd {
        --content-width: 650px;
        --content-height: 650px;
        --arrow-padding: 32px;
    }
    .fancybox-custom-nd .fancybox__footer {
        margin-bottom: 32px;
    }
}
@media only screen and (max-width: 1024px){
   
    /*----------------------------------------GOODS LIST---------------------------------------------*/
    .filter-nd{
        display: none;
    }
    .cards-wrapper-nd.cards-grid .card-nd{
        width: calc(100% / 3 - var(--grid-card-gap) / 3 * 2);
    }
    .cards-wrapper-nd.cards-grid-fixed .card-nd{
        width: 237px;
    }
    .cards-wrapper-nd.cards-grid .card-image {
        height: 142px;
    }
    .cards-wrapper-nd.cards-list .card-image {
        height: 150px;
    }
    .cards-wrapper-nd.cards-list .card-footer {
        max-width: 160px;
    }
    .cards-wrapper-nd.cards-list .card-header {
        width: 160px;
    }
    /*----------------------------------------GOODS ITEM---------------------------------------------*/
    .product-body-wrapper-nd {
        gap: 40px;
        margin-bottom: 40px;
    }
    .product-wrapper-nd {
        flex-direction: column;
        gap: 40px;
    }
    .product-wrapper-nd .product-block-wrapper-top,
    .product-wrapper-nd .product-block-wrapper-bottom{
        display: contents;
    }
    .product-wrapper-nd .product-block-1 {
        order: 1;
    }
    .product-wrapper-nd .product-block-2 {
        order: 2;
    }
    .product-wrapper-nd .product-block-4 {
        order: 4;
    }
    .product-wrapper-nd .product-block-3 {
        order: 3;
    }
    /*------------------------------------GOODS ITEM FANCYBOX-----------------------------------------*/
    .fancybox-custom-nd {
        --content-width: 592px;
        --content-height: 592px;
        --arrow-padding: 24px;
    }
    .fancybox-custom-nd .f-button[data-fancybox-close] {
        margin: 24px;
    }
    .fancybox-custom-nd .fancybox__footer {
        margin-bottom: 24px;
    }
}
@media only screen and (max-width: 768px){
   
    /*----------------------------------------GOODS LIST---------------------------------------------*/
    .list-turn-nd{
        display: none;
    }
    .cards-wrapper-nd.cards-grid .card-title{
        font-size: 13px;
        line-height: 1.2;
    }
    .cards-wrapper-nd .card-text {
        min-height: calc(2 * 1.2em);
    }
    .cards-wrapper-nd .card-title {
        margin-top: 8px;
    }
    .cards-wrapper-nd .card-price {
        margin-top: 8px;
    }
    .cards-wrapper-nd .card-badge {
        border-radius: 4px;
    }
    .cards-wrapper-nd.cards-grid .card-nd,
    .cards-wrapper-nd.cards-grid .card-wrapper{
        height: 243px;
        min-height: 243px;
    }
    .cards-wrapper-nd.cards-grid .card-description {
        display: none;
    }
    .cards-wrapper-nd.cards-grid .card-nd,
    .cards-wrapper-nd.has-subcategories.cards-grid .card-nd{
        width: calc(100% / 2 - var(--grid-card-gap) / 2 * 1);
    }
    .cards-wrapper-nd.cards-grid-fixed .card-nd{
        width: 166px;
    }
    .cards-wrapper-nd.cards-grid .card-wrapper{
        padding: 4px;
    }
    .cards-wrapper-nd.cards-grid .card-image-wrapper{
        height: 158px;
    }
    .cards-wrapper-nd.cards-grid .card-favorite{
        width: 40px;
        height: 40px;
    }
    .cards-wrapper-nd.cards-grid .card-badges{
        font-size: 7px;
    }
    .cards-wrapper-nd.cards-grid{
        --grid-card-gap: 4px;
    }

    /*----------------------------------------GOODS ITEM---------------------------------------------*/
    .body-nd {
        padding: 12px;
    }
    .good-top-links-nd {
        padding: 12px 12px 0;
    }
    .product-body-wrapper-nd {
        padding: 12px;
    }
    .product-wrapper-nd .product-block-2 {
        flex-direction: column;
    }
    .product-wrapper-nd .product-buttons {
        flex-direction: column;
    }
    .product-wrapper-nd .product-buttons button {
        flex: unset;
        width: 100%;
    }
    .product-wrapper-nd .product-slider-main {
        order: 1;
    }
    .product-wrapper-nd .product-slider-side {
        width: 100%;
        order: 2;
    }
    .product-wrapper-nd .product-specifics {
        display: flex;
        flex-direction: column;
    }
    .product-wrapper-nd .spec-wrapper:nth-child(5n):not(:last-child) {
        margin-bottom: 18px;
    }
    .product-refs-nd .card-nd {
        margin-right: 4px;
    }
    /*------------------------------------GOODS ITEM FANCYBOX-----------------------------------------*/
    .fancybox-custom-nd {
        --content-width: calc(100% - 24px * 2);
        --content-height: min(540px, calc(100vh - 180px));
    }
}

@media only screen and (max-width: 480px) {
    /*----------------------------------------GOODS LIST---------------------------------------------*/
    .cards-wrapper-nd.cards-grid .card-image {
        height: 134px;
    }
    /*----------------------------------------GOODS ITEM---------------------------------------------*/
    .product-wrapper-nd .product-color {
        height: 78px;
        min-width: 78px;
    }
    .product-params-nd {
        --param-width: 78px;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(var(--param-width), 1fr));
    }
}
@media only screen and (max-width: 360px){

    /*----------------------------------------GOODS LIST---------------------------------------------*/
    .filter-wrapper-mobile{
        width: 100%;
    }
    .filter-dropdown-buttons-nd .filter-dropdown-wrapper-nd{
        flex: 1;
        justify-content: center;
    }
    .filter-dropdown-buttons-nd .filter-dropdown-button-wrapper-nd{
        justify-content: center;
    }
    .filter-wrapper-mobile .filter-dropdown-buttons-nd{
        position: static;
    }
    .filter-wrapper-mobile .dropdown.open .dropdown-menu{
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1000;
        width: 100%;
    }
    /*------------------------------------GOODS ITEM FANCYBOX-----------------------------------------*/
    .fancybox-custom-nd {
        --content-width: calc(100% - 12px * 2);
        --content-height: min(420px, calc(100vh - 180px));
    }
}