/* ============================================================
   首页 — 小米商城风格（参考 mi.com/shop 信息架构）
   结构：首屏三列（左分类菜单 + 大图轮播）→ 服务/精选 Bento
        → 整宽促销 → 小米闪购倒计时 → 8 个分类楼层 → 品牌动态
   依赖 common.css：设计令牌 + .mi-wrap / .mi-section / .section-head / .btn
   仅本页样式，勿重复定义上面这些公共类
   ============================================================ */

.mi-home { background: var(--bg); }

/* ============================================================
   一、首屏三列：左侧分类菜单 + 右侧大图轮播
   ============================================================ */
.hero-3col { background: var(--bg); padding-top: 18px; }
.hero-3col-inner {
    display: grid;
    grid-template-columns: 234px 1fr;
    gap: 14px;
    align-items: stretch;
}

/* ---------- 左侧深色分类竖排菜单 ---------- */
.cat-menu {
    position: relative;
    z-index: 30;
    background: var(--ink);
    border-radius: var(--radius);
    padding: 12px 0;
    min-height: 100%;
}
.cat-menu-list { display: flex; flex-direction: column; }
.cat-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    color: #e6e6e6;
    font-size: 14px;
    transition: background var(--fast), color var(--fast);
}
.cat-menu-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-menu-arrow { flex-shrink: 0; opacity: .55; }
.cat-menu-item:hover > .cat-menu-link,
.cat-menu-item.is-open > .cat-menu-link { background: var(--brand); color: #fff; }
.cat-menu-item:hover > .cat-menu-link .cat-menu-arrow,
.cat-menu-item.is-open > .cat-menu-link .cat-menu-arrow { opacity: 1; }

/* 悬停弹层：白色 mega 面板，锚定在分类菜单列右侧、覆盖在轮播之上
   （与 mi.com/shop 一致：面板位置固定、内容随悬停项切换） */
.cat-mega {
    position: absolute;
    top: 0;
    left: 100%;
    width: 640px;
    max-width: calc(100vw - 300px);
    height: 100%;
    min-height: 420px;
    max-height: 640px;
    background: #fff;
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: opacity var(--fast), transform var(--fast), visibility var(--fast);
    pointer-events: none;
}
.cat-menu-item:hover .cat-mega,
.cat-menu-item.is-open .cat-mega {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}
.cat-mega-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 22px 24px;
}
.mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 22px;
    flex: 1;
    align-content: start;
}
.mega-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    padding: 8px;
    border-radius: var(--radius-s);
    transition: background var(--fast);
}
.mega-item:hover { background: var(--brand-light); color: var(--text); }
.mega-thumb {
    grid-row: span 2;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-xs);
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mega-thumb img { width: 86%; height: 86%; object-fit: contain; }
.mega-thumb-ph { width: 100%; height: 100%; background: #f0f0f0; }
.mega-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-strong);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mega-price { font-size: 12px; color: var(--brand); font-weight: 600; }
.mega-empty { color: var(--text-3); font-size: 13px; flex: 1; }
.mega-more {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line-2);
    font-size: 13px;
    color: var(--brand);
    font-weight: 500;
}

/* ---------- 右侧主视觉轮播 ---------- */
.hero-main {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--ink);
    min-height: 420px;
}
.hero-track {
    display: flex;
    height: 100%;
    transition: transform .6s var(--ease);
    will-change: transform;
}
.hero-slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-slide--dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .22) 44%, transparent 70%);
}
.hero-slide--light::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .35) 44%, transparent 70%);
}
.hero-slide--dark .hero-content { color: #fff; }
.hero-slide--light .hero-content { color: var(--text-strong); }

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 56px;
}
.hero-eyebrow {
    font-size: 14px;
    letter-spacing: 4px;
    margin-bottom: 14px;
    opacity: .88;
}
.hero-title {
    font-size: clamp(28px, 3vw, 46px);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: 1px;
    margin-bottom: 16px;
    max-width: 560px;
}
.hero-sub {
    font-size: clamp(13px, 1.1vw, 16px);
    line-height: 1.7;
    opacity: .85;
    margin-bottom: 28px;
    letter-spacing: 1px;
    max-width: 560px;
}
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-btn { min-width: 140px; height: 44px; font-size: 15px; }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, .3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--fast), opacity var(--fast);
}
.hero-arrow:hover { background: rgba(0, 0, 0, .6); }
.hero-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

.hero-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}
.hero-dot {
    position: relative;
    width: 30px;
    height: 40px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}
.hero-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .5);
    box-shadow: 0 0 5px rgba(0, 0, 0, .4);
    transition: background var(--fast), width var(--fast);
}
.hero-dot.active::before { background: #fff; width: 38px; }
.hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 0; }

/* ============================================================
   二、服务 + 精选商品 Bento（1 深色服务卡 + 3 商品卡）
   ============================================================ */
.bento {
    display: grid;
    grid-template-columns: 234px repeat(3, 1fr);
    gap: 14px;
}
.bento-service {
    background: var(--ink-2);
    border-radius: var(--radius);
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 4px;
}
.bento-svc {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 4px;
    border-radius: var(--radius-s);
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    text-align: center;
    transition: background var(--fast), color var(--fast);
}
.bento-svc svg { color: var(--brand); }
.bento-svc:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.bento-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    min-height: 200px;
    background: var(--card);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    padding: 24px 22px 20px;
    overflow: hidden;
    transition: box-shadow var(--fast), transform var(--fast), border-color var(--fast);
}
.bento-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    border-color: transparent;
    color: var(--text);
}
.bento-card-info { position: relative; z-index: 2; min-width: 0; }
.bento-card-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-strong);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bento-card-desc {
    font-size: 12px;
    color: var(--text-2);
    margin: 6px 0 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bento-card-price { font-size: 14px; color: var(--brand); font-weight: 600; }
.bento-card-thumb {
    position: absolute;
    right: -6px;
    bottom: -6px;
    width: 128px;
    height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bento-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--mid);
}
.bento-card:hover .bento-card-thumb img { transform: scale(1.06); }
.bento-card-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    font-size: 11px;
    font-weight: 700;
    color: var(--brand);
    background: var(--brand-light);
    border-radius: 999px;
    padding: 2px 10px;
}

/* ============================================================
   三、整宽促销横幅
   ============================================================ */
.promo-section { padding: 0 0 40px; }
.promo-banner {
    position: relative;
    display: block;
    height: 240px;
    overflow: hidden;
}
.promo-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--mid);
}
.promo-banner:hover img { transform: scale(1.02); }
.promo-banner-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0 max(24px, calc((100vw - 1226px) / 2));
    color: #fff;
    background: linear-gradient(90deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .18) 55%, transparent 78%);
}
.promo-eyebrow { font-size: 13px; letter-spacing: 3px; opacity: .9; }
.promo-banner-text h3 { font-size: 30px; font-weight: 700; letter-spacing: .5px; }
.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
}
.promo-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    transition: background var(--fast), transform var(--fast);
}
.promo-banner:hover .promo-arrow { background: rgba(255, 255, 255, .2); transform: translateX(3px); }
.promo-corner {
    position: absolute;
    top: 22px;
    right: 26px;
    background: var(--danger);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}

/* ============================================================
   四、小米闪购（倒计时 + 横滑）
   ============================================================ */
.flash-section { background: #fff; }
.flash-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.flash-title { font-size: 22px; font-weight: 600; color: var(--text-strong); }
.flash-timer { display: flex; align-items: center; gap: 4px; }
.flash-timer-label { font-size: 13px; color: var(--text-2); margin-right: 6px; }
.flash-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-xs);
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.flash-colon { color: var(--ink); font-weight: 700; }
.flash-more { margin-left: auto; font-size: 14px; color: var(--brand); font-weight: 500; }

.flash-rail { position: relative; }
.flash-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    padding-bottom: 6px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.flash-track::-webkit-scrollbar { display: none; }
.flash-card {
    flex: 0 0 172px;
    scroll-snap-align: start;
    background: var(--card);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    padding: 14px 12px 16px;
    text-align: center;
    transition: box-shadow var(--fast), transform var(--fast), border-color var(--fast);
}
.flash-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    border-color: transparent;
    color: var(--text);
}
.flash-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fafafa;
    border-radius: var(--radius-s);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px;
}
.flash-thumb img { width: 78%; height: 78%; object-fit: contain; }
.flash-thumb-ph { width: 100%; height: 100%; background: #f0f0f0; }
.flash-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-strong);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 6px;
}
.flash-price { font-size: 15px; font-weight: 700; color: var(--brand); }
.flash-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-s);
    transition: background var(--fast), color var(--fast), border-color var(--fast);
}
.flash-nav:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.flash-prev { left: -18px; }
.flash-next { right: -18px; }

/* ============================================================
   五、分类楼层栏目（左海报 + 右 4 列商品卡）
   ============================================================ */
.floor { padding: 26px 0; }
.floor-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 18px;
}
.floor-title { font-size: 24px; font-weight: 600; color: var(--text-strong); letter-spacing: .5px; }
.floor-sub { font-size: 14px; color: var(--text-2); }
.floor-more {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--brand);
    font-weight: 500;
    transition: gap var(--fast);
}
.floor-more:hover { gap: 8px; }

.floor-body {
    display: grid;
    grid-template-columns: 234px 1fr;
    gap: 14px;
    align-items: stretch;
}
/* 楼层海报卡（品牌渐变 + 文案） */
.floor-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    background: linear-gradient(160deg, #2b2b2b 0%, #4a4a4a 100%);
    padding: 30px 24px;
    min-height: 300px;
    transition: transform var(--fast), box-shadow var(--fast);
}
.floor-poster:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.floor-poster[data-floor="1"] { background: linear-gradient(160deg, #1d1d1f 0%, #4d4d52 100%); }
.floor-poster[data-floor="2"] { background: linear-gradient(160deg, #24384f 0%, #4a6f95 100%); }
.floor-poster[data-floor="3"] { background: linear-gradient(160deg, #3a2450 0%, #6f4a95 100%); }
.floor-poster[data-floor="4"] { background: linear-gradient(160deg, #1f3b34 0%, #3f7a68 100%); }
.floor-poster[data-floor="5"] { background: linear-gradient(160deg, #3d2a1c 0%, #8a5a2b 100%); }
.floor-poster[data-floor="6"] { background: linear-gradient(160deg, #2b2b2b 0%, #6b6b6b 100%); }
.floor-poster[data-floor="7"] { background: linear-gradient(160deg, #1a2740 0%, #37518c 100%); }
.floor-poster[data-floor="8"] { background: linear-gradient(160deg, #4a2a12 0%, #b5541a 100%); }
.floor-poster::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
}
.floor-poster-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #fff;
}
.floor-poster-eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    opacity: .75;
    margin-bottom: 12px;
}
.floor-poster-name {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.floor-poster-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #fff;
    opacity: .9;
    transition: gap var(--fast);
}
.floor-poster:hover .floor-poster-cta { gap: 10px; }

/* 楼层商品卡：4 列 */
.floor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.floor-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    padding: 18px 16px 20px;
    text-align: center;
    transition: box-shadow var(--fast), transform var(--fast), border-color var(--fast);
}
.floor-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    border-color: transparent;
    color: var(--text);
}
.floor-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fafafa;
    border-radius: var(--radius-s);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 14px;
}
.floor-thumb img { width: 76%; height: 76%; object-fit: contain; transition: transform var(--mid); }
.floor-card:hover .floor-thumb img { transform: scale(1.06); }
.floor-thumb-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d0d0d0;
}
.floor-card-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-strong);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.floor-card-desc {
    font-size: 12px;
    color: var(--text-2);
    margin: 6px 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.floor-card-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand);
    margin-top: auto;
}
.floor-card-cart {
    display: inline-block;
    margin-top: 12px;
    height: 32px;
    line-height: 32px;
    border-radius: 16px;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--fast), transform var(--fast);
}
.floor-card:hover .floor-card-cart { opacity: 1; transform: translateY(0); }

/* ============================================================
   六、品牌动态 / 新闻
   ============================================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.news-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow var(--fast), transform var(--fast), border-color var(--fast);
}
.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    border-color: transparent;
    color: var(--text);
}
.news-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--bg);
    overflow: hidden;
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--mid);
}
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-thumb-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2b2b2b, #4a4a4a);
    color: rgba(255, 255, 255, .5);
}
.news-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 18px 20px 20px;
}
.news-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-strong);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 8px;
}
.news-card-desc {
    font-size: 13px;
    color: var(--text-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 14px;
}
.news-card-link { font-size: 13px; color: var(--brand); font-weight: 500; margin-top: auto; }

/* ============================================================
   七、响应式
   ============================================================ */

/* 平板：首屏改上下结构，分类菜单变横滑条 */
@media (max-width: 992px) {
    .hero-3col-inner { grid-template-columns: 1fr; }
    .cat-menu {
        border-radius: var(--radius);
        padding: 6px;
        min-height: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .cat-menu::-webkit-scrollbar { display: none; }
    .cat-menu-list { flex-direction: row; gap: 4px; }
    .cat-menu-item { flex: 0 0 auto; }
    .cat-menu-link {
        height: 38px;
        padding: 0 14px;
        border-radius: var(--radius-s);
        gap: 0;
    }
    .cat-menu-arrow { display: none; }
    .cat-mega { display: none; }

    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento-service { grid-column: span 2; grid-template-columns: repeat(6, 1fr); grid-template-rows: 1fr; }
    .bento-svc { padding: 12px 4px; }

    .floor-body { grid-template-columns: 1fr; }
    .floor-poster { min-height: 160px; padding: 22px 20px; }
    .floor-poster-name { font-size: 20px; margin-bottom: 8px; }
    .floor-grid { grid-template-columns: repeat(3, 1fr); }

    .news-grid { grid-template-columns: 1fr; }
    .hero-prev { left: 14px; }
    .hero-next { right: 14px; }
    .flash-prev { left: 0; }
    .flash-next { right: 0; }
}

@media (max-width: 768px) {
    .hero-main, .hero-slide { min-height: 340px; }
    .hero-content { padding: 0 26px; }
    .hero-title { font-size: clamp(24px, 6.4vw, 34px); }
    .hero-sub { margin-bottom: 22px; }
    .bento-service { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); }
    .bento-card { min-height: 168px; padding: 20px 18px 16px; }
    .bento-card-name { font-size: 16px; }
    .bento-card-thumb { width: 104px; height: 104px; }
    .promo-banner { height: 180px; }
    .promo-banner-text h3 { font-size: 22px; }
    .floor-grid { grid-template-columns: repeat(2, 1fr); }
    .floor-title { font-size: 20px; }
    .flash-title { font-size: 19px; }
    .flash-more { margin-left: 0; }
}

@media (max-width: 640px) {
    .hero-3col { padding-top: 12px; }
    .hero-main, .hero-slide { min-height: 300px; }
    .hero-content { padding: 0 20px; }
    .hero-eyebrow { font-size: 12px; letter-spacing: 3px; margin-bottom: 10px; }
    .hero-sub { font-size: 13px; margin-bottom: 20px; }
    .hero-btn { min-width: 120px; height: 42px; font-size: 14px; }
    .hero-arrow { width: 38px; height: 38px; }

    .bento { grid-template-columns: 1fr; gap: 12px; }
    .bento-service { grid-column: span 1; }
    .bento-card { min-height: 148px; }
    .bento-card-thumb { width: 96px; height: 96px; }

    .promo-section { padding-bottom: 26px; }
    .promo-banner { height: 150px; }
    .promo-banner-text { padding: 0 20px; gap: 4px; }
    .promo-banner-text h3 { font-size: 18px; }
    .promo-corner { top: 14px; right: 14px; font-size: 11px; padding: 3px 9px; }

    .floor { padding: 20px 0; }
    .floor-head { gap: 10px; margin-bottom: 14px; }
    .floor-sub { display: none; }
    .floor-grid { gap: 10px; }
    .floor-card { padding: 14px 12px 16px; }
    .floor-card-name { font-size: 13px; }
    .floor-card-price { font-size: 15px; }
    /* 移动端无悬停：常显购物车按钮，保证可点 */
    .floor-card-cart { opacity: 1; transform: none; height: 30px; line-height: 30px; font-size: 12px; }

    .flash-card { flex: 0 0 140px; }
    .flash-nav { display: none; }
    .news-card-body { padding: 14px 16px 16px; }
}

@media (max-width: 400px) {
    .hero-main, .hero-slide { min-height: 272px; }
    .hero-title { font-size: 22px; }
    .hero-sub { font-size: 12px; margin-bottom: 16px; }
    .floor-grid { gap: 8px; }
    .floor-poster { min-height: 132px; }
    .floor-poster-name { font-size: 18px; }
    .promo-banner { height: 132px; }
    .promo-banner-text { padding: 0 16px; }
    .promo-banner-text h3 { font-size: 16px; }
    .flash-card { flex: 0 0 124px; }
}
