﻿.top-bar{ width: 100%; color: #fff; background: #c7a65a; padding: 12px 0;}
.top-bar b{ display: block; color:#fff;  font-family: myFirstFont;}
.top-bar a{ display: block; color:#fff;}

/* ==============================
   JQH Header + Nav
================================= */

.jqh-header-wrap {
    width: 100%;
    background: #000;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 9999;
    transition: box-shadow .25s ease, transform .25s ease;
}

.jqh-header-wrap.current {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}


.jqh-header {
    width: 100%;
    height: 102px;
    background: #000;
}

.jqh-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
}

.jqh-logo {
    flex: 0 0 220px;
}

.jqh-logo a {
    display: inline-flex;
    align-items: center;
}

.jqh-logo img {
    display: block;
    max-width: 190px;
    max-height: 72px;
}

.jqh-search {
    flex: 1;
    margin: 0 38px 0 24px; position:relative;
}

.jqh-search div.jqh-searchbox {
    width: 100%;
    height: 44px;
    display: flex;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
}

.jqh-search input {
    flex: 1;
    height: 44px;
    padding: 0 20px;
    border: 0;
    outline: none;
    background: #fff;
    color: #333;
    font-size: 14px;
    box-sizing: border-box;
}

.jqh-search input::placeholder {
    color: #666;
}

.jqh-search button {
    width: 68px;
    height: 44px;
    border: 0;
    cursor: pointer;
    background: #c7a65a;
    position: relative;
}

.jqh-search button::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 15px;
    height: 15px;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translate(-55%, -55%);
}

.jqh-search button::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 2px;
    background: #fff;
    transform: translate(5px, 7px) rotate(45deg);
    border-radius: 2px;
}


.search-window{ display:none; position:absolute;background: #fff !important;border-radius: 0 0 4px 4px !important;border-top: none;box-shadow: 0 4px 4px -2px #999;padding: 20px;top: 44px;left: 0;width: 100% !important;z-index: 999;}
.search-window a{margin-right:10px;line-height:24px;color: #999!important;}
.search-window ul.search-rst{
    padding-left: 0;
}
.search-window ul.search-rst li{margin-bottom: 8px;}
.search-window ul.search-rst li a p{color:#000;margin-bottom: 0px;}
.search-window ul.search-rst li a:hover p{color:#004294;}
.search-window ul.search-rst li a p.mfg{ color:#999 }
.search-window b{font-size:1rem; display:block;}


.jqh-user {
    display: flex;
    align-items: center;
    gap: 9px;
}

.jqh-btn {
    min-width: 98px;
    height: 44px;
    padding: 0 22px;
    box-sizing: border-box;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: all .25s ease;
}

.jqh-btn-line {
    border: 1px solid rgba(255, 255, 255, .78);
    background: transparent;
}

.jqh-btn-line:hover {
    border-color: #c7a65a;
    color: #c7a65a;
}

.jqh-btn-gold {
    border: 1px solid #c7a65a;
    background: #c7a65a;
}

.jqh-btn-gold:hover {
    background: #b98f36;
    border-color: #b98f36;
}

.jqh-cart {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.jqh-cart img {
    display: block;
    max-width: 25px;
    max-height: 25px;
}

.jqh-menu-btn {
    display: none;
}

/* nav */
.jqh-nav {
    width: 100%;
    height: 52px;
    background: #050505;
    border-top: 1px solid #202020;
}

.jqh-nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jqh-nav-list {
    display: flex;
    align-items: center;
    gap: 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jqh-nav-list li {
    margin: 0;
    padding: 0;
}

.jqh-nav-list a {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 52px;
    text-decoration: none;
    white-space: nowrap;
    transition: color .25s ease;
}

.jqh-nav-list a:hover,
.jqh-nav-list a.active {
    color: #c7a65a;
}

.jqh-nav-action {
    display: flex;
    align-items: center;
    gap: 38px;
    margin-left: 30px;
}

.jqh-nav-action a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
    transition: color .25s ease;
}

.jqh-nav-action img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.jqh-nav-action a:hover {
    color: #c7a65a;
}

/* 遮罩 */
.jqh-mask {
    display: none;
}

/* ==============================
   Mobile 768
================================= */
@media (max-width: 768px) {
.top-bar{ display: none;}
    body.jqh-menu-open {
        overflow: hidden;
    }

    .jqh-header-wrap {
        position: sticky;
        top: 0;
        z-index: 9999;
        background: #000;
    }

    .jqh-header-wrap .container.mar0 {
        width: 92%;
        max-width: 92%;
        margin: 0 auto;
    }

    .jqh-header {
        height: auto;
        padding: 14px 0 14px;
        background: #000;
    }

    .jqh-header-inner {
        height: auto;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .jqh-logo {
        flex: 0 0 auto;
        order: 1;
    }

    .jqh-logo img {
        max-width: 150px;
        max-height: 58px;
        display: block;
    }

    .jqh-menu-btn {
        order: 2;
        display: flex;
        width: 42px;
        height: 42px;
        border: 0;
        padding: 0;
        margin: 0;
        background: transparent;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        cursor: pointer;
        position: relative;
        z-index: 10003;
    }

    .jqh-menu-btn span {
        display: block;
        width: 26px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: all .25s ease;
    }

    body.jqh-menu-open .jqh-menu-btn span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    body.jqh-menu-open .jqh-menu-btn span:nth-child(2) {
        opacity: 0;
    }

    body.jqh-menu-open .jqh-menu-btn span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .jqh-search {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        margin: 14px 0 0;
    }

    .jqh-search div {
        height: 42px;
        border-radius: 4px;
    }

    .jqh-search input {
        height: 42px;
        padding: 0 14px;
        font-size: 13px;
    }

    .jqh-search button {
        width: 54px;
        height: 42px;
    }

    .jqh-user {
        display: none;
    }

    .jqh-nav {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        height: auto;
        padding: 0;
        background: #000;
        border-top: 1px solid rgba(255, 255, 255, .08);
        z-index: 9998;
        box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
    }

    body.jqh-menu-open .jqh-nav {
        display: block;
    }

    .jqh-nav-inner {
        width: 92% !important;
        max-width: 92% !important;
        height: auto;
        display: block;
        padding: 12px 0 20px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .jqh-nav-list {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .jqh-nav-list li {
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .jqh-nav-list a {
        display: block;
        line-height: 46px;
        color: #fff;
        font-size: 15px;
        text-decoration: none;
    }

    .jqh-nav-list a:hover,
    .jqh-nav-list a.active {
        color: #c7a65a;
    }

    .jqh-nav-action {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin: 18px 0 0;
    }

    .jqh-nav-action a {
        height: 42px;
        padding: 0 14px;
        border: 1px solid rgba(207, 166, 78, .55);
        border-radius: 4px;
        display: inline-flex;
        align-items: center;
        gap: 9px;
        color: #fff;
        font-size: 14px;
        text-decoration: none;
        background: rgba(207, 166, 78, .08);
    }

    .jqh-nav-action img {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

    .jqh-mask {
        display: none !important;
    }
}