body{background: #FFFFF3;}

/* 全站登录弹窗：置顶 + 居中（避免只露出顶部一条用户误以为没反应） */
#loginModal {
    z-index: 10050 !important;
}
#loginModal .modal-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    max-width: min(500px, 92vw) !important;
    width: 500px !important;
    z-index: 10051 !important;
}
#loginModal.show {
    display: block !important;
}
.modal-backdrop.show {
    z-index: 10040 !important;
    opacity: 0.5 !important;
}
@media (max-width: 768px) {
    body{background: rgba(211, 211, 211, 0.5);}
}

.lrTop{float: left;width: 100%;height: 120px;background: #00c5d1}
.lrTop .box{width: 1200px;margin: 0 auto;}
.lrTop .box a{float: left;margin: 35px 0 0 ;}
.lrTop .box a img{float: left;height: 60px;}
@media (max-width: 768px) {
    .lrTop{display: none;}
    .mT20{margin-top: 10px;}
}
.form-check{display: flex;gap: 5px;}
.nav-link{color: #0a0a0a;}
.nav-link:hover{color: #e94560;}
/*langwu added on 2024-04-17*/
.lr_user{float: left;width: 100%;margin: 150px 0 100px;text-align: center;}
.lr_modal{margin:auto;}
.lr_user .box{/* width: 520px; */max-width: 520px;margin: 0 auto;background: #e9e8e1;display: inline-block !important;padding: 40px 40px;border-radius: 10px;}
.lr_user.lr_modal .box{padding: 0px 20px;background: #ffffff;}
#userTypeModal .lr_user.lr_modal .box{padding:50px 0;}
.lr_user .box .t{float: left;width: 100%;text-align: center;}
.lr_user .box .t b{float: left;width: 100%;font-size: 24px;line-height: 40px;font-family: 'MB'}
.lr_user .box .t p{float: left;width: 100%;font-size: 15px;line-height: 30px;color: #999;}
.lr_user .box .activationcode{float: left;width: 100%;padding:20px;text-align: left;background: #fafafa;border-radius: 4px;margin-top: 10px;}
.lr_user .box .activationcode span{float: left;line-height: 24px;font-size: 14px;color: #aaa;width: 100%;margin-bottom: 10px;}
.lr_user .box .activationcode span#resend{display: grid;margin: 20px 0 40px 0;/* float: left; */place-items: center;}
.lr_user .box .activationcode span#resend a{padding: 10px 30px;background: #169BD5;color: #fff;border-radius: 5px;}
.lr_user .box .activationcode span#resend a:hover{font-weight: bold;}
.lr_user .box .activationcode span#mailto a{color: #169BD5;}
.lr_user .box .activationcode span#mailto a:hover{font-weight: bold;}
.lr_user .box form{float: left;width: 100%;text-align:left;}
.lr_user .box form .forget{float: left;/*width: 100%;*/color: #666;line-height: 30px;text-align: left;}
.lr_user .box form .li{float: left;width: 100%;margin: 12px 0 0 0;position: relative;}
.lr_user .box form .li.half{float: left;width: 48%;}
.lr_user .box form .li.fr{float: right;}
.lr_user .box form .all{width: 100%;}
.lr_user .box form .pwdsetinfo{width: 100%;line-height: 40px;padding: 0 0 0 20px;text-align: left;color: #aaa;}
.lr_user .box form .pwdsetinfo a{color: #aaa;font-weight: normal;line-height: 15px;}
.lr_user .box form .li .title{float: left;width: 100%;line-height: 30px;/* font-size: 15px; *//* font-weight: bold; *//* font-family: 'MB'; *//* color: #000; */}
.lr_user .box form .li label{float: left;margin-bottom: 0}
.lr_user .box form .li label .checkbox{float: left;margin: 17px 10px 0 0;}
.lr_user .box form .li label span{/* float: left; *//* line-height: 48px; */}
.lr_user .box form .li .tip{line-height: 40px;}
.lr_user .box form .li .price{line-height: 40px;font-size: 20px;color: #d00;font-weight: bold;float: left;}
.lr_user .box form .li .input{float: left;width: 100%;line-height: 30px;border: 1px solid #000;margin: 0;padding: 0 10px;height: 40px;/* color: #000; */}
.lr_user .box form .li .input:focus{border-color:var(--themethree);}
.lr_user .box form .li .all_bt{float: left;width: 100%;line-height: 50px;background: none;color: #666;border: none;border-radius: 3px;font-size: 16px;height: 50px;text-align: center;border: 1px solid #eee;}
.lr_user .box form .li .submit{padding: 0 30px;float: right;/* width: 0%; *//* min-width: 50%; */line-height: 40px;background: #e94560;color: #fff;border: none;font-size: 20px;height: 40px;font-family: 'MB';margin-bottom: 10px;}
.lr_user .box form .li .submit:hover{background:#e94560;}
.lr_user .box .submit:hover{color:#ccd8dd;}
.lr_user .box form#reg .li .password{padding-right: 50px;}
.lr_user .box form#reg .li #password-error{color: #000000;}
/* 密码框勿铺满整行，否则右侧点击会落在 input 上而非眼睛图标（尤其 Edge/Chrome） */
.lr_user .box form#login .li-password-toggle .input.password{
    width: calc(100% - 42px);
    max-width: calc(100% - 42px);
    box-sizing: border-box;
    padding-right: 10px;
}
form .li .show_password {
    position: absolute;
    right: 10px;
    top: 11px;
    height: 20px;
    width: 22px;
    cursor: pointer;
    z-index: 2;
    pointer-events: auto;
}
/* 会员中心账户页：密码显隐（grid 叠层保证图标在 input 内垂直居中） */
.aihfabs-pwd-toggle {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
}
.aihfabs-pwd-toggle .form-control.password {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    padding-right: 2.75rem;
}
.aihfabs-pwd-toggle .show_password {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    margin-right: 12px;
    height: 20px;
    width: 22px;
    object-fit: contain;
    display: block;
    cursor: pointer;
    z-index: 2;
    pointer-events: auto;
}
.aihfabs-pwd-toggle .form-control.password::-ms-reveal,
.aihfabs-pwd-toggle .form-control.password::-ms-clear {
    display: none;
}
/* 隐藏 Windows/Edge 自带“显示密码”，避免挡住自定义图标 */
.lr_user .box form#login .input.password::-ms-reveal,
.lr_user .box form#login .input.password::-ms-clear {
    display: none;
}
.lr_user .box form label#tel-error{margin: 0px;}
.lr_user .box form .li .reg_recaptcha_new {position: absolute;z-index: 1000;right: 15%;top: -8px;}
.lr_user .box form .li .loginseeprice_recaptcha {position: absolute;z-index: 1000;right: 15%;top: 10px;}
.lr_user .box form .li .w100{width: 100%;}
.lr_user .box form .create_account span{float:left;text-align: center;}
.lr_user .box form .create_account span.w30{width: 30%;}
.lr_user .box form .create_account span.w40{width: 40%;}
.lr_user .box form .create_account span.w20{width: 20%;}
.lr_user .box form .create_account span.w60{width: 60%;}
.lr_user .box form .create_account span.first{text-align: left;}
.lr_user .box form .create_account span.center{display:flex;justify-content: center;}
.lr_user .box form .create_account span.last{text-align: right; padding-right: 5px; }
.lr_user .box form .create_account span a{color:#169BD5;color: var(--themefive);font-size: 15px;font-weight: bold;font-family: 'MB';}
.lr_user .box form .create_account span a:hover{color:#25283c;}
.lr_user .box form .create_account .submit{/*background: #169BD5;*/border: 0;margin-top:-10px;width: auto;font-size: 16px;}
.lr_user .box form#loginSeePrice .create_account{margin-top:50px;}
.lr_user .box form .confirm .first{display: grid;place-items: center;}
.lr_user .box form .confirm .last{position: absolute;right: 25px;top: 10px;}
.lr_user .box form .confirm .last a{color: var(--themefive);}
.lr_user .box form .confirm .last a:hover{color:#25283c;}
.lr_user .box form .li .reg{float: left;line-height: 40px;color: #e94560;font-family: 'MB';font-size: 15px;cursor: pointer;}
.lr_user .box form .li .reg:hover{color:#25283c;}
.lr_user .box form .orther{float: left;width: 100%;/* text-align: center; */line-height: 16px;margin: 10px 0 0;display: flex;}
.lr_user .box form .orther input{float: left;/* margin-right: 3px; */}
.lr_user .box form .orther span{float: left;flex: 1;text-align: left;}
.lr_user .box form .orther a{color:#007bff;}
.lr_user .box form .tips{float: left;width: 100%;padding: 0 0 0 18px;color: #f00;border-radius: 4px;/*margin-top: 5px;*/display: block;}
.lr_user .box .tab-content {display: block;}
.lr_user .box .tabs{list-style: none; width: 100%; height: 150px;margin-top: 30px;float: left;}
.lr_user .box .tabs li.tab-button{width: 33.3%;float: left; cursor: pointer;display: flex;justify-content: center;flex-wrap: wrap;}
.lr_user .box .tabs li.tab-button .icons{width: 100px; height: 100px; background: rgba(242, 242, 242, 1);display: flex; justify-content: center; align-items: center;}
#userTypeModal .lr_user .box .tabs li.tab-button .icons:hover{border:1px solid #817c7c;}
.lr_user .box .tabs li.tab-button .names{padding-top:20px; display:inline-block; justify-content: center; width: 100%;}
.lr_user .box .tabs li.active{background: none;}
.lr_user .box .tabs li.active .icons{border:1px solid #817c7c;}
.lr_user .box .tab-contents .active{display: block;}
.lr_user .box .tab-contents .titles{line-height: 30px;}
.lr_user .box #envelope{margin: 30px 0 30px 0;width: 100%;float: left;display: grid;place-content: center;}
.lr_user .box #okay{display: grid;place-content: center;width: 100%;}
.lr_user .box #okay .submit{background: var(--themeone);font-family: 'MB';}
.lr_user .box form .li_agreement a{color: #e94560;}
.lr_user .box form .li_agreement a:hover{font-weight: bold;color: #0a0a0a;}
.lr_user.my_account_lr{margin:0;border: 0px solid #000;width: auto;}
.lr_user.my_account_lr .box{background: none;}
.lr_user .box .custom-button{margin-top: 20px;display: inline-flex;gap:80px;}
.main_content{float: left;width: 50%;}
.main_content .lr .box{width: 100%;padding:10px 30px;}
.main_content .box .t{height: auto; border-bottom: 0px solid #eee; margin-top: 0px;}
.main_content .box .t b{border:0px; height: auto;}
.mainWrap .cons .mainBar .titles{border: 0;}

.lr_user .box  .oauth_sign{text-align: center;float: left;margin: 20px 0 0 0px;position: relative;width: 100%;}
.lr_user .box  .oauth_sign .text{font-size: 16px;}
.lr_user .box  .oauth_sign .icons a{margin-left: 15px;}
.lr_user .box  .dots{margin: 20px 0 0 0;display: inline-block;}
.lr_user .box  .dots img{padding:0 10px;}
.lr_user .box #error_message{color:red;font-size: 20px;padding-bottom: 10px;}
.lr_user.lr_login .hidden{display: flex !important;}
.lr_user.lr_login .login-top-tip{text-align: center;font-size: 16px;padding-top: 5px;}
.lr_user.lr_login .li-code{display: flex;justify-content: space-between;}
.lr_user.lr_login .li-code .btn-get-code{height: 40px;/* padding:0 51px; */width: 50%;border: 1px solid #000;}
.lr_user.lr_login .li-go{display: flex;justify-content: center;}
.lr_user.lr_login #agreement-error{margin-top:-2px;}
.lr_user.lr_modal #agreement-error{margin-top:-6px;}
.nav-pills .nav-link{font-size: 16px;font-weight: bold;}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link{background: #e94560;}

.user .modal-dialog{justify-content: center; align-items: center;}
.user .modal-dialog .modal-title{font-family: 'MB';}
.user .modal-content{/* width: 550px; */height:auto;/* margin-left:-68px; *//* position: relative; */top: 100px;}
.user .modal-footer{display: none;}
.weixintips{float: left;width: 100%;line-height: 24px;margin: 10px 0 0;color: #666;text-align: center;}
.weixintipsimg{float: left;width: 100%;line-height: 24px;margin: 10px 0 0;color: #666;padding: 0 30%;}
.weixintipsimg img{float: left;width: 100%;background: #eee;padding: 5px;border-radius: 100%;}
.weixintipsname{float: left;width: 100%;line-height: 24px;margin: 10px 0 0;color: #fa0;font-size: 16px;text-align: center;}
.weixintipstext{float: left;width: 100%;line-height: 24px;margin: 0 0 0 ;color: #aaa;font-size: 12px;text-align: center;}
.error_message{color: red;font-weight: bold;}
.lrBottom{float: left;width: 100%;height: 120px;}
.lrBottom .box{width: 1200px;margin: 0 auto;color: #aaa;line-height: 30px;}

.shake {
    animation: shake 800ms ease-in-out;
}
@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(+2px, 0, 0); }
    30%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(+4px, 0, 0); }
    50% { transform: translate3d(-4px, 0, 0); }
}

form input,form select{border-radius: 5px;}
.error{padding-top: 3px;margin: 0px;}
#code-error, #reg-code-error {
    float: left; width: 100%; color: #e94560; font-size: 14px; font-weight: bold; line-height: 24px; padding: 5px 0;
}
#code-error:empty, #reg-code-error:empty { display: none; }
/* 登录弹窗：允许鼠标拖选输入框与提示文案 */
#loginModal input,
#loginModal textarea,
#loginModal select,
#findpwdModal input,
#loginModal .login-top-tip,
#loginModal .lr_user .t b,
#loginModal .forget {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
#confirmModal .modal-body{justify-content: center;display: flex;}
.button_style{font-size: 16px;font-family: 'MB';background: var(--themeone);color: #fff;border:0; display: none;}
#confirmModal button a{color: #fff;}

/* 登录：验证码 / 密码 切换（默认「验证码」为 .active，实心主色） */
.lr_user form#login .login-method-tabs {
    display: flex;
    gap: 10px;
    width: 100%;
    float: left;
    list-style: none;
    padding: 0;
    margin: 16px 0 8px 0;
    box-sizing: border-box;
}
.lr_user form#login .login-method-tabs .nav-item {
    flex: 1;
    margin: 0;
}
.lr_user form#login .login-method-tabs .nav-link {
    width: 100%;
    border: 1px solid #e94560;
    border-radius: 8px;
    background: #fff;
    color: #e94560;
    font-weight: 600;
    padding: 10px 8px;
    margin: 0;
    line-height: 1.2;
    cursor: pointer;
}
.lr_user form#login .login-method-tabs .nav-link.active {
    background: #e94560;
    color: #fff;
    border-color: #e94560;
}
.lr_user form#login .login-method-tabs .nav-link:hover:not(.active) {
    background: rgba(233, 69, 96, 0.08);
}

/* 用户中心 /my-account、/my-orders：主内容避开 fixed .headers（.had 顶栏 + .ht 导航，合计约 150px+） */
.aihfabs-user-center-wrap {
    padding-top: 168px;
    padding-bottom: 60px;
    min-height: 60vh;
    box-sizing: border-box;
}
@media (max-width: 992px) {
    .aihfabs-user-center-wrap {
        /* 窄屏：.ht 隐藏，.head_m_1 固定 + 可能仍有 .had */
        padding-top: 148px;
    }
}
@media (max-width: 576px) {
    .aihfabs-user-center-wrap {
        padding-top: 172px;
    }
}

/* 会员中心仪表盘：侧栏分组 + 订单列表（对齐旧站 Order List 版式） */
.aihfabs-uc-dashboard {
    background: #f9f7f4;
}
/* Coupon 页嵌入会员中心 */
body.page-coupon .aihfabs-user-center-wrap .coupon_page.coupon_page--member {
    float: none;
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0;
}
.aihfabs-uc-dashboard .coupon_page--member > .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    float: none;
}
.aihfabs-uc-dashboard .coupon_page--member .box {
    float: none;
    width: 100%;
}
.aihfabs-uc-dashboard .coupon_page--member .box .catenav {
    margin-bottom: 24px;
}
.aihfabs-uc-dashboard .coupon_page--member .box .catenav .list a {
    height: auto;
    line-height: 1.4;
    padding: 0;
}
.aihfabs-uc-dashboard .coupon-member-card {
    overflow: hidden;
}
.aihfabs-uc-dashboard .coupon-member-card .card-body {
    padding-top: 0.75rem;
}
.aihfabs-uc-sidebar {
    background: #eceef1;
    border-radius: 6px;
    overflow: hidden;
}
.aihfabs-uc-sidebar .aihfabs-uc-sidebar-inner {
    background: #eceef1;
}
.aihfabs-uc-user-strip {
    background: #e4e6ea;
}
.aihfabs-uc-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    border: 1px solid #d8dbe0;
}
.aihfabs-uc-name {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a2e;
}
.aihfabs-uc-nav-group-title {
    padding: 10px 16px 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
}
.aihfabs-uc-nav-group {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.aihfabs-uc-nav-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 16px;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
    transition: background 0.15s, color 0.15s;
}
.aihfabs-uc-nav-group-toggle:hover,
.aihfabs-uc-nav-group-toggle.is-open {
    background: rgba(255, 255, 255, 0.35);
    color: #1a1a2e;
}
.aihfabs-uc-nav-chevron {
    font-size: 14px;
    transition: transform 0.25s ease;
}
.aihfabs-uc-nav-group-toggle.is-open .aihfabs-uc-nav-chevron {
    transform: rotate(180deg);
}
.aihfabs-uc-nav-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.22s ease;
}
.aihfabs-uc-nav-panel.is-open {
    max-height: 160px;
    opacity: 1;
}
.aihfabs-uc-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.aihfabs-uc-avatar-fallback {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    border: 1px solid #d8dbe0;
}
.mainWrap .cons .sidenav.aihfabs-uc-sidebar-slot {
    float: none;
    width: 260px;
    flex-shrink: 0;
    display: block !important;
}
.mainWrap .cons .sidenav.aihfabs-uc-sidebar-slot .aihfabs-uc-sidebar {
    width: 100%;
    margin-bottom: 0;
}
.mainWrap .cons .sidenav.aihfabs-uc-sidebar-slot a.aihfabs-uc-nav-link,
.mainWrap .cons .sidenav.aihfabs-uc-sidebar-slot a.aihfabs-uc-nav-sublink {
    float: none;
    width: auto;
    height: auto;
    line-height: inherit;
    margin-bottom: 0;
    background: transparent;
    font-family: inherit;
    padding: 10px 16px;
}
.aihfabs-uc-nav-link,
.aihfabs-uc-nav-sublink {
    display: block;
    padding: 10px 16px;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: background 0.15s, color 0.15s;
}
.aihfabs-uc-nav-link:hover,
.aihfabs-uc-nav-sublink:hover {
    background: rgba(255, 255, 255, 0.45);
    color: #1a1a2e;
}
.aihfabs-uc-nav-sublink {
    padding-left: 22px;
    font-size: 14px;
}
.aihfabs-uc-nav-top {
    font-weight: 500;
}
.aihfabs-uc-nav-link.active,
.aihfabs-uc-nav-sublink.active {
    background: #1a1a2e;
    color: #fff !important;
    border-left-color: #e94560;
    font-weight: 600;
}
.aihfabs-order-panel {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}
.aihfabs-order-panel-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
}
.aihfabs-order-search {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}
.aihfabs-order-search .form-control {
    flex: 1 1 auto;
    width: auto;
    min-width: 160px;
    max-width: 320px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}
.aihfabs-order-filters {
    width: 100%;
}
.aihfabs-order-filters-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}
.aihfabs-order-filter-field {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.aihfabs-order-filter-field--search {
    flex: 0 1 auto;
    min-width: 180px;
    max-width: 280px;
}
.aihfabs-order-filter-field--search .form-control {
    flex: 1 1 auto;
    min-width: 100px;
}
.aihfabs-order-filter-label {
    display: block;
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
    margin-bottom: 0;
    white-space: nowrap;
    line-height: 1.2;
}
.aihfabs-order-filter-field select.form-control,
.aihfabs-order-filter-field > .form-control {
    flex: 0 1 auto;
    width: auto;
    min-width: 96px;
}
.aihfabs-order-filter-field--range .aihfabs-order-filter-range {
    flex: 1 1 auto;
    min-width: 0;
}
.aihfabs-order-date-input {
    width: 7.25rem;
    max-width: 100%;
    flex: 0 0 auto;
}
.aihfabs-order-filter-field .form-control {
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 13px;
}
.aihfabs-order-filter-range {
    display: flex;
    align-items: center;
    gap: 6px;
}
.aihfabs-order-filter-range .form-control {
    flex: 1 1 0;
    min-width: 0;
}
.aihfabs-order-filter-sep {
    color: #adb5bd;
    font-size: 12px;
    flex-shrink: 0;
}
.aihfabs-order-filter-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    flex: 0 0 auto;
}
.aihfabs-order-filter-reset {
    border-color: #ced4da;
    color: #495057;
    font-weight: 600;
}
.aihfabs-order-filter-reset:hover {
    background: #f4f6f9;
    color: #1a1a2e;
}
.aihfabs-order-search-btn {
    flex-shrink: 0;
    white-space: nowrap;
    background: #f07621;
    border: none;
    color: #fff;
    font-weight: 600;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    border-radius: 4px;
}
.aihfabs-order-search-btn:hover {
    background: #e06818;
    color: #fff;
}
.aihfabs-order-search-btn.btn-sm {
    padding: 0.35rem 0.9rem;
    font-size: 13px;
    line-height: 1.4;
}
.aihfabs-order-expand-cell .aihfabs-order-search-btn {
    text-decoration: none;
}
.aihfabs-order-expand-cell .aihfabs-order-search-btn:hover {
    color: #fff;
    text-decoration: none;
}
.aihfabs-order-table thead th {
    background: #e8eaed;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 13px;
    border-bottom: 1px solid #dde0e5;
    padding: 12px 16px;
    white-space: nowrap;
}
.aihfabs-order-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #eef0f3;
    vertical-align: middle;
}
.aihfabs-order-table tbody tr:last-child td {
    border-bottom: none;
}
.aihfabs-order-caret {
    font-size: 10px;
    opacity: 0.65;
    cursor: pointer;
    flex-shrink: 0;
}
.aihfabs-order-caret:hover {
    opacity: 1;
}
.aihfabs-order-expand-row > td {
    background: #f8f9fa;
    vertical-align: top;
}
.aihfabs-order-expand-cell .more_box {
    float: none;
    margin-bottom: 0;
}
.aihfabs-order-table .aihfabs-order-main-row + .aihfabs-order-expand-row td {
    border-top: none;
}
.aihfabs-order-expand-cell .file_thumb.image.aihfabs-order-thumb-trigger {
    cursor: pointer;
}
.aihfabs-order-expand-cell .file_thumb.image.aihfabs-order-thumb-trigger:hover img {
    opacity: 0.92;
}
.aihfabs-order-expand-cell .supplier-order-summary-inline {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 20px 28px;
    padding: 10px 16px;
}
.aihfabs-order-expand-cell .supplier-order-summary-inline .summary-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.aihfabs-order-expand-cell .supplier-order-summary-inline .summary-item .name {
    font-weight: 600;
}
.aihfabs-order-expand-cell .supplier-order-summary-inline .summary-item .price {
    min-width: 55px;
    font-weight: 700;
}
.aihfabs-order-expand-cell .supplier-order-summary-inline .summary-item-total .price {
    color: #1a1a2e;
}

#aihfabsOrderThumbLightbox.aihfabs-thumb-preview-modal {
    z-index: 1000210 !important;
}
#aihfabsOrderThumbLightbox.aihfabs-thumb-preview-modal.show {
    display: block !important;
}
#aihfabsOrderThumbLightbox .aihfabs-thumb-preview-dialog {
    max-width: min(1240px, 96vw);
    width: min(1240px, 96vw);
    margin: 1rem auto;
    z-index: 1000211 !important;
}
#aihfabsOrderThumbLightbox .modal-content {
    top: 0;
    width: 100%;
    height: auto;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    min-height: 280px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(26, 26, 46, 0.22);
}
#aihfabsOrderThumbLightbox .modal-header {
    align-items: center;
    border-bottom: 1px solid #edf0f5;
    background: #fff;
}
#aihfabsOrderThumbLightbox .aihfabs-thumb-preview-body {
    padding: 20px 24px 28px;
    background: #fff;
}
#aihfabsOrderThumbLightbox .aihfabs-thumb-preview-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(55vh, 520px);
    max-height: min(72vh, 680px);
    padding: 16px;
    background: #f4f4f6;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
#aihfabsOrderThumbLightbox .js-aihfabs-thumb-preview-img {
    max-width: 100%;
    max-height: min(68vh, 640px);
    width: auto;
    height: auto;
    object-fit: contain;
}
body.aihfabs-order-preview-open .modal-backdrop.show {
    z-index: 1000205 !important;
    opacity: 0.55 !important;
    background-color: #000;
}

#aihfabsOrder3dModal {
    z-index: 1000220 !important;
}
#aihfabsOrder3dModal.show {
    display: block !important;
}
#aihfabsOrder3dModal .modal-dialog {
    width: min(1240px, 96vw);
    max-width: min(1240px, 96vw);
    margin: 1rem auto;
    z-index: 1000221 !important;
}
#aihfabsOrder3dModal .modal-content {
    top: 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 0;
    background: #fff;
    box-shadow: 0 24px 70px rgba(26, 26, 46, 0.22);
    z-index: 1000221 !important;
}
#aihfabsOrder3dModal .modal-header {
    align-items: center;
    border-bottom: 1px solid #edf0f5;
    background: #fff;
}
#aihfabsOrder3dModal .modal-body {
    min-height: min(55vh, 520px);
    max-height: min(72vh, 680px);
    height: min(72vh, 680px);
    padding: 0;
    background: #f6f7fb;
}
#aihfabsOrder3dModal iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.aihfabs-order-status--risk {
    color: #c92a2a;
}
.aihfabs-order-actions {
    max-width: 100%;
}
.aihfabs-order-pay-btn {
    flex-shrink: 0;
    white-space: nowrap;
    background: #f07621;
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    font-size: 13px;
    line-height: 1.4;
    border-radius: 4px;
    text-decoration: none;
}
.aihfabs-order-pay-btn:hover {
    background: #e06818;
    color: #fff;
    text-decoration: none;
}
.aihfabs-order-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 4px;
    color: #1a1a2e;
    border: 1px solid #dee2e6;
    background: #fff;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.aihfabs-order-view-btn:hover {
    background: #f1f3f5;
    border-color: #ced4da;
    color: #1a1a2e;
}
.aihfabs-order-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.aihfabs-order-pagination .pagination li a,
.aihfabs-order-pagination .pagination li span {
    display: inline-block;
    min-width: 36px;
    line-height: 36px;
    padding: 0 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #fff;
    color: #333;
    text-decoration: none;
}
.aihfabs-order-pagination .pagination li.active span {
    background: var(--themeone, #e94560);
    border-color: var(--themeone, #e94560);
    color: #fff;
}

/* /user-message：左侧会话列表 + 右侧聊天记录 */
.aihfabs-message-panel {
    overflow: hidden;
}
.aihfabs-message-panel-head {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    background: #fff;
}
.aihfabs-message-panel-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
}
.aihfabs-message-search {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}
.aihfabs-message-search .form-control {
    flex: 1 1 auto;
    width: auto;
    min-width: 160px;
    max-width: 320px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}
.aihfabs-message-search-btn {
    flex-shrink: 0;
    white-space: nowrap;
    background: var(--themeone, #e94560);
    border-color: var(--themeone, #e94560);
    color: #fff;
    font-weight: 600;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    border-radius: 4px;
}
.aihfabs-message-search-btn:hover {
    background: #d63d56;
    border-color: #d63d56;
    color: #fff;
}
.aihfabs-message-layout {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 520px;
    max-height: min(72vh, 720px);
    background: #fff;
}
.aihfabs-message-list {
    width: 300px;
    max-width: 38%;
    flex-shrink: 0;
    border-right: 1px solid #e9ecef;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}
.aihfabs-message-list-empty {
    padding: 1.25rem;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
}
.aihfabs-message-list .aihfabs-message-thread {
    display: flex;
    flex-direction: column;
    padding: 12px 14px 12px 12px;
    cursor: pointer;
    border-bottom: 1px dashed #eee;
    position: relative;
    transition: background 0.15s;
}
.aihfabs-message-list .aihfabs-message-thread:hover {
    background: #f8f9fa;
}
.aihfabs-message-list .aihfabs-message-thread.cur {
    background: #d6efe7;
}
.aihfabs-message-list .aihfabs-message-thread .li_tit {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.35;
    margin-bottom: 6px;
}
.aihfabs-message-list .aihfabs-message-thread .li_tit b {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    word-break: break-word;
}
.aihfabs-message-list .aihfabs-message-thread.cur .li_tit b {
    color: var(--themethree, #e94560);
}
.aihfabs-message-list .aihfabs-message-thread .li_tit .bi-envelope-fill {
    color: var(--themethree, #e94560);
    flex-shrink: 0;
}
.aihfabs-message-list .aihfabs-message-thread .li_tit .bi-envelope-open-fill {
    color: #adb5bd;
    flex-shrink: 0;
}
.aihfabs-message-list .aihfabs-message-thread .li_b {
    font-size: 12px;
    color: #868e96;
    line-height: 1.4;
}
.aihfabs-message-list .aihfabs-message-thread .li_b i {
    font-style: normal;
}
.aihfabs-message-list .aihfabs-message-thread > a {
    position: absolute;
    top: 12px;
    right: 10px;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 6px;
    background: #bbb;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.15s, background 0.15s;
}
.aihfabs-message-list .aihfabs-message-thread:hover > a,
.aihfabs-message-list .aihfabs-message-thread.cur > a {
    opacity: 1;
}
.aihfabs-message-list .aihfabs-message-thread.cur > a {
    background: var(--themethree, #e94560);
}
.aihfabs-message-chat {
    flex: 1;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #f4f4f4;
    min-height: 480px;
}
.aihfabs-message-chat-placeholder {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #868e96;
    font-size: 15px;
    text-align: center;
    pointer-events: none;
}
.aihfabs-message-chat .message_history {
    position: relative;
    z-index: 1;
    flex: 1;
    float: none;
    width: 100%;
    height: 100%;
    min-height: 480px;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    box-sizing: border-box;
    background: transparent;
}
.aihfabs-message-chat .message_history .li {
    float: left;
    clear: both;
    width: 72%;
    max-width: 560px;
    display: flex;
    flex-direction: row;
    margin-bottom: 24px;
}
.aihfabs-message-chat .message_history .li .avatar {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: #dee2e6;
    font-size: 18px;
    flex-shrink: 0;
}
.aihfabs-message-chat .message_history .li .msg {
    flex: 1;
    min-width: 0;
    padding: 0 0 0 10px;
}
.aihfabs-message-chat .message_history .li .msg .ti {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2px;
}
.aihfabs-message-chat .message_history .li .msg .time {
    font-size: 12px;
    color: #adb5bd;
    margin-bottom: 6px;
}
.aihfabs-message-chat .message_history .li .msg .content {
    background: #fff;
    padding: 12px 14px;
    border-radius: 0 10px 10px 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.aihfabs-message-chat .message_history .li .msg .content .con {
    word-break: break-word;
}
.aihfabs-message-chat .message_history .li .msg .content .attachment_list {
    display: block;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #eee;
    font-size: 12px;
    color: var(--themethree, #e94560);
    text-decoration: none;
}
.aihfabs-message-chat .message_history .li.r {
    float: right;
    flex-direction: row-reverse;
}
.aihfabs-message-chat .message_history .li.r .msg {
    padding: 0 10px 0 0;
    text-align: right;
}
.aihfabs-message-chat .message_history .li.r .msg .content {
    border-radius: 10px 0 10px 10px;
    text-align: left;
}
/* /user-address-shipping、/user-address-billing */
.aihfabs-address-panel {
    overflow: hidden;
}
.aihfabs-address-panel-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
}
.aihfabs-address-add-btn {
    background: var(--themeone, #e94560);
    border-color: var(--themeone, #e94560);
    color: #fff;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
}
.aihfabs-address-add-btn:hover {
    background: #d63d56;
    border-color: #d63d56;
    color: #fff;
}
.aihfabs-address-table thead th {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
    border-bottom: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    white-space: nowrap;
}
.aihfabs-address-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #1a1a2e;
}
.aihfabs-address-table tbody tr:last-child td {
    border-bottom: none;
}
.aihfabs-address-table tbody tr:hover {
    background: #fafbfc;
}
.aihfabs-address-default {
    color: var(--themethree, #e94560);
    font-size: 1.1rem;
    margin-right: 0.25rem;
    vertical-align: middle;
}
.aihfabs-address-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: 4px;
    border-radius: 4px;
    color: #495057;
    border: 1px solid #dee2e6;
    background: #fff;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.aihfabs-address-action-btn:hover {
    background: #f1f3f5;
    border-color: #ced4da;
    color: #1a1a2e;
}
.aihfabs-user-address-page .address_table,
.aihfabs-user-address-page .mainWrap {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}
.aihfabs-user-address-page .address_table .li {
    float: none !important;
}
.aihfabs-address-form .form-label {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.35rem;
}
.aihfabs-address-form .form-control,
.aihfabs-address-form .form-select {
    font-size: 14px;
    border-radius: 6px;
}
.aihfabs-address-form .form-check-label {
    font-size: 14px;
}

/* 避免旧版 common.css 的 absolute 布局覆盖会员消息页 */
.aihfabs-user-message-page .message_index {
    position: static !important;
    float: none !important;
    height: auto !important;
    padding: 0 !important;
    display: block !important;
}

@media (max-width: 768px) {
    .main_content{float: left;width: 100%;}
    .lr_user{float: left;width: 100%;background: none;margin-top:90px;}
    .modal-body .lr_user{margin-top:0;}
    .lr_user .box{padding:0; height: auto;background: none;box-shadow: none;border: none;margin-top: 0px;width: 100%;}
    .lr_user .box .t b{float: left;width: 100%;font-size: 24px;line-height: 40px;font-family: 'MB'}
    .lr_user .box .t p{float: left;width: 100%;font-size: 13px;line-height: 20px;color: #999;}
    .lr_user .box form{margin-top: 25px;padding:0 15px;}
    .modal-body .lr_user .box form{padding: 0;}
    .lr_user .box form .li{width:100%;margin: 0 0 20px 0;}
    .lr_user .box form .li_agreement{margin: 0px;}
    .lr_user .box form .li .span{width: 100%;display: none;}
    .lr_user .box form .li .input{width: 100%;}
    .lr_user .box form .li .submit{margin-top: 0;}
    .lr_user .box form .create_account{margin-top:30px;}
    .lr_user .box form .create_account .submit{margin-top:-10px;font-size: 14px;}
    .lr_user .box form .li .reg_recaptcha_new {right: 6%;top: -8px;}
    .lr_user .box form#personalized .li.half{width:100%;}
    .lr_user .box .oauth_sign{margin: 0;}
    .lrBottom{display: none;}
    .user .modal-content{width: 100%;margin: 0;}
    .user .modal-dialog .modal-title{font-size: 18px;}
    .lr_user.lr_modal .box{padding: 0;}
    .modal-dialog{margin: 0;}
    .aihfabs-order-panel-head {
        flex-direction: column;
        align-items: stretch !important;
    }
    .aihfabs-order-filter-field--search {
        flex: 1 1 100%;
        max-width: none;
    }
    .aihfabs-order-filter-actions {
        width: 100%;
        justify-content: flex-start;
    }
    .aihfabs-order-search {
        width: 100%;
        flex-wrap: nowrap;
    }
    .aihfabs-order-search .form-control {
        min-width: 0;
        max-width: none;
        flex: 1 1 auto;
        width: auto;
    }
    .aihfabs-message-layout {
        flex-direction: column;
        max-height: none;
        min-height: 0;
    }
    .aihfabs-message-list {
        width: 100%;
        max-width: none;
        max-height: 240px;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    .aihfabs-message-chat .message_history {
        min-height: 360px;
    }
    .aihfabs-message-panel-head {
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px;
    }
    .aihfabs-message-search {
        width: 100%;
        flex-wrap: nowrap;
    }
    .aihfabs-message-search .form-control {
        min-width: 0;
        max-width: none;
        flex: 1 1 auto;
        width: auto;
    }
    .aihfabs-address-panel-head {
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px;
    }
    .aihfabs-address-add-btn {
        width: 100%;
        text-align: center;
    }
    .aihfabs-address-table thead th:nth-child(2),
    .aihfabs-address-table tbody td:nth-child(2) {
        display: none;
    }
}

/* Account balance (/user-account-balance) */
.aihfabs-fund-panel-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
}
.aihfabs-fund-balance {
    color: #f07621;
}
.aihfabs-fund-filter .nav-link {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    border-radius: 4px;
    padding: 0.35rem 0.85rem;
}
.aihfabs-fund-filter .nav-link.active {
    background: #1a1a2e;
    color: #fff;
}
.aihfabs-fund-table thead th {
    background: #e8eaed;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 13px;
    border-bottom: 1px solid #dde0e5;
    padding: 12px 16px;
    white-space: nowrap;
}
.aihfabs-fund-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #eef0f3;
    vertical-align: middle;
}
.aihfabs-fund-table tbody tr:last-child td {
    border-bottom: none;
}
.aihfabs-fund-amount--in {
    color: #2b8a3e;
    font-weight: 600;
}
.aihfabs-fund-amount--out {
    color: #c92a2a;
    font-weight: 600;
}
.aihfabs-fund-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.aihfabs-fund-pagination .pagination li a,
.aihfabs-fund-pagination .pagination li span {
    display: inline-block;
    min-width: 36px;
    line-height: 36px;
    padding: 0 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #fff;
    color: #333;
    text-decoration: none;
}
.aihfabs-fund-pagination .pagination li.active span {
    background: var(--themeone, #e94560);
    border-color: var(--themeone, #e94560);
    color: #fff;
}

/* Refer a friend (/refer-a-friend) */
.aihfabs-referral-card .card-body {
    font-size: 15px;
    line-height: 1.6;
}
.aihfabs-referral-headline {
    font-size: 1.125rem;
    color: #1a1a2e;
}
.aihfabs-referral-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.aihfabs-referral-step-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 102, 0, 0.12);
    color: #ff6600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.aihfabs-referral-coupon-link {
    color: #ff6600;
    text-decoration: none;
}
.aihfabs-referral-coupon-link:hover {
    color: #e55a00;
    text-decoration: underline;
}
.aihfabs-referral-code-pill {
    border: 1px solid #dee2e6;
    background: #f1f3f5;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #1a1a2e;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.aihfabs-referral-code-pill:hover {
    background: #e9ecef;
    border-color: #ced4da;
}
.aihfabs-referral-share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #495057;
    background: #f1f3f5;
    transition: color 0.15s ease, background 0.15s ease;
}
.aihfabs-referral-share-link:hover {
    color: #ff6600;
    background: rgba(255, 102, 0, 0.1);
}
.aihfabs-referral-toast-wrap {
    position: fixed;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5000;
    padding: 1rem;
    pointer-events: none;
}
.aihfabs-referral-toast-wrap .toast {
    min-width: 200px;
    pointer-events: auto;
}
@media (max-width: 576px) {
    .aihfabs-referral-code-row {
        flex-direction: column;
        align-items: stretch !important;
    }
    .aihfabs-referral-code-pill {
        text-align: center;
    }
    .aihfabs-referral-share {
        justify-content: center;
        margin-left: 0 !important;
    }
}