.main_option_picker {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr); /* Changed to 4 rows */
    grid-column-gap: 30px; /* Set the desired column gap */
    grid-row-gap: 0px; /* Keep the row gap as 0px */
    width: 80%;
    margin: 0 auto;
}

.calculator_vision {
    grid-column: 1 / 2;
    grid-row: 1 / 5; /* Adjusted to span 4 rows */
}

/* Other styles remain unchanged */
.calculator_vision_image { 
    width: 80%;
    height: auto;
    object-fit: cover;
}

.quality_header_question {
    /* top right corner */
    grid-column: 2 / 3;
    color: white;
    font-size: 4vw;
    text-align: center;
}

.description_tiny {
    font-size: 20px;
    text-align: left;
    color: white;
    font-weight: 500;
    padding-left: 10px;
}

.customize_options_default_container {
    width: 85%;
    margin: 0 auto;
    margin-top: 10px;
}

.customize_options_header {
    color: white;
    font-size: 5vw;
    text-align: center;
}

.customize_options_header_info {
    color: #3B3B3B;
    font-size: 5vw;
    text-align: center;
}

.customize_options_header_description {
    color: white;
    font-size: 1vw;
    width: 99%;
    margin: 0 auto;
    margin-top: -20px;
}

.customize_option_button_container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap; /* Allow items to wrap onto multiple lines */
    row-gap: 10px; /* Add gap between rows */
}

.customize_option_button {
    position: relative; /* Add this line */
    border: 3px solid #0076FF;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
    margin: 10px;
    margin-top: 0px;
    min-width: 40%;
    min-height: 8vh;
}

.item_price {
    position: absolute; /* Add this line */
    bottom: 2px; /* Adjust as needed */
    left: 5px; /* Adjust as needed */
    color: white;
    font-size: 15px;
}

.referral_code_input {
    width: 95%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #0076FF;
    margin-top: 10px;
    font-size: 20px;
    max-width: 70%;
}

.referral_code_input_phone_number {
    width: 95%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #0076FF;
    margin-top: 10px;
    font-size: 20px;
    max-width: 70%;
    background-color: transparent;
    height: 30px;
    color: white;
}

.referral_code_confirm {
    position: relative; /* Add this line */
    background-color: #0076FF;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    min-width: 10%;
    min-height: 1vh;
    margin-left: 30px;
}


.purchase_summary {
    min-height: 100px;
    background-color: #3B3B3B;
    width: 100%;
    /* If we add a footer this needs to be shifted up */
    /* //TODO */
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three equal columns */
    gap: 10px; /* Optional: space between columns */
    margin-top: 50px;
    width: 100%;
}

.fixed_section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Align items to the left */
    margin-left: 20px;
}

.section_header {
    font-size: 2.5vw;
    font-weight: bold;
    margin-left: 10px;
    max-width: 80%;
    margin-top: 10px;
}

.section_subheader {
    font-size: 2vw;
    margin-left: 10px;
    color: #B0AEAE;
    margin-bottom: 10px;
}

.add_to_bag_section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.add_to_bag_button {
    background-color: #0076FF;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
    min-width: 50%;
    min-height: 10%;
}

.purchase_info_total {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.base_item_cost {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
}

.base_item_cost_item_name {
    font-size: 1.5vw;
}

.base_item_cost_amount {
    font-size: 1vw;
    color: #A1A0A0;
}

.purchase_info_addon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin-top: 5px;
    font-size: 1.5vw;
}

.purchase_info_total_final {
    color: #A1A0A0;
}

.strikethrough {
    text-decoration: line-through;
}

.discount_code_applied {
    color: green;
}

.button_selected {
    background-color: #0076FF;
    color: white;
}

.customize_options_header_description a {
    color: white;
    text-decoration: underline;
}

.provide_own_calculator_options {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .main_option_picker {
        display: grid;
        grid-template-columns: 1fr; /* Single column layout */
        grid-auto-rows: auto;
        gap: 20px; /* Space between items */
        width: 95%;
        margin: 0 auto;
    }
    
    /* The header and buttons will now stack on top of the image */
    .quality_header_question,
    .purchase_option_one {
        grid-column: 1;
        text-align: center;
    }
    
    .quality_header_question {
        font-size: 6vw; /* Responsive font size */
    }
    
    .purchase_option_one {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .quality_option_button {
        font-size: 14px;
        width: 90%;
        padding: 12px 0;
        margin: 0 auto;
        border-radius: 5px;
    }

    .referral_code_confirm {
        font-size: 14px;
        width: 50%;
        padding: 12px 0;
        border-radius: 5px;
        margin-left: 0px;
    }
    
    .description_tiny {
        font-size: 12px;
        text-align: center;
        margin-top: 5px;
    }
    
    .calculator_vision {
        grid-column: 1;
        display: flex;
        justify-content: center;
    }
    
    .calculator_vision_image {
        width: 30%;
        height: auto; /* Maintain aspect ratio */
        object-fit: cover;
    }

    .customize_option_button {
        min-height: 6vh;
    }

    .customize_option_button_container {
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
        align-items: center;
    }

    .customize_option_button {
        width: 90%; /* Adjust width as needed */
        margin: 10px 0; /* Add margin between buttons */
    }

    .customize_options_header_description {
        color: white;
        font-size: 3vw;
        width: 99%;
        margin: 0 auto;
    }

    .add_to_bag_button {
        max-width: 80%;
        font-size: 10px;
    }

    .section_header {
        font-size: 3vw;
        max-width: 100%;
        margin-top: 1px;
    }

    .section_subheader {
        font-size: 2.5vw;
        margin-bottom: 1px;
    }

    .base_item_cost_item_name {
        font-size: 2.5vw;
    }
    
    .base_item_cost_amount {
        font-size: 2.3vw;
    }
}