[data-product-popup] {
    cursor: pointer;
}

.product-popup {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0 0 0 / 0.5);
    backdrop-filter: blur(4px);
    transition: all .4s ease;
        -webkit-transition: all .4s ease;
}
.product-popup__body {
    position: relative;
    padding: 50px 40px 40px;
    max-width: 90%;
    background: #fff;
    box-shadow: 0 0 20px rgba(0 0 0 / 0.5);
    transition: all .4s ease;
        -webkit-transition: all .4s ease;
}
.product-popup:not(.product-popup--active) {
    opacity: 0;
    visibility: hidden;
}
.product-popup:not(.product-popup--active) .product-popup__body {
    transform: scaleX(1.3);
}
.product-popup__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none'%3E%3Cpath d='M9 1L1 9M1.00001 1L9 9' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
    cursor: pointer;
}
.product-popup__title,
.product-popup__subtitle {
    text-align: center;
}
.product-popup__title {
    font-size: 32px;
    font-weight: 600;
    color: #262626;
}
.product-popup__subtitle:not(:first-child) {
    margin-top: 10px;
}
.product-popup__form:not(:first-child) {
    margin-top: 30px;
}
.product-popup__inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.product-popup__input {
    padding: 10px;
    border: 1px solid rgb(37 37 37 / 0.3);
    box-shadow: 0 3px 8px rgba(0 0 0 / 0.25);
    font-size: 15px;
    transition: all .4s ease;
        -webkit-transition: all .4s ease;
}
.product-popup__input:focus,
.product-popup__input:active {
    outline: none;
    box-shadow: 0 3px 8px rgba(0 0 0 / 0.5);
}
.product-popup__submit {
    display: block;
    margin: 20px auto 0;
    background: #FE5A0E;
    font-size: 16px;
    text-align: center;
    padding: 10px 30px;
    box-shadow: 0 3px 8px rgba(0 0 0 / 0.25);
    border: none;
    color: #fff;
    transition: all .4s ease;
        -webkit-transition: all .4s ease;
}
.product-popup__submit:hover {
    background: #c5460b;   
}

@media (max-width: 480px) {
    .product-popup__body {
        padding: 50px 20px 30px;
    }
    .product-popup__title {
        font-size: 28px;
    }
    .product-popup__subtitle {
        font-size: 15px;
    }
    .product-popup__form:not(:first-child) {
        margin-top: 20px;
    }
}