/* ============================================
   header-nav.css — MZS 顶部导航 + 公告 + 面包屑
   极简黑白色调，还原目标站视觉
   完全原创，参考目标站样式但类名自主设计
   ============================================ */

/* ─── 公告条 (head_activities) ─── */
#head_activities {
    width: 100%;
    min-height: 40px;
    line-height: 40px;
    background: #000;
    color: #fff;
    text-align: center;
    position: relative;
    transition: opacity 0.15s linear;
    z-index: 101;
    font-size: 16px;
}
#head_activities .oper_item {
    width: 90%;
    margin: auto;
}
#head_activities .oper_close_style {
    position: absolute;
    right: 15px;
    top: 5px;
    bottom: 5px;
    margin: auto;
    cursor: pointer;
    text-align: center;
    line-height: 30px;
}
#head_activities .oper_close_style .icon-close1 { font-size: 14px; }

/* ─── 响应式公告条 ─── */
@media (max-width: 1000px) {
    #head_activities { font-size: 14px; }
}

/* ─── Header初始状态（透明背景，首页专用） ─── */
.ly_header_69.header {
    background: transparent;
    position: absolute;
    z-index: 100;
    width: 100%;
    top: 0;
    left: 0;
}
.ly_header_69.header .headerFixed {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    background: transparent;
}

/* ─── 顶栏工具栏：透明底，白字 ─── */
.ly_header_tool.themes_global_header {
    background: transparent;
}
.ly_header_tool .ly_i_wrapper_1623 {
    max-width: 1623px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}
.ly_header_t_left {
    display: flex;
    align-items: center;
    flex: 1;
}
.ly_header_t_center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}
.ly_header_t_right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}
.ly_header_t_right > div,
.ly_header_t_right > a {
    display: inline-flex;
    align-items: center;
}

/* 汉堡菜单 - 白字 */
.ly_header_menu_mb {
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    cursor: pointer;
    padding: 0 10px 0 0;
}
.ly_header_menu_mb .iconfont { font-size: 16px; }

/* 语言/货币 - 白字 */
.default_language_currency {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
}
.default_language_currency dt {
    padding: 0 20px 0 0;
    color: #ddd;
    font-size: 13px;
    line-height: 30px;
    position: relative;
}
.default_language_currency dt i {
    position: absolute;
    right: 4px;
    top: 50%;
    margin-top: -3px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #bbb;
}
.current_language_abbreviation, .current_abbreviation {
    color: #ddd;
}

/* Logo - 默认白色（透明背景上） */
.ly_header_t_center .logo {
    display: flex;
    align-items: center;
}
.ly_header_t_center .logo a {
    display: flex;
    align-items: center;
}
.ly_header_t_center .logo img {
    max-width: 180px !important;
    height: auto !important;
    display: block !important;
}

/* 搜索/账户/购物车 - 白字 */
.default_search {
    display: inline-block;
    vertical-align: middle;
    padding: 0 10px;
    cursor: pointer;
    color: #fff;
}
.default_search .iconfont { font-size: 18px; }
.default_account {
    display: inline-block;
    vertical-align: middle;
    padding: 0 10px;
    cursor: pointer;
    color: #fff;
}
.default_account .iconfont { font-size: 18px; }
.default_shopping_cart {
    display: inline-block;
    vertical-align: middle;
    padding: 0 0 0 10px;
    color: #fff;
    text-decoration: none;
}
.default_shopping_cart .iconfont { font-size: 18px; }
.default_shopping_cart .text_0 {
    font-size: 13px;
    color: #fff;
    vertical-align: middle;
    letter-spacing: .05em;
}
.default_shopping_cart .cart_count {
    display: inline-block;
    background: #fff;
    color: #222;
    font-size: 11px;
    padding: 0 5px;
    border-radius: 8px;
    line-height: 16px;
    min-width: 16px;
    text-align: center;
    vertical-align: middle;
    margin-left: 2px;
}

/* ─── 一级导航栏（透明底，白字17px Montserrat） ─── */
.ly_header_nav {
    background: transparent;
    border-top: 1px solid rgba(255,255,255,0.15);
    position: relative;
}
.ly_header_nav .default_nav {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 1623px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.ly_header_nav .default_nav > li {
    position: relative;
}
.ly_header_nav .default_nav > li > a {
    display: block;
    padding: 0 22px;
    height: 50px;
    line-height: 50px;
    font-family: 'Montserrat-Regular', 'Montserrat', Arial, sans-serif;
    font-size: 17px;
    color: #fff;
    text-decoration: none;
    letter-spacing: .02em;
    white-space: nowrap;
    transition: color .15s;
}
.ly_header_nav .default_nav > li > a:hover {
    color: #bbb;
}

/* ─── 滚动固定后的状态（白底黑字 + 向下弹出动画） ─── */
.ly_header_69.header.header_fixed_top .headerFixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 102;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
    animation: headerSlideDown 0.3s ease-in-out;
}

/* 滚动固定后文字变为黑色 */
.ly_header_69.header.header_fixed_top .ly_header_menu_mb { color: #333; }
.ly_header_69.header.header_fixed_top .default_language_currency dt { color: #999; }
.ly_header_69.header.header_fixed_top .default_search { color: #333; }
.ly_header_69.header.header_fixed_top .default_account { color: #333; }
.ly_header_69.header.header_fixed_top .default_shopping_cart { color: #333; }
.ly_header_69.header.header_fixed_top .default_shopping_cart .text_0 { color: #333; }
.ly_header_69.header.header_fixed_top .default_shopping_cart .cart_count { background: #222; color: #fff; }
.ly_header_69.header.header_fixed_top .ly_header_nav { background: #fff; border-top: none; border-bottom: 1px solid #eee; }
.ly_header_69.header.header_fixed_top .ly_header_nav .default_nav > li > a { color: #333; }
.ly_header_69.header.header_fixed_top .ly_header_nav .default_nav > li > a:hover { color: #22c55e; }

/* 向下弹出动画 */
@keyframes headerSlideDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0); }
}

.header_content_height {
    display: none;
    height: 0;
}
.ly_header_69.header.header_fixed_top .header_content_height {
    display: block;
}

/* ─── 子页面模式：白底黑字，流式布局（分类/详情页） ─── */
.ly_header_69.header.subpage {
    background: #fff;
    position: static;
}
.ly_header_69.header.subpage .ly_header_tool.themes_global_header {
    background: #fff;
}
.ly_header_69.header.subpage .ly_header_menu_mb { color: #333; }
.ly_header_69.header.subpage .default_language_currency dt { color: #999; }
.ly_header_69.header.subpage .default_language_currency dt i { border-top-color: #999; }
.ly_header_69.header.subpage .current_language_abbreviation,
.ly_header_69.header.subpage .current_abbreviation { color: #999; }
.ly_header_69.header.subpage .default_search { color: #333; }
.ly_header_69.header.subpage .default_account { color: #333; }
.ly_header_69.header.subpage .default_shopping_cart { color: #333; }
.ly_header_69.header.subpage .default_shopping_cart .text_0 { color: #333; }
.ly_header_69.header.subpage .default_shopping_cart .cart_count { background: #222; color: #fff; }
.ly_header_69.header.subpage .ly_header_nav {
    background: #fff;
    border-top: 1px solid #eee;
}
.ly_header_69.header.subpage .ly_header_nav .default_nav > li > a { color: #333; }
.ly_header_69.header.subpage .ly_header_nav .default_nav > li > a:hover { color: #22c55e; }

/* ─── 子页面滚动固定后的状态 ─── */

/* ─── 子菜单（下拉） ─── */
.ly_header_nav .default_nav .nav_sec {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    z-index: 10006;
    padding: 15px 0;
    min-width: 220px;
}
.ly_header_nav .default_nav > li:hover .nav_sec {
    display: block;
}
.ly_header_nav .default_nav .nav_sec .nav_sec_box {
    padding: 0 20px;
}
.ly_header_nav .default_nav .nav_sec .nav_sec_item {
    margin: 8px 0;
    white-space: nowrap;
}
.ly_header_nav .default_nav .nav_sec .nav_sec_item dt a {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    padding: 4px 0;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    margin-bottom: 4px;
}
.ly_header_nav .default_nav .nav_sec .nav_sec_item dd {
    margin: 0;
}
.ly_header_nav .default_nav .nav_sec .nav_sec_item dd a {
    display: block;
    padding: 5px 0;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color .15s;
}
.ly_header_nav .default_nav .nav_sec .nav_sec_item dd a:hover {
    color: #000;
}

/* ─── 促销横幅（黑底白字） ─── */
.ly_poster_257 {
    background: #000;
    text-align: center;
    padding: 10px 0;
}
.ly_poster_257 h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    letter-spacing: .05em;
}

/* ─── 面包屑 ─── */
.global_other_mode2 {
    background: #fafafa;
    border-bottom: 1px solid #eee;
}
.global_other_mode2 .container_width_1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 15px 0;
    font-size: 14px;
    color: #999;
}
.global_other_mode2 .container_width_1200 a {
    color: #999;
    text-decoration: none;
}
.global_other_mode2 .container_width_1200 a:hover {
    color: #555;
}
.global_other_mode2 .container_width_1200 .current {
    color: #555;
}

/* ─── 响应式 ─── */
@media (max-width: 1700px) {
    .ly_header_tool .ly_i_wrapper_1623,
    .ly_header_nav .default_nav {
        max-width: 92%;
    }
}
@media (max-width: 1000px) {
    .ly_header_tool { display: none !important; }
    .ly_header_nav { display: none; }
    .global_other_mode2 .container_width_1200 {
        padding: 20px 4vw 0;
    }
}
