/*
    Theme name: ОЛГРИ Гранит
*/

.quality_block.first {
    /* display: flex;
    justify-content: space-between; */
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.quality {
    max-width: 165px;
    /* display: grid; */
    justify-items: center;
    text-align: center;
}

.quality_block.first .quality_logo {
    width: 105px;
    height: 105px;
    background: #284764;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.quality_block.first .quality_name {
    max-width: 160px;
    font-weight: 700;
    color: #1e2e3d;
}

.quality_block.second {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 90px;
    margin-left: 65px;
    margin-right: 65px;
}

.products_sort,
.products_categ_sort {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #1e2e3d;
}

.sort_block_top .products_sort,
.sort_block_top .products_categ_sort {
    font-size: 16px;
}

.sort_products_container:nth-of-type(1) {
    display: none;
}

@media screen and (max-width:785px) {
    .sort_products_container:nth-of-type(1) {
        display: block;
    }
}

.sort_products_container,
.sort_products_categ_container {
    width: 210px;
    position: relative;
    -webkit-box-shadow: inset 1px -12px 5px 0px rgba(255, 255, 255, 1);
    -moz-box-shadow: inset 1px -12px 5px 0px rgba(255, 255, 255, 1);
    box-shadow: inset 1px -12px 5px 0px rgba(255, 255, 255, 1);
    overflow: hidden;
}

.sort_block_top {
    display: none;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 35px;
}

.sort_products_arrows_icon {
    position: absolute;
    top: 10px;
    left: 12px;
    cursor: pointer;
}

.sort_options {
    display: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    padding: 10px 10px 10px 40px;
    border-radius: 7px;
    border: 1px solid #e2e2e2;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #1e2e3d;
}

.sort_options_block {
    display: block;
    width: 100%;
    padding: 10px 10px 10px 40px;
    border-radius: 7px;
    border: 1px solid #e2e2e2;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #1e2e3d;
}

.sort_block_option {
    display: none;
}

.sort_options option {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    padding: 15px 10px;
}

.arrow_options_icon {
    position: absolute;
    top: 16px;
    right: 15px;
    cursor: pointer;
}

.arrow_options_icon.open {
    transform: rotate(0deg);
}

.arrow_options_icon.close {
    transform: rotate(180deg);
}

.product_page {
    cursor: pointer;
}

.product_page:hover,
.product_page.selected {
    text-decoration: underline;
}

.text_content h1 {
    font-size: 24px;
    color: #1e2e3d;
    margin-bottom: 40px;
}

/* .banner {
    display: block;
    background: url(assets/imgs/main/banner/banner_back.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    color: #fff;
    margin-bottom: 90px;
    position: relative;
    padding: 40px 65px 50px;
}

.banner_text {
    z-index: 1;
}

.banner_title {
    font-size: 48px;
    max-width: 350px;
    font-weight: 700;
    margin-bottom: 10px;
}

.banner_descr {
    max-width: 330px;
    margin-left: 10px;
    font-size: 12px;
}

.banner_img {
    width: 300px;
    position: absolute;
    top: -16%;
    right: 10%;
    z-index: 0;
} */

.quality_block.second .quality_name {
    font-weight: 700;
    text-transform: uppercase;
    color: #1e2e3d;
    margin-top: 30px;
}

.text_content {
    margin-bottom: 85px;
}

.reviews_page_link {
    display: block;
    margin: 35px auto;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #1e2e3d;
}

.select-selected {
    background-color: #fff;
    border-radius: 7px;
    padding: 10px 10px 10px 40px;
    color: #1e2e3d;
    border: 1px solid #e2e2e2;
    font-weight: 600;
}

.select-items div,
.select-selected {
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.select-selected.select-arrow-active {
    border: 1px solid transparent;
    -webkit-box-shadow: 0px 1px 9px -2px rgba(82, 81, 82, 1);
    -moz-box-shadow: 0px 1px 9px -2px rgba(82, 81, 82, 1);
    box-shadow: 0px 1px 9px -2px rgba(82, 81, 82, 1);

    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}


.select-items {
    max-height: 240px;
    overflow: hidden;
    overflow-y: scroll;
    position: absolute;
    background-color: #fff;
    border-radius: 0;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;

    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    padding-bottom: 20px;
    font-weight: 500;
    -webkit-box-shadow: 0px 1px 9px -3px rgba(82, 81, 82, 1);
    -moz-box-shadow: 0px 1px 9px -3px rgba(82, 81, 82, 1);
    box-shadow: 0px 1px 9px -3px rgba(82, 81, 82, 1);
}

.select-items div {
    padding: 15px;
}

.select-hide {
    display: none;
}

.product_category_link:hover,
.sort_products_container .select-items div:hover,
.same-as-selected {
    /* background-color: #284764;
    color: #fff; */
    font-weight: 400;
    color: #284764;
    background-color: #ebedec;
}

review-lab {
    display: none;
}

.widget__src.widget__src--desktop.widget__src--desktop-column.widget__src--logo,
.review-lab-simple__footer,
.widget__show-more.widget__show-more-bottom-right.widget__show-more-column {
    display: none;
}

.page_path {
    display: none;
    margin-left: 0;
    padding-top: 0;
    padding-bottom: 35px;
}

@media screen and (max-width:1325px) {
    .quality_block.first {
        grid-template-columns: repeat(4, 1fr);
        justify-items: center;
        row-gap: 60px;
    }
}

/* @media screen and (max-width:1135px){
    .quality_block.first{
        grid-template-columns: repeat(2,1fr);
    }
} */

@media screen and (max-width:1195px) {
    .footer_container {
        gap: 30px;
    }
}

/* @media screen and (max-width:1115px){ */
@media screen and (max-width:1355px) {
    /* .banner {
        background: #284764;
    }

    .banner_img {
        position: relative;
        bottom: -54px;
        left: 50%;
        transform: translateX(-50%);
    }

    .banner_title,
    .banner_descr {
        max-width: 100%;
        text-align: center;
    }

    .banner_title {
        font-size: 38px;
    }

    .banner_descr {
        margin-left: 0;
    } */
}

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

    /* .quality_block.first{
        grid-template-columns: repeat(4,1fr);
        justify-items: center;
        row-gap: 60px;
    } */
    .footer_container {
        flex-direction: column;
    }
}

/* @media screen and (max-width:945px){ */
@media screen and (max-width:1195px) {
    .quality_block.second {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        row-gap: 60px;
    }
}

@media screen and (max-width:790px) {
    .sort_block_top {
        display: flex;
    }

    .products_block .products_sort {
        display: none;
    }

    .quality_block.second {
        display: none;
    }

    .page_path {
        display: block;
    }
}

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

    .sort_block_top .products_sort,
    .sort_block_top .products_categ_sort {
        flex-direction: column;
        align-items: start;
    }
}

@media screen and (max-width:765px) {
    /* .banner {
        padding-left: 25px;
        padding-right: 25px;
    } */
}

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

    /* .quality_block.first {
        grid-template-columns: repeat(2,1fr);
    } */
    .products_list {
        column-gap: 30px;
    }

    /* .banner_title {
        font-size: 28px;
    }

    .banner {
        padding-left: 10px;
        padding-right: 10px;
    } */

    .quality_block.second {
        margin-left: 0;
        margin-right: 0;
    }
}

@media screen and (max-width:560px) {
    .quality_block.first {
        /* grid-template-columns: repeat(3,1fr); */
        gap: 10px;
    }
}

@media screen and (max-width:515px) {
    .quality_block.first .quality_logo {
        width: 75px;
        height: 75px;
        margin-bottom: 10px;
    }

    .quality_block.first .quality_logo img {
        display: block;
        /* width: 55%;
        height: 45%; */
    }

    .quality_block.first .quality:nth-child(1) img {
        width: 34px;
        height: 31px;
    }

    .quality_block.first .quality:nth-child(2) img {
        width: 34px;
        height: 34px;
    }

    .quality_block.first .quality:nth-child(3) img {
        width: 33px;
        height: 35px;
    }

    .quality_block.first .quality:nth-child(4) img {
        width: 39px;
        height: 30px;
    }
}

@media screen and (max-width:445px) {
    .quality_block.first .quality_name {
        font-size: 10px;
    }
}

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

    /* .sort_block_top{
        flex-direction: column;
    } */
    .sort_products_arrows_icon {
        display: none;
    }

    .select-selected {
        padding-left: 10px;
    }

    .select-items div,
    .select-selected {
        font-size: 12px;
    }

    .select-items div {
        padding: 10px;
    }

    .arrow_options_icon {
        top: 15px;
    }

    .sort_products_container,
    .sort_products_categ_container {
        width: 170px;
    }
}

@media screen and (max-width:465px) {
    .quality_block.first {
        /* grid-template-columns: repeat(2,1fr); */
    }
}

@media screen and (max-width:405px) {
    .sort_block_top {
        gap: 5px;
    }
}

@media screen and (max-width:375px) {
    .quality_block {
        /* grid-template-columns: 1fr !important; */
    }

    .quality_block.first .quality_logo {
        width: 45px;
        height: 45px;
    }

    .quality_block.first .quality:nth-child(1) img {
        width: 24px;
        height: 21px;
    }

    .quality_block.first .quality:nth-child(2) img {
        width: 24px;
        height: 24px;
    }

    .quality_block.first .quality:nth-child(3) img {
        width: 23px;
        height: 25px;
    }

    .quality_block.first .quality:nth-child(4) img {
        width: 29px;
        height: 22px;
    }

    .banner_img {
        width: 100%;
    }

    .sort_products_container,
    .sort_products_categ_container {
        width: 150px;
    }

    .select-items div {
        padding: 5px;
    }
}

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

    .sort_products_container,
    .sort_products_categ_container {
        width: 140px;
    }
}

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

    .sort_products_container,
    .sort_products_categ_container {
        width: 130px;
    }
}


/* =================================================== */
/* Стили для политики и конфиденциальности  */

.policy-wrapper {
    width: 100%;
    margin-bottom: 40px;
}

.policy-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.6;
}

.policy-content h1 {
    margin-bottom: 20px;
}

.policy-content p {
    margin-bottom: 15px;
}