

.making_an_order_cl {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 10vh;
}

.making_an_order_cl>span {
    width: 100%;
    text-align: start;
    font-size: 5vh;
    color: black;
    font-family: 'Impact_load_font';
    padding-bottom: 5vh;
}

.making_an_order_cl>section {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
}

.making_an_order_cl>section>section {
    width: 47.5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title_sect_mar_cl {
    width: 100%;
    text-align: start;
    font-size: 3vh;
    color: black;
    font-family: 'Impact_load_font';
}

.text_sect_mar_cl {
    width: 100%;
    text-align: start;
    font-size: 1.75vh;
    color: black;
    font-family: 'Inter_load_font';
}

.dubl_sect_sect_mar_cl {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2.5vw;
}

.input_sect_mar_cl {
    min-width: 0px;
    /* max-width: ; */
    padding: 7.5px;
    border: none;
    border-bottom: 2px solid #282828;
    font-size: 2vh;
    color: black;
    font-family: 'DM_Serif_Display';
    flex-grow: 1;
}

.boofer_sect_mar_cl {
    height: 5vh;
}

.check_sect_mar_cl {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 1.5vh;
}

.check_sect_mar_cl>div {
    width: 2.25vh;
    height: 2.25vh;
    border: 2px solid #BFBFBF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check_sect_mar_cl>div>div {
    width: 85%;
    height: 85%;
    background-color: black;
}

.check_sect_mar_cl>div:hover {
    cursor: pointer;
}

.check_sect_mar_cl>span {
    font-size: 2vh;
    font-family: 'Inter_load_font';
    color: black;
}

.payment_type_section_cl {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2.5vh;
}

.payment_type_section_cl>span {
    width: 100%;
    text-align: start;
    font-size: 2.5vh;
    color: black;
    font-family: 'DM_Serif_Display';
}

.payment_type_section_cl>article {
    width: calc(100% - 15px);
    padding: 7.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5vh;
    font-weight: bold;
    color: white;
    font-family: 'Inter_load_font';
    background-color: black;
    margin-top: 2.5vh;
}

.payment_type_section_cl>article:hover {
    cursor: pointer;
}

.table_of_products_mar_cl {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5vh;
}

.table_of_products_mar_cl>section {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    gap: 10px;
}

.table_of_products_mar_cl>section>img {
    width: 15vh;
    height: 15vh;
    object-fit: contain;
    object-position: 50% 50%;
}

.table_of_products_mar_cl>section>section {
    width: calc(100% - 15vh - 10px);
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    gap: 5px;
}

.table_of_products_mar_cl>section>section>section {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.table_of_products_mar_cl>section>section>section>span {
    font-size: 2vh;
    color: black;
    font-family: 'Inter_load_font';
}

.table_of_products_mar_cl>section>section>section>span:nth-child(1) {
    font-size: 2.5vh;
    color: black;
    font-family: 'Impact_load_font';
}

.table_of_products_mar_cl>section>section>span {
    text-align: start;
    font-size: 2.5vh;
    color: black;
    font-family: 'DM_Serif_Display';
    font-style: italic;
}

.product_description_mar_cl {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product_description_mar_cl>section {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 2px solid #BFBFBF;
}

.product_description_mar_cl>section>span:nth-child(1) {
    text-align: start;
    font-size: 2.5vh;
    color: #BFBFBF;
    font-family: 'Inter_load_font';
}

.product_description_mar_cl>section>span:nth-child(2) {
    text-align: start;
    font-size: 2.5vh;
    color: black;
    font-family: 'DM_Serif_Display';
    font-style: italic;
}

.sh_adr_cl {
    width: 100%;
    flex-direction: row;
}

.order_button_section_cl {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5vh;
    margin-bottom: 5vh;
}

.order_button_section_cl>div {
    width: calc(100% - 15px);
    padding: 7.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5vh;
    font-weight: bold;
    color: white;
    font-family: 'Inter_load_font';
    background-color: black;
}

.order_button_section_cl>div:hover {
    cursor: pointer;
}

/* ========== ОКНО ВЫБОРА СТРАНЫ/ГОРОДА/АДРЕСА ========== */

/* #sel_country_but_id {
    display: none;
} */

/* #sel_adress_but_id {
    display: none;
} */

#selection_window_id {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 11;
    visibility: collapse;
    opacity: 0;
    transition: 300ms all;
}

#selection_window_id>section {
    padding: 20px;
    padding-left: 60px;
    padding-right: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
}

#selection_window_id>section>span {
    width: 100%;
    text-align: center;
    font-size: 3vh;
    color: black;
    font-family: 'Impact_load_font';
}

#selection_window_id>section>article {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#selection_window_id>section>article>div {
    padding: 7.5px;
    padding-left: 30px;
    padding-right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2vh;
    font-weight: bold;
    color: white;
    font-family: 'Inter_load_font';
    background-color: black;
    transition: 300ms all;
}

#selection_window_id>section>article>div:hover {
    cursor: pointer;
}

.data_search_cl {
    width: calc(100% - 15px);
    padding: 5px;
    padding-left: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 2px solid black;
    border-radius: 5px;
}

.data_search_cl>input {
    width: 85%;
    font-size: 2vh;
    color: black;
    font-family: 'Inter_load_font';
    border: none;
    outline: none;
}

.data_search_cl>svg {
    width: 2.25vh;
    height: 2.25vh;
    scale: 1.5;
}

.sel_win_table_cl {
    width: 25vw;
    height: 55vh;
    overflow-y: scroll;
    margin-top: 2.5vh;
    margin-bottom: 2.5vh;
}

.sel_win_table_cl>section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
}

.card_country_cl {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 10px;
    transition: 300ms all;
}

.card_country_cl:hover {
    cursor: pointer;
    background-color: rgba(128, 128, 128, 0.25);
}

.card_country_cl>div {
    width: 3vh;
    height: 3vh;
    border: 2px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card_country_cl>div>div {
    width: calc(100% - 0.5vh - 4px);
    height: calc(100% - 0.5vh - 4px);
    background-color: black;
    display: none;
}

.card_country_cl>span {
    width: calc(100% - 3vh - 12px);
    font-size: 2vh;
    font-weight: bold;
    color: black;
    font-family: 'Inter_load_font';
}

/* ========== ОКНО ВВОДА ПЛАТЕЖА ========== */

#error_text_id, #error_text_pay_id {
    width: 100%;
    font-size: 2vh;
    color: #7E0001;
    font-family: 'DM_Serif_Display';
    font-style: italic;
    transform: translateY(2vh);
    display: none;
    margin-bottom: 2.5vh;
}

#payment_input_window_id {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11;
    opacity: 0;
    visibility: collapse;
    transition: 500ms all;
}

#payment_input_window_id>section {
    width: auto;
    padding: 20px;
    padding-left: 60px;
    padding-right: 60px;
    background-color: white;
}

#payment_input_window_id>section>span {
    margin-bottom: 2.5vh;
}

#payment_input_window_id>section>div {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 10vh;
}

#payment_input_window_id>section>div>article {
    width: calc(47.5% - 15px);
    padding: 7.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5vh;
    font-weight: bold;
    color: white;
    font-family: 'Inter_load_font';
    background-color: black;
    margin-top: 2.5vh;
}

#payment_input_window_id>section>div>article:hover {
    cursor: pointer;
}

/* ========== ОКНО УСПЕШНОЙ ПОКУПКИ ========== */

#successful_purchase_window_id {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 12;
    visibility: collapse;
    opacity: 0;
    transition: 500ms all;
}

#successful_purchase_window_id>section {
    padding: 20px;
    padding-left: 60px;
    padding-right: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    gap: 15px;
}

#successful_purchase_window_id>section>svg {
    width: 20vh;
    height: 5vh;
    color: black;
    scale: 1.5;
}

#successful_purchase_window_id>section>span:nth-child(2) {
    font-size: 2.5vh;
    color: black;
    font-family: 'DM_Serif_Display';
}

#successful_purchase_window_id>section>span:nth-child(3) {
    font-size: 2.5vh;
    color: black;
    font-family: 'Inter_load_font';
    text-align: center;
}

#successful_purchase_window_id>section>span:nth-child(4) {
    font-size: 3.5vh;
    font-weight: bold;
    color: black;
    font-family: 'Inter_load_font';
}

#successful_purchase_window_id>section>div {
    padding: 7.5px;
    padding-left: 30px;
    padding-right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5vh;
    font-weight: bold;
    color: white;
    font-family: 'Inter_load_font';
    background-color: black;
}

#successful_purchase_window_id>section>div:hover {
    cursor: pointer;
}

@media (max-width: 1000px) {

    .making_an_order_cl>section>section:nth-child(1) {
        width: 57.5%;
    }

    .making_an_order_cl>section>section:nth-child(2) {
        width: 37.5%;
    }
    
    .making_an_order_cl {
        width: 90vw;
    }

    .table_of_products_mar_cl>section>section {
        flex-direction: column;
    }

}

@media (max-width: 600px) {

    .table_of_products_mar_cl {
        gap: 10px;
    }

    .table_of_products_mar_cl>section>img {
        width: 10vh;
        height: 10vh;
    }

    .table_of_products_mar_cl>section>section {
        width: calc(100% - 10vh);
        flex-direction: row;
        align-items: start;
    }

    .table_of_products_mar_cl>section>section>section>span:nth-child(1) {
        font-size: 1.75vh;
    }

    .table_of_products_mar_cl>section>section>section>span {
        font-size: 1.75vh;
    }

    .table_of_products_mar_cl>section>section>span {
        font-size: 1.75vh;
        text-wrap: nowrap;
    }

    #order_data_section_id {
        width: 100%;
    }

    .sh_adr_cl {
        flex-direction: column;
        gap: 0;
    }

    .sh_adr_cl>input {
        width: calc(100% - 15px);
    }

    .making_an_order_cl>section {
        width: 100%;
        flex-direction: column;
    }

    .making_an_order_cl>section>section:nth-child(1) {
        width: 100%;
    }

    .making_an_order_cl>section>section:nth-child(2) {
        width: 100%;
    }

    #selection_window_id>section {
        width: calc(100% - 40px);
        padding-left: 20px;
        padding-right: 20px;
        margin: 20px;
    }

    .sel_win_table_cl {
        width: 100%;
    }

    .product_description_mar_cl>section {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .product_description_mar_cl>section>span:nth-child(1) {
        font-size: 2vh;
    }

    .product_description_mar_cl>section>span:nth-child(2) {
        font-size: 2vh;
    }

    .dubl_sect_sect_mar_cl {
        flex-direction: column;
    }

    .dubl_sect_sect_mar_cl>input {
        width: 100%;
    }

    #payment_input_window_id>section {
        width: calc(100% - 120px);
        padding-left: 40px;
        padding-right: 40px;
        margin: 20px;
    }

    #payment_input_window_id>section>section {
        gap: 0;
    }

    #successful_purchase_window_id>section {
        width: calc(100% - 120px);
        padding-left: 40px;
        padding-right: 40px;
        margin: 20px;
    }

}

/* ========== ВСТРАИВАЕМЫЙ ВИДЖЕТ ========== */

#my-custom-id {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    opacity: 0;
    visibility: collapse;
    transition: 500ms all;
}




