body {
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    padding-bottom: 80px; /* 底部栏高度 */
}
[v-cloak] {
    display: none;
}
.banner {
    position: relative;
    background: #b71c1c;
    color: #fff;
    text-align: center;
    /* padding: 40px 20px;  Remove padding to fit image */
}
.banner img {
    width: 100%;
    display: block;
}
.banner-placeholder {
    display: none; /* Hide placeholder */
}
.countdown-overlay {
    position: absolute;
    bottom: 10px; /* Adjust position */
    right: 10px;
    background: #ff9800;
    padding: 5px 15px;
    border-radius: 20px;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}
.time-box {
    background: #333;
    color: #fff;
    padding: 2px 4px;
    border-radius: 4px;
    font-family: monospace;
}
.price-section {
    background: #fff;
    padding: 10px 15px 15px;
    margin-bottom: 10px;
}
.price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}
.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
}
.coupon-tag {
    background: #d32f2f;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 16px;
     font-weight: bold;
}
.main-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}
.tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.tag {
    border: 1px solid #d32f2f;
    color: #d32f2f;
    font-size: 12px;
    padding: 1px 5px;
    border-radius: 2px;
}
.details-section {
    background: #fff;
    padding: 0; /* Remove padding */
    text-align: center;
}
.details-section img {
    width: 100%;
    display: block;
    vertical-align: top;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 0; /* Add padding back to header */
    color: #b71c1c;
    font-weight: bold;
}
.line {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 20px;
}
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    display: flex;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 50;
}
.icon-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
    border-top: 1px solid #eee;
    cursor: pointer;
    text-decoration: none;
}
.icon {
    font-size: 20px;
    margin-bottom: 2px;
}
.action-btn {
    flex: 2.5;
    background: linear-gradient(to right, #ff9800, #f44336);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.btn-price {
    font-size: 12px;
    opacity: 0.9;
}
.btn-text {
    font-size: 18px;
    font-weight: bold;
}

/* 弹窗样式修改：底部滑出 */
.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* 底部对齐 */
}
.modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 16px 16px 0 0; /* 上方圆角 */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    animation: slideUp 0.3s ease-out;
    position: relative;
    max-height: 80vh; /* 防止内容过多溢出屏幕 */
    overflow-y: auto;
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}
.form-item {
    margin-bottom: 15px;
}
.form-item label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}
.form-item input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}
.form-note {
    font-size: 12px;
    color: #f44336;
    margin-bottom: 20px;
}
.form-actions {
    display: flex;
    gap: 10px;
}
.cancel-btn, .submit-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}
.cancel-btn {
    background: #f5f5f5;
    color: #666;
}
.submit-btn {
    background: #f44336;
    color: #fff;
}

/* 微信导入按钮样式 */
.wechat-btn {
    background-color: #07c160;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    width: 100%;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}
.wechat-btn:active {
    opacity: 0.9;
}

/* Clock / Countdown Section Styles */
.clock {
    position: relative;
    height: 70px;
    background: #fff;
    overflow: hidden;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.kans-pic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.clock-hd {
    position: relative;
    z-index: 2;
    color: red;
    font-weight: bold;
    font-size: 28px;
    padding-left: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.kans-clock {
    position: relative;
    z-index: 2;
    padding-right: 15px;
    display: flex;
    align-items: center;
}
.timer {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: bold;
    gap: 4px;
    margin-top: 25px;
}
.timer .time-box {
    background: #333;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
}

.sku-tag-focus {
    display: inline-block;
    vertical-align: top;
    margin-top: .18rem;
    margin-right: .13rem;
    border-radius: .23rem;
    padding-left: .27rem;
    padding-right: .27rem;
    font-size: .59rem;
    height: 1.3rem;
    line-height: 1.4rem;
    color: #ffec99;
    background-color: #26293f;
}

.side-phone-btn {
    position: fixed;
    right: 15px;
    bottom: 120px;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 99;
    text-decoration: none;
    color: #333;
    border: 1px solid #eee;
}
