@font-face {
    font-family: "ChainStore Source Han";
    src: url("../fonts/chainstore-source-han.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

/* Shared quote entry, contact modal and footer used by every website page. */
.qh-site-quote,
.qh-site-quote *,
.qh-site-contact-modal,
.qh-site-contact-modal *,
.qh-site-footer,
.qh-site-footer * {
    box-sizing: border-box;
}

body.qh-site-modal-open {
    overflow: hidden !important;
}

.qh-site-quote {
    position: fixed;
    z-index: 2147482500;
    top: 200px;
    right: 24px;
    display: flex;
    width: 228px;
    height: 66px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 0 18px;
    border: 0;
    border-radius: 34px;
    background: linear-gradient(135deg, #1769ff 0%, #2787ff 100%);
    box-shadow: 0 10px 28px rgba(23, 105, 255, .32);
    color: #fff;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    text-align: left;
    transition: transform .22s ease, box-shadow .22s ease;
}

.qh-site-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 32px rgba(23, 105, 255, .38);
}

.qh-site-quote:focus-visible {
    outline: 3px solid rgba(43, 127, 255, .35);
    outline-offset: 3px;
}

.qh-site-quote__icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    background: url("../images/chainStore/lanhu/wechat.svg") center / contain no-repeat;
    filter: brightness(0) invert(1);
}

.qh-site-quote__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    transform: translateX(4px);
    line-height: 1.2;
    white-space: nowrap;
}

.qh-site-quote__copy strong {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .2px;
}

.qh-site-quote__copy small {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    color: rgba(255, 255, 255, .98);
    font-size: 13px;
    font-weight: 600;
}

.qh-site-quote__copy i,
.qh-site-footer__hours i {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #35df7b;
    box-shadow: 0 0 0 3px rgba(53, 223, 123, .14);
}

.qh-site-contact-modal {
    position: fixed;
    z-index: 2147483600;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 35, .68);
}

.qh-site-contact-modal.is-open {
    display: flex;
}

.qh-site-contact-dialog {
    position: relative;
    width: min(764px, calc(100vw - 40px));
    height: 480px;
    max-height: calc(100vh - 40px);
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(6, 29, 72, .34);
    color: #252a31;
    font-family: "ChainStore Source Han", "Source Han Sans CN", "Microsoft YaHei", sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.qh-site-contact-dialog button,
.qh-site-contact-dialog input,
.qh-site-contact-dialog select,
.qh-site-contact-dialog textarea {
    font-family: inherit;
}

.qh-site-contact-dialog::before,
.qh-site-contact-dialog::after {
    position: absolute;
    z-index: 0;
    bottom: -120px;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.qh-site-contact-dialog::before {
    left: -250px;
    width: 780px;
    height: 210px;
    background: #f0f7ff;
    transform: rotate(6deg);
}

.qh-site-contact-dialog::after {
    right: -290px;
    width: 710px;
    height: 185px;
    background: #e2edff;
    transform: rotate(-5deg);
}

.qh-site-contact-dialog > * {
    position: relative;
    z-index: 1;
}

.qh-site-contact-head {
    display: flex;
    width: 100%;
    height: 97px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 4px 76px 0;
    background: #d9e8ff;
}

.qh-site-contact-head img {
    display: block;
    width: 32px;
    height: 32px;
}

.qh-site-contact-head h2 {
    margin: 0;
    color: #33383f;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.qh-site-contact-close {
    position: absolute;
    z-index: 5;
    top: 12px;
    right: 12px;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .76);
    color: #171d26;
    cursor: pointer;
    font-size: 0;
    transition: background-color .18s ease, transform .18s ease;
}

.qh-site-contact-close::before,
.qh-site-contact-close::after {
    position: absolute;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
}

.qh-site-contact-close::before {
    transform: rotate(45deg);
}

.qh-site-contact-close::after {
    transform: rotate(-45deg);
}

.qh-site-contact-close:hover {
    background: #fff;
    transform: rotate(4deg);
}

.qh-site-contact-close:focus-visible {
    outline: 3px solid rgba(23, 105, 255, .45);
    outline-offset: 2px;
}

.qh-site-contact-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 46px;
    padding: 38px 60px 0 80px;
}

.qh-site-contact-intro {
    margin: 0 0 21px;
    color: #1212ae;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

.qh-site-contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    font-size: 15.5px;
    line-height: 1.55;
    list-style: none;
}

.qh-site-contact-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.qh-site-contact-benefits li::before {
    color: #00a838;
    content: "✓";
    font-size: 21px;
    font-weight: 700;
    line-height: 1.1;
}

.qh-site-contact-qr {
    margin-top: -6px;
    text-align: center;
}

.qh-site-contact-qr__frame {
    display: grid;
    width: 180px;
    height: 180px;
    place-items: center;
    margin: 0 auto;
    background:
        linear-gradient(#1769ff, #1769ff) left top / 20px 4px no-repeat,
        linear-gradient(#1769ff, #1769ff) left top / 4px 20px no-repeat,
        linear-gradient(#1769ff, #1769ff) right top / 20px 4px no-repeat,
        linear-gradient(#1769ff, #1769ff) right top / 4px 20px no-repeat,
        linear-gradient(#1769ff, #1769ff) left bottom / 20px 4px no-repeat,
        linear-gradient(#1769ff, #1769ff) left bottom / 4px 20px no-repeat,
        linear-gradient(#1769ff, #1769ff) right bottom / 20px 4px no-repeat,
        linear-gradient(#1769ff, #1769ff) right bottom / 4px 20px no-repeat;
}

.qh-site-contact-qr__frame img {
    display: block;
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.qh-site-contact-qr strong {
    display: block;
    margin-top: 12px;
    color: #1769ff;
    font-size: 16px;
    line-height: 1.4;
}

.qh-site-contact-qr span {
    display: block;
    margin-top: 6px;
    color: #333942;
    font-size: 13px;
    line-height: 1.5;
}

.qh-site-contact-meta {
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    text-align: center;
}

.qh-site-contact-meta p {
    margin: 0 0 7px;
    color: #30343b;
    font-size: 15px;
    line-height: 1.5;
}

.qh-site-contact-meta a {
    color: #1769ff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.qh-site-contact-meta a:hover {
    text-decoration: underline;
}

.qh-site-footer {
    min-width: 0;
    background: #383c41;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.qh-site-footer__inner {
    width: min(1360px, calc(100% - 64px));
    margin: 0 auto;
    padding: 54px 0 28px;
}

.qh-site-footer__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(92px, 1fr)) minmax(390px, 1.8fr);
    gap: 34px;
    align-items: start;
}

.qh-site-footer__column h4,
.qh-site-footer__contact h4 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.qh-site-footer__column a,
.qh-site-footer__column span {
    display: block;
    margin-bottom: 13px;
    color: #9ba2ac;
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none;
    transition: color .18s ease;
}

.qh-site-footer__column a:hover,
.qh-site-footer__column a:focus-visible {
    color: #fff;
}

.qh-site-footer__contact {
    min-width: 0;
}

.qh-site-footer__contact-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.qh-site-footer__contact-head h4 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-size: 19px;
}

.qh-site-footer__contact-head h4::before {
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: linear-gradient(180deg, #67b4ff 0%, #1769ff 100%);
    box-shadow: 0 0 12px rgba(65, 144, 255, .55);
    content: "";
}

.qh-site-footer__response {
    color: #8ec0ff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.qh-site-footer__qr-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.qh-site-footer__qr-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    color: #a8afb8;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: default;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
}

button.qh-site-footer__qr-item {
    cursor: pointer;
}

button.qh-site-footer__qr-item:focus-visible {
    outline: 2px solid #8ec0ff;
    outline-offset: 4px;
}

.qh-site-footer__qr-item img {
    display: block;
    width: 84px;
    height: 84px;
    margin-bottom: 8px;
    border: 0;
    border-radius: 2px;
    background: #fff;
    object-fit: cover;
}

.qh-site-footer__qr-item strong,
.qh-site-footer__qr-item span {
    white-space: nowrap;
}

.qh-site-footer__qr-item--primary strong {
    color: #8ec0ff;
    font-size: 13px;
    font-weight: 700;
}

.qh-site-footer__hours {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 14px 0 0;
    color: #b4bcc7;
    font-size: 12px;
}

.qh-site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 27px;
    padding-top: 23px;
    border-top: 1px solid rgba(255, 255, 255, .22);
    color: #9ba2ac;
    font-size: 12px;
    line-height: 1.5;
}

.qh-site-footer__icp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.qh-site-footer__icp img {
    width: 18px;
    height: 19px;
    object-fit: contain;
}

@media (max-width: 1280px) {
    .qh-site-quote {
        right: 16px;
    }

    .qh-site-footer__inner {
        width: min(1180px, calc(100% - 48px));
    }

    .qh-site-footer__grid {
        grid-template-columns: repeat(5, minmax(90px, 1fr));
    }

    .qh-site-footer__contact {
        grid-column: 1 / -1;
        width: min(440px, 100%);
        justify-self: end;
    }
}

@media (max-width: 760px) {
    .qh-site-quote {
        top: auto;
        right: 14px;
        bottom: 20px;
        width: 184px;
        height: 56px;
    }

    .qh-site-quote__icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .qh-site-quote__copy strong {
        font-size: 17px;
    }

    .qh-site-quote__copy small {
        font-size: 11px;
    }

    .qh-site-contact-modal {
        padding: 12px;
    }

    .qh-site-contact-dialog {
        width: 100%;
        height: auto;
        max-height: calc(100vh - 24px);
        overflow-y: auto;
    }

    .qh-site-contact-head {
        height: 76px;
        padding: 0 62px 0 22px;
        justify-content: flex-start;
    }

    .qh-site-contact-head h2 {
        font-size: 20px;
    }

    .qh-site-contact-head img {
        width: 28px;
        height: 28px;
    }

    .qh-site-contact-close {
        top: 10px;
        right: 10px;
    }

    .qh-site-contact-body {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 26px 24px 112px;
    }

    .qh-site-contact-intro {
        font-size: 18px;
    }

    .qh-site-contact-benefits {
        font-size: 14px;
    }

    .qh-site-contact-qr {
        margin-top: 0;
    }

    .qh-site-contact-meta {
        bottom: 18px;
    }

    .qh-site-footer__inner {
        width: calc(100% - 32px);
        padding-top: 40px;
    }

    .qh-site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 24px;
    }

    .qh-site-footer__contact {
        grid-column: 1 / -1;
        justify-self: stretch;
        width: 100%;
    }

    .qh-site-footer__qr-row {
        gap: 8px;
    }

    .qh-site-footer__qr-item img {
        width: clamp(62px, 19vw, 84px);
        height: clamp(62px, 19vw, 84px);
    }

    .qh-site-footer__qr-item,
    .qh-site-footer__qr-item--primary strong {
        font-size: 10px;
    }

    .qh-site-footer__bottom {
        flex-direction: column;
        gap: 7px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qh-site-quote,
    .qh-site-contact-close {
        transition: none;
    }
}
