.icon-unfold{
    font-size: 12px;
}
/* 动态蓝色指示器 */
.nav-indicator {
    position: absolute;
    height: 60px;
    width: 125px;
    background: #6EC4D6;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    left: 0;
    top: 0;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.banner {
    /* 高度可自定义（示例为 500px） */
    height: 40vh;
    /* 背景图基础设置 */
    background: url("/img/img_bg.webp") no-repeat center;
    /* 固定背景图位置（缩放/滚动时不移动） */
    background-attachment: fixed;
    /* 等比例覆盖容器，始终占满宽度 */
    background-size: cover;
}

/* .navbar {
    background: transparent;
    padding: 1rem 0;
    z-index: 1000;
}

.navbar .container {
    max-width: 100%;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.navbar-nav-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 870px;
    max-width: 90%;
} */

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: #000;
    text-decoration: none;
    position: absolute;
    left: 2rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


/* .navbar-brand img {
    height: 50px;
    width: auto;
} */

.navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 750px;
    height: 60px;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0px 4px 20px 3px rgba(0, 0, 0, 0.15);
    position: relative;
    margin: 0 auto;
}

/* 动态蓝色指示器 */
/* .nav-indicator {
    position: absolute;
    height: 60px;
    width: 150px;
    background: #6EC4D6;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    left: 0;
    top: 0;
} */

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
    width: 125px;
    height: 60px;
    z-index: 1;
    color: #3D3D3D;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 16px;
    line-height: 44px;
    width: 100%;
    height: 100%;
    font-size: 16px;
    background: transparent;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

/*.nav-item.active .nav-link,*/
/*.navbar-nav .nav-link.active {*/
/*    color: #fff !important;*/
/*    background: #6EC4D6;*/
/*}*/

/*!* 仅当悬浮在除第一个外的其他“非下拉”项时，才暂时移除第一个的高亮 *!*/
/*.navbar-nav:has(.nav-item:not(:first-child):not(.dropdown):hover) .nav-item:first-child.active:not(:hover) .nav-link {*/
/*    background: transparent;*/
/*    color: #3D3D3D !important;*/
/*}*/

/*!* 普通菜单项 hover 高亮，语言下拉不受影响（仅点击触发） *!*/
/*.navbar-nav .nav-item:not(.dropdown) .nav-link:hover{*/
/*    color: #fff !important;*/
/*    background: #6EC4D6;*/
/*}*/

/*!* 语言下拉点击展开时的高亮状态 *!*/
/*.navbar-nav .nav-item.dropdown .nav-link.show{*/
/*    color: #fff !important;*/
/*    background: #6EC4D6;*/
/*}*/

/*!* 点击语言下拉时，临时移除第一个 active 的高亮，关闭后自动恢复 *!*/
/*.navbar-nav:has(.nav-item.dropdown .nav-link.show) .nav-item:first-child.active .nav-link{*/
/*    background: transparent;*/
/*    color: #3D3D3D !important;*/
/*}*/

/*.nav-item.active .nav-link:hover{*/
/*    color: #FFFFFF !important;*/
/*    background: #6EC4D6;*/
/*}*/
.dropdown-menu{
    min-width: 130px;
    height: 150px;
}
.dropdown-item:hover{
    /* padding: 12px 20px; */
    cursor: pointer;
    transition: all 0.3s;
    /* color: #333; */
    /* font-size: 14px; */
    /* border-bottom: 1px solid #f0f0f0; */
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e3f2fd;
    color: #6EC4D6;
    font-weight: 600;
}
/* 文字颜色由JavaScript动态控制 */

/* 语言选择按钮 */
/* .language-selector {
    position: relative;
    margin-left: 20px;
}

.language-btn {
    background-color: #fff;
    color: #333;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 16px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-left: 20px;
    width: 120px;
    height: 60px;
    box-shadow: 0px 4px 20px 3px rgba(0, 0, 0, 0.15);
}

.language-btn:hover {
    background-color: #f8f9fa;
    box-shadow: 0px 6px 24px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.language-btn .iconfont {
    font-size: 8px;
    transition: transform 0.3s;
}

.language-selector:hover .language-btn .iconfont {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    width: 120px;
    margin-left: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.language-option {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: #f8f9fa;
    color: #6EC4D6;
}

.language-option.active {
    background: #e3f2fd;
    color: #6EC4D6;
    font-weight: 600;
} */

/* 搜索栏样式 */
.search-section {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 870px;
    z-index: 100;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-btn-wrapper {
    position: relative;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: visible;
    backdrop-filter: blur(10px);
    height: 70px;
    position: relative;
    flex: 1;
    transition: all 0.3s;
    isolation: isolate;
}

.search-wrapper:focus-within {
    border: 2px solid #6EC4D6;
    box-shadow: 0 8px 32px rgba(79, 195, 247, 0.3);
}

.category-btn {
    background: white;
    color: #6EC4D6;
    border: none;
    padding: 0 1.5rem;
    height: 70px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: all 0.3s;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.category-btn:hover {
    background: #f0f9ff;
}

.category-btn.has-filter {
    background: #6EC4D6;
    color: white;
}

.category-btn.has-filter:hover {
    background: #6EC4D6;
}

/* 筛选弹出框样式 */
.filter-popup {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    min-width: 500px;
    max-width: 600px;
}

.filter-content {
    padding: 0;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.filter-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.filter-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.filter-close:hover {
    background: #f5f5f5;
    color: #333;
}

.filter-body {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tag {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tag:hover {
    border-color: #6EC4D6;
    color: #6EC4D6;
}

.filter-tag.active {
    background: #6EC4D6;
    border-color: #6EC4D6;
    color: white;
}

.filter-selected {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    display: none;
}

.filter-selected.show {
    display: block;
}

.selected-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 16px;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.selected-tag .remove {
    cursor: pointer;
    font-size: 1rem;
    color: #1976d2;
}

.filter-footer {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
}

.filter-reset {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-reset:hover {
    border-color: #6EC4D6;
    color: #6EC4D6;
}

.filter-confirm {
    flex: 1;
    padding: 0.75rem;
    border: none;
    background: #6EC4D6;
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-confirm:hover {
    background: #29B6F6;
}

.search-input {
    flex: 1;
    border: none;
    padding: 0 1.5rem;
    height: 100%;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background: transparent;
    border: none;
    padding: 0 2rem;
    height: 100%;
    cursor: pointer;
    font-size: 1.5rem;
    color: #6EC4D6;
    transition: all 0.3s;
    border-radius: 0 16px 16px 0;
    position: relative;
    z-index: 1;
}

.search-btn:hover {
    background: rgba(79, 195, 247, 0.1);
    color: #29B6F6;
}

/* 搜索建议列表样式 */
.search-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1001;
    display: none;
}

.search-suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s;
    color: #333;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #f5f5f5;
}

/* 产品卡片样式 */
.products-section {
    padding: 3rem 0;
    background: #f5f5f5;
}

.product-card {
    background: white;
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.product-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
}

.product-image {
    width: 100%;
    height: 280px;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    padding: 20px;
    box-sizing: border-box;
}

.product-image img.changing {
    opacity: 0;
    transform: scale(0.9);
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(79, 195, 247, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-image.highlight::before {
    opacity: 1;
}

.product-image .loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid rgba(79, 195, 247, 0.2);
    border-top: 3px solid #6EC4D6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.product-image.loading .loading-indicator {
    opacity: 1;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.product-colors {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding: 0;
}

.color-nav-dots {
    display: flex;
    flex-direction: row;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.color-nav-dots::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(79, 195, 247, 0.1);
    border-radius: 12px;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.color-nav-dots:hover::before {
    transform: scale(1);
}

.color-nav-dots .dot {
    width: 5px;
    height: 5px;
    background: #d0d0d0;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.color-nav-dots:hover .dot {
    background: #6EC4D6;
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(79, 195, 247, 0.3);
}

.color-nav-dots:active {
    transform: scale(0.95);
}


.color-thumbnails {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.color-thumbnail.hidden {
    display: none !important;
}

.color-thumbnail {
    width: 52px;
    height: 70px;
    border-radius: 12px;
    border: 2.5px solid #e5e5e5;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
}

.color-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.color-thumbnail img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
}

.color-thumbnail:hover {
    border-color: #6EC4D6;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(79, 195, 247, 0.25);
}

.color-thumbnail:hover::before {
    transform: translateX(100%);
}

.color-thumbnail:hover img {
    transform: scale(1.1);
}

.color-thumbnail.active {
    border-color: #6EC4D6;
    border-width: 3px;
    background: white;
    box-shadow: 0 6px 24px rgba(79, 195, 247, 0.4);
    transform: translateY(-2px) scale(1.02);
}


.product-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #333;
    text-align: center;
    line-height: 1.4;
}

.product-desc {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
    flex: 1;
}

.product-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.product-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.icon-specification {
    font-size: 1.25rem;
    color: #6EC4D6;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.icon-store {
    font-size: 1.5rem;
    color: #6EC4D6;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.icon-null {
    width: 40px;
    height: 40px;
}

.icon-specification:hover {
    color: #fff;
    transform: scale(1.05);
    background: #6EC4D6;
    box-shadow: 0 2px 12px rgba(94, 179, 228, 0.5);
}

.icon-specification:hover::after {
    content: '下载说明书';
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #333;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    font-weight: 500;
}

.icon-store:hover {
    color: #fff;
    transform: scale(1.05);
    background: #6EC4D6;
    box-shadow: 0 2px 12px rgba(94, 179, 228, 0.5);
}

.icon-store:hover::after {
    content: '前往商城';
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #333;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    font-weight: 500;
}

.btn-download {
    background: #6EC4D6;
    color: white;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
    flex-shrink: 0;
}

.btn-download:hover {
    background: #80d1e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 195, 247, 0.3);
}


.product-link {
    height: 1rem;
    font-size: 0.7rem;
    color: #6EC4D6;
    text-align: center;
    text-decoration: none;
}

.product-link:hover {
    text-decoration: underline;
}

/* 分页导航样式 */
.pagination-wrapper {
    margin-top: 3rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    display: inline-block;
}

.page-link {
    display: block;
    padding: 0.5rem 0.75rem;
    min-width: 40px;
    text-align: center;
    color: #666;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.page-link:hover {
    background: #6EC4D6;
    color: white;
    border-color: #6EC4D6;
}

.page-item.active .page-link {
    background: #6EC4D6;
    color: white;
    border-color: #6EC4D6;
}

.page-item.disabled .page-link {
    color: #ccc;
    cursor: not-allowed;
    background: white;
}

.page-item.disabled .page-link:hover {
    background: white;
    color: #ccc;
    border-color: #e0e0e0;
}

/* 页脚样式 */
.site-footer {
    background: #f8f8f8;
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #666;
}

.footer-info .divider {
    color: #ccc;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.language-selector select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #6EC4D6;
}

.footer-link .arrow {
    font-size: 1.2rem;
}

.footer-partners {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.partners-label {
    color: #666;
}

.partner-link {
    color: #666;
    text-decoration: none;
    transition: opacity 0.3s;
}

.partner-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .pagination {
        gap: 0.25rem;
    }

    .page-link {
        padding: 0.4rem 0.6rem;
        min-width: 36px;
        font-size: 0.8rem;
    }

    .footer-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .language-selector {
        margin-left: 0;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

/* 浮动按钮样式 */
.floating-buttons {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: white;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    transition: all 0.3s;
    color: #6EC4D6;
    text-decoration: none;
}

.float-btn:hover {
    background: #6EC4D6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(79, 195, 247, 0.4);
}

.float-btn .iconfont {
    font-size: 1.25rem;
}

.float-btn .btn-text {
    font-size: 0.7rem;
}

/* 响应式设计 */


/* PC端导航样式 */
.pc-nav-links {
    background: white;
    border-radius: 20px;
    padding: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pc-nav-links .nav-link {
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 16px;
}

.pc-nav-links .nav-link:hover {
    background: #6EC4D6;
    color: white;
}

.mobile-nav-links {
    display: none;
}
@media (max-width: 1200px) {
    .navbar-brand{
        position: relative;
        margin-right: 40px;
        box-shadow:none
    }
    .navbar-nav{
        height: auto;
        background-color: transparent;
        box-shadow: none;
        margin: 0;
        align-items:baseline
    }
    .navbar {
        background-color: #FFFFFF8a;
    }
    .dropdown-menu{
        position: absolute !important;

    }





    /* .navbar .container {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    } */

    /* .navbar-brand {
        position: absolute;
        left: auto;
        order: 1;
        align-self: center;
        margin-bottom: 1rem;
        z-index: 10;
    } */

    /* .navbar-nav-wrapper {
        order: 2;
        width: 100%;
        max-width: 100%;
        justify-content: center;
    } */

    /* .navbar-nav {
        width: 100%;
        max-width: 600px;
    } */

    .language-selector {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .floating-buttons {
        right: 1rem;
        bottom: 1rem;
    }

    .float-btn {
        width: 50px;
        height: 50px;
    }
}
/* 移动端样式 */
@media (max-width: 991px) {
    .navbar-brand{
        position: relative;
        margin-right: 40px;
        box-shadow:none
    }
    .navbar-nav{
        height: auto;
        background-color: transparent;
        box-shadow: none;
        margin: 0;
        align-items:baseline
    }
    .navbar {
        background-color: #FFFFFF8a;

    }
    .dropdown-menu{
        position: absolute !important;

    }

    .pc-nav-links,
    .pc-language-selector {
        display: none !important;
    }

    .mobile-nav-links {
        display: block;
        width: 100%;
        background: rgba(40, 40, 40, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 1rem;
    }

    .mobile-nav-links .nav-item {
        margin-bottom: 0.5rem;
    }

    .mobile-nav-links .nav-link {
        color: #999;
        font-size: 1rem;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        transition: all 0.3s;
    }

    .mobile-nav-links .nav-link:hover {
        color: white;
        background: rgba(255, 255, 255, 0.1);
    }

    .navbar-toggler {
        border: 2px solid rgba(110, 196, 214, 0.5);
        background: rgba(255, 255, 255, 0.9);
        padding: 0.5rem 0.75rem;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.25rem rgba(110, 196, 214, 0.25);
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%236EC4D6' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        width: 1.5rem;
        height: 1.5rem;
    }

    /* .navbar-brand img {
        height: 40px;
    }

    .navbar-brand span {
        font-size: 1rem;
    } */
}

@media (max-width: 768px) {
    .navbar-brand{
        position: relative;
        margin-right: 40px;
        box-shadow:none
    }
    .navbar-nav{
        height: auto;
        background-color: transparent;
        box-shadow: none;
        align-items:baseline;
        margin: 0;
    }
    .navbar {
        background-color: #FFFFFF8a;

    }
    .dropdown-menu{
        position: absolute !important;
    }


    /* .navbar-brand {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .navbar-brand img {
        height: 40px;
    } */

    .language-btn {
        width: 100px;
        height: 50px;
        font-size: 14px;
        padding: 0.5rem 1rem;
    }

    .search-section {
        bottom: 40px;
        width: 95%;
    }

    .search-container {
        gap: 0.5rem;
    }

    .search-wrapper {
        flex-direction: row;
        height: 60px;
    }

    .category-btn {
        padding: 0 1rem;
        font-size: 0.9rem;
        height: 60px;
    }

    .search-input {
        padding: 0 1rem;
        font-size: 0.9rem;
    }

    .filter-popup {
        min-width: 90vw;

    }

    .search-btn {
        padding: 0 1rem;
        font-size: 1.2rem;
    }
}
.main-div{

    height: 743px;
    background: url('/img/img_bg.webp') no-repeat center;
    background-size: cover;
    position: relative;
    background-color: #f5f5f5;
}
