.nav_bottom__link {
    border: 2px solid #258295;
}

.nav_bottom__link:hover {
    border: 2px solid rgba(37, 130, 149, 0.2);
}

.hidden {
    display: none;
}

/* letters filter */
.alphabetical-filter {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
}

.letter {
    border: 1px solid #008295;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 20px;
    text-transform: uppercase;
    color: #3d3d3f;
    max-width: 50px;
}

.letter:hover {
    background-color: #008295;
    color: #fff;
    transition-delay: 50ms;
}

.letter.active-letter {
    background-color: #008295;
    color: #fff;
}

@media screen and (max-width: 850px) {
    .alphabetical-filter {
        display: flex;
        justify-content: flex-start;
        margin-bottom: 18px;
        flex-wrap: wrap;
    }

    .letter {
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 5px;
        margin-bottom: 5px;
        cursor: pointer;
        font-weight: 500;
        font-size: 14px;
        text-transform: uppercase;
        color: #3d3d3f;
        max-width: 30px;
    }

    .removeletters {
        padding: 7px;
        width: 28px;
        height: 35px;
    }
}

/* electronic-catalogs */
.electronic-catalog {
    display: flex;
    justify-content: flex-end;
    position: relative;
    top: -6vw;
    max-width: 1360px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    z-index: 99999;
}

.electronic-catalog-btn:hover {
    cursor: pointer;
}

.electronic-catalog .electronic-catalog-btn {
    line-height: 25px;
}

.electronic-catalog p {
    margin-left: 5px;
    font-family: Manrope;
    font-size: 14px;
    font-weight: 300;
    line-height: 25px;
    text-align: left;
    color: #3D3D3F;
}


.result_layout .filter-option_wrapp .reset-all-filters {
    font-family: 'Manrope';
    font-weight: normal;
    font-size: .88235294vw;
    line-height: 1.83823529vw;
    color: #000000;
    padding: .22058824vw 1.10294118vw;
    border: 2px solid #AD1221;
    background: transparent;
}

.result_layout .filter-option_wrapp .option {
    display: flex;
    align-items: center;
    padding: .22058824vw 1.10294118vw;
    background: #F2F2F2;
    margin-right: 1.10294118vw;
}

.result_layout .filter-option_wrapp .option-list-block {
    display: flex;
    flex-flow: row wrap;
}

.result_layout .filter-option_wrapp .result-descr {
    font-family: 'Manrope';
    font-weight: 300;
    font-size: 1.17647059vw;
    line-height: 1.83823529vw;
    color: #000000;
    margin-bottom: 1.25vw;
}

.result_layout .filter-option_wrapp {
    margin-bottom: 3.23529412vw;
}


@media screen and (max-width: 768px) {
    .result_layout .filter-option_wrapp .result-descr {
        font-size: 14px;
        line-height: 5.625vw;
        margin-bottom: 4vw;
    }

    .result_layout .filter-option_wrapp .option {
        margin-right: 2.5vw;
        margin-bottom: 2.5vw;
        padding: 1.5625vw 3.4375vw;
    }

    .result_layout .filter-option_wrapp .option img {
        width: 12px;
        height: 12px;
        cursor: pointer;
    }

    .result_layout .filter-option_wrapp .option p {
        font-size: 12px;
        line-height: 4vw;
        margin-right: 2.5vw;
    }

    .result_layout .filter-option_wrapp .reset-all-filters {
        font-size: 12px;
        line-height: 4vw;
        height: auto;
        display: flex;
        align-items: center;
        margin-right: 2.5vw;
        margin-bottom: 2.5vw;
        padding: 1vw 2vw;
    }

    .label_price_wrap {
        width: 80%;
    }

    .stone_card .stone_name:after {
        width: 2vw;
        height: 2vw;
    }
}
@media screen and (max-width: 850px) {
    .reset-letters {
        padding: 7px;
        width: 28px;
        height: 35px;
    }
}
.reset-letters {
    margin-left: 15px;
    background: rgba(190, 2, 2, 0.8);
    cursor: pointer;
    padding: 5px 0px;
}
/*.removeletters {*/
/*    margin-left: 15px;*/
/*    padding: 5px 15px;*/
/*    background: rgba(190, 2, 2, 0.8);*/
/*    cursor: pointer;*/
/*}*/

button.reset-letters {
    margin-left: 5px;
    border: 1px solid #cb3535;
    background: transparent;
}

img.removeletters {
    width: 26px;
    height: 20px;
    margin-left: 0;
    background: transparent;
    cursor: pointer;
    padding: 2px 5px;
}

.result_layout .layout_header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    column-gap: calc(30 / 13.6* 1vw);
    row-gap: calc(40 / 13.6* 1vw);
}

@media screen and (max-width: 1350px) {
    .result_layout .layout_header {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 1370px) {
    .alphabetical-filter {
        margin-right: 20px;
    }
}
.alphabetical-filter {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
}

.pallete_wrapp {
    padding-top: 3.87352941vw;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    max-width: 1360px;
}

@media screen and (max-width: 1370px) {
    .alphabetical-filter {
        margin-right: 20px;
    }
}

.alphabetical-filter {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
}
.alphabetical-filter {
    margin-bottom: 20px;
}
.alphabetical-filter {
    margin-bottom: 20px;
}
.alphabetical-filter {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
}
.alphabetical-filter {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
    margin-top: 24px;
}
.alphabetical-filter {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
}
.alphabetical-filter {
    margin-bottom: 20px;
}

.result_layout .layout_header .stone_card {
    width: 100%;
    margin-right: 0;
    margin-bottom: 0;
}

@media screen and (max-width: 1150px) {
    .result_layout .layout_header {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 500px) {
    .result_layout .layout_header {
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (max-width: 550px) {
    .result_layout .layout_header {
        grid-template-columns: 1fr 1fr;
        column-gap: calc(17 / 3.2* 1vw);
        row-gap: calc(22 / 3.2* 1vw);
    }

    a.electronic-catalog {
        margin-top: 2vh;
    }
}

@media screen and (max-width: 768px) {
    .filter_block {
        display: none;
        transition: all 0.3s ease-in-out;
    }

    .filter_block.show {
        display: block;
    }

    .alphabetical-filter {
        display: none;
    }
}


/* mobile filters */
.mobile-filers-btns {
    background: #fff;
    width: 100%;
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    padding-bottom: 3vh;
    padding-top: 3vh;
    justify-content: center;
    align-content: center;
    align-items: center;
    z-index: 9999;
    gap: 24px;
}

button.mobile-filers-close-btn,
button.mobile-filers-show-btn{
    font-size: 14px;
    line-height: 28px;
    background: #ffffff;
    min-width: 33vw;
    display: none;
}

button.mobile-filers-close-btn:hover,
button.mobile-filers-show-btn:hover{
    background: #008295;
    color: #fff;
    border-color: #008295;
}

@media screen and (min-width: 768px) {
    button.mobile-filers-close-btn,
    button.mobile-filers-show-btn {
        display: none;
    }

    .mobile-filers-btns {
        display: none;
    }
}

.filter_block.show button.mobile-filers-close-btn,
.filter_block.show button.mobile-filers-show-btn {
    display: block;
}

.filter_block.show .mobile-filers-btns {
    display: flex;
}

@media screen and (max-width: 768px) {
    .b2b-catalog-container .filter_block .art-input_wrapp input {
        height: 8vw;
        font-size: 18px;
        line-height: 24px;
    }
    .b2b-catalog-container .filter_block .art-input_wrapp img {
        position: absolute;
        top: 3.3125vw;
        left: 4.0625vw;
        width: 4.625vw;
        height: 4vw;
    }

    .b2b-catalog-container .filter_block .art-input_wrapp {
        margin-bottom: 7vw;
        display: flex;
        align-content: center;
        align-items: center;
    }

    .b2b-catalog-container .filter_block a {
        font-weight: 600;
        font-size: 18px;
    }

    .b2b-catalog-container .filter_block .legend {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 3.102941vw;
    }

    .b2b-catalog-container .filter_block fieldset {
        margin-bottom: 9.375vw;
        max-width: calc(100% - 6.25vw);
        overflow: hidden;
    }

    .b2b-catalog-container .filter_block .input-wrapp {
        margin-bottom: 3.125vw;
        display: flex;
        width: 100%;
        max-width: calc(100vw - 2* 6.25vw);
        height: 4.8125vw;
        padding-left: calc(3.8125vw + 3.125vw);
        font-size: 16px;
        line-height: 18px;
        padding-top: 1.2vw;
    }

    .b2b-catalog-container .filter_block .input-wrapp .checkmark {
        width: 4.8125vw;
        height: 4.8125vw;
        margin-right: 3.125vw;
    }

    .b2b-catalog-container .filter_block .mobile_controls .reset_btn {
        font-size: 24px;
        line-height: 26px;
    }

    .b2b-catalog-container .price-input .separator {
        font-size: 18px;
    }

    .b2b-catalog-container .field input {
        font-size: 16px;
        width: 100%;
        height: 100%;
    }

    .b2b-catalog-container .filter_block .input-wrapp .checkmark:after {
        left: 1.24706vw;
        top: 0.294118vw;
    }

    .b2b-catalog-container .filter_block .input-wrapp .checkmark:after {
        width: calc(5 / 3.2* 1vw);
        height: calc(7 / 3.2* 1vw);
    }

    .b2b-catalog-container .filter_block {
        padding-right: calc(50 / 13.6* 1vw);
        padding-bottom: 130px;
    }

    .b2b-catalog-container .filter_block .mobile_controls .close-icon {
        position: absolute;
        top: 0;
        right: 1vw;
        width: 5vw;
        height: 5vw;
        object-fit: cover;
    }
}
/* /mobile filters */

/* pagination */
.b2b-catalog-container .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Manrope';
    font-weight: bold;
    font-size: 0.8rem;
    line-height: 0.9rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #222729;
    padding: 1rem 1.2rem;
}

.b2b-catalog-container #prevPage,
.b2b-catalog-container #nextPage,
.b2b-catalog-container #pageNumbers a,
.b2b-catalog-container #pageNumbers .dots {
    font-family: 'Manrope';
    font-weight: bold;
    font-size: 0.8rem;
    line-height: 0.9rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #222729;
    border: 1px solid #e5e5e5;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b2b-catalog-container #prevPage,
.b2b-catalog-container #nextPage {
    width: auto;
    padding: 1rem 1.2rem;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(229, 229, 229);
}

.b2b-catalog-container #prevPage:disabled,
.b2b-catalog-container #nextPage:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.b2b-catalog-container #pageNumbers .active {
    background-color: #17A2B8;
    color: #fff;
}

.b2b-catalog-container #pageNumbers {
    display: flex;
    text-align: center;
}

.b2b-catalog-container .reset-all-filters {
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .b2b-catalog-container .pagination-numbers {
        max-width: 60vw;
    }

    .b2b-catalog-container #prevPage,
    .b2b-catalog-container #nextPage {
        width: max-content;
        height: 46px;
        font-size: 8px;
        line-height: 12px;
        padding: 4px 8px;
    }

    .b2b-catalog-container #pageNumbers a,
    .b2b-catalog-container #pageNumbers .dots {
        font-size: 10px;
        line-height: 12px;
        width: 46px;
        height: 46px;
    }

    .result_layout .layout_footer p {
        font-size: 0.8rem;
        line-height: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .result_layout .layout_footer .btn {
        font-size: 0.8rem;
        line-height: 0.9rem;
        padding: 1.2rem
    }
}

/* /pagination */

