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

body {
    background-color: #fff;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
}

.container {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

.pb-mobile {
    padding-bottom: 100px; /* 增加底部留白，防止被悬浮按钮遮挡 */
}

/* 顶部图片样式 */
.product-image-container {
    width: 100%;
    /* 移除固定高度限制，让图片自然撑开 */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 0;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: auto;
    display: block; /* 移除图片底部的间隙 */
    object-fit: contain;
    border-radius: 0;
}

/* 支付信息区 */
.payment-info-box {
    width: 100%;
    background: #f9f9f9;
    border: 2px solid #eee;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.product-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff4757;
}

.product-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* 自动发货提示样式 */
.auto-shipment {
    background: #e8f5e9;
    border: 1px solid #4CAF50;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 0.95rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auto-shipment i {
    color: #4CAF50;
}

.benefits-container {
    margin-bottom: 15px;
}

.benefits-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.benefits-list {
    list-style-type: none;
    padding-left: 0;
}

.benefits-list li {
    margin-bottom: 8px;
    color: #555;
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.4;
}

.benefits-list li i {
    color: #4CAF50;
    margin-right: 8px;
    margin-top: 3px;
    flex-shrink: 0;
}

.btn-wechat {
    background: #09bb07;
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 25px;
    transition: all 0.3s;
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-wechat:hover {
    background: #08a306;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(9, 187, 7, 0.2);
}

.tip-text {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
}

/* 加载动画 */
.payment-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    text-align: center;
}

.payment-loading p {
    color: #666;
    font-size: 1.1rem;
}

/* 全局悬浮支付按钮 */
.mobile-fixed-pay {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 20px;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 1px solid #eee;
}

.mobile-pay-btn {
    background: #09bb07;
    color: white;
    border: none;
    padding: 16px;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 30px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(9, 187, 7, 0.3);
    transition: all 0.3s ease;
}

.mobile-pay-btn:hover {
    background: #08a306;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(9, 187, 7, 0.4);
}

.mobile-pay-btn:active {
    background: #08a306;
    transform: scale(0.98);
}