* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-width: 1200px;
    color: #222;
    background: #f3f3f3;
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

img {
    display: block;
}

:root {
    --ghg-green: #10bf73;
    --ghg-green-dark: #0ba960;
    --ghg-text: #222;
    --ghg-muted: #666;
    --ghg-light: #999;
    --ghg-page: #f3f3f3;
    --ghg-footer: #151b24;
}

.ghg-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.ghg-header__inner {
    display: flex;
    align-items: center;
    width: 1136px;
    height: 60px;
    margin: 0 auto;
}

.ghg-header__brand {
    flex: 0 0 auto;
    width: 115px;
    height: 35px;
}

.ghg-header__brand img {
    width: 115px;
    height: 35px;
    object-fit: contain;
}

.ghg-header__nav {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: 57px;
    white-space: nowrap;
}

.ghg-header__nav-node {
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
}

.ghg-header__nav-item {
    color: var(--ghg-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    white-space: nowrap;
    transition: color .18s ease;
}

.ghg-header__nav-item:hover,
.ghg-header__nav-item.is-active,
.ghg-header__nav-item.is-mega-active {
    color: var(--ghg-green);
}

.ghg-header__nav.is-mega-open .ghg-header__nav-item.is-active:not(.is-mega-active) {
    color: var(--ghg-text);
}

.ghg-header__small-menu {
    position: absolute;
    top: 55px;
    left: 50%;
    z-index: 10001;
    display: none;
    width: 88px;
    padding: 8px 0;
    border: 1px solid rgba(0, 0, 0, .04);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .14);
    transform: translateX(-50%);
}

.ghg-header__nav-node.has-menu:hover .ghg-header__small-menu,
.ghg-header__nav-node.has-menu:focus-within .ghg-header__small-menu {
    display: block;
}

.ghg-header__small-menu a {
    display: block;
    padding: 8px 16px;
    color: #222;
    font-size: 14px;
    line-height: 22px;
    white-space: nowrap;
}

.ghg-header__small-menu a:hover {
    color: var(--ghg-green);
    background: #f7fbf7;
}

.ghg-header .website-account {
    margin-left: auto;
}

.ghg-header .website-account-login,
.ghg-header .website-account-register {
    height: 32px;
    border-radius: 4px;
    font-size: 12px;
}

.ghg-header .website-account-login {
    width: 60px;
    border-color: #979797;
    color: #434343;
}

.ghg-header .website-account-register {
    width: 83px;
    background: #222;
}

.ghg-footer {
    width: 100%;
    height: 400px;
    color: #666;
    background: var(--ghg-footer);
}

.ghg-footer__inner {
    position: relative;
    width: 1136px;
    height: 400px;
    margin: 0 auto;
    padding-top: 33px;
}

.ghg-footer__brand {
    display: flex;
    align-items: center;
    gap: 27px;
    color: #fff;
}

.ghg-footer__brand img {
    width: 105px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.ghg-footer__brand span {
    display: block;
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, .38);
}

.ghg-footer__brand strong {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.ghg-footer__main {
    display: grid;
    grid-template-columns: 122px 190px repeat(5, minmax(74px, 1fr));
    column-gap: 42px;
    align-items: start;
    margin-top: 24px;
}

.ghg-footer__wechat {
    width: 122px;
    height: 147px;
    padding: 14px 15px 0;
    border-radius: 4px;
    background: #313944;
    text-align: center;
}

.ghg-footer__wechat img {
    width: 92px;
    height: 92px;
    border-radius: 4px;
}

.ghg-footer__wechat p {
    margin: 10px 0 0;
    color: #999;
    font-size: 12px;
    line-height: 17px;
}

.ghg-footer__contact {
    padding-top: 31px;
}

.ghg-footer__contact-line {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ghg-footer__contact-line + .ghg-footer__contact-line {
    margin-top: 25px;
}

.ghg-footer__contact-line img {
    width: 27px;
    height: 26px;
}

.ghg-footer__contact-line span {
    display: block;
    color: #999;
    font-size: 12px;
    line-height: 17px;
}

.ghg-footer__contact-line strong {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.ghg-footer__col h3 {
    margin: 0 0 20px;
    color: #1dd56a;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.ghg-footer__col a {
    display: block;
    margin-top: 12px;
    color: #666;
    font-size: 12px;
    line-height: 17px;
    white-space: nowrap;
    transition: color .18s ease;
}

.ghg-footer__col a:hover {
    color: #fff;
}

.ghg-footer__socials {
    position: absolute;
    left: 0;
    top: 262px;
    display: flex;
    gap: 12px;
}

.ghg-footer__socials a,
.ghg-footer__socials img {
    width: 35px;
    height: 35px;
}

.ghg-footer__socials a {
    position: relative;
    display: block;
}

.ghg-footer__social-qr {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    z-index: 10;
    box-sizing: border-box;
    width: 150px;
    height: auto;
    padding: 8px 8px 10px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    visibility: hidden;
}

.ghg-footer__social-qr::after {
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid #fff;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    content: "";
    transform: translateX(-50%);
}

.ghg-footer__social-qr img {
    display: block;
    width: 132px;
    height: 132px;
    object-fit: contain;
}

.ghg-footer__social-qr-text {
    display: block;
    margin-top: 4px;
    color: #1f2933;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    white-space: nowrap;
}

.ghg-footer__social--redbook:hover .ghg-footer__social-qr,
.ghg-footer__social--redbook:focus-visible .ghg-footer__social-qr,
.ghg-footer__social--miniapp:hover .ghg-footer__social-qr,
.ghg-footer__social--miniapp:focus-visible .ghg-footer__social-qr {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
}

.ghg-footer__copyright {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1136px;
    height: 58px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #999;
    font-size: 12px;
    line-height: 17px;
}

.ghg-floating-contact {
    --ghg-floating-button-size: 56px;
    --ghg-floating-panel-width: 174px;
    --ghg-floating-panel-gap: 10px;
    --ghg-floating-screen-gap: 24px;
    position: fixed;
    top: min(604px, calc(100vh - 176px));
    right: max(calc(var(--ghg-floating-panel-width) + var(--ghg-floating-panel-gap) + var(--ghg-floating-screen-gap)), calc((100vw - 1136px) / 2 - 64px));
    z-index: 100;
    width: var(--ghg-floating-button-size);
    height: var(--ghg-floating-button-size);
}

.ghg-floating-contact__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--ghg-floating-button-size);
    height: var(--ghg-floating-button-size);
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .10);
    cursor: pointer;
}

.ghg-floating-contact__button img {
    width: var(--ghg-floating-button-size);
    height: var(--ghg-floating-button-size);
    object-fit: contain;
}

.ghg-floating-contact__panel {
    position: absolute;
    top: -57px;
    left: calc(100% + var(--ghg-floating-panel-gap));
    z-index: 0;
    display: none;
    width: var(--ghg-floating-panel-width);
    min-height: 170px;
    padding: 28px 24px 24px 34px;
    filter: drop-shadow(0 12px 26px rgba(18, 34, 27, .12));
}

.ghg-floating-contact__panel::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .04);
    content: "";
}

.ghg-floating-contact__panel::after {
    position: absolute;
    top: 74px;
    left: -8px;
    z-index: 0;
    width: 16px;
    height: 16px;
    background: #fff;
    box-shadow: -1px 1px 1px rgba(15, 23, 42, .03);
    content: "";
    transform: rotate(45deg);
}

.ghg-floating-contact__panel > * {
    position: relative;
    z-index: 1;
}

.ghg-floating-contact.is-open .ghg-floating-contact__panel,
.ghg-floating-contact:hover .ghg-floating-contact__panel {
    display: block;
}

.ghg-floating-contact__panel strong,
.ghg-floating-contact__panel span {
    display: block;
    text-align: center;
}

.ghg-floating-contact__panel strong {
    color: #222;
    font-size: 16px;
    line-height: 22px;
}

.ghg-floating-contact__panel span {
    margin-top: 0;
    color: #666;
    font-size: 13px;
    line-height: 18px;
}

.ghg-floating-contact__panel img {
    width: 92px;
    height: 92px;
    margin: 10px auto 0;
    object-fit: contain;
}

@media (max-width: 1280px) {
    body {
        min-width: 1136px;
    }

    .ghg-floating-contact {
        right: calc(var(--ghg-floating-panel-width) + var(--ghg-floating-panel-gap) + var(--ghg-floating-screen-gap));
    }
}
