body, html {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f5;
}

.container {
    max-width: 750px; 
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.header {
    background-color: #ff4400; 
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
}

.content {
    width: 100%;
}

.main-image {
    width: 100%;
    display: block;
    height: auto;
}

/* 价格和促销区域 */
.price-promo-container {
    display: flex;
    height: 80px; /* 60px -> 80px */
}

.price-section {
    flex: 2;
    background-color: #c40000; /* 深红色 */
    color: white;
    display: flex;
    align-items: center;
    padding: 0 10px;
    position: relative;
}

.main-price {
    font-size: 40px;
    font-weight: bold;
    margin-right: 10px;
}

.main-price .currency {
    font-size: 26px;
}

.sub-price-info {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.original-price {
    color: #ffcccc;
}

.sold-count {
    color: #fff;
    margin-top: 2px;
}

.countdown-section {
    flex: 1.5;
    background-color: #fff700; /* 亮黄色 */
    color: #d0021b; /* 红色文字 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5px;
}

.countdown-title {
    font-size: 14px;
    margin-bottom: 4px;
}

.countdown-timer {
    font-size: 14px;
    font-weight: bold;
}

.countdown-timer span {
    color: #d0021b;
    font-weight: bold;
    margin: 0 1px;
}

/* 产品信息 */
.product-info {
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.product-title {
    font-size: 22px;
    margin: 0 0 12px 0;
    font-weight: normal;
    color: #333;
}

.product-desc {
    font-size: 16px;
    color: #d0021b; /* 红色高亮 */
    margin: 0;
    line-height: 1.6;
}

/* 服务标签 */
.service-tags {
    padding: 15px 20px;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #eee;
}

.tag-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.tag-row:last-child {
    margin-bottom: 0;
}

.tag-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border: 1px solid #c40000;
    color: #c40000;
    margin-right: 8px;
    font-size: 12px;
}

.tag-icon.red-inverse {
    background-color: #c40000;
    color: white;
}

/* 购买按钮 */
.buy-button-container {
    padding: 20px 15px;
    text-align: center;
    background-color: #fff;
}

.buy-button {
    width: 100%;
    background-color: #c40000;
    color: white;
    border: none;
    padding: 15px 0;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

/* 新增：活动描述和产品简介 */
.section-block {
    background-color: #f2f2f2; /* 浅米色背景 */
    margin-top: 10px;
    padding-bottom: 15px;
}

.section-title {
    font-size: 18px;
    color: #6d563d; /* 棕褐色 */
    font-weight: bold;
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.section-content {
    padding: 10px 15px;
    font-size: 20px;
    color: #c40000; /* 深红色文字 */
    line-height: 1.8;
}

.section-content p {
    margin: 5px 0;
}

.detail-img {
    width: 100%;
    display: block;
    height: auto;
}

/* Order Form */
.order-section {
    margin-top: 15px;
    background-color: #f2f2f2;
    padding-bottom: 20px;
}

.order-title {
    background-color: #ff6666; 
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
}

.order-form {
    padding: 15px;
}

.form-row {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.form-label {
    width: 60px; 
    text-align: right;
    margin-right: 10px;
    font-size: 14px;
    color: #333;
    white-space: nowrap; 
}

.required {
    color: red;
    margin-right: 2px;
}

.product-options {
    flex: 1;
}

.product-option {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    line-height: 1.5;
}

.product-option.selected {
    background-color: #ff6666;
    color: white;
    border-color: #ff6666;
}

.check-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
}

.form-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 100%; 
    box-sizing: border-box;
}

.address-selects {
    flex: 1;
    display: flex;
    gap: 5px;
}

.address-selects select {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.price-display {
    font-size: 18px;
    color: #333;
    display: flex;
    align-items: center;
}

#totalAmount {
    color: #ff4400;
    font-size: 24px;
    font-weight: bold;
    border: 1px solid #ccc;
    padding: 5px;
    width: 80px;
    text-align: center;
    margin-right: 5px;
    background-color: white;
}

.payment-option {
    display: flex;
    align-items: center;
}

.payment-option input[type="radio"] {
    margin-right: 10px;
}

.payment-icon {
    height: 20px; 
    vertical-align: middle;
}

.submit-container {
    margin-top: 20px;
    text-align: center;
}

.submit-btn {
    background-color: #ff4400;
    color: white;
    border: none;
    padding: 10px 40px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    width: 80%;
}

.footer-tip {
    margin: 10px 15px;
    border: 1px solid #ffcccc;
    background-color: #f2f2f2;
    padding: 10px;
    color: #cc0000;
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
}

.site-footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
    background-color: #fff;
}

.address-selects {
    width: 100%;
    min-width: 0; 
}

.address-selects select {
    width: 0; 
    min-width: 0;
    padding: 8px 2px; 
    text-overflow: ellipsis;
}

.form-label {
    width: 60px !important; 
    white-space: nowrap;
}
