* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f8f9fa;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #333;
    line-height: 1.5;
}

/* 轮播图样式 */
.swiper-container {
    width: 100%;
    height: 375px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.4s ease;
}

.swiper-slide {
    flex: 0 0 100%;
    height: 375px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.swiper-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    transition: all 0.3s;
}

.swiper-dot.active {
    background: #0052D4;
    width: 20px;
    border-radius: 4px;
}

/* 商品信息 */
.product-info {
    padding: 20px;
    background: white;
    border-radius: 0 0 20px 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.product-title {
    font-size: 20px;
    color: #222;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 600;
}

.promotion-tag {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(90deg, #0052D4 0%, #4364F7 100%);
    color: white;
    border-radius: 15px;
    font-size: 12px;
    margin-right: 10px;
    font-weight: 500;
}

.promotion-text {
    font-size: 14px;
    color: #0052D4;
    margin: 10px 0;
    font-weight: 500;
}

/* 拼单列表 */
.group-list {
    margin: 15px;
    background: white;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.group-item:last-child {
    border-bottom: none;
}

.empty-tips {
    text-align: center;
    padding: 30px 0;
    color: #666;
}

.tips-content {
    background-color: rgba(67, 100, 247, 0.1);
    padding: 15px;
    border-radius: 15px;
    font-size: 15px;
    color: #0052D4;
}

.user-info {
    font-size: 15px;
    color: #222;
    font-weight: 500;
}

.group-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
    margin-top: 6px;
}

.countdown {
    color: #0052D4;
    font-weight: bold;
}

.right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.group-btn {
    background: linear-gradient(90deg, #0052D4 0%, #4364F7 100%);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(67, 100, 247, 0.3);
    transition: all 0.3s ease;
}

.group-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(67, 100, 247, 0.4);
}

/* 价格区域 */
.area {
    padding: 30px;
}

/* 底部操作栏 */
.action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 15px;
    display: flex;
    gap: 12px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    border-top: 1px solid #f0f0f0;
}

.action-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-alone, .group-buy {
    background: linear-gradient(90deg, #0052D4 0%, #4364F7 100%);
    color: white;
    box-shadow: 0 4px 10px rgba(67, 100, 247, 0.3);
}

.buy-alone:hover, .group-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(67, 100, 247, 0.4);
}

.order-list-btn, .test-callback-btn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.order-list-btn:hover, .test-callback-btn:hover {
    background: #f0f0f0;
}

/* 支付确认弹窗 */
.payment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.payment-modal {
    background: white;
    padding: 25px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.payment-modal h3 {
    font-size: 18px;
    color: #222;
    margin-bottom: 15px;
    text-align: center;
}

.payment-modal p {
    margin: 10px 0;
    font-size: 15px;
    color: #444;
}

.copyable {
    color: #0052D4;
    text-decoration: underline;
    cursor: pointer;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.confirm-btn, .cancel-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-btn {
    background: linear-gradient(90deg, #0052D4 0%, #4364F7 100%);
    color: white;
}

.cancel-btn {
    background: #f0f0f0;
    color: #333;
}