/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}
/* 面包屑导航 */
.breadcrumb {
    background-color: #f5f5f5;
    padding: 15px 0;
    margin-bottom: 30px;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #0066cc;
}

.breadcrumb span {
    margin: 0 8px;
    color: #666;
}

.breadcrumb .current {
    color: #0066cc;
    font-weight: bold;
}

/* 顶部小导航栏 */
.top-nav {
    background-color: #00305b;
    padding: 8px 0;
    font-size: 14px;
    
}

.top-nav-left {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.top-nav-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.top-nav-link:hover {
    color: #00629b;
}

/* 主导航栏 */
.main-nav {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
   align-items: center;
    justify-content: space-between;
    height: 80px;
}
.logo {
    display: block;
    align-items: center;
    height: 60px;
}
.logo img {
     height: 60px;
    vertical-align: middle;  /* 关键：设置垂直对齐 */
    display: block;          /* 关键：转为块级元素 */
}
/* 主菜单 */
.main-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

/* 子导航样式 */
.has-submenu {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    padding: 15px 0;
    z-index: 1001;
    border-radius: 4px;
}

/* 悬停时显示子菜单 */
.has-submenu:hover .submenu {
    display: block;
}

.submenu-item {
    display: block;
    padding: 10px 25px;
    color: #333;
    text-decoration: none;
    font: 400 16px / 24px inter, sans-serif;
    transition: color 0.3s, background-color 0.3s, border-bottom 0.3s;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.submenu-item:hover {
    color: #00629b;
    background-color: #f5f5f5;
    border-bottom: 3px solid purple;
}

.submenu.active {
    display: block;
}

.main-menu li a {
    color: #333;
    text-decoration: none;
    font: 700 18px / 20px inter, sans-serif;
    transition: color 0.3s, border-bottom 0.3s;
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid transparent;
    position: relative;
}

.has-submenu > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    margin-top: 2px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
    transition: transform 0.3s;
}

.has-submenu:hover > a::after {
    transform: rotate(-135deg);
}

.main-menu li a:hover {
    color: #00629b;
    border-bottom: 3px solid purple;
}

/* 导航工具栏 */
.nav-tools {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* 导航右侧语言与货币显示 */
.locale-info {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font: 700 14px / 20px inter, sans-serif;
    margin-right: 8px;
}

/* 语言切换链接样式 */
.locale-info a {
    color: inherit;
    text-decoration: none;
    font: inherit;
}
.locale-info a:hover {
    color: #00629b;
    text-decoration: underline;
}
.locale-info .locale-sep {
    color: #999;
}

/* 移动端隐藏，以避免与汉堡菜单拥挤 */
@media (max-width: 768px) {
    .locale-info {
        display: none;
    }
}
.search-btn,
.cart-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s;
}

.search-btn:hover,
.cart-btn:hover {
    transform: scale(1.1);
}

.search-btn svg,
.cart-btn svg {
    fill: #333;
}

/* Banner内容样式 */
.banner-content {
        padding-left: 10%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white;
    padding: 0 20px;
    max-width: 1600px;
    width: 100%;
    z-index: 20;  /* 确保内容区域在所有元素上方 */
    background: none; /* 明确设置为无背景 */
    border: none; /* 确保没有边框 */
    box-shadow: none; /* 确保没有阴影 */
    pointer-events: auto; /* 确保内容区域可交互 */
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

.banner-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: left;
}

.banner-btn {
    display: inline-block;
    background-color: #0066cc;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: left;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .main-menu {
        gap: 20px;
    }

    /* 轮播指示器靠左对齐 */
    .banner-dots {
        left: 20px;
        right: auto;
        transform: none;
    }
}

/* 移动设备响应式设计 - 统一的媒体查询 */
@media (max-width: 768px) {
    /* Banner内容响应式调整 */
    .banner-content h2 {
        font-size: 1.8rem;
    }
    
    .banner-content p {
        font-size: 0.9rem;
    }
    
    .banner-btn {
        padding: 10px 20px;
    }
    
    .banner-btn:hover {
        background-color: #0052a3;
        transform: translateY(-2px);
    }
    .nav-wrapper {
        height: 60px;
        justify-content: center;
        position: relative;
    }
    
    .logo {
        position: absolute;
        left: 15px;
    }
    
    .logo img {
        height: 30px;
    }
    
    .main-menu {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 60px 0 20px;
        box-shadow: -2px 0 4px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .main-menu.active {
        right: 0;
        display: flex;
    }

    .main-menu li a {
        height: auto;
        padding: 15px 25px;
        border-bottom: 1px solid #eee;
    }

    .submenu {
        position: static;
        box-shadow: none;
        padding: 0;
        background: #f9f9f9;
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .submenu.active {
        max-height: 1000px;
        transition: max-height 0.5s ease-in;
        display: block;
    }

    .submenu-item {
        padding-left: 40px;
    }

    .nav-tools {
        position: absolute;
        right: 15px;
    }

    .search-btn,
    .cart-btn {
        display: none;
    }
    
    .hamburger-menu {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
        margin: 0;
    }

    .hamburger-menu span {
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: #333;
        transition: .25s ease-in-out;
    }

    .hamburger-menu span:nth-child(1) { top: 0; }
    .hamburger-menu span:nth-child(2) { top: 9px; }
    .hamburger-menu span:nth-child(3) { top: 18px; }

    .hamburger-menu.active span:nth-child(1) {
        top: 9px;
        transform: rotate(45deg);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        top: 9px;
        transform: rotate(-45deg);
    }

    .top-nav {
        text-align: center;
    }

    .top-nav-left {
        justify-content: center;
    }

    .top-nav-link:not(:nth-child(-n+2)) {
        display: none;
    }
}
/* ... 其他样式 ... */

/* Banner轮播控制样式 - 统一版 */
.banner-container {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
}

.banner-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.banner-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.banner-slide.active {
    display: block;
    z-index: 5;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 轮播指示器 */
.banner-dots {
    position: absolute;
    bottom: 40px;  /* 距离底部的距离 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;  /* 点之间的间距 */
    z-index: 15;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: white;
    width: 25px;
    border-radius: 5px;
}

/* 轮播按钮 */
.banner-prev, .banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 15;
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

.banner-prev:hover, .banner-next:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Banner CTA按钮样式 */
.banner-cta {
    position: absolute;
    bottom: 80px;  /* 位于指示器上方 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0072CE;  /* ADI蓝色 */
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #005BAC;
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .banner {
        height: 400px;
    }
}

/* 固定导航占位，避免内容被遮挡 */
.main-content {
    margin-top: 80px;
}

@media (max-width: 768px) {
    .main-content {
        margin-top: 60px;
    }
}