/* where to buy list custom popup styles */
#popupForm{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;z-index:99999;box-shadow:0 0 20px rgba(0,0,0,0.1);border-radius:5px;width:680px;max-width:90%;max-height:82vh;overflow:auto;padding:40px 30px 30px;}
#popupForm .close{position:absolute;right:15px;top:15px;width:15px;height:15px;font-size:0;cursor:pointer;background:transparent url(../images/close-icon-black.svg) no-repeat center center;background-size:contain;transition:all 0.25s ease-in-out;border:0;}
#popupForm .close:hover{opacity:0.7;}
#popupForm h2{font-size:20px;margin-bottom:15px;padding-bottom:12px;border-bottom:1px solid #ccc;}
#popupForm form{display:flex;flex-wrap:wrap;justify-content:space-between;gap:15px 20px;}
#popupForm .error-message{color:red;font-size:12px;margin-top:3px;}
#popupForm .error-message:empty{display:none;}
#popupForm .asterisk{color:red;}
#popupForm .field-wrap{flex-basis:100%;}
#popupForm .field-wrap .field-label{width:100%;display:block;margin-bottom:4px;font-size:14px;color:#333;}
#popupForm .field-wrap input[type="text"],
#popupForm .field-wrap input[type="email"],
#popupForm .field-wrap input[type="tel"],
#popupForm .field-wrap input[type="url"],
#popupForm .field-wrap input[type="file"],
#popupForm .field-wrap textarea{width:100%;margin:0;padding:10px;border:1px solid #ccc;border-radius:5px;font-size:14px;color:#333;}
#popupForm .field-wrap .radio{display:inline-block;margin-right:8px;font-size:14px;line-height:1;color:#333;}
#popupForm .field-wrap .radio input[type="radio"]{vertical-align:middle;margin:-2px 5px 0 0;}
#popupForm .field-wrap.submit-wrap{margin-top:10px;}
#popupForm .btn-group{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:0 7px;}
#popupForm button[type="submit"], #popupForm button[type="button"]{padding:7px 12px;border:0;border-radius:5px;background:#000;color:#fff;font-size:15px;cursor:pointer;}
#popupForm button[type="button"]{background:#888;}
#popupForm button[disabled]{background:#bbb;pointer-events:none;}
#popupForm #submit-message{margin:10px 0;font-size:14px;color:green;border:1px solid;padding:7px 12px;border-radius:4px;}
#popupForm #submit-message:empty{display:none;}
#popupForm #submit-error-message{margin:10px 0;font-size:14px;color:red;border:1px solid;padding:7px 12px;border-radius:4px;}
#popupForm #submit-error-message:empty{display:none;}

/* Responsive */
@media (min-width:768px){
    #popupForm .field-wrap__half{flex-basis:calc(50% - 10px);}
}
@media (max-width:767px){
    #popupForm{padding:30px 20px 20px;}
    #popupForm h2{font-size:18px;}
    #popupForm .field-wrap input[type="text"],
    #popupForm .field-wrap input[type="email"],
    #popupForm .field-wrap input[type="tel"],
    #popupForm .field-wrap input[type="url"],
    #popupForm .field-wrap textarea,
    #popupForm .field-wrap .radio{font-size:12px;}
    #popupForm button[type="submit"]{font-size:14px;}
}
