* {
    font-size: 1rem;
}

p {
    text-align: right;
    font-size: inherit;
}

html,
body {
    background: #b49171;
    position: relative;
    height: 100%;
}

#app {
    background: url(https://cdn.akhbaloot.com/resource/web/image/pay_bg.jpg) no-repeat center top;
    background-size: 100% auto;
    padding-bottom: 9rem;
}

header {
    position: fixed;
    left:0;
    top:0;
    right:0;
    height: 4.4rem;
    background: #f7e4bc;
    padding-left: 1.2rem;
    padding-right: 1rem;
    z-index: 9;
}

header img {
    width: 2.9rem;
    height: auto;
}

.hbox,
header,
footer,
.Mallbox .new_numb,
.Mallbox .old_numb,
.Mallbox .ticket {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.hbox,
header {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;


}

header .head {
    border-radius: 50%
}

.hbox p {
    padding-right: .6rem;
    font-size: 1.4rem;

    color: #92674e;
}

.hbox p span {
    font-size: 1.4rem;

    color: #33971c;
    padding: 0 0.5rem;
}

.Mallbox {
    padding: 32.2rem 2.2rem 0;
    overflow: hidden;
}

.Mallbox .Mall-cell {
    width: 10.1rem;
    height: 14rem;
    background: #fff;
    border-radius: .4rem;
    text-align: center;
    position: relative;
    margin-bottom: .9rem;
    margin: 1px;
    margin-right: 1rem;
    margin-top: 1rem
}

.Mallbox .Mall-cell.shop-web-2000 {
    background:  #f9ff52;
}

.Mallbox .Mall {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: auto;
    overflow-y: scroll;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    direction: rtl
}

.error-message {
    color: white;
    text-align: center;
    margin-top: 10px; /* 下移10像素，根据需要进行调整 */
}

.error-image {
    display: block;
    margin-top: 10px; /* 下移10像素，根据需要进行调整 */
    width: 100%;
}

/* 手机端样式 */
@media only screen and (max-width: 768px) {
    .error-image {
        content: url('../img/image/error.png');
    }
}

/* 网页端样式 */
@media only screen and (min-width: 769px) {
    .error-image {
        content: url('../img/image/errorWeb.png');
        margin-top: 10%;
    }
    .error-message {
        margin-top: 5%;
    }
}

.Mallbox .Mall-cell .special {
    position: absolute;
    top: -0.1rem;
    right: -0.1rem;
    width: 4rem;
    height: 4.2rem;
    line-height: 1;
    background: url(https://cdn.akhbaloot.com/resource/web/image/banner.png) no-repeat top right;
    background-size: 100% auto;
}

.Mallbox .Mall-cell .discount p,
.Mallbox .Mall-cell .special p {
    font-size: .8rem;
    color: #fff;
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: auto;
    font-weight: 700
}

.Mallbox .Mall-cell .special p {
    -webkit-transform: rotate(45deg) scale(.9);
    transform: rotate(45deg) scale(.9);
    left: 24%;
    top: 20%;
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.2;
    width: 3rem;
    text-align: center;
}

.Mallbox .new_numb,
.Mallbox .old_numb,
.Mallbox .ticket {
    -webkit-box-align: center;
    -ms-flex-align: center;
    justify-content: center;
    font-weight: bold;
    direction: ltr;
    font-size: 1.2rem;

}

.Mallbox .new_numb {
    padding-top: 1.5rem;
    height: 1.2rem;
    color: #916027;
}

.Mallbox .new_numb img {
    width: 1.2rem;
    padding-right: 0.1rem;
    content: url(https://cdn.akhbaloot.com/resource/web/image/g3.png);
}

.Mallbox .old_numb {
    height: 1rem;
    color: #d36c47;
    margin-top: .3rem;
    text-decoration: line-through;
}

.Mall-cell .rank {
    width: 58%;
    /*padding-top: 0.6rem;*/
    z-index: 0; /* 调整 z-index 值 */
}

.Mall-cell .overlay-image {
    margin-top: -4.0rem; /* 负外边距，向上移动 */
    width: 100%;
    z-index: 1; /* 调整 z-index 值 */
}

.Mallbox .ticket {
    position: absolute;
    bottom: 2.9rem;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: .8rem;
    color: #df744e;
}

.Mallbox .ticket img {
    width: 1.3rem;
    content: url(https://cdn.akhbaloot.com/resource/web/image/g2.png);
}

.Mallbox .btn {
    width: 100%;
    height: 2.7rem;
    background-image: -moz-linear-gradient(90deg, rgb(65, 149, 75) 0%, rgb(66, 169, 81) 100%);
    background-image: -webkit-linear-gradient(90deg, rgb(65, 149, 75) 0%, rgb(66, 169, 81) 100%);
    background-image: -ms-linear-gradient(90deg, rgb(65, 149, 75) 0%, rgb(66, 169, 81) 100%);
    border-radius: 0 0 4px 4px;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1rem;
    line-height: 0;
    position: absolute;
    left: 0;
    bottom: 0;
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5rem;
    background: #f7e4bc;
    -webkit-box-align: center;
    -ms-flex-align: center;
    justify-content: center;
    -webkit-box-shadow: 0 0 14px 0 hsla(0, 0%, 86.3%, .6);
    box-shadow: 0 0 14px 0 hsla(0, 0%, 86.3%, .6);
    color: #9b5d38;
    font-size: 1.6rem;
}

footer img {
    width: 2.8rem;
    padding-right: 1rem;
}

@media only screen and (max-width:500px) {

    html,
    body {
        background: #cbad87;
    }

    #app {
        background-image: url(https://cdn.akhbaloot.com/resource/web/image/pay_bg_h5.jpg);
        padding-bottom: 5rem;
    }

    header {
        font-size: .8rem;

        height: 3.2rem;
        padding-left: 0.9rem;
    }

    header img {
        width: 2.6rem;
    }

    .hbox p {
        font-size: .8rem;
    }

    .hbox p span {
        font-size: .8rem;

        padding: 0 .2rem;
    }

    .Mallbox {
        padding: 13.7rem 0.6rem 0;
    }

    footer {
        height: 3.5rem;
        font-size: 1rem;
    }

    footer img {
        position: absolute;
        left: 1rem;
        top: 0.5rem;
        width: 2.5rem;
    }
}

* {
    margin: 0;
    padding: 0;
    font-size: 10px;
    font-size: calc(10vw / 3.6);
}

@media only screen and (min-width: 500px) {
    * {
        margin: 0;
        padding: 0;
        font-size: 20px;
        font-size: calc(10vw / 7.2);
    }
}
