.discount-banner {
    position: fixed;
    top: 20px; /* 初始位置 */
    left: 20px; /* 初始位置 */
    transform: translateX(-50%);
    background: rgba(255, 99, 71, 0.9);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    overflow: hidden; /* 避免内容超出时影响大小 */
    max-width: calc(20ch + 20px); /* 限制宽度为 20 个字符（ch）+ padding */
    max-width: 80%; /* 最大宽度 */
    text-align: center;
    transition: all 0.3s ease; /* 动画过渡效果 */
}

.discount-banner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.discount-banner-header h2 {
    margin: 0;
    font-size: 1.2rem;
}

.discount-banner-content {
    display: none;
    padding: 10px 20px;
    font-size: 1rem;
    opacity: 0; /* 初始透明度为 0 */
    max-width: calc(20ch + 20px); /* 限制宽度为 20 个字符（ch）+ padding */
    max-height: 0; /* 初始最大高度为 0 */
    transition: all 0.3s ease; /* 添加过渡动画 */
}
.discount-banner-content.show {
    opacity: 1; /* 展开后透明度为 1 */
    max-width: calc(20ch + 20px); /* 限制宽度为 20 个字符（ch）+ padding */
    max-height: 500px; /* 设置展开后的最大高度 */
}
.reservation-link {
    display: block;
    margin-top: 10px;
    color: #fff;
    text-decoration: underline;
}

#close-banner {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}
