@font-face {
    font-family: 'Urbanist';
    src: url('/media/maxemblem/font/font/URBANIST[ITAL,WGHT].woff2') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    /* size-adjust: 105%; */
}
@font-face {
    font-family: 'Urbanist';
    src: url('/media/maxemblem/font/font/URBANIST[ITAL,WGHT].woff2') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    /* size-adjust: 105%; */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* size-adjust: 5%; */
}

html {
    font-size: clamp(14px, 0.9vw, 16px);
}

 /* 翻译元素隐藏 */
#google_translate_element{
    display: none;
}
.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
    font-family: 'Urbanist', 'Arial', sans-serif;
    min-width: 1024px;
}

.h-top-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

/* 顶部信息栏 */
.h-top-bar {
    background: #182752;
    padding: clamp(6px, 0.6vw, 8px) 0;
    font-size: clamp(11px, 0.75vw, 12px);
}

.h-top-container {
    max-width: 60%;
    margin: 0 auto;
    padding: 0 clamp(15px, 1.4vw, 20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(12px, 0.9vw, 13px);
}

.h-top-left {
    display: flex;
    align-items: center;
    gap: clamp(15px, 1.4vw, 20px);
}

.h-top-contact,.h-top-contact a {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.h-top-contact i {
    font-size: clamp(10px, 0.85vw, 11px);
}

.h-top-logo-text {
    color: #fff;
}

.h-top-right {
    display: flex;
    align-items: center;
    gap: clamp(15px, 1.4vw, 20px);
}

.h-top-link, .h-top-link a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.h-top-link:hover {
    text-decoration: underline;
}

/* 主导航栏 */
.h-main-nav {
    background: #2C61AD;
    padding: clamp(12px, 1.1vw, 15px) 0;
}

.h-nav-container {
    width: 88%;
    margin: 0 auto;
    padding: 0 clamp(0px, 1.4vw, 20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 1500px) {
    .h-nav-container {
        width: 95%;
    }
}

.h-nav-left {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.1vw, 30px);
}

.h-logo {
    width: clamp(40px, 3.1vw, 45px);
    height: clamp(40px, 3.1vw, 45px);
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.h-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h-menu {
    display: flex;
    list-style: none;
    gap: 0;
    font-size: clamp(16px, 1.25vw, 18px);
}

.h-menu-item {
    position: relative;
}

.h-menu-link {
    color: #fff;
    text-decoration: none;
    padding: clamp(8px, 0.9vw, 10px) clamp(14px, 1.25vw, 18px);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s;
    position: relative;
    text-decoration: none !important;
}

.h-menu-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.h-menu-link.h-active::after {
    width: 100%;
}

.h-menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #ebaf1d;
    transition: width 0.3s;
}

.h-menu-link:hover::after {
    width: 100%;
}

/* 当弹窗显示时，保持 Products 菜单项的黄线 */
.h-has-mega-menu:hover .h-menu-link::after {
    width: 100%;
}

.h-menu-link.h-active {
    font-weight: bold;
}

.h-menu-link i {
    font-size: clamp(9px, 0.7vw, 10px);
}

/* 右侧功能区 */
.h-nav-right {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1vw, 15px);
}

.h-search-box {
    position: relative;
}

.h-search-input {
    width: clamp(160px, 14vw, 180px);
    padding: clamp(6px, 0.6vw, 8px) 35px clamp(6px, 0.6vw, 8px) clamp(12px, 1vw, 15px);
    border: none;
    border-radius: 20px;
    background: #8CA4C6;
    font-size: clamp(14px, 1vw, 15px);
    color: #fff;
    outline: none;
}

.h-search-input::placeholder {
    color: #fff;
}

.h-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: clamp(12px, 0.9vw, 13px);
}

.h-currency-select {
    padding: clamp(5px, 0.5vw, 6px) clamp(10px, 0.85vw, 12px);
    border: 1px solid #2C61AD;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font-size: clamp(14px, 1vw, 15px);
    min-width: 70px;
    cursor: pointer;
    outline: none;
}

.h-currency-select option {
    background: #fff;
    color: #333;
    font-size: clamp(13px, 0.9vw, 14px);
}

.h-whatsapp-btn {
    background: #ebaf1d;
    color: #2b61ac;
    width: clamp(95px, 9vw, 105px);
    height: clamp(22px, 1.9vw, 24px);
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    font-size: clamp(14px, 1vw, 15px);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none !important;
    cursor: pointer;
}

.h-whatsapp-btn:hover {
    background: #ffb300;
}

.h-icon-btn {
    color: #fff;
    font-size: clamp(16px, 1.25vw, 18px);
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

.h-cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ffc107;
    color: #fff;
    font-size: clamp(9px, 0.7vw, 10px);
    font-weight: bold;
    min-width: clamp(18px, 1.6vw, 20px);
    min-height: clamp(18px, 1.6vw, 20px);
    border-radius: 50%;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 用户下拉菜单 */
.h-user-dropdown {
    position: relative;
    width: 25px;
}

.h-user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: clamp(10px, 1vw, 15px);
    background: #fff;
    border-radius: clamp(8px, 0.7vw, 10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: clamp(160px, 12vw, 180px);
    padding: clamp(10px, 1vw, 12px) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50%) translateY(15px);
    transition: all 0.3s ease-out;
    z-index: 1000;
}

.h-user-dropdown:hover .h-user-menu,
.h-user-dropdown.show .h-user-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%) translateY(0);
}

.h-user-name {
    padding: clamp(8px, 0.8vw, 10px) clamp(15px, 1.2vw, 18px);
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 600;
    color: #282828;
    border-bottom: 1px solid #eee;
    margin-bottom: clamp(5px, 0.5vw, 8px);
}

.h-user-menu-item {
    display: block;
    padding: clamp(8px, 0.8vw, 10px) clamp(15px, 1.2vw, 18px);
    font-size: clamp(13px, 1vw, 14px);
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
}

.h-user-menu-item:hover {
    background: #f5f5f5;
    color: #2C61AD;
}

.h-user-logout {
    color: #e74c3c;
    border-top: 1px solid #eee;
    margin-top: clamp(5px, 0.5vw, 8px);
    padding-top: clamp(10px, 0.9vw, 12px);
}

.h-user-logout:hover {
    background: #fef2f2;
    color: #c0392b;
}

/* Products 下拉菜单样式 */
.h-has-mega-menu {
    position: relative;
}

.h-mega-dropdown {
    position: absolute;
    top: 139%;
    left: 0;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 12px 12px;
    display: flex;
    min-width: clamp(750px, 66vw, 850px);
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.h-has-mega-menu:hover .h-mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.h-mega-menu-sidebar {
    width: clamp(240px, 24vw, 280px);
    background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f5 100%);
    padding: clamp(16px, 1.4vw, 20px) 0;
    border-right: 1px solid #e9ecef;
}

.h-mega-category-list {
    list-style: none;
}

.h-mega-category-item {
    position: relative;
}

.h-mega-category-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(12px, 1.1vw, 14px) clamp(16px, 1.4vw, 20px);
    color: #444;
    text-decoration: none;
    font-size: clamp(13px, 0.9vw, 14px);
    font-weight: 500;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
    margin: 2px 0;
}

.h-mega-category-item:hover a,
.h-mega-category-item.h-active a {
    background: #fff;
    color: #2C61AD;
    border-left-color: #ebaf1d;
    padding-left: clamp(20px, 1.8vw, 25px);
    box-shadow: 2px 2px 8px rgba(0,0,0,0.08);
}

.h-mega-category-item .h-cat-name {
    flex: 1;
}

.h-mega-category-item .h-cat-tag {
    font-size: clamp(9px, 0.7vw, 10px);
    padding: clamp(2px, 0.3vw, 3px) clamp(6px, 0.5vw, 8px);
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.h-mega-category-item .h-cat-tag.h-hot {
    background: linear-gradient(135deg, #ff4757, #ff6348);
    color: #fff;
    box-shadow: 0 2px 4px rgba(255, 71, 87, 0.3);
}

.h-mega-category-item .h-cat-tag.h-new {
    background: linear-gradient(135deg, #2ed573, #26de81);
    color: #fff;
    box-shadow: 0 2px 4px rgba(46, 213, 115, 0.3);
}

.h-mega-category-item .h-cat-arrow {
    width: clamp(13px, 1.1vw, 15px);
    height: clamp(13px, 1.1vw, 15px);
    fill: #999;
    transition: all 0.25s ease;
}

.h-mega-category-item:hover .h-cat-arrow,
.h-mega-category-item.h-active .h-cat-arrow {
    fill: #2C61AD;
    transform: translateX(4px);
}

.h-mega-menu-content {
    flex: 1;
    padding: clamp(25px, 2.1vw, 30px) clamp(30px, 2.4vw, 35px);
    min-width: clamp(550px, 54vw, 620px);
    background: #fff;
}

.h-mega-product-panel {
    display: none;
    animation: fadeInPanel 0.3s ease;
}

.h-mega-product-panel.h-active {
    display: block;
}

@keyframes fadeInPanel {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.h-panel-title {
    font-size: clamp(18px, 1.4vw, 20px);
    font-weight: 700;
    color: #2C61AD;
    margin-bottom: clamp(10px, 0.85vw, 12px);
    letter-spacing: -0.3px;
}

.h-panel-divider {
    height: 3px;
    background: linear-gradient(90deg, #ebaf1d 0%, #2C61AD 50%, transparent 100%);
    margin-bottom: clamp(20px, 1.7vw, 25px);
    border-radius: 2px;
}

.h-menu-product-grid {
    display: flex;
    gap: clamp(40px, 3.5vw, 50px);
}

.h-product-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.h-product-link {
    display: flex;
    align-items: center;
    color: #555;
    text-decoration: none;
    font-size: clamp(13px, 0.9vw, 14px);
    font-weight: 500;
    transition: all 0.25s ease;
    padding: clamp(6px, 0.6vw, 8px) clamp(10px, 0.85vw, 12px);
    border-radius: 6px;
    margin-left: -12px;
}

.h-product-link:hover {
    color: #2C61AD;
    background: rgba(44, 97, 173, 0.08);
    padding-left: 16px;
}

.h-product-link .h-link-tag {
    font-size: clamp(8px, 0.6vw, 9px);
    padding: clamp(2px, 0.3vw, 3px) clamp(6px, 0.5vw, 8px);
    border-radius: 4px;
    margin-left: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.h-product-link .h-link-tag.h-hot {
    background: linear-gradient(135deg, #ff4757, #ff6348);
    color: #fff;
    box-shadow: 0 2px 4px rgba(255, 71, 87, 0.25);
}

.h-product-link .h-link-tag.h-new {
    background: linear-gradient(135deg, #2ed573, #26de81);
    color: #fff;
    box-shadow: 0 2px 4px rgba(46, 213, 115, 0.25);
}

/* Rush Service 下拉菜单样式 */
.h-has-rush-menu {
    position: relative;
}

.h-rush-dropdown {
    position: absolute;
    top: 139%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 12px 12px;
    min-width: clamp(200px, 19vw, 220px);
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.h-has-rush-menu:hover .h-rush-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 当弹窗显示时，保持 Rush Service 菜单项的黄线 */
.h-has-rush-menu:hover .h-menu-link::after {
    width: 100%;
}

.h-rush-menu-content {
    padding: 5px 0;
    background: #F8F9FA;
}

.h-rush-panel-title {
    font-size: clamp(18px, 1.4vw, 20px);
    font-weight: 700;
    color: #2C61AD;
    margin-bottom: clamp(10px, 0.85vw, 12px);
    letter-spacing: -0.3px;
}

.h-rush-panel-divider {
    height: 3px;
    background: linear-gradient(90deg, #ebaf1d 0%, #2C61AD 50%, transparent 100%);
    margin-bottom: 20px;
}

.h-rush-product-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.h-rush-product-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #444;
    text-decoration: none;
    font-size: clamp(13px, 0.9vw, 14px);
    font-weight: 500;
    transition: all 0.25s ease;
    padding: clamp(10px, 0.85vw, 12px) clamp(12px, 1vw, 15px);
    border-left: 3px solid transparent;
    margin: 2px 0;
}

.h-rush-product-link:hover {
    color: #2C61AD;
    background: #fff;
    border-left-color: #ebaf1d;
    padding-left: clamp(16px, 1.4vw, 20px);
    box-shadow: 2px 2px 8px rgba(0,0,0,0.08);
}

.h-rush-product-link span {
    flex: 1;
}

.h-rush-product-link .h-link-tag {
    font-size: clamp(9px, 0.7vw, 10px);
    padding: clamp(2px, 0.3vw, 3px) clamp(6px, 0.5vw, 8px);
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ff4757, #ff6348);
    color: #fff;
    box-shadow: 0 2px 4px rgba(255, 71, 87, 0.3);
}

/* Language 下拉菜单样式 */
.h-has-lang-menu {
    position: relative;
}

.h-lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    min-width: clamp(260px, 24vw, 280px);
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s;
    margin-top: 10px;
}

.h-has-lang-menu:hover .h-lang-dropdown,
.h-has-lang-menu .h-lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.h-lang-panel {
    padding: clamp(16px, 1.4vw, 20px);
}

.h-lang-title {
    font-size: clamp(15px, 1.1vw, 16px);
    font-weight: 600;
    color: #2C61AD;
    margin-bottom: clamp(12px, 1vw, 15px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.h-lang-title i {
    color: #ebaf1d;
}

.h-lang-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: clamp(16px, 1.4vw, 20px);
}

.h-lang-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(10px, 0.85vw, 12px) clamp(12px, 1vw, 15px);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.h-lang-option:hover {
    background: rgba(44, 97, 173, 0.08);
    border-color: #ebaf1d;
}

.h-lang-option.h-selected,
.h-lang-option.active {
    background: rgba(44, 97, 173, 0.15);
    border-color: #2C61AD;
}

.h-lang-name {
    font-size: clamp(13px, 0.9vw, 14px);
    font-weight: 500;
    color: #333;
}

.h-lang-code {
    font-size: clamp(11px, 0.75vw, 12px);
    color: #999;
    text-transform: uppercase;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
}

.h-lang-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: clamp(12px, 1vw, 15px);
    border-top: 1px solid #e9ecef;
}

.h-lang-apply-btn {
    padding: clamp(6px, 0.6vw, 8px) clamp(16px, 1.4vw, 20px);
    background: #2C61AD;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: clamp(13px, 0.9vw, 14px);
    font-weight: 500;
    cursor: pointer;
    transition: background 0.25s ease;
}

.h-lang-apply-btn:hover {
    background: #1e4a8a;
}

.h-lang-close-btn {
    padding: clamp(6px, 0.6vw, 8px) clamp(16px, 1.4vw, 20px);
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: clamp(13px, 0.9vw, 14px);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.h-lang-close-btn:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

/* 登录/注册弹窗样式 */
#hLoginModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

#hLoginMask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

#hLoginBox {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

#hLoginContent {
    padding: 30px 35px;
}

#hLoginContent header {
    text-align: center;
    margin-bottom: 15px;
}

#hLoginContent header h3 {
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 600;
    color: #2C61AD;
    margin: 0;
}

#hLoginContent.login .is-register {
    display: none;
}

#hLoginContent.register .is-login {
    display: none;
}

#hLoginContent hr {
    border: none;
    border-top: 1px solid #e9ecef;
    margin: 15px 0 25px;
}

#hLoginForm {
    margin-bottom: 20px;
}

.h-form-item {
    margin-bottom: 15px;
}

.h-form-label {
    margin-bottom: 6px;
}

.h-form-label label {
    font-size: clamp(13px, 0.9vw, 14px);
    color: #333;
    font-weight: 500;
}

.h-form-label .red {
    color: #e74c3c;
    margin-right: 3px;
}

.h-input-box {
    position: relative;
}

.h-input-text {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: clamp(13px, 0.9vw, 14px);
    outline: none;
    transition: border-color 0.25s ease;
    font-family: 'Urbanist', 'Arial', sans-serif;
}

.h-input-text:focus {
    border-color: #2C61AD;
}

.h-view-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.h-view-icon svg {
    width: 21px;
    height: 21px;
}

.h-view-icon .h-eye-open {
    display: none;
}

.h-view-icon.show .h-eye-open {
    display: block;
}

.h-view-icon.show .h-eye-close {
    display: none;
}

/* 姓名行 */
.h-name-row {
    display: flex;
    gap: 15px;
}

.h-name-row .h-form-item {
    flex: 1;
}

/* 单选框 */
.h-radio-box {
    display: flex;
    gap: 20px;
}

.h-radio-box label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: clamp(13px, 0.9vw, 14px);
    color: #333;
}

.h-input-radio {
    display: none;
}

.h-radio-icon {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
    transition: border-color 0.25s ease;
}

.h-input-radio:checked + .h-radio-icon {
    border-color: #2C61AD;
}

.h-input-radio:checked + .h-radio-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #2C61AD;
    border-radius: 50%;
}

/* 手机号 */
.h-phone-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.h-phone-icon {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
}

.h-phone-area {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100px;
    flex-shrink: 0;
}

.h-phone-area .h-plus-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.h-phone-area input {
    width: 100%;
    padding-left: 0;
}

.h-phone-input {
    flex: 1;
}

/* 按钮 */
#hBtnBox {
    margin-top: 25px;
}

.h-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: clamp(14px, 1vw, 15px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Urbanist', 'Arial', sans-serif;
}

.h-btn:hover {
    opacity: 0.9;
}

.h-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.h-sign-btn {
    background: #2C61AD;
    color: #fff;
}

.h-sign-btn:hover {
    background: #1e4a8a;
}

.h-register-btn {
    background: #ebaf1d;
    color: #2b61ac;
}

.h-register-btn:hover {
    background: #ffb300;
}

/* 底部 */
#hLoginContent footer {
    text-align: center;
    font-size: clamp(12px, 0.85vw, 13px);
    color: #666;
    line-height: 1.6;
}

#hLoginContent footer a {
    color: #2C61AD;
    text-decoration: none;
}

#hLoginContent footer a:hover {
    text-decoration: underline;
}

/* 关闭按钮 */
#hLoginClose {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.25s ease;
}

#hLoginClose:hover {
    background: #f0f0f0;
}

#hLoginClose svg {
    width: 17px;
    height: 16px;
}

/* 隐藏注册时不需要的元素 */
#hLoginContent.login .is-register {
    display: none;
}

#hLoginContent.register .is-login {
    display: none;
}

/* 移除数字输入框的箭头 */
.h-input-text[type="number"]::-webkit-inner-spin-button,
.h-input-text[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.h-input-text[type="number"] {
    -moz-appearance: textfield;
}

/* 登录后用户菜单样式 - 使用id */
#hUserMenuBtn {
    position: relative;
}

#hUserDropdownMenu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: clamp(10px, 1vw, 15px);
    background: #fff;
    border-radius: clamp(8px, 0.7vw, 10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: clamp(160px, 12vw, 180px);
    padding: clamp(10px, 1vw, 12px) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50%) translateY(15px);
    transition: all 0.3s ease-out;
    z-index: 1000;
}

#hUserMenuBtn:hover #hUserDropdownMenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%) translateY(0);
}

#hUserName {
    padding: clamp(8px, 0.8vw, 10px) clamp(15px, 1.2vw, 18px);
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 600;
    color: #282828;
    border-bottom: 1px solid #eee;
    margin-bottom: clamp(5px, 0.5vw, 8px);
}

#hUserLogout {
    color: #e74c3c;
    border-top: 1px solid #eee;
    margin-top: clamp(5px, 0.5vw, 8px);
    padding-top: clamp(10px, 0.9vw, 12px);
}

#hUserLogout:hover {
    background: #fef2f2;
    color: #c0392b;
}