.header-logo {
    max-width: 240px;
    height: auto;
    object-fit: contain;
}

.header-btn {
    outline: none;
    white-space: nowrap;
}


/* 左侧Logo区域和右侧操作按钮区域 */

.header-left,
.header-right {
    flex: 1;
}


/* 桌面端导航居中 */

.desktop-nav {
    flex: 0 0 auto;
}


/* 导航链接公共样式 */

.nav-link {
    font-size: 16px;
    color: #181818;
    transition: color 0.2s;
    white-space: nowrap;
    font-weight: 800;
}

.nav-link:hover {
    color: #1C66EE;
}

.nav-link.active {
    color: #1C66EE;
}

.mobile-nav-link.active {
    color: #1C66EE;
    font-weight: 800;
}

.no-login .nav-link {
    font-weight: 400;
}


/* 桌面端导航容器 */

.desktop-nav {
    display: none;
    max-width: 20rem;
    overflow: hidden;
}


/* 右侧操作按钮容器 */

.action-buttons {
    display: flex;
    align-items: center;
    gap: 2rem;
    /* max-width: 20rem;
    overflow: hidden; */
}


/* 移动端导航容器 */

.mobile-nav {
    display: none;
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 0.5rem 0.5rem;
    margin: 0 0.5rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    z-index: 101;
}

.mobile-nav:not(.hidden) {
    display: block;
}

.is-login {
    display: none;
}


/* 响应式样式 */


/* 移动端导航链接 */

.mobile-nav-link {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid #e8e8e8;
}

.mobile-nav-link:hover {
    background-color: #f9fafb;
}


/* 注册按钮 */

.register-btn {
    background-color: #1C66EE;
    color: white;
    padding: 0.5rem 1rem;
    /* border-radius: 0.25rem; */
    transition: background-color 0.2s;
    white-space: nowrap;
}

.register-btn:hover {
    background-color: rgba(59, 130, 246, 0.9);
}

.login-cont {
    display: none;
    padding: 12px 24px;
    text-align: center;
    background: #fff;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 12px 0 rgb(0 0 0 / 6%);
    color: #323233;
    cursor: default;
    margin-top: 1px;
    overflow: hidden;
    position: absolute;
    scrollbar-width: none;
    top: 100%;
    transform: translateX(-50%);
    transition: max-height .3s ease-in-out;
    z-index: 1050;
    left: 65px;
    top: 70px;
}

.login-mobile {
    font-size: 14px;
    color: #181818;
}

.login-cont a {
    display: block;
    padding: 12px 0;
}

.login-mobile:hover .login-cont {
    display: block;
}

.wap-login {
    display: none;
}

.login-test {
    font-size: 14px;
    color: #155bd4;
}


/* 页脚样式 */

.footer {
    background: rgba(236, 236, 236, 0.4);
    color: #181818;
    padding: 3.75rem 0 1.875rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1.875rem;
    border-bottom: 1px solid #DCDDDD;
}

.footer-left {
    flex: 0 0 40%;
}

.footer-center {
    flex: 0 0 25%;
}

.footer-right {
    flex: 0 0 25%;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #181818;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
}

.footer-contact-item {
    font-size: 14px;
    margin-bottom: 12px;
    color: #555555;
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 86px;
    height: 86px;
}

.footer-qrcode-text {
    font-size: 12px;
    color: #555555;
}

.footer-bottom {
    padding-top: 2.5rem;
}

.footer-logo img {
    height: 20px;
}

.footer-copyright {
    font-size: 14px;
    color: #666666;
    margin-top: 1rem;
}


/* 合并后的媒体查询样式 - 放置在文件末尾 */


/* 超大屏幕响应式样式 (min-width: 1920px) */

@media (min-width: 1920px) {
    .container {
        max-width: 1920px!important;
    }
}


/* 桌面端响应式样式 (min-width: 768px) */

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        gap: 2rem;
    }
    .mobile-nav {
        display: none !important;
    }
}


/* 中等屏幕响应式样式 (max-width: 1056px) */

@media (max-width: 1056px) {
    .footer-content {
        flex-wrap: wrap;
        gap: 30px;
    }
    .footer-left {
        flex: 0 0 100%;
    }
    .footer-center,
    .footer-right {
        width: 48%;
        flex: 0 0 48%;
    }
    .footer-copyright {
        text-align: center;
        margin-top: 0.5rem;
    }
}


/* 平板和移动端响应式样式 (max-width: 768px) */

@media (max-width: 768px) {
    .header-left {
        flex: auto;
    }
    /* 头部样式 */
    .header-logo {
        max-width: 70%;
    }
    .container {
        max-width: calc(100% - 32px)!important;
    }
    .register-btn {
        padding: 0.2rem 0.5rem;
        border-radius: 4px;
    }
    .no-login,
    .is-login {
        display: none!important;
    }
    .wap-hotel-btn {
        line-height: 44px;
        display: block;
        background: #155bd4;
        text-align: center;
        color: #fff;
        margin: 20px 0 0;
        border-radius: 3px;
    }
    /* 页脚样式 */
    .footer {
        padding: 30px 0 15px;
    }
    .footer-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .footer-desc,
    .footer-contact-item {
        font-size: 13px;
        text-align: justify;
        line-height: 22px;
        margin-bottom: 0;
    }
    .footer-content {
        border-bottom: none;
        padding-bottom: 0;
    }
    .footer-left,
    .footer-center,
    .footer-right {
        width: 100%;
        flex: 0 0 100%;
        padding-bottom: 30px;
        border-bottom: 1px solid #DCDDDD;
    }
    .footer-bottom {
        padding-top: 30px;
    }
    .footer-copyright {
        font-size: 11px;
        margin-top: 0.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-copyright p {
        margin-left: 0;
    }
    .footer-logo img {
        height: 15px;
    }
}