/* ============================================================
   UP 全站框架件样式（mega-menu 导航 / 浅色页脚）
   字体: Archivo Variable(与目标站同名 family) + Bebas Neue
   ============================================================ */

.up-body {
    font-family: "Archivo Variablefont Wdth Wght", Arial, sans-serif;
    font-size: 16px;
    color: #161412;
    background: #f7f6f3;
    margin: 0;
    padding-top: 0 !important;
}

.up-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}
.up-container > * { box-sizing: border-box; }

/* ---------------- 按钮 ---------------- */
.up-btn {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 11px 22px;
    border-radius: 2px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    line-height: 1.2;
}
.up-btn-dark { background: #161412; color: #fff; border-color: #161412; }
.up-btn-dark:hover { background: #2c2925; color: #fff; }
/* 导航 ENQUIRE 胶囊按钮(对齐目标站 button-68:radius 100px,14px/400,pad 8px 20px) */
.up-btn-nav {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 100px;
    line-height: 1.4;
}
.up-btn-white { background: #fff; color: #161412; border-color: #fff; }
.up-btn-white:hover { background: #e8e6e2; color: #161412; }
.up-arrow { margin-left: 6px; }

/* ---------------- 导航 ---------------- */
.up-header {
    background: #fff;
    border-bottom: 1px solid #e8e6e2;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.up-header-inner {
    display: flex;
    align-items: center;
    height: 56px;
    gap: 20px;
}
.up-logo { flex-shrink: 0; display: flex; align-items: center; }
.up-logo-img { width: 160px; height: auto; display: block; }

.up-nav {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 14px;
    flex: 1;
    height: 100%;
    padding: 0 10px;
}
.up-nav-link {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .06em;
    color: #161412;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
    border-bottom: 2px solid transparent;
}
.up-nav-link:hover { color: #000; border-bottom-color: #161412; }
.up-caret { font-size: 9px; margin-left: 5px; color: #8a867f; }

.up-nav-item { position: relative; height: 100%; display: flex; }
.up-nav-item > .up-nav-link { height: 100%; }

/* 下拉面板(UP FITNESS 风格): 居中悬浮卡片面板, 红黑米白 + 编号链接 + 门店卡 */
.up-nav-item.up-has-drop { position: static; }
.up-drop {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    width: min(860px, calc(100vw - 40px));
    background: #fff;
    border: 1px solid #eceae6;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(22, 20, 18, .18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    z-index: 1010;
}
.up-drop--wide { width: min(940px, calc(100vw - 40px)); }
.up-nav-item:hover .up-drop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
/* 面板骨架 */
.up-mega { padding: 24px 28px 20px; }
.up-mega-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 13px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f0eee9;
}
.up-mega-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    color: #e4002b;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}
a.up-mega-eyebrow:hover { color: #c00025; text-decoration: underline; text-underline-offset: 3px; }
.up-mega-title { font-size: 14px; font-weight: 600; color: #5f5b55; text-align: right; }
/* 主体: 左图 + 右编号链接列表 */
.up-mega-body { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: stretch; }
.up-mega-figure { display: block; position: relative; border-radius: 14px; overflow: hidden; min-height: 236px; }
.up-mega-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.up-mega-figure:hover img { transform: scale(1.04); }
.up-mega-figure--card img { min-height: 236px; }
.up-mega-figure-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e4002b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 4px 11px;
    border-radius: 100px;
}
.up-mega-figure-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 44px 14px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .74));
    color: #fff;
}
.up-mega-figure-cap b { display: block; font-size: 15px; }
.up-mega-figure-cap i { display: block; font-style: normal; font-size: 12px; opacity: .85; margin-top: 2px; }
/* 编号链接项 */
.up-mega-list { display: flex; flex-direction: column; }
.up-mega-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    transition: background .2s ease;
}
.up-mega-item:hover { background: #f7f6f3; }
.up-mega-num {
    font-family: "Bebas Neue", "Archivo Variablefont Wdth Wght", sans-serif;
    font-size: 21px;
    color: #e4002b;
    line-height: 1;
    min-width: 27px;
    text-align: center;
}
.up-mega-item-body { display: flex; flex-direction: column; min-width: 0; }
.up-mega-item-t { font-size: 14.5px; font-weight: 700; color: #161412; }
.up-mega-item-d { font-size: 12.5px; color: #8a867f; margin-top: 2px; }
.up-mega-arrow { margin-left: auto; opacity: .3; color: #e4002b; transition: opacity .2s ease, transform .2s ease; flex: none; }
.up-mega-item:hover .up-mega-arrow { opacity: 1; transform: translateX(4px); }
/* 底部行 */
.up-mega-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid #f0eee9;
}
.up-mega-foot-note { font-size: 12.5px; color: #8a867f; }
.up-mega-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #e4002b;
    text-decoration: none;
    white-space: nowrap;
}
.up-mega-cta svg { transition: transform .25s ease; }
.up-mega-cta:hover svg { transform: translateX(4px); }
/* LOCATIONS: 两张门店卡 */
.up-mega-stores { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.up-mega-store {
    border: 1px solid #eceae6;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    background: #fff;
    transition: box-shadow .25s ease, transform .25s ease;
}
.up-mega-store:hover { box-shadow: 0 16px 40px rgba(22, 20, 18, .12); transform: translateY(-2px); }
.up-mega-store-img { height: 148px; width: 100%; object-fit: cover; display: block; }
.up-mega-store-body { display: block; padding: 13px 16px 15px; }
.up-mega-store-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #161412;
}
.up-mega-store-name svg { flex: none; }
.up-mega-store-addr { display: block; font-size: 12.5px; color: #8a867f; margin: 5px 0 3px; }
.up-mega-store-tel { display: block; font-size: 12.5px; color: #161412; font-weight: 600; }
/* YOUR GOAL: 目标图卡 + 次级链接 */
.up-mega-goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.up-mega-goal { position: relative; border-radius: 14px; overflow: hidden; display: block; }
.up-mega-goal img { width: 100%; height: 122px; object-fit: cover; display: block; transition: transform .35s ease; }
.up-mega-goal:hover img { transform: scale(1.06); }
.up-mega-goal-label {
    position: absolute;
    left: 12px;
    bottom: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}
.up-mega-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; }
.up-mega-links a { font-size: 13px; color: #5f5b55; text-decoration: none; transition: color .2s; }
.up-mega-links a:hover { color: #e4002b; }
.up-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    padding: 2px 8px;
    background: #efede7;
    color: #e4002b;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .02em;
    border-radius: 24px;
    margin-left: 2px;
}

/* 头部右侧 */
.up-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
/* 语言切换(中/EN) */
.up-lang {
    display: inline-flex;
    border: 1px solid #d8d5d0;
    border-radius: 100px;
    overflow: hidden;
}
.up-lang-btn {
    display: inline-block;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 700;
    color: #888b8d;
    text-decoration: none;
    line-height: 1.4;
    transition: background .2s ease, color .2s ease;
}
.up-lang-btn:hover { color: #161412; }
.up-lang-btn.is-active { background: #161412; color: #fff; }
.up-search { color: #161412; font-size: 17px; text-decoration: none; line-height: 1; }
.up-search-icon { display: inline-block; transform: rotate(-45deg); -webkit-transform: rotate(-45deg); }
.up-search:hover { color: #55524c; }

/* 汉堡按钮 */
.up-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
}
.up-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #161412;
}

/* 移动端菜单(UP FITNESS 风格: 分组卡片 + 红色旋转指示 + 子链接左红条) */
.up-mobile-menu {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 6px 14px 26px;
}
.up-mobile-menu.collapse { display: none; }
.up-mobile-menu.collapse.in { display: block; }
/* 菜单展开期间锁住 body 滚动(本站在 html overflow:hidden 下由 body 滚动) */
body.up-menu-open { overflow: hidden; }
.up-m-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 12px;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .05em;
    color: #161412;
    text-decoration: none;
    background: #f7f6f3;
    border-radius: 12px;
}
.up-m-link .up-caret {
    display: inline-block;
    transition: transform .25s ease;
    color: #e4002b;
    font-size: 12px;
}
.up-m-group .collapse.in + .up-m-link .up-caret,
.up-m-link[data-toggle].collapsed ~ .up-caret { transform: rotate(0deg); }
.up-m-sublink {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 4px 0;
    padding: 11px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: #3f3c37;
    text-decoration: none;
    background: #fff;
    border: 1px solid #f0eeea;
    border-left: 3px solid #e4002b;
    border-radius: 10px;
    transition: background .2s ease, border-color .2s ease;
}
.up-m-sublink:hover { background: #fdf5f6; border-color: #e4002b; color: #161412; }
.up-m-sublink:hover, .up-m-link:hover { color: #161412; }
.up-m-link:hover { background: #f2f1ee; }
.up-m-group .collapse { display: none; }
.up-m-group .collapse.in { display: block; padding-bottom: 4px; }
.up-m-all { color: #e4002b !important; font-weight: 700; border-left: none; justify-content: center; background: #fdf5f6; }
.up-m-cta { margin: 18px 24px 0; text-align: center; }

/* ---------------- 页脚(浅色,对齐目标站 footer5) ---------------- */
.up-footer {
    background: #fff;
    color: #161412;
    padding-top: 0;
}
/* 上层:白底 newsletter 区(左文右表单) */
.up-footer-news {
    background: #fff;
}
.up-footer-news-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding-top: 56px;
    padding-bottom: 56px;
}
.up-footer-news-title {
    font-size: 32px;
    font-weight: 700;
    color: #161412;
    margin: 0 0 8px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.up-footer-news-sub {
    color: #888b8d;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}
.up-footer-news-form { max-width: 560px; }
.up-news-form { display: block; }
.up-news-input {
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #a0a2a4;
    border-radius: 24px;
    color: #161412;
    padding: 13px 16px 13px 44px;
    font-size: 16px;
    font-family: inherit;
    height: 48px;
}
.up-news-input:focus { outline: none; border-color: #161412; }
.up-news-input::placeholder { color: #888b8d; }
.up-news-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    font-size: 12px;
    color: #888b8d;
    cursor: pointer;
    line-height: 1.5;
}
.up-news-check input { margin-top: 1px; }
.up-news-row { display: flex; align-items: center; gap: 10px; }
.up-news-btn {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #161412;
    background: #161412;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background .2s ease, border-color .2s ease;
}
.up-news-btn:hover { background: #7c2629; border-color: #7c2629; }
.up-news-btn:disabled { opacity: .55; cursor: default; }
.up-news-msg { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #888b8d; }
.up-news-msg.is-ok { color: #2e7d32; }
.up-news-msg.is-err { color: #b3261e; }

/* 下层:米白 #f7f6f3 链接区(grid 5 列:logo + About/Corporate/Legal/Follow) */
.up-footer-cols {
    background: #f7f6f3;
    border-top: 1px solid #e8e6e2;
}
.up-footer-cols-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding-top: 56px;
    padding-bottom: 56px;
}
.up-footer-brand {
    display: flex;
    align-items: flex-start;
}
.up-logo-img-footer { width: 150px; }
.up-footer-head {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #161412;
    margin: 0 0 8px;
}
.up-footer-link {
    display: block;
    color: rgba(1, 1, 1, .6);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
    line-height: 1.5;
}
.up-footer-link:hover { color: #161412; }
.up-social { display: flex; gap: 14px; }
.up-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #d8d5d0;
    border-radius: 50%;
    color: #161412;
    background: #fff;
}
.up-social-icon:hover { color: #161412; border-color: #161412; }
/* 社交图标容器为微信号弹层定位锚点 */
.up-social { position: relative; }
/* 微信号弹层(点击页脚微信图标展开) */
.up-wechat-pop {
    position: absolute;
    bottom: calc(100% + 14px);
    right: 0;
    width: 260px;
    background: #fff;
    border: 1px solid #e8e6e2;
    border-radius: 14px;
    box-shadow: 0 14px 44px rgba(0, 0, 0, .16);
    padding: 12px 16px 8px;
    z-index: 60;
    box-sizing: border-box;
}
.up-wechat-pop[hidden] { display: none; }
.up-wechat-pop__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.up-wechat-pop__item + .up-wechat-pop__item { border-top: 1px solid #f2f0ec; }
.up-wechat-pop__store { font-size: 12.5px; color: #5f5b55; line-height: 1.5; }
.up-wechat-pop__copy {
    border: 1px solid #e4002b;
    color: #e4002b;
    background: #fff;
    border-radius: 100px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: background .25s ease, color .25s ease;
}
.up-wechat-pop__copy:hover { background: #e4002b; color: #fff; }
.up-wechat-pop__hint { font-size: 11px; color: #8a867f; margin: 6px 0 4px; }

/* 联系区(两店地址与联系方式) */
.up-footer-contact {
    background: #fff;
    border-top: 1px solid #e8e6e2;
    padding: 40px 0 36px;
}
.up-footer-contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.up-footer-contact-col .up-footer-head { margin-bottom: 10px; }
.up-footer-contact-text {
    color: rgba(1, 1, 1, .6);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 6px;
}
.up-footer-contact-link {
    color: #161412;
    font-weight: 600;
    text-decoration: none;
}
.up-footer-contact-link:hover { color: #e4002b; }

/* 底部版权与免责 */
.up-footer-bottom {
    background: #fff;
    padding: 24px 0 32px;
    border-top: 1px solid #e8e6e2;
}
.up-footer-copy {
    text-align: center;
    color: rgba(1, 1, 1, .3);
    font-size: 14px;
    margin: 0 0 12px;
}
.up-footer-disclaimer {
    text-align: center;
    color: #8a867f;
    font-size: 12px;
    line-height: 1.7;
    max-width: 860px;
    margin: 0 auto;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1199px) {
    .up-nav { gap: 18px; }
}
@media (max-width: 991px) {
    .up-nav { display: none; }
    .up-search { display: none; }
    .up-header .up-btn-dark { display: inline-block; }
    .up-burger { display: flex; }
    .up-header-inner { height: 60px; justify-content: space-between; gap: 12px; }
    .up-logo-img { width: 96px; }
    .up-header .up-btn-nav { font-size: 12px; padding: 7px 12px; white-space: nowrap; }
    /* 覆盖式展开: 面板锚定 header 下缘、占满剩余视口, 不再下推页面 */
    .up-mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: calc(100vh - 100%);
        height: calc(100dvh - 100%);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        z-index: 5;
        box-shadow: 0 24px 40px rgba(22, 20, 18, .14);
    }
    .up-mobile-menu.collapse.in {
        height: calc(100vh - 100%);
        height: calc(100dvh - 100%);
    }
    .up-footer-news-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
    .up-footer-cols-inner { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
}
/* 桌面宽度下强制收起(移动中窗口拉宽的兜底, JS 会同步清理滚动锁) */
@media (min-width: 992px) {
    .up-mobile-menu { display: none !important; }
}
@media (max-width: 767px) {
    .up-container { padding: 0 16px; }
    .up-footer { padding-bottom: 0; }
    .up-logo-img { width: 84px; }
    .up-footer-news-title { font-size: 26px; }
    .up-footer-cols-inner { grid-template-columns: 1fr 1fr; padding-top: 40px; padding-bottom: 40px; gap: 22px; }
    .up-footer-brand { margin-bottom: 4px; }
    .up-footer-contact-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 0; }
}
