/* VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV */
/* =============== ЛОКАЛЬНАЯ СТИЛИЗАЦИЯ =============== */
/* VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV */

.catalog_section_cl {
    width: 90%;
    min-height: calc(100vh - 14vh - 130px);
    /* height: calc(100vh - 14vh - 130px); */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catalog_section_cl>span {
    font-size: 5vh;
    /* font-weight: bold; */
    color: black;
    font-family: 'Impact_load_font';
    padding-bottom: 1vh;
}

/* ========== ЗОНА ФИЛЬТРАЦИИ ========== */

.section_filters_cl {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.section_filters_cl>div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.section_filters_cl>div:hover {
    cursor: pointer;
}

.section_filters_cl>div>span {
    font-size: 1.75vh;
    font-family: 'DM_Serif_Display';
    color: black;
}

.section_filters_cl>div>svg {
    width: 1.5vh;
    height: 1.5vh;
    transition: 500ms all;
}

/* Секция фильтрация */

#filter_block_id {
    height: 0vh;
    position: absolute;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 10px;
    padding-right: 10px;
    border: 2px solid black;
    display: flex;
    flex-direction: column;
    align-items: start;
    background-color: white;
    gap: 7.5px;
    overflow: hidden;
    opacity: 0;
    transition: 500ms all;
}

#filter_block_id>div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 5px;
    order: 1;
}

#filter_block_id>div:hover {
    cursor: pointer;
}

#filter_block_id>div>span {
    font-size: 1.75vh;
    color: black;
    font-family: 'DM_Serif_Display';
}

#filter_block_id>div>svg {
    width: 1.5vh;
    height: 1.5vh;
}

#filter_block_id>div>svg>g>line {
    fill: none;
    stroke: #000;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2px;
}

#filter_block_id>section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    order: 2;
}

#filter_block_id>section:hover {
    cursor: pointer;
}

#filter_block_id>section>div {
    width: 1.75vh;
    height: 1.75vh;
    border: 2px solid black;
}

#filter_block_id>section>div>div {
    margin: 7.5%;
    width: 85%;
    height: 85%;
    background-color: black;
}

#filter_block_id>section>span {
    font-size: 1.75vh;
    color: black;
    font-family: 'DM_Serif_Display';
}

#apply_button_id {
    width: 15vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
    margin-top: 20px;
    order: 1000;
}

#apply_button_id:hover {
    cursor: pointer;
}

#apply_button_id>span {
    padding: 7.5px;
    font-size: 1.75vh;
    font-weight: bold;
    color: white;
    font-family: 'Inter_load_font';
}

/* Секция сортировки */

#sorting_section_id {
    height: 0vh;
    position: absolute;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 10px;
    padding-right: 10px;
    border: 2px solid black;
    display: flex;
    flex-direction: column;
    align-items: start;
    background-color: white;
    gap: 7.5px;
    overflow: hidden;
    opacity: 0;
    transition: 500ms all;
}

#sorting_section_id>section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

#sorting_section_id>section:hover {
    cursor: pointer;
}

#sorting_section_id>section>div {
    width: 1.75vh;
    height: 1.75vh;
    border: 2px solid black;
}

#sorting_section_id>section>div>div {
    margin: 7.5%;
    width: 85%;
    height: 85%;
    background-color: black;
    display: none;
}

#sorting_section_id>section>span {
    font-size: 1.75vh;
    color: black;
    font-family: 'DM_Serif_Display';
}

/* ========== ЗОНА ТОВАРОВ ========== */

.the_goods_area_cl {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: start;
    flex-wrap: wrap;
}

/* Карточка товара */

.product_card_cl {
    width: calc(33.3% - 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.product_card_cl:hover {
    cursor: pointer;
}

.product_card_cl>img {
    width: 100%;
    height: 50vh;
    object-fit: contain;
    object-position: 50% 50%;
}

.product_card_cl>span:nth-child(2) {
    font-size: 2.5vh;
    color: black;
    font-family: 'Impact_load_font';
    padding-bottom: 1vh;
}

.product_card_cl>span:nth-child(3) {
    font-size: 2.5vh;
    color: black;
    /* font-family: 'Inter_load_font'; */
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-weight: bold;
    padding-bottom: 1vh;
}

/* ========== КНОПКА ДОЗАГРУЗКИ ТОВАРОВ ========== */

.product_loading_section_cl {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 10vh;
}

.product_loading_section_cl>div {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
    margin-bottom: 2.5vh;
}

.product_loading_section_cl>div:hover {
    cursor: pointer;
}

.product_loading_section_cl>div>span {
    padding: 10px;
    font-size: 3vh;
    font-weight: bold;
    color: white;
    font-family: 'Inter_load_font';
}

@media (max-width: 1000px) {
    .catalog_section_cl>span {
        font-size: 4.25vh;
    }
    #apply_button_id {
        width: 25vw;
    }
    .product_card_cl {
        width: calc(50% - 20px);
    }
    .product_card_cl>img {
        height: 40vh;
    }
    .product_card_cl>span:nth-child(2) {
        font-size: 2.25vh;
    }
    .product_card_cl>span:nth-child(3) {
        font-size: 2.25vh;
    }
    .product_loading_section_cl>div {
        width: 65%;
    }
    .product_loading_section_cl>div>span {
        font-size: 2.5vh;
    }
}

@media (max-width: 600px) {
    .catalog_section_cl {
        width: 95%;
    }
    #apply_button_id {
        width: 90vw;
    }
    .product_card_cl>img {
        height: 22.5vh;
    }
    .product_card_cl>span:nth-child(2) {
        font-size: 1.75vh;
    }
    .product_card_cl>span:nth-child(3) {
        font-size: 1.75vh;
    }
    .product_loading_section_cl>div>span {
        padding: 7.5px;
        font-size: 1.75vh;
    }
    #filter_block_id, #sorting_section_id {
        transform: translateY(1vh);
    }
}