.dialog-content{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.dialog-content .dialog-box{
    position: relative;
    background-color: #ffffff;
    width: 40%;
    padding: 20px;
}
.dialog-content .dialog-box .head-product-img{
    display: flex;
    justify-content: center;
}
.dialog-content .dialog-box .head-hint-title{
    font-size: 24px;
    color: #333;
    text-align: center;
    line-height: 1.5;
    font-weight: bold;
    margin: 10px 0;
}
.dialog-content .dialog-box .head-product-img img{
    width: auto;
    max-height: 200px;
}
.dialog-content .dialog-box .content{

}
.dialog-content .dialog-box .content .response{
    color:red;
}
.dialog-content .dialog-box .content form{
    display: flex;
    flex-direction: column;
}
.dialog-content .dialog-box .content form textarea,
.dialog-content .dialog-box .content form input{
    background-color: #0000000f;
    border: none;
    outline-style: none;
    padding: 20px;
}
.dialog-content .dialog-box .content form input{
    margin: 10px 0;
}
.dialog-content .dialog-box .content form textarea{
    resize: none;
}
.dialog-content .dialog-box .content form input[type=submit]{
    background-color: #f6985b;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
}
.dialog-content .dialog-box .content form textarea::placeholder,
.dialog-content .dialog-box .content form input[type=email]::placeholder{
    color: #a0a0a0;
}
.dialog-content .dialog-box #success-msg{
    display: none;
    margin-top: 10px;
}
.dialog-content .dialog-box #success-msg .good-arrow{
    width: 80px;
    height: 80px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
}
.dialog-content .dialog-box #success-msg .good-arrow::before{
    content: "";
    display: inline-block;
    background: #a4ff94;
    width: 50px;
    height: 15px;
    transform: rotate(-45deg);
    position: absolute;
    left: 32px;
    border-radius: 2px;
    top: 26px;
}
.dialog-content .dialog-box #success-msg .good-arrow::after{
    content: "";
    display: inline-block;
    background: #34da00;
    width: 35px;
    height: 12px;
    transform: rotate(45deg);
    position: absolute;
    left: 16px;
    top: 35px;
    border-radius: 2px;
}
.dialog-content .dialog-box #success-msg .big-tip{
    font-size: 24px;
    color: #333;
    text-align: center;
    line-height: 1.5;
    font-weight: bold;
}
.dialog-content .dialog-box #success-msg .small-tip{
    text-align: center;
    font-size: 18px;
    margin: 14px 0;
}
.dialog-content .dialog-box #success-msg .ok-btn{
    display: flex;
    justify-content: center;
}
.dialog-content .dialog-box #success-msg .ok-btn>span{
    background: #f6985b;
    width: 200px;
    height: 40px;
    border-radius: 4px;
    text-align: center;
    line-height: 40px;
    font-size: 18px;
    color: #fff;
    margin-bottom: 30px;
    cursor: pointer;
}
.dialog-content .dialog-box #close-btn{
    position: absolute;
    width: 15px;
    height: 15px;
    top: 22px;
    right: 27px;
    cursor: pointer;
}
@media (max-height: 750px) {
    .dialog-content .dialog-box .head-product-img img{
        max-height: 100px;
    }
}
@media (max-height: 650px) {
    .dialog-content .dialog-box .head-product-img img{
        max-height: 150px;
    }
}
@media (max-height: 600px) {
    .dialog-content .dialog-box .head-product-img img{
        max-height: 80px;
    }
}
@media (max-height: 550px) {
    .dialog-content .dialog-box .content form textarea{
        max-height: 5.5rem;
    }
}
@media (max-height: 550px) {
    .dialog-content .dialog-box .head-hint-title{
        font-size: 16px;
    }
    .dialog-content .dialog-box .content form textarea{
        max-height: 4.5rem;
    }
}
@media (max-height: 450px) {
    .dialog-content .dialog-box .content form textarea,
    .dialog-content .dialog-box .content form input{
        padding: 10px;
    }
}
@media (max-height: 400px) {
    .dialog-content .dialog-box .content form textarea,
    .dialog-content .dialog-box .content form input{
        padding: 5px;
    }
}
@media (max-height: 350px) {
    .dialog-content .dialog-box .content form textarea,
    .dialog-content .dialog-box .content form input{
        padding: 5px;
    }
}
@media (max-width: 1100px) {
    .dialog-content .dialog-box{
        width: 50%;
    }
}
@media (max-width: 900px) {
    .dialog-content .dialog-box{
        width: 70%;
    }
}
@media (max-width: 500px) {
    .dialog-content .dialog-box{
        width: 90%;
    }
}