/* 重置样式 */
:root {
    --one: #00bcf2;
    --two: #d1f0ff;
    --three: #f0f9ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
}

@media (max-width: 767px) {
   body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
}
}

ul{
    margin: 0;
    padding: 0;
}
img{
    width: 100%;
    height: auto;
}
p{
    margin-bottom: 0!important;
}
a{
    text-decoration: none;
}
a:hover {
    color: var(--one);
}

.container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
}
.np{
    padding: 0!important;
}
.layui-btn{
    background-color: var(--one);
}

.layui-form-checkbox[lay-skin=primary]:hover>i {
    border-color: var(--one);
    color: #fff
}

.layui-form-checked[lay-skin=primary]>i {
    border-color:var(--one);
    background-color: var(--one);
    color: #fff
}

.layui-form-radio:hover>*,.layui-form-radioed,.layui-form-radioed>i {
    color: var(--one);
}

.layui-form-radio {
    margin: 6px 0px 0 0;
}

.layui-laydate .layui-this,.layui-laydate .layui-this>div {
    background-color: var(--one)!important;
    color: #fff!important
}
.layui-laydate-footer span{
     color: var(--one)!important;
}
.layui-laydate-footer span:hover {
    color: var(--one)!important;
}




/* 手机导航样式 */
.mobile-header {
    display: none;
    background-color: #fff;
    color: #fff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.mobile-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* margin-bottom: 10px; */
}

.mobile-menu-btn {
    flex: 1;
    font-size: 30px;
    cursor: pointer;
    color: var(--one);
}
.fa-bars{
    margin-left: 15px;
}
.mobile-logo {
    flex: 1;
    text-align: center;
}
.mobile-logo img {
    height: 45px;
}

.mobile-search {
    width: 100%;
    display:none;
    padding: 15px
}
@media (max-width: 767px) {
    .mobile-search {
        display: block;
    }
}

.mobile-search .search-box {
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    /* background-color: #f2f2f2; */
    margin-right: 0px;
}

.mobile-search .search-icon {
    padding: 0 10px;
    color: #999;
}

.mobile-search .search-input {
    width: 100%;
    height: 35px;
    padding: 0 10px;
    border: none;
    outline: none;
    flex: 1;
    /* background-color: #f2f2f2; */
    font-size: 16px;
}

.mobile-search .search-btn {
    height: 35px;
    padding: 0 15px;
     /* background-color: #f2f2f2; */
    color: #333;
    border: none;
    cursor: pointer;
}

.mobile-search .layui-form-select {
    width: 100%;
    margin-bottom: 10px;
}

.mobile-search .layui-form-select .layui-select-title {
    height: 37px;
    line-height: 37px;
    border: 1px solid #ddd;
    border-radius: 20px;
}

.mobile-search .layui-form-select .layui-input {
    height: 35px;
    line-height: 35px;
    font-size: 14px;
    color: #333;
    padding-right: 30px;
    border-radius: 20px;
    border: none;
    outline: none;
}

.mobile-search .layui-form-select .layui-edge {
    right: 10px;
}

.mobile-search .layui-form-select.layui-form-selected .layui-select-title {
    border-color: var(--one);
    box-shadow: 0 0 0 2px rgba(0, 188, 242, 0.2);
}
.mobile-search .layui-form-select dl{
    border-radius: 20px;
}

.mobile-search .layui-form-select dl dd[data-level="1"] {
    font-weight: 600;
    color: var(--one);
    background-color: #e6f7ff;
    padding-left: 15px;
    border-left: 4px solid var(--one);
}

.mobile-search .layui-form-select dl dd[data-level="2"] {
    font-weight: 500;
    color: #333;
    background-color: #f5f5f5;
    padding-left: 30px;
    border-left: 4px solid #91d5ff;
}

.mobile-search .layui-form-select dl dd[data-level="3"] {
    font-weight: 400;
    color: #666;
    background-color: #fff;
    padding-left: 45px;
    border-left: 4px solid #e0e0e0;
}
.mobile-lang-select {
    flex: 1;
    text-align: right;
}

.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-toggle {
    background-color: var(--one);
    color: #fff;
    border: 1px solid var(--two);
    padding: 5px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.lang-dropdown-toggle:hover {
    background-color: rgba(0, 188, 242, 0.9);
    border-color: #fff;
}

.lang-dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.lang-dropdown.active .lang-dropdown-toggle i {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background-color: var(--one);
    border: 1px solid var(--two);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 100px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.lang-dropdown.active .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: fadeIn 0.3s ease;
    pointer-events: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-dropdown-item {
    text-align: center;
    display: block;
    padding: 5px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 2px;
}

.lang-dropdown-item:hover {
    background-color: var(--two);
    color: #333;
}

.lang-dropdown-item.active {
    background-color: var(--two);
    color: #333;
    font-weight: 600;
}

/* 左侧弹出菜单样式 */
.offcanvas {
    background-color: var(--one);
    color: white;
    width: 280px !important;
    border-radius: 0 15px 15px 0;
}

.offcanvas-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    justify-content: end;
}

.offcanvas-header .btn-close {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.offcanvas-header .btn-close i {
    font-size: 1.5rem;
    color: white;
}

.offcanvas-body {
    padding: 0;
}


.mobile-menu-content {
    padding: 20px;
}

.logout-link{
   padding: 7px;
    border-radius: 10px;
    color: #fff;
}

.user-login {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
        gap: 20px;

}

.user-avatar {
    
}

.user-avatar i {
    font-size: 50px;
    color: white;
}

.login-text a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 10px;
}

.mobile-nav-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.mobile-nav-menu i:first-child {
    margin-right: 15px;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.mobile-nav-menu i:last-child {
    font-size: 14px;
    opacity: 0.7;
}

.mobile-nav-menu span {
    flex: 1;
    font-size: 15px;
}

/* 头部样式 */
.header {
    background-color: var(--one);
    padding: 15px 0;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left .logo img {
    height: 45px;
}

.main-nav .nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin: 0 5px;
}

.nav-menu li a {
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
}
.nav-menu li a:hover {
    background-color: hsla(0, 0%, 100%, .3);
}

.nav-active {
    background-color: hsla(0, 0%, 100%, .3);
}
.header-right {
    display: flex;
    align-items: center;
}

.search-box {
    display: flex;
    align-items: center;
    margin-right: 30px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #ddd;
    background-color: #fff;
}

.search-icon {
    padding: 0 10px;
    color: #999;
}

.search-input {
    width: 220px;
    height: 35px;
    padding: 0 10px;
    border: none;
    outline: none;
    flex: 1;
}

.search-btn {
    height: 35px;
    padding: 0 15px;
    background-color: #fff;
    color: #333;
    border: none;
    cursor: pointer;
}

.user-info {
    cursor: pointer;
    color: #fff;
}



.user-info span {
    margin: 0 5px;
}

.user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    /* cursor: pointer; */
    color: #fff;
    transition: all 0.3s ease;
}

.user-dropdown:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.user-dropdown .user-name {
    font-weight: bold;
    cursor: pointer;
}

.user-dropdown i {
    font-size: 12px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.user-dropdown:hover i {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    left: -60%;
    margin-top: 18px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-avatar {
    text-align: center;
    margin-bottom: 10px;
}

.user-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00bcf2;
}

.user-name-full {
    text-align: center;
    font-weight: bold;
    color: #333;
    font-size: 14px;
    margin-bottom: 5px;
}

.user-vip {
    text-align: center;
    color: #999;
    font-size: 12px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.user-menu-items {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.user-menu-items .menu-item {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    text-align: center;
}

.user-menu-items .menu-item:hover {
    background-color: #f0f9ff;
    color: #00bcf2;
}

.user-menu-items .menu-item.logout {
    color: #ff6b6b;
}

.user-menu-items .menu-item.logout:hover {
    background-color: #fff5f5;
}

/* 语言切换样式 */
.lang-switch {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.lang-item {
    padding: 5px 10px;
    margin: 0 5px;
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.lang-item:hover {
    background-color: hsla(0, 0%, 100%, .3);
    color: #fff;
}

.lang-item.active {
    background-color: #fff;
    color: var(--one);
    font-weight: 600;
}

/* 轮播图样式 */


.carousel {
    width: 100%;
    max-width: 1800px;
}

.carousel .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 新闻板块样式 */
.news-section {
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .15);
    padding: 20px 40px;
    margin: 20px auto;
    border-radius: 5px;
}

.news-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-left {
    display: flex;
    align-items: center;
}

.news-left img {
    width: 120px;
    margin-right: 10px;
}

.news-divider {
    width: 1px;
    height: 35px;
    background-color: #ddd;
    margin: 0 25px;
}



.news-link {
    text-decoration: none;
    color: #333;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    
}

.news-arrow {
    color: #999;
    text-decoration: none;
}


/* 内容板块样式 */
.content-section {
    margin: 20px 0;
}

.content-wrapper {
    display: flex;
    gap: 15px;
}

/* 左侧导航样式 */
.left-sidebar {
    width: 290px;
   
}


.accordion{
    background-color: #f2f2f2;
    border-radius: 8px;
    padding: 10px;
}
/* 调整Bootstrap手风琴样式 */

.accordion-button:hover {
    background-color: var(--three);
}

.accordion-button{
    padding: 0.5rem;
}

.sidebar-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}
.accordion-button2{
    padding: 1.2rem 2.5rem;
}
.accordion-item{
    border: none;
}
.accordion-button:not(.collapsed){
    color: #fff;
    background-color: var(--one);
    box-shadow: none;
}

/* 二级栏目选中状态 */
.accordion-body{
    padding: 0;
}

.accordion-body .accordion-button:not(.collapsed){
    color: #333;
    background-color: var(--two);
}

.accordion-button::after{
    background-size: 0.9rem;
    width: 0.9rem;
    height: 0.9rem;
   
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23909399' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    transform: rotate(-180deg);
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23909399' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-button:focus {
    box-shadow:none;
}

.nav-link{
    padding: 1.2rem 3rem;
    color:#333;
}
.nav-link:hover{
    color: #333;
    background-color: var(--three);
}
.nav-link:focus {
    background-color: var(--three);
    color: var(--one);
}
/* 右侧商品列表 */
.right-content {
    flex: 1;
}

/* 商品列表样式 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.product-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 0 0 1px #e0e0e0;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    min-height: 450px;
    justify-content: space-between;
    overflow: hidden;
}

.product-item:hover {
    box-shadow: 0 0 0 2px #00bcf2;
}



.product-image {
    width: 100%;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    
}

.product-item:hover .product-image {
    transform: scale(1.1);
   
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    text-align: left;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: #ff0000;
    margin: 0;
    cursor: pointer;
}

.product-price span {
    font-size: 16px;
    color: #333;
    margin-right: 5px;
   
}

.product-description {
    font-weight: 600;
    color: var(--one);
    margin-bottom: 10px;
    line-height: 1.4;
    flex-grow: 0;
    flex-shrink: 0;
}

/* 自动占据剩余空间，将底部元素推到底部 */
.product-item > .product-price {
    margin-top: auto;
}

/* 数量控制 */
.quantity-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--one);
    border-radius: 20px;
    padding: 0 12px;
    background-color: #fff;
    width: 140px;
    height: 40px;
    margin:10px auto;
}

.qty-btn {
    width: 20px;
    height: 20px;
    border: none;
    background-color: transparent;
    color: var(--one);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    line-height: 1;
}

.qty-btn:hover {
    color: #0080a0;
}

.qty-value {
    min-width: 24px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.add-to-cart {
    background-color: #00bcf2;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-grow: 0;
    flex-shrink: 0;
}

.add-to-cart:hover {
    background-color: #00a3d4;
}

/* 分页控件样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.page-btn {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background-color: #f5f5f5;
    border-color: #00bcf2;
}

.page-btn.active {
    background-color: #00bcf2;
    color: #fff;
    border-color: #00bcf2;
}

/* 购物车按钮 */
.cart-button {
    z-index: 99;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 1px;
    width: 90px;
    height: 90px;
    background-color: var(--one);
    border-radius: 50% 0 0 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cart-badge {
    position: absolute;
    top: 7px;
    right: 5px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 9px;
    background-color: #ff4d4f;
    color: white;
    font-size: 12px;
    text-align: center;
    padding: 0 5px;
}

.cart-button i {
    font-size: 30px;
    margin-bottom: 5px;
}

.cart-button:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 返回顶部按钮 */
.go-top {
    z-index: 98;
    position: fixed;
    top: 60%;
    transform: translateY(-50%);
    right: 10px;
    width: 65px;
    height: 65px;
    background-color: var(--two);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--one);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.go-top i {
    font-size: 20px;
}

.go-top:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 手机端购物车按钮 */
@media (max-width: 767px) {
    .cart-button {
        top: auto;
        bottom: 30%;
        transform: none;
        width: 55px;
        height: 55px;
        right: 1px;
    }
    
    .cart-button span.cart-text {
        display: none;
    }
    
    .cart-button i {
        margin-bottom: 0;
        font-size: 24px;
    }
    
    /* 手机端返回顶部按钮 */
    .go-top {
        top: auto;
        bottom: 20%;
        transform: none;
        width: 45px;
        height: 45px;
        right: 10px;
    }
    
    .go-top i {
        font-size: 18px;
    }
}

/* 底部样式 */
.footer {
    background-color: var(--one);
    color: #fff;
    padding: 30px 0;
    margin-top: 50px;
}

.store-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.store-card {
    flex: 1;
    border: 1px solid var(--two);
    padding: 10px;
    margin: 0 10px;
    border-radius: 8px;
}

.store-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 0;
    border-radius: 4px;
}

.store-card p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #fff;
}

.footer-nav a {
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--two);
    background-color: hsla(0, 0%, 100%, .3);
}

.footer-bottom {
    text-align: center;
    line-height: 1.6;
}

.footer-bottom p {
    margin-bottom: 0px;
}

.layui-layer,.layui-layer-dialog {
    border-radius: 8px!important;
}

.layui-layer-title {
    font-size: 24px;
    text-align: center;
    font-weight: 600;
    padding: 15px 81px 0 81px;
    border-bottom: 0;
}

.layui-form-select dl dd.layui-this {
        color: var(--one);
}


/* 产品型号弹窗样式 */

.product-modal{
    padding: 20px 20px 0 20px;
}

.product-modal h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}


.product-modal .form-check {
    margin-bottom: 12px;
}


.form-check-input:checked {
    background-color: var(--one);
    border-color: var(--one);
}
.form-check-input:focus {
    box-shadow: none;
}


.product-modal .form-check-label {
  
    color: #333;
    cursor: pointer;
}


.cancel-btn {
    height: 40px!important;
    line-height: 20px!important;
    width: 46%!important;
    padding: 10px!important;
    border: 1px solid #ddd!important;
    background-color: #f5f5f5!important;
    border-radius: 25px!important;
    cursor: pointer!important;
    color: #333!important;
    text-align: center!important;
}

 .confirm-btn {
    height: 40px!important;
    line-height: 20px!important;
    width: 46%!important;
    padding: 10px!important;
    border: 1px solid #00bcf2!important;
    background-color: #00bcf2!important;
    color: #fff!important;
    border-radius: 25px!important;
    cursor: pointer!important;
    text-align: center!important;
}

.confirm-btn:hover {
    background-color: #00a3d4!important;
}

/* 登录弹窗样式 */
/* .login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    display: none;
}

.login-modal .modal-content {
    position: relative;
    padding: 5px 50px;
} */

.login-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.login-modal .modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.login-modal .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.login-modal .form-group {
    margin-bottom: 15px;
    position: relative;
}

.login-modal .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}

.login-modal .forgot-password {
    text-align: right;
    margin-bottom: 20px;
}

.login-modal .forgot-password a {
    font-size: 12px;
    color: #333;
    text-decoration: none;
}

.login-modal .login-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--one);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
}

.login-modal .login-btn:hover {
    background-color: #00a3d4;
}

.login-modal .form-check {
    margin-bottom: 20px;
}

.login-modal .form-check-input {
    accent-color: var(--one);
}

.login-modal .form-check-label {
    color: #333;
}

.login-modal .form-check-label a {
    color: var(--one);
    text-decoration: none;
}

.login-modal .register-link {
    text-align: center;
}

.login-modal .register-link a {
    color: var(--one);
    text-decoration: none;
    font-weight: 600;
}

/* 价格点击效果 */
.product-grid .form-check {
    margin: 10px 0;
    text-align: left;
}

.product-grid .form-check-input {
    accent-color: var(--one);
    transform: scale(1.2);
}


/* Button Styles */
.btn-primary {
    background-color: var(--one);
    border-color: var(--one);
}

.btn-primary:hover {
    background-color: var(--one);
    border-color: var(--one);
}
.btn-check:focus+.btn-primary,.btn-primary:focus {
    color: #fff;
    background-color: var(--one);
    border-color: var(--one);
    box-shadow: 0 0 0 .25rem rgba(49,132,253,.5)
}

/* 响应式设计 */
@media (max-width: 1280px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 响应式设计 */

@media screen and (max-width: 750px){
    
    .header-center {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
    
    .header {
        display: none;
    }

    
.content-wrapper {
    display: flex;
    gap: 0px;
}
}

.no-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    border-radius: 20px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}


.no-data-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.no-data-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: 50%;
    margin-bottom: 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(0, 188, 242, 0.15), 0 0 0 1px rgba(0, 188, 242, 0.1);
    }
}

.no-data-icon i {
    font-size: 44px;
    background: linear-gradient(135deg, var(--one) 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.no-data-text {
    font-size: 18px;
    color: #64748b;
    text-align: center;
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 8px;
}

.no-data-hint {
    font-size: 14px;
    color: #94a3b8;
    text-align: center;
}

.product-grid .no-data {
    grid-column: 1 / -1;
}

/* 手机端新闻样式 */
@media (max-width: 767px) {
    .news-section {
        padding: 15px;
    }
    
    .news-left img {
        width: 70px !important;
        height: auto !important;
    }
    
    .news-divider {
        display: none;
    }
    
    .news-link {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.5;
        font-size: 14px;
    }
}

/* 手机端隐藏左侧导航 */
@media (max-width: 767px) {
    .left-sidebar {
        display: none;
    }
    
    /* 手机端隐藏底部导航 */
    .footer-nav {
        display: none;
    }
    
    /* 手机端店铺信息一排一个 */
    .store-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .store-card {
        margin: 0;
    }
    
    /* 手机端右侧内容区域调整 */
    .right-content {
        padding: 0 15px;
    }
    
}



/* Common Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999999999999;
    pointer-events: none;
}

.toast {
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.hide {
    opacity: 0;
    transform: translateY(-10px);
}
.layui-fixbar li {
    background-color: #d1f0ff;
    color: #00bcf2;
    border-radius: 25px;
}
.terms-link {
    position: relative; top: 3px; left: -15px;font-size: 14px;color: #00bcf2;
}
@media screen and (max-width: 750px){
.layui-form-checkbox>div {
    font-size: 12px;
}
.terms-link {
    position: relative; top: 0px; left: -15px;font-size: 12px;
}
}

.layui-laypage a:hover {
    color: var(--one);
}


.layui-laypage .layui-laypage-curr .layui-laypage-em {
    position: absolute;
    left: -1px;
    top: -1px;
    padding: 1px;
    width: 100%;
    height: 100%;
    background-color: var(--one);
}

.layui-laypage input:focus,
.layui-laypage select:focus {
    border-color: var(--one) !important
}