

#custom-product-popup{
    display: none; 
    position: fixed; 
    top: 30%; 
    left: 50%; 
    transform: translate(-50%, -30%); 
    background: #fff; 
    padding: 30px; 
    border-radius: 8px; 
    border: 1px solid #ccc; 
    z-index: 9999; 
    width: 600px; 
    box-shadow: 0px 5px 20px rgba(0,0,0,0.2);
}

#custom-product-popup .req {
    color: var(--maroon, #ab192d);
    margin: 0 2px;
}

#custom-product-popup h2{
    margin-top: 0; 
    font-size: 22px; 
    text-align: center;
}

.field-section{
    margin-top: 20px; 
    display: flex; 
    align-items: center;
}
.field-section label{
    flex: 0 0 200px; 
    font-weight: 600;
}
.field-section input, .field-section textarea{
    flex: 1; 
    width: 100%; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    padding: 8px;
}
.button-section{
    margin-top: 20px; 
    text-align: center;
}
.button-section .primary-btn {
    background: #ab192d;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    padding: 8px 18px;
    border: 2px solid #ab192d;
    border-radius: 8px;
    cursor: pointer;
}
.button-section .primary-btn:hover {
    background: #231d20;
    color: #fff;
    border: 2px solid #231d20;
}
.button-section .secondary-btn {
    background: #fff;
    color: #147095;
    border: 2px solid #147095;
    font-size: 17px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
}
.button-section .secondary-btn:hover {
    background: #147095;
    color: #fff;
}
#product-popup-overlay{
    display: none;
    position: fixed;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}
@media screen and (max-width: 768px) {
    #custom-product-popup{ 
        width: 90%;
        padding: 20px;
    }
    .field-section label{ 
        flex: 0 0 110px;
    }
}
