/* ================================================================
   天恒健研官方商城
   Design System: Premium Health-Tech E-commerce
   ================================================================ */

/* === 主题兼容：商城页面隐藏默认页面元素 ===
   注意：以下选择器仅作用于文章内容容器本身（article / entry-content），
   刻意不使用 #content、.site-content、.ast-container 等可能被主题头部/顶部菜单栏共用的
   容器类，避免插件样式影响主题原有顶部菜单栏的外观与布局。 */
.thmp-mall-page .entry-header,
.thmp-mall-page .page-title-bar,
.thmp-mall-page .ast-page-title-bar { display: none !important; }
.thmp-mall-page article.page,
.thmp-mall-page .type-page .entry-content { background: #fff !important; padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
.thmp-mall-page .entry-content > p:empty { display: none !important; }

/* === 基础重置 & 设计令牌（颜色已优化） === */
.thmp-main, .thmp-main * { box-sizing: border-box; }
.thmp-main {
    --thmp-primary: #002266;          /* 主色（深蓝） */
    --thmp-primary-light: #2A5A9C;    /* 主色亮色（悬停、激活） */
    --thmp-accent: #C49B4A;           /* 强调色（暗金，与深蓝和谐） */
    --thmp-dark: #0A1A3A;             /* 深色背景（深蓝黑） */
    --thmp-bg: #FAFAF8;               /* 页面背景（浅灰） */
    --thmp-muted: #6B7A8E;            /* 辅助文字/图标（蓝灰） */
    --thmp-line: #E2E8F0;             /* 分割线/边框（浅蓝灰） */
    --thmp-radius: 16px;
    --thmp-shadow: 0 2px 8px -2px rgba(0,34,102,0.08);
    --thmp-text: #1A2B26;
    --thmp-font: 'Inter', sans-serif;
    --thmp-font-size: 16px;
    --thmp-container: 1400px;
    --thmp-section-pad: 90px;
    --thmp-heading-transform: none;
    --thmp-anim-duration: 600ms;

    color: var(--thmp-text, #1A2B26);
    background: var(--thmp-bg, #FAFAF8);
    font-family: var(--thmp-font, 'Inter', sans-serif);
    font-size: var(--thmp-font-size, 16px);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.thmp-main a { text-decoration: none; color: inherit; }
.thmp-main img { max-width: 100%; height: auto; display: block; }
.thmp-main ul, .thmp-main ol { margin: 0; padding: 0; list-style: none; }

/* 容器 */
.thmp-container { width: min(var(--thmp-container, 1400px), calc(100% - 48px)); margin-left: auto; margin-right: auto; }

/* === 顶部工具栏 === */
.thmp-topbar { background: var(--thmp-dark, #0A1A3A); color: rgba(255,255,255,.65); font-size: 12px; letter-spacing: .03em; }
.thmp-topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }

/* === 主头部 === */
.thmp-header { background: var(--thmp-primary, #002266); border-bottom: 1px solid rgba(255,255,255,.12); position: sticky; top: 0; z-index: 100; transition: box-shadow .3s ease; }
.thmp-header.scrolled { box-shadow: 0 4px 24px -8px rgba(0,0,0,.25); }
.thmp-header__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; min-height: 88px; }

/* Logo */
.thmp-header__brand { display: flex; flex-direction: column; gap: 2px; color: #fff; }
.thmp-header__brand-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .75; color: #fff; }
.thmp-header__brand-name { font-size: 24px; font-weight: 800; letter-spacing: .02em; color: #fff; }

/* 搜索（保留原始白底搜索框样式，在色块头部上更醒目） */
.thmp-header__search { display: flex; align-items: center; height: 48px; border: 0; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px -2px rgba(0,0,0,.15); transition: box-shadow .3s; }
.thmp-header__search:focus-within { box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.thmp-header__search-icon { margin: 0 14px; color: var(--thmp-muted, #6B7A8E); flex-shrink: 0; }
.thmp-header__search input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 14px; padding: 0 4px; background: transparent; color: var(--thmp-text, #1A2B26); }
.thmp-header__search input::placeholder { color: var(--thmp-muted, #6B7A8E); }
.thmp-header__search-btn { height: 100%; padding: 0 28px; border: 0; background: var(--thmp-dark, #0A1A3A); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .25s; }
.thmp-header__search-btn:hover { background: #000; }

/* Actions */
.thmp-header__actions { display: flex; align-items: center; gap: 24px; }
.thmp-header__action-link { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #fff; transition: color .2s; position: relative; }
.thmp-header__action-link:hover { color: var(--thmp-accent, #fff); }
.thmp-header__cart-count { position: absolute; top: -6px; right: -10px; display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #D83A32; color: #fff; font-size: 10px; font-weight: 700; }

.thmp-header__mobile-toggle { display: none; background: none; border: 0; cursor: pointer; color: #fff; padding: 8px; }

/* === 导航栏 === */
.thmp-nav { background: var(--thmp-dark, #0A1A3A); }
.thmp-nav__inner { display: flex; align-items: center; gap: 36px; min-height: 54px; }
.thmp-nav a { font-size: 14px; font-weight: 600; color: #fff; transition: color .2s; }
.thmp-nav a:hover { color: var(--thmp-accent, #C49B4A); }
.thmp-nav__all { display: flex; align-items: center; gap: 8px; padding: 0 20px 0 0; border-right: 1px solid rgba(255,255,255,.18); padding-right: 36px; margin-right: 0; color: #fff; }

/* === Hero 首屏 === */
.thmp-hero { position: relative; overflow: visible; padding: 24px 0 0; background: #F6F8F7; }
.thmp-hero--image { background-size: cover; background-position: center; }
.thmp-hero--image::before { content: ''; position: absolute; inset: 0; background: rgba(10,26,58,.6); }
.thmp-hero--image .thmp-container { position: relative; z-index: 1; }

.thmp-hero__inner { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: stretch; }

/* 侧边分类 - 高度与Banner一致，内容过多时滚动 */
.thmp-hero__sidebar {
    padding: 24px 20px;
    background: var(--thmp-primary, #002266);
    border-radius: var(--thmp-radius, 16px);
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.thmp-hero__sidebar::-webkit-scrollbar {
    width: 4px;
}
.thmp-hero__sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.thmp-hero__sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
}

.thmp-hero__sidebar-title { margin: 0 0 16px; font-size: 17px; font-weight: 700; flex-shrink: 0; }
.thmp-hero__sidebar-item { position: relative; border-bottom: 1px solid rgba(255,255,255,.1); flex-shrink: 0; }
.thmp-hero__sidebar-item:last-child { border-bottom: 0; }
.thmp-hero__sidebar-link { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; color: rgba(255,255,255,.85); font-size: 14px; transition: all .2s; }
.thmp-hero__sidebar-link:hover { color: #fff; padding-left: 6px; }
.thmp-hero__sidebar-link svg { opacity: .5; transition: all .2s; }
.thmp-hero__sidebar-link:hover svg { opacity: 1; }
.thmp-hero__sidebar-item.has-children.is-open > .thmp-hero__sidebar-link svg { transform: rotate(180deg); opacity: 1; }
.thmp-hero__sidebar-item:not(.has-children) > .thmp-hero__sidebar-link:hover svg { transform: translateX(3px); }

/* 子分类下拉弹窗 - 相对定位，不重叠，透明背景 + 白色文字 */
.thmp-hero__flyout {
    display: none;
    position: relative;
    padding: 4px 0 8px 0;
    background: transparent !important;
    box-shadow: none !important;
    max-height: none;
    overflow: visible;
    width: 100%;
}
.thmp-hero__sidebar-item.is-open .thmp-hero__flyout { display: block; }
.thmp-hero__flyout-link {
    display: block;
    padding: 6px 16px 6px 24px;
    border-radius: 4px;
    font-size: 13px;
    color: rgba(255,255,255,0.85) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background .2s, color .2s;
}
.thmp-hero__flyout-link:last-child { border-bottom: none; }
.thmp-hero__flyout-link:hover {
    background: rgba(255,255,255,0.10);
    color: #fff !important;
}

/* Hero Banner */
.thmp-hero__banner { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 56px clamp(36px, 5vw, 90px); border-radius: var(--thmp-radius, 16px); overflow: hidden; color: #fff;
	background: var(--thmp-primary, #002266); height: 100%; min-height: unset; }

.thmp-hero__content { position: relative; z-index: 2; max-width: 540px; }

.thmp-hero__badge { display: inline-flex; align-items: center; padding: 6px 14px; margin-bottom: 18px; border-radius: 100px; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); font-size: 12px; font-weight: 600; letter-spacing: .03em; }

.thmp-hero__eyebrow { margin: 0 0 16px; color: #C49B4A; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

.thmp-hero__title { margin: 0; font-size: clamp(36px, 4.2vw, 64px); line-height: 1.14; letter-spacing: -.03em; font-weight: 800; }

.thmp-hero__desc { margin: 22px 0 32px; color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.7; max-width: 420px; }

.thmp-hero__btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 10px; background: var(--thmp-dark, #0A1A3A); color: #fff; font-size: 14px; font-weight: 700; transition: all .3s cubic-bezier(.4,0,.2,1); }
.thmp-hero__btn:hover { background: #000; transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(0,0,0,.4); gap: 14px; }
.thmp-hero__btn svg { transition: transform .3s; }

/* Hero 产品 - 比例自适应，图片固定 */
.thmp-hero__product {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40%;
    max-width: 380px;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 16px;
    border-radius: var(--thmp-radius, 16px);
    background: rgba(255,255,255,.06);
}
.thmp-hero__product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: none !important;
}
.thmp-hero__product-label {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,.92);
    color: var(--thmp-primary, #002266);
    font-size: 12px;
    font-weight: 700;
}

/* 装饰圆环容器 */
.thmp-hero__deco-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; border-radius: inherit; }
.thmp-hero__deco-ring { position: absolute; right: -10%; bottom: -70%; width: 60%; height: 140%; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; pointer-events: none; }
.thmp-hero__deco-ring--2 { right: 5%; bottom: -80%; width: 45%; height: 120%; border-color: rgba(196,155,74,.12); }

/* === 优势栏 === */
.thmp-benefits { border-bottom: 1px solid var(--thmp-line, #E2E8F0); background: #fff; }
.thmp-benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.thmp-benefits__item { display: flex; align-items: center; gap: 14px; padding: 28px 24px; border-right: 1px solid var(--thmp-line, #E2E8F0); transition: background .3s; }
.thmp-benefits__item:last-child { border-right: 0; }
.thmp-benefits__item:hover { background: rgba(0,34,102,.02); }
.thmp-benefits__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(0,34,102,.08); color: var(--thmp-primary, #002266); flex-shrink: 0; }
.thmp-benefits__text strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.thmp-benefits__text span { display: block; color: var(--thmp-muted, #6B7A8E); font-size: 12px; }

/* === 通用区块 === */
.thmp-section { padding: var(--thmp-section-pad, 90px) 0; }

.thmp-section__head { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; margin-bottom: 40px; text-align: left; }
.thmp-section__eyebrow { grid-column: 1/-1; margin: 0; color: var(--thmp-accent, #C49B4A); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; text-align: left; }
.thmp-section__title { margin: 0; font-size: clamp(28px, 3vw, 44px); letter-spacing: -.02em; font-weight: 800; text-transform: var(--thmp-heading-transform, none); text-align: left; }
.thmp-section__link { display: inline-flex; align-items: center; gap: 6px; color: var(--thmp-primary, #002266); font-size: 14px; font-weight: 600; transition: gap .2s; }
.thmp-section__link:hover { gap: 10px; }

/* === 甄选推荐 === */
.thmp-featured { background: var(--thmp-bg, #FAFAF8); }
.thmp-featured__layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: stretch; }

.thmp-featured__message { display: flex; flex-direction: column; justify-content: space-between; padding: 40px 32px; border-radius: var(--thmp-radius, 16px); background: var(--thmp-primary, #002266); color: #fff; }
.thmp-featured__brand { margin: 0; font-size: clamp(32px, 3.5vw, 52px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; white-space: pre-line; }
.thmp-featured__subtext { display: block; margin: 20px 0; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.7; }
.thmp-featured__cta { display: inline-flex; align-items: center; gap: 8px; color: var(--thmp-accent, #C49B4A); font-size: 14px; font-weight: 600; transition: gap .2s; }
.thmp-featured__cta:hover { gap: 12px; }

/* === 产品卡片 === */
.thmp-products { display: grid; gap: 20px; }
.thmp-products--featured { grid-template-columns: repeat(4, 1fr); }
.thmp-products--grid { grid-template-columns: repeat(var(--thmp-columns, 4), 1fr); }

.thmp-product-card { position: relative; background: #fff; border-radius: var(--thmp-radius, 16px); overflow: hidden; border: 1px solid var(--thmp-line, #E2E8F0); box-shadow: var(--thmp-shadow, 0 2px 8px -2px rgba(0,34,102,0.08)); transition: all .4s cubic-bezier(.4,0,.2,1); }
.thmp-product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -12px rgba(0,34,102,0.18); border-color: transparent; }

.thmp-product-card__media { position: relative; aspect-ratio: 1; overflow: hidden; background: #F8F9F7; }
.thmp-product-card__media a { display: block; width: 100%; height: 100%; }
.thmp-product-card__img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.thmp-product-card:hover .thmp-product-card__img { transform: scale(1.06); }

.thmp-product-card__badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.thmp-product-card__badge--sale { background: #D83A32; color: #fff; }
.thmp-product-card__badge--featured { top: 12px; right: 12px; left: auto; background: #C49B4A; color: #fff; }

.thmp-product-card__actions { position: absolute; bottom: 12px; right: 12px; z-index: 2; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateX(12px); transition: all .3s ease; }
.thmp-product-card:hover .thmp-product-card__actions { opacity: 1; transform: translateX(0); }

.thmp-product-card__action-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); color: var(--thmp-text, #1A2B26); box-shadow: 0 4px 12px -4px rgba(0,0,0,.15); transition: all .25s; cursor: pointer; border: 0; }
.thmp-product-card__action-btn:hover { background: var(--thmp-primary, #002266); color: #fff; transform: scale(1.08); }
.thmp-product-card__action-btn--cart:hover { background: var(--thmp-primary-light, #2A5A9C); }

.thmp-product-card__body { padding: 18px 20px 20px; }
.thmp-product-card__cat { margin: 0 0 8px; font-size: 12px; color: var(--thmp-muted, #6B7A8E); letter-spacing: .02em; }
.thmp-product-card__title { margin: 0 0 14px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.thmp-product-card__title a { color: var(--thmp-text, #1A2B26); transition: color .2s; }
.thmp-product-card__title a:hover { color: var(--thmp-primary, #002266); }

.thmp-product-card__footer { display: flex; align-items: center; justify-content: space-between; }
.thmp-product-card__price { font-size: 17px; font-weight: 700; color: var(--thmp-primary, #002266); }
.thmp-product-card__price del { color: var(--thmp-muted, #6B7A8E); font-weight: 400; font-size: 13px; margin-right: 6px; }
.thmp-product-card__link { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,34,102,.06); color: var(--thmp-primary, #002266); transition: all .25s; }
.thmp-product-card__link:hover { background: var(--thmp-primary, #002266); color: #fff; transform: rotate(-45deg); }

/* === 营销横幅 === */
.thmp-campaign { position: relative; padding: clamp(60px, 10vw, 120px) 0; overflow: hidden; color: #fff; background: rgba(10,26,58,.8) var(--thmp-campaign-img, none) center/cover; background-blend-mode: multiply; background-color: var(--thmp-dark, #0A1A3A); }
.thmp-campaign__content { max-width: 620px; }
.thmp-campaign__eyebrow { margin: 0 0 16px; color: var(--thmp-accent, #C49B4A); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.thmp-campaign__title { margin: 0; font-size: clamp(36px, 4.5vw, 64px); letter-spacing: -.03em; font-weight: 800; line-height: 1.15; }
.thmp-campaign__desc { max-width: 480px; margin: 22px 0 32px; color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.8; }
.thmp-campaign__btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 10px; background: var(--thmp-dark, #0A1A3A); color: #fff; font-size: 14px; font-weight: 700; transition: all .3s; }
.thmp-campaign__btn:hover { background: #000; transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(0,0,0,.4); gap: 14px; }

/* === 新品上市 === */
.thmp-new { background: var(--thmp-bg, #FAFAF8); }

/* === 客户评价 === */
.thmp-testimonials { background: var(--thmp-bg, #FAFAF8); }
.thmp-testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.thmp-testimonials__card { padding: 32px 28px; border-radius: var(--thmp-radius, 16px); background: #fff; border: 1px solid var(--thmp-line, #E2E8F0); box-shadow: var(--thmp-shadow, 0 2px 8px -2px rgba(0,34,102,0.08)); transition: all .3s; }
.thmp-testimonials__card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -12px rgba(0,34,102,0.16); }
.thmp-testimonials__stars { display: flex; gap: 3px; color: var(--thmp-accent, #C49B4A); margin-bottom: 16px; }
.thmp-testimonials__text { margin: 0 0 24px; font-size: 15px; line-height: 1.8; color: var(--thmp-text, #1A2B26); min-height: 84px; }
.thmp-testimonials__author { display: flex; align-items: center; gap: 12px; }
.thmp-testimonials__avatar { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--thmp-primary, #002266); color: #fff; font-weight: 700; flex-shrink: 0; }
.thmp-testimonials__author strong { display: block; font-size: 14px; }
.thmp-testimonials__author span { display: block; font-size: 12px; color: var(--thmp-muted, #6B7A8E); }

/* === 常见问题 FAQ === */
.thmp-faq { background: #fff; }
.thmp-faq__layout { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.thmp-faq__list { display: flex; flex-direction: column; gap: 12px; }
.thmp-faq__item { border: 1px solid var(--thmp-line, #E2E8F0); border-radius: var(--thmp-radius, 16px); overflow: hidden; transition: border-color .25s; }
.thmp-faq__item:hover { border-color: var(--thmp-primary, #002266); }
.thmp-faq__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: none; border: 0; text-align: left; font-size: 15px; font-weight: 600; color: var(--thmp-text, #1A2B26); cursor: pointer; }
.thmp-faq__question svg { flex-shrink: 0; transition: transform .3s; color: var(--thmp-primary, #002266); }
.thmp-faq__item.is-open .thmp-faq__question svg { transform: rotate(180deg); }
.thmp-faq__answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.thmp-faq__item.is-open .thmp-faq__answer { max-height: 240px; }
.thmp-faq__answer p { margin: 0; padding: 0 24px 20px; color: var(--thmp-muted, #6B7A8E); font-size: 14px; line-height: 1.8; }

/* === 通知 === */
.thmp-notice-box { padding: 100px 40px; text-align: center; max-width: 600px; margin: 0 auto; }
.thmp-notice-box h2 { color: var(--thmp-primary, #002266); }

/* === 滚动入场动画 === */
[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity var(--thmp-anim-duration, 600ms) cubic-bezier(.4,0,.2,1), transform var(--thmp-anim-duration, 600ms) cubic-bezier(.4,0,.2,1); }
[data-animate].thmp-visible { opacity: 1; transform: translateY(0); }

/* 动画类型变体 */
.thmp-main[data-anim="fade"] [data-animate] { transform: none; }
.thmp-main[data-anim="slide"] [data-animate] { transform: translateX(-30px); }
.thmp-main[data-anim="zoom"] [data-animate] { transform: scale(.92); }

/* === 无障碍 === */
.thmp-main a:focus-visible, .thmp-main button:focus-visible, .thmp-main input:focus-visible { outline: 2px solid var(--thmp-primary-light, #2A5A9C); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	[data-animate] { opacity: 1 !important; transform: none !important; transition: none !important; }
	* { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* === 响应式：平板（≤1200px） === */
@media (max-width: 1200px) {
	.thmp-header__inner { grid-template-columns: auto 1fr auto; gap: 24px; }
	.thmp-header__actions { gap: 16px; }
	.thmp-hero__inner { grid-template-columns: 200px 1fr; }
	.thmp-hero__banner { padding: 44px; }
	/* 新品优先体验在平板端改为2列（与甄选推荐一致） */
	.thmp-products--grid { grid-template-columns: repeat(2, 1fr); }
	.thmp-faq__layout { grid-template-columns: 260px 1fr; gap: 32px; }
	.thmp-testimonials__grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
	/* 平板及以下隐藏导航菜单和汉堡按钮 */
	.thmp-nav { display: none !important; }
	.thmp-header__mobile-toggle { display: none !important; }
}

/* === 响应式：手机（≤900px） === */
@media (max-width: 900px) {
	.thmp-container { width: min(100% - 36px, var(--thmp-container, 1400px)); }

	.thmp-topbar__inner { justify-content: center; text-align: center; }
	.thmp-topbar__right { display: none; }

	.thmp-header__inner { grid-template-columns: 1fr auto; min-height: 72px; gap: 16px; }
	.thmp-header__search { grid-row: 2; grid-column: 1/-1; margin-bottom: 14px; }
	.thmp-header__actions { font-size: 12px; gap: 14px; }
	.thmp-header__action-link span { display: none; }
	/* 手机端也隐藏汉堡按钮（因为导航已在平板端隐藏，此按钮无用） */
	.thmp-header__mobile-toggle { display: none !important; }

	/* 导航已在平板端隐藏，此处不再处理 */

	.thmp-hero__inner { grid-template-columns: 1fr; }
	.thmp-hero__sidebar { display: none; }

	.thmp-benefits__grid { grid-template-columns: repeat(2, 1fr); }
	.thmp-benefits__item:nth-child(2) { border-right: 0; }
	.thmp-benefits__item:nth-child(1), .thmp-benefits__item:nth-child(2) { border-bottom: 1px solid var(--thmp-line, #E2E8F0); }

	.thmp-featured__layout { grid-template-columns: 1fr; }
	.thmp-products--featured { grid-template-columns: repeat(2, 1fr); }
	.thmp-products--grid { grid-template-columns: repeat(2, 1fr); }

	.thmp-testimonials__grid { grid-template-columns: 1fr; }
	.thmp-faq__layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	.thmp-container { width: min(100% - 28px, var(--thmp-container, 1400px)); }
	.thmp-section { padding: 60px 0; }

	.thmp-header__brand-name { font-size: 20px; }
	.thmp-header__search { height: 44px; }
	.thmp-header__search-btn { padding: 0 20px; }

	.thmp-hero__banner { min-height: 480px; padding: 40px 24px; flex-direction: column; align-items: flex-start; justify-content: center; }
	.thmp-hero__title { font-size: 38px; }
	.thmp-hero__product { position: absolute; right: 10px; bottom: 20px; width: 50%; height: 200px; opacity: .8; }
	.thmp-hero__deco-ring { display: none; }

	.thmp-benefits__grid { grid-template-columns: 1fr; }
	.thmp-benefits__item { border-right: 0; border-bottom: 1px solid var(--thmp-line, #E2E8F0); padding: 18px 0; }
	.thmp-benefits__item:last-child { border-bottom: 0; }

	.thmp-products--featured, .thmp-products--grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

	.thmp-product-card__body { padding: 14px 16px 16px; }
	.thmp-product-card__title { font-size: 14px; }
	.thmp-product-card__price { font-size: 15px; }

	.thmp-section__head { grid-template-columns: 1fr; }
	.thmp-section__link { justify-self: start; }
}

@media (max-width: 400px) {
	.thmp-products--featured, .thmp-products--grid { grid-template-columns: 1fr; }
}

/* ===== 新增优化样式（等高、展开强制、Banner 自适应） ===== */
.thmp-hero__sidebar-title,
.thmp-hero__title,
.thmp-campaign__title {
    color: #fff !important;
}

.thmp-hero__inner {
    align-items: stretch;
}
.thmp-hero__sidebar {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.thmp-hero__banner {
    height: 100%;
    min-height: unset;
}

/* 强制侧边栏下拉展开（确保显示） */
.thmp-hero__sidebar-item.is-open .thmp-hero__flyout {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 优化产品图容器：适应比例，图片固定 */
.thmp-hero__product {
    width: 40%;
    max-width: 380px;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 16px;
}
.thmp-hero__product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: none !important;
}
/* ===== 修复大屏偏左 + 适配主题容器宽度1200px ===== */
/* 1. 确保商城主容器占满父级宽度并居中 */
.thmp-main {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 2. 内容容器宽度统一为1200px，并居中（与主题一致） */
.thmp-container {
    max-width: 1600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;  /* 保留安全内边距，可根据需要调整 */
    padding-right: 15px !important;
}

/* 3. 重置父级可能的额外内边距（修复偏左根源） */
.thmp-mall-page .entry-content,
.thmp-mall-page .type-page .entry-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 4. 全宽背景区块（优势栏、营销横幅等）保持铺满，内容居中 */
.thmp-benefits,
.thmp-campaign,
.thmp-testimonials,
.thmp-newsletter,
.thmp-service,
.thmp-featured,
.thmp-new {
    width: 100% !important;
}