.custom-select-wrapper {
    width: 320px;
    max-width: 90vw;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    background: #f9f9f9;

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.select-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #e5e5e5;
    background: white;
    transition: all 0.2s ease;
}

.select-item:hover {
    background: #f2f2f2;
}

.select-item.selected {
    border-color: var(--primary);
    background: #f1f8f4;
}

.select-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #bbb;
}

.select-item.selected .select-circle {
    border-color: var(--primary);
    background: var(--primary);
}


.standard_from{
    margin: auto;
    display: flex;
    flex-direction: column;
    width: 500px;
    max-width: 90vw;
}

form input{
    margin-bottom: 20px;
}

.image-upload-section {
    margin-top: 20px;
}

.upload-label {
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.preview-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.image-preview {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    background: #eee;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}
.split{
    display: flex;
    flex-direction: row;
    gap: 30px;
}
.split div, .moq-field{
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 50px;
}
.standard_from{
    margin: auto;
    display: flex;
    flex-direction: column;
    width: 700px;
}



.image-upload-section {
    margin-top: 20px;
}

.upload-label {
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.upload-btn {
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 20px;
}

.upload-btn:hover {
    background: #3e9c58;
}

.preview-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.image-preview {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    background: #eee;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}


form button{
    background-color: var(--primary);
    color: white;
    border: none;
    width: auto;
    padding: 10px 20px;
    border-radius: 10px;
    margin-top: 10px;
}

.endsection{
    display: flex;
    flex-direction: row;
    justify-content: center;
    border-top: 1px solid rgba(0,0,0,0.2);

    margin-top: 30px;
    padding-top: 30px;
}
.endsection button{
    width: 200px;
}
    
input, textarea, .input{
    padding: 10px;
    min-height: 40px;
    height: 40px;
    border-radius: 5px;
    border: 1px solid rgba(0,0,0,0.3);
}

input, textarea, .custom-select-wrapper, .input, .filespreview{
    margin-bottom: 20px;
}
.input, input{
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: start;
    border: 1px solid rgba(0, 0, 0, 0.2);
}
.input button{
    margin: 0;
    border-radius: 5px;
    height: 100%;
    width: 100px;
    background-color: rgba(0,0,0,0.2);
    color: black;
    font-size: 13px;
    font-weight: 600;
    padding: 0;
}
label, span{
    font-weight: 600;
}

main{
    padding-top: 50px;
}

.filespreview{
    color: green
}
.moqprice-field{
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 30px;
    max-width: 500px;
}
.priceformoq{
    max-width: 500px;

}
.moqprice-field > input{
    flex: 1;
    width: 50px;
}

.submit-btn{
    min-width: 230px;
    min-height: 50px;
}
h2{
    font-size: 20px;
    font-weight: 700;
    margin: 20px 0 20px 0;
}
.remove-image{
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    color: white;
    cursor: pointer;
    font-weight: bold;
    border-radius: 50%;

    height: 20px;
    width: 20px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #222;
    color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    font-size: 16px;
    display: none;
    z-index: 9999;
}

@media (max-width: 700px) {
    form h2{
        margin-top: 3vw;
        font-size: 5vw;
    }
    form label{
        font-size: 3.9vw;
        font-weight: 700
    }
    input, .input{
        height: 10vw;
        border-radius: 1.5vw;
        margin-bottom: 5vw;
    }
    .input button{
        width: auto;
        padding: 0 2vw;
        font-size: 3vw;
    }
    .split{
        flex-direction: column;
        gap: 0
    }
    .submitbtn{
        height: 10vw;
        font-size: 4vw;
        border-radius: 100vw;
        width: 100% !important;
        padding: 0;
        margin: 0;
    }
    .endsection{
        display: block;
        padding: 0;
        border: none;
        margin-top: 0;
    }
}


.formpopup_bg{
    position: absolute;
    height: 100%;
        flex-direction: column;
        justify-content: start;
}
.formpopup > svg{
    align-self: flex-end;
    position: absolute;
    border-radius: 100px;

    width: 27px;
    height: 27px;
    padding: 5px;
}
.formpopup > svg:hover{
    background-color: rgba(217,217,217,0.3);

}


.formpopup{
    width: auto !important;
    margin-top: 150px;
    padding: 40px 50px;
    border-radius: 15px;
}
.formpopup form {
    max-width: 100% !important;
}
.endsection{
    justify-content: start;
    border: none !important;
    margin: 0;
    padding: 0;
}
.submitbtn{
    background-color: var(--primary);
    color: white;
    width: 380px !important;
    height: 40px !important;
    font-size: 17px;
    font-weight: 700;
    border-radius: 300px;
    padding: 0 !important;
    max-width: 100%;
}

@media (min-width: 700px) {
    
    #additionalInfo{
        height: 192px;
    }
    .go_back h1{
        font-size: 26px;
        width: 90%;
    }
    
    .infofield2 {
        max-width: 800px;
    }
    .infofield2 p{
        font-size: 17px;
    }
}
@media (max-width: 700px) {

    .formpopup > svg{
        align-self: flex-end;
        position: absolute;
        border-radius: 100px;

        width: 7vw;
        height: 7vw;
        padding: 2vw;
    }
    .formpopup_bg{
        flex-direction: column;
        justify-content: start;
    }
    .formpopup{
        position: relative;
        padding: 4vw 5vw;
        width: 90vw !important;
    }
    .submitbtn{
        height: 10vw !important;
        font-size: 5vw;
        width: 100% !important;
    }
        

}

.sendBtn{
    position: auto !important;
    min-width: none;
    max-width: none;
    width: 100%;
    margin-top: 30px !important;
    padding: 0;
}