.top-content {
    background-color: #6D388B;
    overflow-x: hidden;
    max-width: 100%;
}

.horizontal-ticker__container {
    font-size: 1.6rem;
    color: white;
    display: flex;
    width: fit-content;
    align-items: center;
    animation: horTicker 50s linear infinite forwards;
    column-gap: 100px;
}

@keyframes horTicker {
    100% {
        transform: translate(-50%);
    }
}

.horizontal-ticker__item {
    margin: 0;
    color: white;
    padding: 15px 0;
    line-height: 1;
    white-space: nowrap;
}

.top-2 {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    border-top: .5px solid rgba(255, 255, 255, .5)
}

.top-menu {
    padding: 17px 10px;
    border-bottom: .5px solid rgba(18, 18, 18, .08);
}

.menu-logo-font {
    font-size: 2.8rem;
    color: #6EAFD8;
    text-transform: lowercase;
    /* 保持小写 */
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

/* 样式: 去除默认下划线和调整白色背景 */
.menu-link {
    text-decoration: none;
    color: black;
    padding: 8px 12px;
    display: inline-block;
}

/* 鼠标悬停变紫色 */
.menu-link:hover {
    color: purple;
}


.banner-right-content{
    flex:1;
}




.banner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.active-banner {
    object-fit: contain;
}

.bottom-banner {
    width:100%;
    /* 5个缩略图的宽度 */
    overflow-x: hidden;
    position: relative;
}

.thumbnails-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.thumbnails-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}
.attr-goods{
    cursor: pointer;
    display: flex;
    font-size:18px;
    font-weight: bold;
    justify-content: space-between;
    border:2px solid rgba(109, 56, 139,.5);
    padding:15px 25px;
    border-radius: 10px;
    margin-bottom:8px;
}
.button-checkout{
    border: 2px solid transparent;  
    width: 100%;  
    padding: 12px 0;  
    border-radius: 8px;  
    cursor: pointer;  
    margin-bottom:10px;
}
.btn1 {  
    background-color: rgba(109, 56, 139, 1);  
    color: white;  
    position: relative;  
    overflow: hidden;  
    transition: all 0.3s ease;  
    z-index: 1;  
  }  
  
  .btn1::before,  
  .btn1::after {  
    content: "";  
    position: absolute;  
    top: 0;  
    bottom: 0;  
    width: 50%;  
    background-color: rgba(109, 56, 139, 1);  
    transition: all 0.3s ease;  
    z-index: -1; /* 背景在文字后面，保证文字不遮挡 */  
  }  
  
  .btn1::before {  
    left:1px;  
    transform-origin: right;  
  }  
  
  .btn1::after {  
    right:1px;  
    transform-origin: left;  
  }  
  
  .btn1:hover {  
    background-color: white; 
    color: rgba(109, 56, 139, 1);  
    border: 2px solid rgba(109, 56, 139, 1);  
  }  
  
  .btn1:hover::before {  
    transform: scaleX(0);
  }  
  
  .btn1:hover::after {  
    transform: scaleX(0);
  }  
  .btn2{
    background-color: #ffc439;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .btn3{
    color:rgba(109, 56, 139);
    font-weight: 700;
    background-color: white;
    border:2px solid rgba(109, 56, 139);
  }
.footer-content{
    background-color: #6D388B;
    color:white;
}
@media (max-width: 1023px) {
    .active-banner {
        width:100%;
    }
    .mask-phone-btn{
        width:130px !important;
    }
    .mask-phone-font-btn{
        font-size:12px;
    }
    .bottom-content{
        display: flex;
        width:100%;
        justify-content: space-between;
        box-sizing: border-box;
    }
    .mask-title{
        display: none;
    }
    .mask-select{
        display: none;
    }
    .footer-content-1{
        padding:20px 15px;
    }
    .footer-middle-url{
        margin-top:40px;
    }
    .footer-logo{
        display: flex;
        justify-content: center;
        margin-top:20px;
        margin-bottom:50px;
    }
    .goods-title{
        font-size:28px;
    }
    .banner-right-content{
        padding:10px 15px;
    }
    .pc-menu {
        display: none;
    }

    .middle-banner {
        width: 100%;
    }

    .bottom-banner-content {
        display: none;
    }

.dots {
    position: absolute;
    bottom:20px;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 12px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #000;
    transform: scale(1.4);
}

.dot:hover {
    background-color: #888;
}
    .banner-container{
        position: relative;
    }
}
@media (min-width: 1024px) {
    .banner-container{
        max-height:720px;
    }
    .active-banner {
        width:82%;
    }
    .mask-select-pc{
        display: none;
    }
    .bottom-content{
        width: 1024px;
        margin:auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .footer-content-1{
        padding-top:50px;
        display: flex;
        max-width:1024px;
        margin:0 auto;
        justify-content: space-between;
    }
    .emails{
        width:400px;
    }
    .menu-logo-left {
        display: flex;
    }

    .menu-logo-left-phone {
        display: none;
    }

    .middle-banner {
        display: flex;
        max-width: 1440px;
        margin: 40px auto;
    }

    .img-banner {
        width:60%;
        margin-right: 50px;
    }

    .active-banner {
        border-radius: 20px;
    }

    .bottom-banner-content {
        display: flex;
        align-items: center;
        justify-content: center;
        width:75%;
        margin:15px auto;
    }

    .dots {
        display: none;
    }
    .goods-title{
        font-size:40px;
    }
}
.footer-content-2{
    width:100%;
    padding:50px 0;
    margin-top:50px;
    border-top:1px solid rgba(255, 255, 255, .3)
}
.error-mask {
    top: 50%;
    left: 50%;
    position: fixed;
    display: none;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    color: white;
    transform: translate(-50%, -50%);  /* 使元素完全居中 */
}
.menu-mask-content {  
    position: fixed;  
    top: 0;  
    left: 0;  
    width: 100%; /* 全屏遮罩 */  
    height: 100vh;  
    background-color: rgba(0,0,0,.3);  
    transform: translateX(-100%);  
    transition: transform 0.3s ease, opacity 0.3s ease;  
    z-index: 9999;  
    opacity: 0;  
    pointer-events: none;  
    /* 初始化隐藏 */  
}  

.menu-mask-content.show {  
    transform: translateX(0);  
    opacity: 1;  
    pointer-events: auto;  
}  

/* 内容区域 */  
.menu-content {  
    position: absolute;  
    top: 0;  
    left: 0;  
    height: 100%;  
    width: 90%; /* 根据需要调整宽度，也可以用固定宽度 */  
    background-color: white;  
    transform: translateX(-100%);  
    transition: transform 0.3s ease;  
}  

/* 当遮罩展开时，内容滑入 */  
.menu-mask-content.show .menu-content {  
    transform: translateX(0);  
}  
/* 在显示遮罩层时，禁用滚动条 */  
body.no-scroll {  
    overflow: hidden;  
} 
.bottom-mask-content {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 999999;
  }
  .bottom-mask-content.visible {
    transform: translateY(0);
  }
  .mask-scroll-top{
    position: fixed;
    top:-60px;
    right:30px;
    cursor: pointer;
    background-color: rgb(109, 56, 139);
    box-shadow: .1rem .1rem 1rem #0000004d;
    width: 3rem;
    height: 3rem;
    color:white;
    justify-content: center;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: none;
    border-radius: 50%;
  }
  .attr-goods{
    position: relative;
  }
  .goods-tag{
    position: absolute;
    top:-10px;
    right:-10px;
    color:white;
    background-color:rgb(109, 56, 139);
    padding:3px 10px;
    border-radius: 5px;
    transform: rotate(3deg);
    font-size:13px;
  }

  .scroll-item{
    border: 2px solid rgba(109, 56, 139, 0.3);
    transition: 0.3s;
    padding:10px 17.5px;
    border-radius: 10px;
    margin-bottom: 8px;
    background: transparent;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    margin-right:8px;
  }
  .scroll-item:hover{
    background: rgba(109, 56, 139, 0.1);
  }
  .scroll-container{
    display: flex;
    width:100%;
    flex-wrap: wrap;
  }
  .active-attr{
    border: 2px solid rgb(109, 56, 139);
    background: rgba(109, 56, 139, 0.1);
  }