.wrapper_show {
    display: flex !important;
}

.wrapper_hidden {
    display: none;
}

.wrapper_show,
.wrapper_hidden {
    overflow: hidden;
    position: relative;
    flex-wrap: nowrap;
    /*column-gap: 26px;*/
    row-gap: 10px;
    padding: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.top_page_sticky {
    position: sticky;
    top: 0;
}

.top_page {
    z-index: 101;
}

.bottom_page {
    z-index: 101;
    bottom: 0;
    left: 0;
    position: fixed;
    width: 100%;
}

.content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    overflow: hidden;
    /*gap: 26px;*/
}

.titles_outside {
    overflow: hidden;
    position: relative;
    margin-left: 10px;
}

.titles_outside_static {
    width: auto;
    padding: 0;
}

.titles_outside_rotating,
.titles_outside_scrolling {
    width: 100%;
    /*padding: 0 20px;*/
}


.slider_container {
    margin: 0;
    align-items: center;
}

/* 轮播外层容器 */
.carousel {
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

/* 包裹所有轮播项 */
.carousel-items {
    display: flex;
    margin: 0;
    padding: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* 加速感：使用贝塞尔曲线 */
}

/* 单个轮播项 */
.carousel-item {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: #ddd;*/
    /*padding: 20px;*/
    /*padding-top: 10px;*/
    white-space: nowrap;
    /*font-size: 24px;*/
    box-sizing: border-box;
    user-select: none; /* 禁止文字选中，防止拖拽选中问题 */
}


.rotating_glide_arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    pointer-events: none; /* 避免遮挡内容 */
}

.rotating_glide_arrows_prev,
.rotating_glide_arrows_next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all; /* 恢复点击 */
}

.rotating_glide_arrows_prev {
    left: -20px;
}

.rotating_glide_arrows_next {
    right: -20px;
}


.title {
    font-weight: bold;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    /*white-space: pre-wrap;*/
    white-space: nowrap; /* 不换行 */
    overflow: hidden; /* 超出隐藏 */
    text-overflow: ellipsis; /* 超出用省略号表示 */
}

.subheading {
    font-size: 14px;
    color: #9f9daa;
    line-height: 1.2;
    letter-spacing: normal;
    padding: 0;
    margin: 0;
}


.cta_wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    margin-left: 26px;
}

.coupon_code_button {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    background: none;
    white-space: nowrap;
    padding: 6px 14px;
    line-height: 1.5;
    gap: 10px;
    font-weight: 600;
    /*margin-right: 26px;*/
}

.icon {
    height: 100%;
    display: flex;
    align-items: center;
    width: 24px;
    object-fit: contain;
    flex-shrink: 0
}

/* 公共基础样式 */
.coupon_code_button_icon,
.coupon_code_button_icon_checked {
    height: 14px;
    width: 14px;
    display: flex;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-mask-size: 12px;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-size: 12px;
    mask-repeat: no-repeat;
    mask-position: center;
}


.cta {
    display: block;
    cursor: pointer;
    text-decoration: none;
    border: 0;
    white-space: nowrap;
    padding: 8px 16px;
    line-height: 1.5;
    /*margin-left: 26px;*/
}


.close_button {
    display: block;
    border: none;
    background: none;
    cursor: pointer;
    margin-left: 26px;
}

.close_button svg {
    width: 12px;
    height: 12px;
    display: block;
}


/* 跑马灯容器样式 */
.marquee {
    width: 100%; /* 确保跑马灯容器宽度为父级容器的 100% */
    overflow: hidden; /* 隐藏溢出的部分 */
    display: flex; /* 使用 flexbox 布局 */
    align-items: center; /* 垂直居中对齐内容 */
    position: relative; /* 确保子元素能够相对定位 */
}


/* 跑马灯滚动动画 */
@keyframes marquee {
    0% {
        transform: translateX(100%); /* 从右边开始 */
    }
    100% {
        transform: translateX(-100%); /* 滚动到左边 */
    }
}



