.hi-oosn-hide{display: none !important;}
.psgdpr_consent_message,
.psgdpr_consent_message p{
    display: inline;
}

#hi-oosn-block,
.hi-oosn-block-pl{
    width: 100%;
    /*height: 123px;*/
    height: auto;
    border-radius: 3px;
    border: 1px solid #e4e1e1;
    margin-bottom: 10px;
    padding: 18px 25px 25px 25px;
    box-sizing: border-box;
}
.oosn-popup-container #hi-oosn-block,
.oosn-popup-container .hi-oosn-block-pl{
    margin-bottom: 0px;
}

.hi-oosn-title{
    display: block;
    width: 100%;
    height: 19px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 17px;
}
.hi-oosn-popup .hi-oosn-title {
    color: #505b69;
    font-size: 22px;
    line-height: 1.5em;
    height: auto;
}
.hi-oosn-email-content{
    position: relative;
    width: 100%;
}
.hi-oosn-email-content input{
    width: 100%;
    height: 40px;
    border-radius: 2px;
    font-size: 14px;
    padding: 11px 0px 10px 15px;
    border: none;
    box-sizing: border-box;
}
.hi-oosn-email-content input:focus{
    outline: none;
}
.hi-oosn-page .hi-oosn-email-content .oosn-button{
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 43px;
    height: 40px;
    border: none;
    border-radius: 2px;
    background-image: url(../img/send_email.svg);
    background-repeat: no-repeat;
    background-position: center center;
}
.hi-oosn-popup .hi-oosn-email-content .oosn-button{
    display: block;
    width: 100%;
    height: 40px;
    border: 0;
}
.hi-oosn-form-group {
    margin-bottom: 20px;
}
.hi-oosn-invalid-email,
.hi-oosn-invalid-qty{
    position: absolute;
    top: 35px;
    left: 128px;
    background-color: #ce4e4e;
    padding: 2px 8px 4px 6px;
    border-radius: 2px;
    border: 1px solid rgb(242, 91, 91);
    font-size: 12px;
    z-index: 1000;
    color: #fff;
}

.hi-oosn-invalid-qty{
    left: 28px;
}

.hi-oosn-invalid-email div,
.hi-oosn-invalid-qty div{
    position: absolute;
    top: -11px;
    left: 10px;
    border-bottom: 6px solid #ce4e4e;
    border-top: 6px solid transparent;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}
.hi-oosn-success{
    text-align: center;
}

.subscribe_form_content{
    margin-top: 10px;
}
/* fancybox */
.oosn-popup {}
.oosn-popup:hover, .oosn-popup:active {}
.oosn-popup-container{
    /*padding: 5px;*/
}
#oosn-popup-container{
    display: none;
}
/* fancybox end */

.hi-oosn-page .oosn-display-qty-input input[name="oosn_qty"]{
    width: 15%;
    padding: 10px;
    text-align: center;
    float: left;
}
.hi-oosn-page .oosn-display-qty-input input[name="hi_stock_email"]{
    width: 83%;
    float: right;
}
.hi_gdpr_consent_oosn {
    margin-top: 10px;
}

.hi-oosn-form-group {
    position: relative;
}
.hi-oosn-popup .hi-oosn-email-content {
    margin-top: 30px;
}
.oosn-popup-container-pl {
    display: none;
}
.hi-oosn-pl-wrapper {
    text-align: center;
}

.hi-oosn-require-customer-block {
    text-align: center;
    padding: 20px;
}
.hi-oosn-require-customer-block h2 {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    margin-bottom: 20px;
}
.hi_gdpr_consent_oosn .custom-checkbox {
    display: flex;
    gap: 5px;
}

/* Combination form styles (displayHiOosnCombinationForm hook) */
.hi-oosn-combination-wrapper {
    margin: 5px 0;
}

.hi-oosn-combination-inline {
    display: block;
}

.hi-oosn-combination-inline .hi-oosn-title-inline {
    display: block;
    width: 100%;
    height: auto;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
}

.hi-oosn-combination-inline .hi-oosn-email-content-inline {
    position: relative;
    width: 100%;
}

.hi-oosn-combination-inline .hi-oosn-email-content-inline input[name="hi_stock_email"] {
    width: 100%;
    height: 36px;
    border-radius: 2px;
    font-size: 13px;
    padding: 8px 50px 8px 12px;
    border: none;
    box-sizing: border-box;
}

.hi-oosn-combination-inline .hi-oosn-email-content-inline.oosn-display-qty-input input[name="oosn_qty"] {
    width: 15%;
    padding: 8px;
    text-align: center;
    float: left;
    height: 36px;
    border: none;
    border-radius: 2px;
    font-size: 13px;
    box-sizing: border-box;
}

.hi-oosn-combination-inline .hi-oosn-email-content-inline.oosn-display-qty-input input[name="hi_stock_email"] {
    width: 85%;
    float: right;
}

.hi-oosn-combination-inline .hi-oosn-email-content-inline .oosn-button {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40px;
    height: 36px;
    border: none;
    border-radius: 2px;
    background-image: url(../img/send_email.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 18px;
    cursor: pointer;
}

.hi-oosn-combination-inline .hi-oosn-error {
    width: 100%;
    margin-top: 5px;
    padding: 5px 10px;
    font-size: 12px;
    clear: both;
}

.hi-oosn-combination-wrapper .hi-oosn-success {
    width: 100%;
    margin-top: 5px;
    padding: 5px 10px;
    font-size: 12px;
    text-align: center;
}

.hi-oosn-combination-inline .hi_gdpr_consent_oosn {
    width: 100%;
    margin-top: 8px;
    font-size: 12px;
    clear: both;
}

.hi-oosn-combination-popup {
    display: none;
}

.hi-oosn-block-combination {
    width: 100%;
    height: auto;
    border-radius: 3px;
    border: 1px solid #e4e1e1;
    padding: 18px 25px 25px 25px;
    box-sizing: border-box;
}

.hi-oosn-combination-popup .hi-oosn-block-combination {
    border: none;
    margin-bottom: 0;
}

.hi-oosn-combination-require-login .hi-oosn-combination-inline {
    font-size: 13px;
}

.hi-oosn-combination-require-login .hi-oosn-combination-inline a {
    text-decoration: underline;
}

/* Responsive adjustments for combination form */
@media (max-width: 576px) {
    .hi-oosn-combination-inline .hi-oosn-form-group-inline input[name="hi_stock_email"] {
        width: 140px;
    }
}