#m4p-contact-popup {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

#m4p-contact-popup.m4p-contact-popup--open {
    opacity: 1;
    pointer-events: auto;
}

.m4p-contact-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.m4p-contact-popup__content {
    position: fixed;
    max-width: 282px;
    width: calc(100% - 2rem);
    padding: 2rem 1.75rem 1.75rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 0px 15.37px 0px #00000040;
    border: 0.72px solid #C0C0C0;
    text-align: center;
    z-index: 1;
    right: 20px;
    top: 60vh;
    padding: 22px 18px;
}
#product .m4p-contact-popup__content {
    position: relative;
    top: auto;
    right: auto;
}

.m4p-contact-popup__close {
    position: absolute;
    top: 0px;
    right: 0px;
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #999999;
}

.m4p-contact-popup__message {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #333333;
}

.m4p-contact-popup__errors {
    margin: 0 0 1rem;
}

.m4p-contact-popup__errors ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #d52b1e;
}

.m4p-contact-popup__errors li {
    margin-bottom: 0.25rem;
}

.m4p-contact-popup__confirmation {
    margin: 0 0 1rem;
    font-weight: 600;
    color: #1d9d51;
}

.m4p-contact-popup__form {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.m4p-contact-popup__field input[type="tel"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #8B8B8A;
    border-radius: 10px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
}

.m4p-contact-popup__submit {
    padding: 10px 22px !important;
}

#m4p-contact-popup__headling {
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    vertical-align: middle;
    color: black;
    margin-bottom: 0px;
}
#m4p-contact-popup__description {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    vertical-align: middle;
    color: black;
}

@media (max-width: 480px) {
    .m4p-contact-popup__content {
        padding: 1.75rem 1.25rem 1.5rem;
    }
}

.m4p-contact-popup .m4p-contact-popup__content {
    position: relative;
    border: none;
    background: transparent;
    top: 0;
    left: 0;
    box-shadow: none;
    padding: 0px;
    width: auto;
}

#contact-floating-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

#contact-floating-btn:hover {
    transform: scale(1.1);
}

#contact-popup {
    position: fixed;
    bottom: 100px;
    right: 25px;
    background: #fff;
    width: 320px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    z-index: 99999;
}

.m4p-contact-popup__close {
    position: absolute;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
}
