.mf-page, .mf-grid { --mf-accent: #e92323; }
.mf-page { padding-bottom: 56px; }
.mf-heading { min-height: 204px; padding: 30px 0 72px; color: #fff; text-align: center; background: #e92323; }
.mf-heading h1 { margin: 0 0 8px; font-size: 44px; line-height: 60px; }
.mf-heading p { margin: 0 0 18px; }
.mf-heading a { color: inherit; text-decoration: underline; }
.mf-page .mf-content { position: relative; margin-top: -52px; }
.mf-sessions { position: sticky; top: 0; z-index: 2; display: flex; overflow: auto; min-height: 80px; background: #fff; border-bottom: 2px solid var(--mf-accent); }
.mf-sessions a { display: flex; align-items: center; padding: 20px 30px; white-space: nowrap; }
.mf-sessions a[aria-current] { color: #fff; background: #ca171f; }
.mf-session-description { display: flex; align-items: center; gap: 18px; padding: 16px 24px; background: #fff; }
.mf-session-description h2, .mf-session-description p { margin: 0; }
.mf-session-description h2 { font-size: 18px; }
.mf-session-description span { margin-left: auto; white-space: nowrap; }
.mf-message { padding: 12px 0; }
.mf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mf-product { min-width: 0; padding: 16px 24px 14px; background: #fff; }
.mf-image { display: flex; height: 212px; align-items: center; justify-content: center; }
.mf-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .18s ease; }
.mf-image:hover img { transform: scale(1.035); }
.mf-product h3 { margin: 16px 0 4px; font-size: 14px; font-weight: 400; }
.mf-sku { overflow: hidden; margin: 4px 0; color: #67727e; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.mf-buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0 6px; }
.mf-buy strong { color: var(--mf-accent); font-size: 24px; font-weight: 500; }
.mf-buy button { min-height: 32px; padding: 5px 10px; color: #fff; border: 0; border-radius: 2px; background: var(--mf-accent); }
.mf-buy button:disabled { background: #777; cursor: not-allowed; }
.mf-availability { margin: 0; color: #67727e; font-size: 12px; }
.mf-page :focus-visible { outline: 2px solid #253647; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .mf-image img { transition: none; } }

/* 首页秒杀：活动图、场次与四列商品、更多入口。 */
.mall-page .mall-home-flash { display: grid; grid-template-columns: 232px minmax(0, 1fr) 48px; height: 340px; background: #fff; }
.mall-page .mall-home-flash-campaign { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; overflow: hidden; padding: 36px 16px 24px; color: #fff; background: #e92323; text-align: center; }
.mall-page .mall-home-flash-background { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.mall-page .mall-home-flash-campaign h2 { display: -webkit-box; overflow: hidden; max-height: 68px; font-size: 26px; line-height: 34px; font-weight: 700; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mall-page .mall-home-flash-bolt { flex: none; width: 36px; height: 56px; margin: 22px 0 18px; }
.mall-page .mall-home-flash-session { font-size: 22px; line-height: 28px; }
.mall-page .mall-home-flash-caption { font-size: 16px; line-height: 22px; }
.mall-page .mall-home-flash-countdown { display: flex; align-items: center; gap: 5px; margin-top: 16px; font-size: 16px; line-height: 30px; font-variant-numeric: tabular-nums; }
.mall-page .mall-home-flash-countdown span { min-width: 30px; padding: 0 4px; background: #242424; border-radius: 3px; }
.mall-page .mall-home-flash-countdown b { font-weight: 400; }
.mall-page .mall-home-flash-content { min-width: 0; }
.mall-page .mall-home-flash-sessions { display: flex; height: 64px; overflow-x: auto; border-bottom: 1px solid #f1f1f1; }
.mall-page .mall-home-flash-sessions a { display: flex; flex: 1 0 auto; align-items: center; justify-content: center; min-width: 150px; padding: 0 12px; white-space: nowrap; font-size: 14px; font-weight: 700; }
.mall-page .mall-home-flash-sessions a > span { padding: 3px 14px; line-height: 20px; border-radius: 14px; }
.mall-page .mall-home-flash-sessions a[aria-current] > span { color: #fff; background: linear-gradient(90deg, #ff1717, #ff8400); }
.mall-page .mall-home-flash-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 18px 0 16px; }
.mall-page .mall-home-flash-product { min-width: 0; padding: 0 20px; }
.mall-page .mall-home-flash-product + .mall-home-flash-product { border-left: 1px solid #e5e5e5; }
.mall-page .mall-home-flash-image { display: flex; height: 164px; align-items: center; justify-content: center; color: #67727e; }
.mall-page .mall-home-flash-image img { width: 100%; height: 100%; object-fit: contain; }
.mall-page .mall-home-flash-product h3 { overflow: hidden; margin-top: 8px; font-size: 14px; line-height: 20px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.mall-page .mall-home-flash-discount { height: 18px; margin-top: 3px; font-size: 12px; line-height: 16px; }
.mall-page .mall-home-flash-discount span { padding: 0 3px; color: #ff3939; background: #ffe8e8; }
.mall-page .mall-home-flash-price { display: flex; align-items: baseline; gap: 12px; margin-top: 5px; white-space: nowrap; }
.mall-page .mall-home-flash-price strong { color: #ff2020; font-size: 16px; line-height: 22px; font-weight: 700; }
.mall-page .mall-home-flash-price del { color: #89929b; font-size: 12px; }
.mall-page .mall-home-flash-more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff; background: linear-gradient(#ff8a00, #ff170b); }
.mall-page .mall-home-flash-more span { writing-mode: vertical-rl; letter-spacing: 5px; }
.mall-page .mall-home-flash-more b { width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; font-size: 18px; line-height: 14px; text-align: center; font-weight: 400; }
@media (max-width: 1000px) { .mall-page .mall-home-flash { grid-template-columns: 232px 920px 48px; overflow-x: auto; } }
