@charset "utf-8";
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
    height: 100%;
    color: #323232;
    background: #f4f4f4;
    max-width: 640px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
a { color: #323232; text-decoration: none; outline: 0; -webkit-tap-highlight-color: transparent; }
img { display: block; height: auto; max-width: 100%; border: 0; }
ul, li { list-style: none; }
em { font-style: normal; }
input, textarea { -webkit-appearance: none; outline: none; border: 0; border-radius: 0; }
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix { display: block; }
.red { color: #f00; }
.orange { color: #ff8901; }
.fl { float: left; }
.fr { float: right; }
.ellip { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Header */
.header {
    height: 49px;
    background: #ff8901;
    position: relative;
    z-index: 100;
}
.header h1 {
    text-align: center;
    line-height: 49px;
    font-size: 20px;
    color: #fff;
    font-weight: normal;
}
.header h1 a { color: #fff; }
.header .head-r {
    position: absolute;
    right: 10px;
    top: 8px;
}
.header .head-r a {
    display: inline-block;
    width: 33px;
    height: 33px;
    margin-left: 5px;
    vertical-align: middle;
}
.header .icon-member {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E") no-repeat center;
    background-size: 24px 24px;
}
.header .icon-cart {
    position: relative;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E") no-repeat center;
    background-size: 24px 24px;
}
.header .icon-cart em {
    position: absolute;
    top: -3px;
    right: -6px;
    background: #fff;
    color: #ff8901;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
    padding: 0 4px;
}

/* Container */
.h5-1yyg-v1 {
    background: #fff;
    padding-bottom: 60px;
    min-height: 100vh;
}

/* Notice Bar */
.notice-bar {
    background: #fff8e1;
    padding: 8px 12px;
    border-bottom: 1px solid #ffe0b2;
    overflow: hidden;
    position: relative;
}
.notice-bar .notice-text {
    font-size: 12px;
    color: #ff8901;
    white-space: nowrap;
    display: inline-block;
    animation: notice-scroll 18s linear infinite;
}
@keyframes notice-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Banner */
.hotimg {
    background: #fff;
    overflow: hidden;
}
.hotimg .swiper-container {
    width: 100%;
}
.hotimg .swiper-slide img {
    width: 100%;
    display: block;
}
.swiper-pagination-bullet {
    background: #fff;
    opacity: .5;
    width: 8px;
    height: 8px;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: #ff8901;
}

/* Navigation Icons */
.newnav {
    width: 100%;
    background: #fff;
    padding: 5px 0;
}
.newnav ul {
    display: flex;
    flex-wrap: wrap;
}
.newnav ul li {
    width: 20%;
    padding: 10px 0;
    text-align: center;
}
.newnav ul li a {
    display: block;
}
.newnavicon {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background: #ff8901;
    display: flex;
    align-items: center;
    justify-content: center;
}
.newnavicon img {
    width: 30px;
    height: 30px;
}
.newnavfont {
    font-size: 12px;
    color: #666;
    margin-top: 6px;
}

/* Section Title */
.m-tt1 {
    height: 40px;
    line-height: 40px;
    padding: 0 12px;
    background: #fff;
    border-top: 8px solid #f4f4f4;
}
.m-tt1 h2 {
    font-size: 16px;
    color: #ff8901;
    font-weight: bold;
    border-left: 3px solid #ff8901;
    padding-left: 8px;
    line-height: 18px;
    display: inline-block;
    vertical-align: middle;
}
.m-tt1 h2 a {
    float: right;
    font-size: 12px;
    color: #999;
    line-height: 40px;
    font-weight: normal;
    border: none;
    padding: 0;
}

/* Latest Winners - Product List */
.m-lott-li {
    background: #fff;
    padding: 0;
}
.m-lott-li ul {
    display: flex;
    flex-wrap: wrap;
}
.m-lott-li ul li {
    width: 33.33%;
    padding: 10px 5px;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
}
.m-lott-li ul li:nth-child(3n) { border-right: none; }
.m-lott-li ul li a {
    display: block;
    text-align: center;
}
.m-lott-li .u-lott-pic {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    overflow: hidden;
}
.m-lott-li .u-lott-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.m-lott-li .goodstitle {
    display: block;
    font-size: 11px;
    color: #333;
    margin-top: 6px;
    height: 30px;
    overflow: hidden;
    line-height: 15px;
    padding: 0 4px;
}
.m-lott-li .goodsprice {
    display: block;
    font-size: 11px;
    color: #ff8901;
    margin-top: 3px;
}

/* Recommended */
.m-tj-li {
    background: #fff;
    padding: 0 8px 10px;
}
.m-tj-li ul {
    display: flex;
    flex-wrap: wrap;
}
.m-tj-li ul li {
    width: 50%;
    padding: 8px;
}
.m-tj-li ul li a {
    display: block;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.m-tj-li .m-tj-pic {
    width: 100%;
    height: 160px;
    overflow: hidden;
}
.m-tj-li .m-tj-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.m-tj-li .m-tj-info {
    padding: 8px 10px;
}
.m-tj-li .m-tj-name {
    font-size: 13px;
    color: #333;
    height: 36px;
    overflow: hidden;
    line-height: 18px;
}
.m-tj-li .m-tj-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}
.m-tj-li .m-tj-price {
    font-size: 15px;
    color: #ff8901;
    font-weight: bold;
}
.m-tj-li .m-tj-btn {
    background: #ff8901;
    color: #fff;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 12px;
}

/* Progress Bar */
.jdt {
    display: block;
    overflow: hidden;
    height: 6px;
    border-radius: 3px;
    background: #EFEEEE;
    margin: 6px 0;
}
.jdt span {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: #ff8901;
}

/* Bottom Tab Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 640px;
    height: 50px;
    background: #fff;
    border-top: 1px solid #e2e2e2;
    display: flex;
    z-index: 999;
}
.bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 10px;
}
.bottom-nav a.active { color: #ff8901; }
.bottom-nav a .nav-icon {
    width: 22px;
    height: 22px;
    margin-bottom: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.bottom-nav a .nav-icon.home { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E"); }
.bottom-nav a.active .nav-icon.home { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff8901'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E"); }
.bottom-nav a .nav-icon.goods { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E"); }
.bottom-nav a.active .nav-icon.goods { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff8901'%3E%3Cpath d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E"); }
.bottom-nav a .nav-icon.lottery { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M19 5h-2V3H7v2H5c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94.63 1.5 1.98 2.63 3.61 2.96V19H7v2h10v-2h-4v-3.1c1.63-.33 2.98-1.46 3.61-2.96C19.08 12.63 21 10.55 21 8V7c0-1.1-.9-2-2-2zM5 8V7h2v3.82C5.84 10.4 5 9.3 5 8zm14 0c0 1.3-.84 2.4-2 2.82V7h2v1z'/%3E%3C/svg%3E"); }
.bottom-nav a.active .nav-icon.lottery { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff8901'%3E%3Cpath d='M19 5h-2V3H7v2H5c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94.63 1.5 1.98 2.63 3.61 2.96V19H7v2h10v-2h-4v-3.1c1.63-.33 2.98-1.46 3.61-2.96C19.08 12.63 21 10.55 21 8V7c0-1.1-.9-2-2-2zM5 8V7h2v3.82C5.84 10.4 5 9.3 5 8zm14 0c0 1.3-.84 2.4-2 2.82V7h2v1z'/%3E%3C/svg%3E"); }
.bottom-nav a .nav-icon.cart { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E"); }
.bottom-nav a.active .nav-icon.cart { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff8901'%3E%3Cpath d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E"); }
.bottom-nav a .nav-icon.user { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E"); }
.bottom-nav a.active .nav-icon.user { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff8901'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E"); }

/* No Data */
.no-data {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.no-data .no-data-icon {
    font-size: 60px;
    margin-bottom: 15px;
    color: #ddd;
}
.no-data p { font-size: 14px; }

/* Loading */
.loading {
    text-align: center;
    padding: 30px;
    color: #999;
    font-size: 13px;
}

/* Page Header with Back */
.page-header {
    height: 44px;
    background: #ff8901;
    position: relative;
    text-align: center;
    line-height: 44px;
    color: #fff;
    font-size: 17px;
}
.page-header .back {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 14px;
    padding: 4px 8px;
}
.page-header .back:before {
    content: '<';
    margin-right: 4px;
    font-weight: bold;
}

/* Product List Page */
.category-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.category-tabs::-webkit-scrollbar { display: none; }
.category-tabs a {
    flex-shrink: 0;
    padding: 10px 14px;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}
.category-tabs a.active {
    color: #ff8901;
    border-bottom: 2px solid #ff8901;
}

.sort-bar {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.sort-bar a {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
    color: #666;
}
.sort-bar a.active { color: #ff8901; }

.product-list {
    background: #fff;
    padding: 8px;
}
.product-list .product-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.product-list .product-item:last-child { border-bottom: none; }
.product-list .product-img {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}
.product-list .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-list .product-info {
    flex: 1;
    padding-left: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-list .product-name {
    font-size: 14px;
    color: #333;
    line-height: 20px;
    height: 40px;
    overflow: hidden;
}
.product-list .product-tags {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}
.product-list .product-tags span {
    display: inline-block;
    border: 1px solid #ff8901;
    color: #ff8901;
    padding: 1px 6px;
    border-radius: 3px;
    margin-right: 4px;
    font-size: 10px;
}
.product-list .product-progress {
    margin-top: 6px;
}
.product-list .product-progress .jdt { margin: 4px 0; }
.product-list .product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-list .product-price {
    font-size: 16px;
    color: #ff8901;
    font-weight: bold;
}
.product-list .product-buy {
    background: #ff8901;
    color: #fff;
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 14px;
}

/* Lottery Page */
.lottery-list {
    background: #fff;
    padding: 0;
}
.lottery-item {
    display: flex;
    padding: 12px 10px;
    border-bottom: 1px solid #f0f0f0;
}
.lottery-item .lottery-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}
.lottery-item .lottery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lottery-item .lottery-info {
    flex: 1;
    padding-left: 12px;
}
.lottery-item .lottery-name {
    font-size: 14px;
    color: #333;
    line-height: 20px;
    height: 40px;
    overflow: hidden;
}
.lottery-item .lottery-winner {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}
.lottery-item .lottery-winner em {
    color: #ff8901;
    font-weight: bold;
}
.lottery-item .lottery-time {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}
.lottery-item .lottery-num {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

/* Cart Page */
.cart-item {
    display: flex;
    padding: 12px 10px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}
.cart-item .cart-check {
    width: 30px;
    flex-shrink: 0;
    text-align: center;
}
.cart-item .cart-check input {
    width: 18px;
    height: 18px;
    accent-color: #ff8901;
}
.cart-item .cart-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}
.cart-item .cart-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item .cart-info {
    flex: 1;
    padding: 0 10px;
}
.cart-item .cart-name {
    font-size: 13px;
    color: #333;
    height: 36px;
    overflow: hidden;
    line-height: 18px;
}
.cart-item .cart-price {
    font-size: 15px;
    color: #ff8901;
    font-weight: bold;
    margin-top: 6px;
}
.cart-item .cart-qty {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.cart-item .cart-qty button {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    border-radius: 4px;
}
.cart-item .cart-qty input {
    width: 40px;
    height: 28px;
    text-align: center;
    border: 1px solid #ddd;
    margin: 0 4px;
    font-size: 13px;
    border-radius: 4px;
}

.cart-footer {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 640px;
    height: 50px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    padding: 0 12px;
    z-index: 99;
}
.cart-footer .total-price {
    flex: 1;
    font-size: 14px;
}
.cart-footer .total-price em {
    color: #ff8901;
    font-size: 18px;
    font-weight: bold;
}
.cart-footer .btn-pay {
    background: #ff8901;
    color: #fff;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
}

/* User Center */
.user-header {
    background: linear-gradient(135deg, #ff8901, #ff6b00);
    padding: 25px 15px;
    text-align: center;
    color: #fff;
}
.user-header .avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.5);
    margin: 0 auto 10px;
    overflow: hidden;
    background: rgba(255,255,255,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}
.user-header .avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-header .nickname {
    font-size: 16px;
    margin-bottom: 4px;
}
.user-header .balance {
    font-size: 13px;
    opacity: .9;
}
.user-header .balance em {
    font-size: 20px;
    font-weight: bold;
}
.user-menu {
    background: #fff;
    margin-top: 10px;
}
.user-menu .menu-item {
    display: flex;
    align-items: center;
    padding: 14px 15px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}
.user-menu .menu-item .menu-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    font-size: 20px;
    text-align: center;
    color: #ff8901;
}
.user-menu .menu-item .menu-arrow {
    margin-left: auto;
    color: #ccc;
    font-size: 14px;
}

.user-grid {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    margin-top: 10px;
    padding: 10px 0;
}
.user-grid a {
    width: 25%;
    text-align: center;
    padding: 12px 0;
    font-size: 12px;
    color: #666;
}
.user-grid a .grid-icon {
    font-size: 24px;
    margin-bottom: 4px;
    color: #ff8901;
}

/* Product Detail */
.detail-swiper {
    width: 100%;
    height: 300px;
    background: #fff;
}
.detail-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}
.detail-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.detail-info {
    background: #fff;
    padding: 15px;
}
.detail-info .detail-name {
    font-size: 16px;
    color: #333;
    line-height: 22px;
}
.detail-info .detail-price {
    font-size: 22px;
    color: #ff8901;
    font-weight: bold;
    margin: 10px 0;
}
.detail-info .detail-progress {
    font-size: 12px;
    color: #666;
}
.detail-info .detail-progress span {
    color: #ff8901;
}

.detail-buy {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 640px;
    height: 50px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    padding: 0 12px;
    z-index: 99;
}
.detail-buy .btn-cart {
    width: 44px;
    height: 44px;
    font-size: 24px;
    text-align: center;
    line-height: 44px;
    color: #ff8901;
}
.detail-buy .btn-join {
    flex: 1;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 18px;
    font-size: 14px;
    color: #fff;
    margin-left: 8px;
    border: none;
    cursor: pointer;
}
.detail-buy .btn-join.buy { background: #ff8901; }
.detail-buy .btn-join.cart { background: #ff6b00; }

/* Product Detail - Additional */
.detail-bottom {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 640px;
    height: 50px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    padding: 0 12px;
    z-index: 99;
}
.detail-bottom .btn-cart {
    width: 44px;
    height: 44px;
    font-size: 24px;
    text-align: center;
    line-height: 44px;
    color: #ff8901;
}
.detail-bottom .btn-join {
    flex: 1;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 18px;
    font-size: 14px;
    color: #fff;
    margin-left: 8px;
    border: none;
    cursor: pointer;
}
.detail-bottom .btn-join.buy { background: #ff8901; }
.detail-jdt {
    display: block;
    overflow: hidden;
    height: 6px;
    border-radius: 3px;
    background: #EFEEEE;
    margin: 8px 0;
}
.detail-jdt span {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: #ff8901;
}
.detail-progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}
.detail-winner {
    margin-top: 15px;
    padding: 12px;
    background: #fff8e1;
    border-radius: 8px;
}
.detail-winner .winner-label {
    font-size: 14px;
    color: #ff8901;
    font-weight: bold;
    margin-bottom: 8px;
}
.detail-winner .winner-info {
    font-size: 12px;
    color: #666;
    line-height: 22px;
}
.detail-winner .winner-info span {
    display: block;
}
.head-cart {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 20px;
}

/* User Center - Additional */
.user-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.5);
    margin: 0 auto 10px;
    overflow: hidden;
    background: rgba(255,255,255,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-name {
    font-size: 16px;
    margin-bottom: 4px;
}
.user-balance {
    font-size: 13px;
    opacity: .9;
}
.user-balance em {
    font-size: 20px;
    font-weight: bold;
}
.user-links {
    background: #fff;
    margin-top: 10px;
}
.user-links .link-item {
    display: flex;
    align-items: center;
    padding: 14px 15px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    color: #333;
}
.user-links .link-arrow {
    margin-left: auto;
    color: #ccc;
    font-size: 16px;
}
.btn-logout {
    display: block;
    width: 90%;
    margin: 20px auto;
    height: 44px;
    line-height: 44px;
    text-align: center;
    background: #ff8901;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 22px;
    cursor: pointer;
}

/* Cart - Additional */
.cart-list {
    background: #fff;
    padding-bottom: 60px;
}
.cart-check {
    width: 30px;
    flex-shrink: 0;
    text-align: center;
}
.cart-check input {
    width: 18px;
    height: 18px;
    accent-color: #ff8901;
}
.cart-all {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #333;
}
.cart-all input {
    width: 18px;
    height: 18px;
    accent-color: #ff8901;
    margin-right: 6px;
}
.cart-total {
    flex: 1;
    text-align: right;
    font-size: 14px;
    padding-right: 12px;
}
.cart-total em {
    color: #ff8901;
    font-size: 18px;
    font-weight: bold;
}
.btn-checkout {
    background: #ff8901;
    color: #fff;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
}

/* Glist - Additional */
.sort-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.sort-tabs a {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
    color: #666;
}
.sort-tabs a.active { color: #ff8901; }
.product-btn {
    background: #ff8901;
    color: #fff;
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 14px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.empty-state .empty-icon {
    font-size: 60px;
    margin-bottom: 15px;
    color: #ddd;
}
.empty-state p { font-size: 14px; margin-bottom: 20px; }
.empty-state .btn-go {
    display: inline-block;
    background: #ff8901;
    color: #fff;
    padding: 10px 30px;
    border-radius: 20px;
    font-size: 14px;
}

/* ============================
   Glist Page - Sidebar + Main
   左侧竖直分类 + 右侧列表
   ============================ */
.glist-wrap {
    display: flex;
    height: calc(100vh - 44px - 50px);
    height: calc(100dvh - 44px - 50px);
    overflow: hidden;
    background: #f4f4f4;
}

/* Left sidebar */
.glist-sidebar {
    width: 85px;
    flex-shrink: 0;
    background: #f8f8f8;
    border-right: 1px solid #eee;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
}
.glist-sidebar::-webkit-scrollbar { display: none; }
.glist-sidebar a {
    display: block;
    padding: 14px 6px;
    text-align: center;
    font-size: 12px;
    color: #666;
    border-left: 3px solid transparent;
    line-height: 1.4;
    word-break: break-all;
}
.glist-sidebar a.active {
    background: #fff;
    color: #ff8901;
    border-left-color: #ff8901;
    font-weight: bold;
}
.glist-sidebar a span {
    display: block;
    max-height: 34px;
    overflow: hidden;
}

/* Right main area */
.glist-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

/* Sub-category horizontal tabs */
.glist-subtabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-shrink: 0;
}
.glist-subtabs::-webkit-scrollbar { display: none; }
.glist-subtabs a {
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}
.glist-subtabs a.active {
    color: #ff8901;
    border-bottom: 2px solid #ff8901;
}

/* Sort bar */
.glist-sort {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}
.glist-sort a {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
    color: #666;
    position: relative;
}
.glist-sort a.active {
    color: #ff8901;
    font-weight: bold;
}
.glist-sort a small {
    font-size: 10px;
    margin-left: 2px;
}

/* Product list in glist */
.glist-products {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px;
    background: #fff;
}
.glist-products .product-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.glist-products .product-item:last-child { border-bottom: none; }
.glist-products .product-img {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}
.glist-products .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.glist-products .product-info {
    flex: 1;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.glist-products .product-name {
    font-size: 13px;
    color: #333;
    line-height: 18px;
    height: 36px;
    overflow: hidden;
    display: block;
}
.glist-products .product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.glist-products .product-price {
    font-size: 15px;
    color: #ff8901;
    font-weight: bold;
}