.collection_top_banner img {
    border-top-left-radius: 10px;
    border-top-right-radius: 152px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-bottom: 84px;
}

.search_form {
    margin-bottom: 150px;
}

.search_form h1 {
    font-weight: 500;
    font-size: 64px;
    line-height: 68px;
    margin-bottom: 24px;
}

.search_form .container {
    width: 905px;
    max-width: 100%;
}

.search_form .description {
    font-weight: 500;
    font-size: 25px;
    line-height: 35px;
    margin-bottom: 48px;
}

.search_form .input_row {
    max-width: 100%;
    position: relative;
}

.search_form .input_row svg {
    position: absolute;
    left: 16px;
    top: 17px;
}

.search_form input[type='text'] {
    width: 630px;
    max-width: 100%;
    height: 32px;
    border-radius: 5px;
    padding: 12px 12px 12px 50px;
    margin-right: 32px;
    font-size: 20px;
}

.search_form input[type='text']::placeholder {
    font-weight: 500;
    font-size: 17px;
    line-height: 100%;
    color: #323031;
}

.search_form .btn.red {
    margin-top: 0;
    width: 175px;
}

.search_form form {
    margin-bottom: 48px;
}

.search_form a {
    font-weight: 500;
    font-size: 25px;
    line-height: 35px;
    text-align: center;
    color: #FFFFFF;
}

.search_form a svg {
    position: relative;
    top: 5px;
    margin-left: 24px;
}

.collection_grid h2 {
    font-weight: 500;
    font-size: 85px;
    line-height: 88px;
    color: #DBE7F5;
    padding-bottom: 80px;
    max-width: 700px;
}

.collection_grid {
    padding-bottom: 168px;
}


.collection_grid .grid_item {
    margin-bottom: 15px;
    display: block;
    transition: .3s all;
}

.collection_grid .grid_item figure {
    height: 680px;
    margin-bottom: 25px;
}

.collection_grid .grid_item figure img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .3s all;
}

.collection_grid .grid_item .title {
    font-weight: 600;
    font-size: 24px;
    line-height: 35px;
    color: #FFFFFF;
    margin-bottom: 15px;
    transition: .3s all;
}

.collection_grid .grid_item .author {
    display: block;
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    color: #FFFFFF
}


.collection_grid .grid_item:hover .title {
    color: #D191AB;
}

.collection_grid .grid_item:active .title {
    color: #D191AB;
}

.collection_grid .grid_item:hover figure img {
    outline: 1px solid #D191AB;
}

.collection_grid .show_more_wrap {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}


.single .breadcrumbs {
    display: flex;
    align-items: center;
    margin-bottom: 65px;
}

.single .breadcrumbs a {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 17px;
    line-height: 100%;
    transition: .3s all;
}


.single .breadcrumbs a:hover {
    color: #D191AB;
}


.single .breadcrumbs span {
    color: #A4ADB8;
    width: max-content;
    display: block;
}

.single .breadcrumbs li {
    margin-right: 8px;
    margin-left: 8px;
}

.single .breadcrumbs li:first-child {
    margin-left: 0;
}

.single .title_block {
    padding: 0 140px;
    margin-bottom: 48px;
}

.single .title_block h1 {
    font-weight: 600;
    font-size: 48px;
    line-height: 52px;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.single .title_block .author {
    font-weight: 600;
    font-size: 22px;
    line-height: 32px;
    color: #D191AB;
    margin-bottom: 15px;
}

.single .title_block .year {
    font-weight: 500;
    font-size: 22px;
    line-height: 32px;
}

.single .title_block {
    margin-bottom: 48px;
}

.singleSwiper2 {
    height: 550px;
    margin-bottom: 32px;
}

.singleSwiper2 .swiper-slide img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.singleSwiper .swiper-slide {
    height: 120px;
}

.singleSwiper .swiper-slide img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: .3s all;
}

.singleSwiper {
    margin-bottom: 48px;
}

.singleSwiper .swiper-wrapper {
    justify-content: center;
}

.singleSwiper .swiper-slide {
    width: auto;
    padding-top: 1px;
    padding-bottom: 1px;
}

.singleSwiper .swiper-slide img {
    display: block;
    height: 64px;
    width: auto;
    object-fit: contain;
}

.singleSwiper .swiper-slide:hover img {
    outline: solid 1px #D191AB;
}

.singleSwiper .swiper-slide-thumb-active img {
    outline: solid 1px #D191AB;
}


.single .single_description {
    padding-bottom: 10px;
    position: relative;
}

.single .single_description:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 1px;
    background: #DBE7F5;
}

.single .single_description {
    width: 590px;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 124px;
}

.single .single_description p {
    padding-bottom: 15px;
}


.single_tabs {
    margin-bottom: 175px;
}

.single_tabs .tabs {
    display: flex;
    margin-bottom: 70px;
}

.single_tabs .tabs .tab {
    font-weight: 500;
    font-size: 25px;
    line-height: 35px;
    color: #FFFFFF;
    margin-right: 30px;
    padding-bottom: 24px;
    cursor: pointer;
    transition: .3s all;
    border-bottom: solid 4px transparent;
}

.single_tabs .tabs .tab:hover {
    color: #D191AB;
}


.single_tabs .tabs .tab:last-child {
    margin-right: 4px;
}


.single_tabs .tabs .tab.active {
    border-bottom: solid 4px #D191AB;
}

.single_tabs .tab_content li {
    margin-bottom: 24px;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
}

.single_tabs .tab_content .title {
    font-weight: 700;
    font-size: 21px;
    line-height: 25px;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.single_tabs .tab_content .description {
    font-weight: 500;
    font-size: 22px;
    line-height: 32px;
    color: #FFFFFF;
}

.single_tabs .tab_content a {
    font-weight: 500;
    font-size: 22px;
    line-height: 32px;
    text-decoration: underline;
    text-underline-position: under;
    text-decoration-style: solid;
    color: #D191AB
}

.single_tabs .tab_content p {
    font-weight: 500;
    font-size: 22px;
    line-height: 32px;
    padding-bottom: 32px;
    color: #FFFFFF;
}

.single_tabs .tab_content_list {
    column-count: 2;
}

.single_tabs .tab_content {
    display: none;
}

.single_tabs .tab_content.active {
    display: block;
}


.more_works_wrap .mare_works_wrap_top {
    justify-content: space-between;
    margin-bottom: 48px;
}

.more_works_wrap .mare_works_wrap_top h2 {
    font-weight: 500;
    font-size: 64px;
    line-height: 68px;
}

.more_works_wrap .mare_works_wrap_top .btn.link {
    height: 24px;
}


.filter_page .filter_column {
    width: 300px;
    margin-right: 18px;
    padding-right: 30px;
    position: relative;
}

.filter_page .filter_column .count {
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 16px;
    display: block;
}

.filter_page .filter_column .btn {
    cursor: pointer;
}

.filter_page .filter_column .btn:hover {
    color: #fff;
}

.filter_page .filter_column .btn svg {
    margin-left: 0;
    margin-right: 10px;
    position: relative;
    top: -2px
}

.filter_page .grid_column form {
    position: relative;
}

.filter_page .grid_column form input {
    padding: 11px 24px;
    background: #FFFFFF;
    border-radius: 4px;
    height: 30px;
    width: 550px;
    border-color: transparent;
}

.filter_page .grid_column form input::placeholder {
    font-weight: 500;
    font-size: 15px;
    line-height: 100%;
    color: #323031;
}

.filter_page .grid_column form button {
    position: absolute;
    right: 17px;
    top: 9px;
    background: transparent;
    cursor: pointer;
}


.filter_page .filter .filter_column {
    margin-top: 32px;
    flex-shrink: 0;
}

.filter_page .filter .filter_column .show_image {
    margin-bottom: 32px;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #FFFFFF;
}

.filter_page .filter .filter_column .show_image input[type='checkbox'] {
    display: none;
}

.filter_page .filter .filter_column .show_image label {
    position: relative;
    padding-right: 48px;
    cursor: pointer;
}

.filter_page .filter .filter_column .show_image label:before {
    content: '';
    width: 32px;
    height: 18px;
    border-radius: 20px;
    position: absolute;
    right: 0;
    top: 0;
    background: #fff;
}

.filter_page .filter .filter_column .show_image label:after {
    content: '';
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: #0a1727;
    position: absolute;
    right: 2px;
    top: 2px;
    transition: .3s all;
}

.filter_page .filter .filter_column .show_image input[type='checkbox']:checked + label:after {
    right: 14px;
}

.filter_page .filter .filter_column .dropdown_item .title {
    font-weight: 400;
    font-size: 22px;
    line-height: 24px;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    padding-top: 10px;
    margin-right: 15px;
}

.filter_page .filter .filter_column .dropdown_item .title svg {
    cursor: pointer;
    transform: rotate(180deg);
    transition: .3s all;
}

.filter_page .filter .filter_column .dropdown_item .dropdown_content input[type='checkbox'] {
    display: none;
}

.filter_page .filter .filter_column .dropdown_item {
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    color: #FFFFFF;
    padding-top: 15px;
}

.filter_page .filter .filter_column .dropdown_item .dropdown_content svg {
    transform: rotate(180deg);
    width: 14px;
    cursor: pointer;
    transition: .3s all;
}


.filter_page .filter .filter_column .dropdown_item label {
    display: flex;
    align-items: center;
}

.filter_page .filter .filter_column .dropdown_item label .count {
    margin-bottom: 0;
    margin-left: 10px;
}

.filter_page .filter .dropdown_item label {
    padding-left: 30px;
    cursor: pointer;
    position: relative;
}

.filter_page .filter .dropdown_item label:before {
    content: '';
    width: 18px;
    height: 18px;
    background: #DBE7F5;
    position: absolute;
    left: 0;
    top: 2px;
}

.filter_page .filter .dropdown_item label:after {
    content: '';
    width: 12px;
    height: 10px;
    background-image: url("../image/checkbox.svg");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 4px;
    top: 7px;
    opacity: 0;
}


.filter_page .filter .dropdown_item input[type='checkbox']:checked + label:after {
    opacity: 1;
}

.filter_page .filter .dropdown_item input[type='checkbox']:checked + label:before {
    background: #D191AB;
}

.filter_page .filter .dropdown_item .dropdown_item_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter_page .filter .dropdown_item .dropdown_item_item .count {
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
}


.filter_page .filter .dropdown_item * .dropdown_content {
    padding-left: 20px;

}

.filter_page .filter .dropdown_item .dropdown_content {
    display: none;
}

.filter_page .filter .dropdown_item #range_slider {
    margin-top: 25px;
    margin-bottom: 22px;
}

.filter_page .filter .dropdown_item #range_slider .noUi-base {
    height: 3px;
    width: 100%;
    background: #D191AB;
}

.filter_page .filter .dropdown_item #range_slider {
    background: #D191AB;
    height: 3px;
    margin-bottom: 25px;
}

.filter_page .filter .dropdown_item .noUi-target {
    border: none;
}


.filter_page .filter .dropdown_item .noUi-handle:after, .filter_page .filter .dropdown_item .noUi-handle:before {
    display: none;
}

.filter_page .filter .dropdown_item .noUi-handle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    top: -7px;
    cursor: pointer;
}

.filter_page .filter .dropdown_item .inputs {
    justify-content: space-between;
}

.filter_page .filter .dropdown_item .inputs input {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    padding: 10px 0;
    border: solid 1px #fff;
    background: transparent;
    color: #FFFFFF;
    width: 75px;
    border-radius: 4px;
    text-align: center;
}


.filter_page .filter .dropdown_item .noUi-connect {
    background: #CD432D;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.filter_page .button_wrap {
    margin-top: 35px;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    left: 0;
    bottom: 0;
    padding-bottom: 10px;
    background-color: #0a1727;
    z-index: 1;
}

.filter_page .button_wrap .btn {
    padding: 16px;
}

.filter_page .button_wrap .clear_all {
    cursor: pointer;
}

.filter_page .filter .filter_column .dropdown_item svg.active {
    transform: rotate(0deg) !important;
}


.filter_page .filter .filter_column .dropdown_item.active > .dropdown_content {
    display: block;
}


.filter_page .filter .filter_column > .dropdown_item > .dropdown_content {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 250px;
    padding-right: 10px;
}


.filter_page .filter .filter_column > .dropdown_item > .dropdown_content::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.filter_page .filter .filter_column > .dropdown_item > .dropdown_content::-webkit-scrollbar-track {
    background: transparent;
}

.filter_page .filter .filter_column > .dropdown_item > .dropdown_content::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 8px;
    border: 2px solid #fff;
}

.filter_page .filter .filter_column > .dropdown_item > .dropdown_content::-webkit-scrollbar-thumb:hover {
    background: #fff;
}


.filter .grid_column {
    width: 100%;
}

.grid {
    width: 100%;
    margin-bottom: 65px;
}

/* Формула ширини для N колонок з горизонтальним відступом (--gutter) */
.grid-sizer,
.grid-item {
    width: calc((100% - var(--gutter) * (var(--cols) - 1)) / var(--cols));
}

/* Вертикальний відступ між елементами */
.grid-item {
    margin-bottom: var(--v-gap);
}

/* (Опціонально) авто-перебудова по брейкпоінтах */
@media (max-width: 1200px) {
    .grid {
        --cols: 3 !important;
    }
}

@media (max-width: 900px) {
    .grid {
        --cols: 2 !important;
    }
}

@media (max-width: 600px) {
    .grid {
        --cols: 1 !important;
    }
}

.grid-item img {
    width: 100%;
    transition: .3s all;
}

.grid_column .title {
    font-weight: 600;
    font-size: 19px;
    line-height: 23px;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 5px;
    transition: .3s all;
}

.grid_column .description {
    font-weight: 400;
    font-size: 18px;
    line-height: 23px;
    color: #FFFFFF;
}

.grid_column .grid-item:hover img {
    outline: solid 1px #D191AB;
}

.grid_column .grid-item:hover .title {
    color: #D191AB;
}


.pagination {
    display: flex;
    justify-content: center;
    margin-bottom: 130px;
}

.pagination ul {
    display: flex;
    align-items: center;
}

.pagination ul .filter-page-arrow.filter-page-button {
    font-weight: 500;
    font-size: 22px;
    line-height: 20px;
    text-align: center;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    color: #171310;
    border-radius: 5px;
    background: #FFFFFF;
}


.pagination ul .filter-page-button {
    font-weight: 500;
    font-size: 22px;
    line-height: 20px;
    text-align: center;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    color: #fff;
    border-radius: 5px;
    background: transparent;
}

.pagination ul .filter-page-button.active {
    font-weight: 500;
    font-size: 22px;
    line-height: 20px;
    text-align: center;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    color: #171310;
    border-radius: 5px;
    background: #FFFFFF;
}

.pagination ul .prev {
    transform: rotate(180deg);
}

.pagination ul .disabled {
    display: none !important;
}

.filter_page .filter .filter_column {
    transition: .4s all;
}

.filter {
    position: relative;
}

.filter .filter_column {
    position: absolute;
    left: 0;
    top: 0;
    transition: .4s all;
}

.filter .grid_column {
    padding-left: 348px;
    transition: .4s all;
}


.hide_filter .filter_page .filter .filter_column {
    left: -700px;
}

.hide_filter .filter_page .filter .grid_column {
    padding-left: 0;
    padding-top: 48px;
}

.grid-item {
    transition: .4s all;
}


.tags {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
}

.tags .tag {
    border: 1px solid #DBE7F5;
    padding: 8px 20px;
    font-weight: 500;
    font-size: 18px;
    line-height: 25px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    border-radius: 27px;
    margin-right: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: max-content;
}

.tags .tag.all {
    background: #DBE7F5;
    color: #171310;
}

.tags .tag svg {
    margin-left: 10px;
    cursor: pointer;
}


.single_tabs .tabs {
    width: 100%;
    overflow-y: auto;
    padding-bottom: 10px;
}


.tabs::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.tabs::-webkit-scrollbar-track {
    background: transparent;
}

.tabs::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 8px;
    border: 2px solid #fff;
}

.tabs::-webkit-scrollbar-thumb:hover {
    background: #fff;
}


.single .breadcrumbs {
    margin-bottom: 50px;
    overflow-x: auto;
}

.single .single_description {
    margin-bottom: 90px;
}


.filter .filter_column .cls{
    display: none;
}

.mobile_btn{
    display: none;
}

@media (max-width: 992px) {
    .search_form h1 {
        font-size: 55px;
    }

    .mobile_btn{
        display: block;
    }
    .desktop_btn{
        display: none;
    }

    .search_form .description {
        font-size: 20px;
    }

    .collection_grid h2 {
        font-size: 70px;
        line-height: 68px;
    }

    .collection_grid .grid_item figure {
        height: 479px;
    }

    .collection_grid .show_more_wrap {
        margin-top: 26px;
    }

    .search_form input[type='text'] {
        width: 490px;
    }

    .filter_page .grid_column form input{
        width: 100%;
        box-sizing: border-box;
        height: 56px;
    }

    .filter_page .filter .filter_column {
        left: -1000px;
    }
    .filter .grid_column{
        padding-left: 0;
    }

    .filter_top_wrap.flex{
        flex-direction: column-reverse;
    }
    .filter_page .grid_column form{
        margin-bottom: 20px;
    }

    .filter_page .filter .filter_column{
        position: fixed;
        top:0;
        width: 100%;
        background: #0a1727;
        z-index: 10;
        height: 100vh;
        padding: 40px 24px;
        margin-top: 0;
        box-sizing: border-box;
        overflow-y: auto;
    }

    .show_filter .filter .filter_column{
        left: 0;
    }

    .filter_page .filter_column{
        margin-bottom: 20px;
    }

    .filter .filter_column .cls{
        display: block;
        position: absolute;
        top: 25px;
        right: 16px;
    }

    .filter_page .grid_column form button{
        background: #fff;
    }

}

@media (max-width: 768px) {
    .collection_top_banner img {
        margin-bottom: 50px;
    }

    main {
        margin-top: 150px;
    }

    .search_form h1 {
        font-size: 45px;
        line-height: 45px;
    }

    .search_form .description {
        margin-bottom: 30px;
    }

    .search_form input[type='text'] {
        width: 350px;
    }

    .search_form {
        margin-bottom: 110px;
    }

    .collection_grid h2 {
        font-size: 55px;
        line-height: 60px;
        margin-bottom: 50px;
    }

    .collection_grid .grid_item figure {
        height: 370px;
    }

    .collection_grid .grid_item {
        margin-bottom: 30px;
    }

    .collection_grid {
        padding-bottom: 70px;
    }

    .single .title_block {
        padding: 0;
    }

    .single_tabs .tab_content_list {
        column-count: 1;
    }

    .single_tabs {
        margin-bottom: 100px;
    }

    .more_works_wrap .mare_works_wrap_top {
        display: block;
    }

    .more_works_wrap .mare_works_wrap_top h2 {
        margin-bottom: 20px;
    }

    .singleSwiper2{
        height: auto;
    }

    .singleSwiper2 .swiper-wrapper {
        align-items: center;
    }

    .singleSwiper .swiper-slide{
        height: auto;
    }

}


@media (max-width: 650px) {
    .search_form form {
        display: block;
    }

    .search_form input[type='text'] {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
        height: 57px;
        box-sizing: border-box;
    }

    .btn.link {
        padding: 16px 10px;
    }

    .btn.red {
        text-align: center;
    }

    .collection_grid h2 {
        font-size: 45px;
        line-height: 54px;
    }

    .more_works_wrap .mare_works_wrap_top h2 {
        font-size: 58px;
    }

}


