/* mall.css - 自营商城页面专用样式 */
.mall-main {
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 80px; /* 防止底部导航栏遮挡内容 */
}
.mall-seckill-block {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(229,57,53,0.10);
    border: 1.5px solid #FFE0E0;
    margin: 20px 0;
    padding: 0 0 10px 0;
    overflow: hidden;
}
.mall-seckill {
    background: linear-gradient(90deg, #FF5252 0%, #E53935 100%);
    color: #fff;
    border-radius: 14px 14px 0 0;
    padding: 18px 16px 12px 16px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: none;
}
.mall-seckill-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
}
.mall-seckill-timer {
    font-size: 16px;
    font-weight: bold;
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 4px 12px;
    margin-left: 16px;
}
.mall-goods-waterfall {
    column-count: 2;
    column-gap: 16px;
    margin-top: 20px;
}
.mall-goods-item {
    break-inside: avoid;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.mall-goods-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.mall-goods-info {
    padding: 12px;
}
.mall-goods-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}
.mall-goods-price {
    color: #E53935;
    font-size: 16px;
    font-weight: bold;
}
.mall-btn-group {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 12px;
    margin: 16px 0 0 0;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: #E53935 #fff;
}
.mall-btn {
    background: #fff;
    color: #E53935;
    border: 1px solid #E53935;
    border-radius: 8px;
    padding: 6px 18px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex: 0 0 auto;
}
.mall-btn.active, .mall-btn:hover {
    background: #E53935;
    color: #fff;
}
/* 横向滚动条美化 */
.mall-btn-group::-webkit-scrollbar {
    height: 4px;
}
.mall-btn-group::-webkit-scrollbar-thumb {
    background: #E53935;
    border-radius: 2px;
}
.mall-btn-group::-webkit-scrollbar-track {
    background: #fff;
}

/* 秒杀区商品横滑 */
.mall-seckill-products {
    display: block;
    margin-top: 0;
    border-radius: 0 0 14px 14px;
    background: none;
    padding: 12px 12px 4px 12px;
}
/* 秒杀区商品卡片新样式 */
.mall-seckill-product {
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(229,57,53,0.10);
    border: 1.5px solid #FFE0E0;
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
    min-height: 180px;
    height: 180px;
}
.mall-seckill-product-a {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    background: #fafafa;
    border-radius: 12px 0 0 12px;
    height: 100%;
    position: relative;
}
.mall-seckill-product-img-box {
    flex: 9;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
}
.mall-seckill-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    background: #fafafa;
}
.mall-seckill-product-timer-bar {
    flex: 1;
    width: 100%;
    background: #fff0f0;
    color: #e53935;
    font-size: 11px;
    text-align: center;
    padding: 2px 0 0 0;
    border-radius: 0 0 0 12px;
    font-weight: 600;
    margin: 0;
    line-height: 1.6;
}
.mall-seckill-product-b {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    padding: 0;
    height: 100%;
    min-width: 0;
}
.mall-seckill-product-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 2px;
}
.mall-seckill-tag {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
}
.mall-seckill-tag.red {
    background: #e53935;
    color: #fff;
}
.mall-seckill-tag.orange {
    background: #ff9900;
    color: #fff;
}
.mall-seckill-product-title {
    font-size: 15px;
    font-weight: bold;
    color: #222;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 3.5em;
    max-height: 4.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.mall-seckill-progress-bar-wrap {
    margin: 4px 0 2px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mall-seckill-progress-bar {
    flex: 1;
    height: 14px;
    background: #ffe0e0;
    border-radius: 7px;
    overflow: hidden;
    position: relative;
    min-width: 60px;
    max-width: 120px;
}
.mall-seckill-progress {
    height: 100%;
    background: linear-gradient(90deg, #ff5252 0%, #e53935 100%);
    border-radius: 7px;
}
.mall-seckill-progress-text {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    font-size: 12px;
    color: #fff;
    font-weight: 600;
    width: 100%;
    text-align: center;
    line-height: 14px;
}
.mall-seckill-progress-remaining {
    font-size: 12px;
    color: #aaa;
    margin-left: 8px;
    white-space: nowrap;
}
.mall-seckill-limit {
    display: inline-block;
    background: #e53935;
    color: #fff;
    font-size: 12px;
    border-radius: 6px;
    padding: 2px 10px;
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
    box-shadow: 0 1px 4px rgba(229,57,53,0.08);
}
.mall-seckill-product-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
}
.mall-seckill-product-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 12px;
}
.mall-seckill-product-original {
    font-size: 12px;
    color: #aaa;
    text-decoration: line-through;
    margin-bottom: 0;
    display: block;
}
.mall-seckill-product-price-wrap {
    display: flex;
    align-items: flex-end;
    gap: 0;
}
.mall-seckill-product-price-label {
    color: #e53935;
    font-size: 22px;
    font-weight: 700;
    margin-right: 0;
    margin-left: 0;
    line-height: 1;
    letter-spacing: 0;
}
.mall-seckill-product-price {
    color: #e53935;
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
}
.mall-seckill-buy-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    background: #e53935;
    color: #fff;
    border: none;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 700;
    min-width: 64px;
    height: 54px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(229,57,53,0.10);
    z-index: 2;
    margin: 0;
}
.mall-seckill-buy-btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    height: 100%;
    width: 100%;
    padding-right: 0;
    text-align: center;
}
.mall-seckill-buy-btn-main {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.mall-seckill-buy-btn-sub {
    font-size: 15px;
    color: #fff;
    opacity: 1;
}
.header-title.mall-header {
    color: #fff;
    background: linear-gradient(90deg, #FF5252 0%, #E53935 100%);
    border-radius: 0 0 18px 18px;
    padding: 18px 0;
}
.header-title {
    padding-left: 0 !important;
    padding-right: 0 !important;
} 