:root {
    --header_color: #591615;
    --header_strip_color: #000000;

    --text_color_01: #ebd7c6;
    --text_color_02: #000000;
    --text_color_03: #591615;
    --text_color_04: #ffffff;

    --border_color_01: #ebd7c6;
    --border_color_02: #000000;
    --border_color_03: #591615;

    --background_color_01: #edede9;
    --background_color_05: #F9F6F6;
    --background_color_03: #000000;
}

#body {
    width: 100%;
    height: auto;
}

.product_details_wrapper {
    width: 100%;
    height: 70vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 65px 0 65px 0;
}

.product_photo_wrapper {
    width: 500px;
    height: 500px;
    border: 1px solid var(--border_color_01);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 0 0 70px;
}

.product_photo_wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.devider_01 {
    width: 1px;
    height: 50%;
    background: var(--border_color_03);
    border-radius: 50px;
    margin: 0;
}

.product_details_wrapper form {
    display: contents;
}

.product_details_buy_wrapper {
    width: 45%;
    height: 500px;
    background: var(--background_color_05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    border-radius: 10px;
    gap: 20px;
    margin: 0 80px 0 0;
}

.product_details_buy_wrapper h2 {
    font-family: "Lato", sans-serif;
    font-style: normal;
    color: var(--text_color_03);
    line-height: 1.0;
    padding: 0;
    margin: 0;
}

.product_details_buy_wrapper h2:nth-child(1) {
    font-size: 46px;
    font-weight: 500;
    padding:30px 40px;
    margin: 0 0 0 0;
}

.product_details_buy_wrapper h2:nth-child(2) {
    font-size: 20px;
    font-weight: 400;
    color: var(--text_color_02);
    padding: 0 45px;
    margin: 0 0 0 0;
}

.product_details_buy_wrapper p {
    font-family: "Lato", sans-serif;
    font-style: normal;
    color: var(--text_color_02);
    line-height: 1.0;
    text-align: center;
    margin: 0 0 0 0;
}

.product_details_buy_wrapper p:nth-child(3) {
    width: 85%;
    height: auto;
    font-size: 16px;
    font-weight: 300;
    padding: 20px 0px;
    margin: 0 auto 0 auto;
}

.product_quantity_wrapper {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.product_quantity_wrapper label {
    font-size: 18px;
    font-family: "Lato", sans-serif;
    font-style: normal;
    color: var(--text_color_02);
    line-height: 1.0;
    padding: 0;
    margin: 0;
}

.product_quantity_wrapper select {
    width: 100px;
    height: 30px;
    border: 1px solid var(--border_color_03);
    border-radius: 30px;
    padding: 6px 45px;
    margin: 0 30px 0 0;
    scale: 1.0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all 0.2s ease-in;
}

.product_quantity_wrapper select:hover {
    cursor: pointer;
    scale: 1.05;
    border-color: var(--border_color_01);
}

.product_quantity_wrapper select:focus {
    outline: none;
    border-color: var(--border_color_03);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.product_quantity_wrapper::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23666666' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.product_details_buy_wrapper p:nth-child(5) {
    font-size: 34px;
    font-weight: 600;
    margin: 50px 45px 15px auto;
}

.product_detail_buy_button_wrapper {
    width: 50%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    margin: 0 40px 30px auto;
}

.product_detail_buy_button_wrapper button,
.product_detail_buy_button_wrapper a {
    position: relative;
    width: 200px;
    height: 50px;
    background: var(--background_color_02);
    border: none;
    border-radius: 50px;
    color: var(--text_color_04);
    font-size: 18px;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
    scale: 1.0;
    transition: all 0.3 ease-in;
}

.product_detail_buy_button_wrapper button:hover,
.product_detail_buy_button_wrapper a {
    cursor: pointer;
    background-image: var(--background_color_03);
    scale: 1.05;
}

.product_detail_buy_button_wrapper a:nth-child(2) {
    width: 55px;
}



.product_detail_buy_button_wrapper a img {
    width: auto;
    height: 30px;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 48%;
}

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

    .product_details_wrapper {
        height: auto;
        flex-direction: column;
        gap: 20px;
        margin: 35px 0 15px 0;
    }

    .product_photo_wrapper {
        width: 360px;
        height: 360px;
        margin: 0 0 0 0;
    }

    .product_details_buy_wrapper {
        width: 95%;
        height: auto;
        gap: 0px;
        margin: 0 0 0 0;
    }

    .product_details_buy_wrapper h2:nth-child(1) {
        font-size: 38px;
        padding: 30px 0px 0px 35px;
        margin: 0;
    }
    
    .product_details_buy_wrapper h2:nth-child(2) {
        font-size: 20px;
        font-weight: 400;
        padding: 30px 0 0 38px;
        margin: 0 0 0 0;
    }

    .product_details_buy_wrapper p:nth-child(3) {
        font-size: 18px;
        font-weight: 300;
        margin: auto;
    }
    
    .product_details_buy_wrapper p:nth-child(5) {
        font-size: 34px;
        font-weight: 600;
        margin: 30px 30px 15px auto;
    }

    .product_detail_buy_button_wrapper {
        width: 100%;
        height: 50px;
        justify-content: space-between;
        gap: 20px;
        margin: 10px 0 15px 0;
    }
    
    .product_detail_buy_button_wrapper button {
        width: 250px;
        margin: 0 0 0 20px;
    }
    
    .product_detail_buy_button_wrapper a {
        margin: 0 20px 0 0;
    }
}