::-webkit-scrollbar {
    width: 10px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background: #ddbd84;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ddbd84;
}

::-webkit-scrollbar-track {
    background: #eee;
}
::selection {
    background-color: #ddbd84;
    color: #333;
}

::-moz-selection {
    background-color: #ddbd84;
    color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Source Han Sans CN, sans-serif;
}
a {
    text-decoration: none;
}
a:hover {
    color: #ddbd84;
}
/* 全局容器：控制页面最大宽度，两侧留空白，居中显示 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏：白色背景，宽度100%，内容居中 */
header {
    width: 100%;
    background: #fff;
    position: fixed;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

/* 导航内容容器：居中布局，LOGO+导航+搜索按钮横向排列 */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* LOGO容器：和参考页一致的居中前布局 */
.logo {
    flex: 0 0 auto;
}

.logo img {
    max-width: 180px;
    height: auto;
    display: block;
    object-fit: contain;
    border: none;
}

/* PC端导航：居中显示，和参考页一致 */
.desktop-nav {
    flex: 1;
    text-align: left;
    margin: 0 20px;
}

.desktop-nav ul {
    display: inline-flex;
    list-style: none;
    gap: 25px;
    /* 导航项间距，和参考页匹配 */
}

.desktop-nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 25px 10px;
    transition: color 0.3s ease;
}

.desktop-nav ul li a:hover {
    color: #000;
    /* background: #000; */
}

.desktop-nav ul li.dropdown:hover>a {
    color: #000;
    /* background: #000; */
}

.desktop-nav ul li a.active {
    color: #ddbd84;
    /* background: #000; */
    padding: 25px 10px;
}

/* 下拉菜单样式 */
.desktop-nav ul li.dropdown {
    position: relative;
}

.desktop-nav ul li.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 42px;
    left: 0;
    background: #fff;
    border: none;
    padding: 10px 0;
    min-width: 200px;
    z-index: 1;
}

/* 鼠标悬停显示下拉菜单 */
.desktop-nav ul li.dropdown:hover .dropdown-menu {
    display: block;
}

.desktop-nav .dropdown-item {
    padding: 0;
}

.desktop-nav .dropdown-item a {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}

.desktop-nav .dropdown-item a:hover {
    background: #ddbd84;
    color: #333;
}

.desktop-nav .dropdown-item.with-submenu:hover>a {
    background: #ddbd84;
    color: #333;
}

.desktop-nav .dropdown-item a.active {
    background: #ddbd84;
    color: #333;
    padding: 8px 20px;
}

/* 子菜单样式 */
.desktop-nav .dropdown-item.with-submenu {
    position: relative;
}

.desktop-nav .dropdown-item.with-submenu .submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    min-width: 200px;
    z-index: 1001;
}

/* 鼠标悬停显示子菜单 */
.desktop-nav .dropdown-item.with-submenu:hover .submenu {
    display: block;
}

/* 移除hover显示，改为点击显示 */
.desktop-nav .submenu-toggle {
    position: relative;
}

.desktop-nav .submenu-toggle::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}

/* 搜索按钮：右上角，和参考页样式一致 */
.search-btn {
    flex: 0 0 auto;
    background: transparent;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.search-btn:hover {
    color: #ddbd84;
}

.search-overlay {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    display: none;
    z-index: 1000;
    min-width: 400px;
    margin-top: 8px;
}

.search-overlay.active {
    display: block;
}

.search-input {
    width: 100% !important;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.search-input:focus {
    border-color: #ddbd84;
}

/* Breadcrumb navigation */
.breadcrumb {
    margin-bottom: 40px;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb a:hover {
    color: #ddbd84;
}

.breadcrumb i {
    font-size: 12px;
    color: #666;
}

/* 移动端汉堡按钮：替换搜索按钮显示 */
.menu-toggle {
    display: none;
    width: 38px;
    height: 35px;
    background: #222;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.menu-toggle.show {
    display: flex;
}

/* 移动端下拉菜单 */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.mobile-menu ul {
    list-style: none;
    text-align: left;
}

.mobile-menu ul li {
    border-bottom: 1px dashed #ddd;
    padding: 8px 0;
}

.mobile-menu ul li a {
    display: inline-block;
    padding: 8px 20px;
    text-decoration: none;
    color: #333;
    font-size: 18px;
}

.mobile-menu ul li a:hover {
    background: #f5f5f5;
    border-radius: 4px;
}

.mobile-menu .mobile-search {
    border-bottom: none;
    padding: 0;
}

/* Banner轮播：保持700px高度，居中显示 */
.banner-slider {
    width: 100%;
    height: 700px;
    margin-top: 60px;
    /* 适配导航高度，不遮挡 */
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 轮播切换按钮：默认隐藏，hover显示 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    /* 默认隐藏 */
    transition: opacity 0.3s ease, background 0.3s ease;
}

/* 鼠标悬停Banner时显示箭头 */
.banner-slider:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* 轮播指示器 */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #fff;
}

/* 产品目录按钮 */
.catalog-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    transition: background 0.3s ease;
}

.catalog-btn:hover {
    background: #0052a3;
}

.main-content {
    padding: 40px 0;
    background: #f2f2f2;
}

.layui-ok-btn .layui-layer-btn0 {
    background-color: #ddbd84 !important;
    border-color: #ddbd84 !important;
    color: #000 !important;
}

/* 底部 */
footer {
    background: #222;
    color: #fff;
    padding: 50px 0;
    margin-top: 0px;
}

.footer-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-column {
    flex: 0 0 auto;
    margin-bottom: 30px;
}

.footer-column:nth-child(1) {
    min-width: 200px;
}

.footer-column:nth-child(2) {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.footer-column:nth-child(3) {
    flex: 0 0 120px;
    margin-left: auto;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 10px;
    word-wrap: break-word;
    white-space: normal;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icons a {
    color: #aaa;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ddbd84;
}

.qrcode {
    width: 100px;
    height: 100px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    padding: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #aaa;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .breadcrumb,.about-container,.card,.what-sets-us-apart,.category-section,.product-section {
        padding: 20px !important;
    }
    
    .breadcrumb,.main-content{
        margin: 0px !important;
        padding: 10px 0px !important;
    }
    .breadcrumb-hide-mobile{
        display: none !important;
    }
    .mobile-menu ul li a {
        width: 100%;
        display: block;
    }
    /* 移动端隐藏PC导航和搜索按钮 */
    .desktop-nav,
    .search-btn {
        display: none;
    }

    /* 显示汉堡按钮 */
    .menu-toggle {
        display: block;
    }

    /* 移动端LOGO缩小 */
    .logo img {
        max-width: 140px;
        border: none;
    }

    /* 移动端Banner高度适配 */
    .banner-slider {
        height: 350px;
        margin-top: 60px;
    }

    /* 移动端轮播按钮：默认显示（触屏无hover） */
    .slider-btn {
        opacity: 1;
        width: 35px;
        height: 35px;
        font-size: 16px;
        background: rgba(0, 0, 0, 0.3);
    }

    /* 移动端指示器缩小 */
    .indicator {
        width: 10px;
        height: 10px;
    }

    /* 移动端COMPANY字体缩小 */
    .company-text {
        font-size: 40px !important;
        margin-top: -20px !important;
        margin-bottom: -10px !important;
    }

    /* 移动端底部地址文字换行 */
    .footer-column p {
        word-wrap: break-word;
        white-space: normal;
        margin-bottom: 8px !important;
    }
    
    /* 移动端底部列宽调整 */
    .footer-column {
        min-width: 100% !important;
        flex: 1 1 100% !important;
        margin-bottom: 20px !important;
    }
    .footer-content {
        gap: 10px;
    }
    
    /* 移动端社交图标间距 */
    .social-icons {
        margin-top: 15px !important;
    }
    
    /* 移动端页脚标题间距 */
    .footer-column h3 {
        margin-bottom: 15px !important;
    }

    
}