/**
 * Open Frame Touch Monitor — Chassis Display 类目页（设计稿：顶栏 / 深导航 / Hero / 筛选条 / 手风琴 / 四列网格 / 分页 / 案例轮播 / 页脚）
 * 页头页脚样式由 header.css / footer.css 提供，与首页及 Touch Screen 静态页一致。
 */
.oftm-chassis-page {
    --oftm-red: #cc0000;
    --oftm-white: #ffffff;
    --oftm-ink: #050a14;
    --oftm-ink-soft: #0d1520;
    --oftm-gray-bar: #e8ecf0;
    --oftm-text: #121212;
    --oftm-muted: #5c6570;
    --oftm-card-border: #e4e8ed;
    --oftm-max: min(1240px, 94%);
    margin: 0;
    min-width: 320px;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--oftm-text);
    background: var(--oftm-white);
}

.oftm-chassis-page *,
.oftm-chassis-page *::before,
.oftm-chassis-page *::after {
    box-sizing: border-box;
}

.oftm-chassis-page .container {
    width: var(--oftm-max);
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- 本页顶栏（设计稿：Logo + 红色标语、语言+国旗、账户 / 心愿单 / 搜索） ---------- */
.oftm-chassis-page .header-top {
    height: auto;
    min-height: 52px;
    padding: 6px 0;
}

.oftm-chassis-page .oftm-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-decoration: none;
}

.oftm-chassis-page .oftm-brand-mark {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.oftm-chassis-page .oftm-brand .brand-logo {
    display: block;
    height: 36px;
}

.oftm-chassis-page .oftm-brand-tagline {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #cc0000;
    line-height: 1.2;
    max-width: 240px;
}

.oftm-chassis-page .lang-btn .oftm-lang-flag {
    font-size: 13px;
    margin: 0 4px 0 0;
    color: #334155;
}

.oftm-chassis-page .header-nav > ul > li > a i {
    margin-left: 6px;
    font-size: var(--text-2xs);
    opacity: 0.8;
}

/* 面包屑由全站 breadcrumb.css 提供（深条 + 白字 + 红方白屋） */

/* ---------- Hero：模糊背景图 + 居中标题 + 右侧三层叠图占位（设计稿） ---------- */
.oftm-category-hero {
    position: relative;
    min-height: clamp(300px, 40vh, 460px);
    color: #fff;
    overflow: hidden;
}

.oftm-hero-bg {
    position: absolute;
    inset: -16px;
    z-index: 0;
    background: #1e293b url("/images/chassis-display-hero-bg.png") center / cover no-repeat;
    filter: blur(5px);
    transform: scale(1.06);
}

.oftm-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(15, 23, 42, 0.78) 0%,
        rgba(15, 23, 42, 0.48) 40%,
        rgba(15, 23, 42, 0.22) 100%
    );
    pointer-events: none;
}

.oftm-hero-inner {
    position: relative;
    z-index: 2;
    width: var(--oftm-max);
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3rem) 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 380px);
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
    min-height: clamp(300px, 40vh, 460px);
}

.oftm-hero-title-block {
    text-align: center;
    justify-self: center;
}

.oftm-hero-title {
    margin: 0;
    font-size: clamp(1.85rem, 4.2vw, 2.85rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.5);
}

.oftm-hero-visual {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 360px;
}

.oftm-hero-img-stack {
    position: relative;
    height: clamp(200px, 24vw, 280px);
    margin-left: auto;
}

.oftm-hero-card {
    position: absolute;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #1a2434;
}

.oftm-hero-card-ph {
    aspect-ratio: 4 / 3;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.52);
    text-align: center;
}

.oftm-hero-card-ph small {
    font-size: var(--text-2xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    opacity: 0.75;
}

.oftm-hero-card--back {
    right: 0;
    top: 0;
    width: 56%;
    transform: rotate(-8deg);
    z-index: 0;
}

.oftm-hero-card--mid {
    right: 10%;
    top: 12%;
    width: 60%;
    transform: rotate(4deg);
    z-index: 1;
}

.oftm-hero-card--front {
    right: 22%;
    bottom: 0;
    width: 66%;
    transform: rotate(-2deg);
    z-index: 2;
}

@media (max-width: 900px) {
    .oftm-hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-bottom: 1.75rem;
    }

    .oftm-hero-visual {
        justify-self: center;
        max-width: 300px;
    }

    .oftm-hero-img-stack {
        height: 220px;
    }

    .oftm-hero-card--back {
        width: 52%;
        right: 4%;
    }

    .oftm-hero-card--mid {
        width: 56%;
        right: 16%;
    }

    .oftm-hero-card--front {
        width: 60%;
        right: 28%;
    }
}

/* ---------- 简介（Hero 下方白底） ---------- */
.oftm-intro-section {
    padding: clamp(1.75rem, 4vw, 2.75rem) 16px;
    background: var(--oftm-white);
    border-bottom: 1px solid #e4e8ed;
}

.oftm-intro-inner {
    width: var(--oftm-max);
    margin: 0 auto;
    text-align: center;
}

.oftm-intro-text {
    margin: 0 auto 1.25rem;
    max-width: 56rem;
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    color: #2a313a;
    line-height: 1.7;
}

.oftm-intro-more {
    display: none;
}

.oftm-intro-more.is-visible {
    display: inline;
}

.oftm-intro-showmore {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.35rem;
    border-radius: 999px;
    border: none;
    background: #3d4754;
    color: var(--oftm-white);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
}

.oftm-intro-showmore:hover {
    background: #2f3640;
}

.oftm-intro-showmore i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.oftm-intro-showmore.is-open i {
    transform: rotate(180deg);
}

/* ---------- 筛选条 ---------- */
.oftm-toolbar {
    background: #f9fafb;
    border-top: 1px solid #dde3ea;
    border-bottom: 1px solid #dde3ea;
    padding: 12px 0;
}

.oftm-toolbar-inner {
    width: var(--oftm-max);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.oftm-toolbar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.oftm-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid #c5ccd6;
    border-radius: 4px;
    background: var(--oftm-white);
    color: #1a1f26;
    font-family: inherit;
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.1em;
    cursor: pointer;
}

.oftm-filter-icon {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: var(--oftm-red);
    border-radius: 50%;
    padding: 6px 5px;
}

.oftm-filter-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--oftm-white);
    border-radius: 1px;
}

.oftm-filter-btn:hover {
    border-color: var(--oftm-red);
    color: var(--oftm-red);
}

.oftm-toolbar-count {
    font-size: 14px;
    color: #2a313a;
    font-weight: 500;
}

.oftm-toolbar-count strong {
    font-weight: 700;
    color: var(--oftm-ink);
}

.oftm-toolbar-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.oftm-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--oftm-red);
    color: var(--oftm-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
}

.oftm-icon-circle:hover {
    filter: brightness(1.08);
}

.oftm-view-toggle {
    display: inline-flex;
    border: 1px solid #c5ccd6;
    border-radius: 4px;
    overflow: hidden;
    background: var(--oftm-white);
}

.oftm-view-toggle button {
    width: 38px;
    height: 34px;
    border: none;
    background: transparent;
    color: #8b95a3;
    cursor: pointer;
}

.oftm-view-toggle button.is-active {
    background: var(--oftm-red);
    color: var(--oftm-white);
}

.oftm-order-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #3d4754;
}

.oftm-order-wrap label {
    font-weight: 600;
    white-space: nowrap;
}

.oftm-order-wrap select {
    min-width: 200px;
    padding: 7px 10px;
    border: 1px solid #c5ccd6;
    border-radius: 4px;
    font-family: inherit;
    font-size: 13px;
    background: var(--oftm-white);
    color: #1a1f26;
}

/* ---------- 手风琴筛选：首行 2 列、次行 3 列（设计稿） ---------- */
.oftm-acc-section {
    padding: 18px 0 8px;
    background: #f3f4f6;
}

.oftm-acc-grid {
    width: var(--oftm-max);
    margin: 0 auto;
    padding: 0 16px 8px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.oftm-acc-item:nth-child(1) {
    grid-column: span 3;
}

.oftm-acc-item:nth-child(2) {
    grid-column: span 3;
}

.oftm-acc-item:nth-child(3) {
    grid-column: span 2;
}

.oftm-acc-item:nth-child(4) {
    grid-column: span 2;
}

.oftm-acc-item:nth-child(5) {
    grid-column: span 2;
}

@media (max-width: 900px) {
    .oftm-acc-grid {
        grid-template-columns: 1fr;
    }

    .oftm-acc-item:nth-child(1),
    .oftm-acc-item:nth-child(2),
    .oftm-acc-item:nth-child(3),
    .oftm-acc-item:nth-child(4),
    .oftm-acc-item:nth-child(5) {
        grid-column: span 1;
    }
}

.oftm-chassis-page .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.oftm-acc-item {
    background: var(--oftm-gray-bar);
    border: 1px solid #d5dde5;
    border-radius: 4px;
    overflow: hidden;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.oftm-acc-item.is-open {
    background: var(--oftm-white);
    border-color: #cdd6e0;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.oftm-acc-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px 12px;
    border: none;
    border-bottom: 1px solid #d5dde5;
    border-radius: 0;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-align: left;
}

.oftm-acc-item.is-open .oftm-acc-trigger {
    border-bottom-color: #e2e8f0;
    background: var(--oftm-white);
}

.oftm-acc-trigger .fa-plus,
.oftm-acc-trigger .fa-minus {
    color: var(--oftm-red);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}

.oftm-acc-panel {
    display: none;
    margin: 0;
    padding: 0;
    background: var(--oftm-white);
}

.oftm-acc-item.is-open .oftm-acc-panel {
    display: block;
}

.oftm-acc-panel-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px 16px;
    background: var(--oftm-white);
}

.oftm-acc-catalog-hint {
    margin: 0 0 4px;
    font-size: var(--text-xs);
    line-height: 1.5;
    color: var(--oftm-muted);
}

.oftm-acc-select-wrap {
    position: relative;
    display: block;
}

.oftm-acc-select {
    display: block;
    width: 100%;
    margin: 0;
    padding: 11px 40px 11px 14px;
    border: 1px solid #d5dde5;
    border-radius: 2px;
    background: var(--oftm-white);
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    color: #1e293b;
    line-height: 1.35;
    text-align: center;
    text-align-last: center;
    cursor: default;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.oftm-acc-select:disabled {
    opacity: 1;
    color: #1e293b;
    -webkit-text-fill-color: #1e293b;
    background: var(--oftm-white);
}

.oftm-acc-select:enabled {
    cursor: pointer;
}

.oftm-acc-select::-ms-expand {
    display: none;
}

.oftm-acc-select-chev {
    pointer-events: none;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    line-height: 1;
    color: var(--oftm-red);
}

.oftm-acc-item.is-open .oftm-acc-trigger .fa-plus {
    display: none;
}

.oftm-acc-item:not(.is-open) .oftm-acc-trigger .fa-minus {
    display: none;
}

/* ---------- 产品网格 ---------- */
.oftm-grid-section {
    position: relative;
    padding: 28px 0 40px;
    background: var(--oftm-white);
}

.oftm-grid-section:has(.oftm-pagination) {
    padding-bottom: 56px;
}

.oftm-product-grid {
    width: var(--oftm-max);
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.oftm-display-filter-hint {
    grid-column: 1 / -1;
    margin: 0 0 4px;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.45;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 4px;
}

.oftm-product-grid.oftm-grid--list {
    grid-template-columns: 1fr;
}

.oftm-product-grid.oftm-grid--list .oftm-pcard {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
}

.oftm-product-grid.oftm-grid--list .oftm-pcard-media {
    aspect-ratio: 4 / 3;
}

@media (max-width: 1100px) {
    .oftm-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .oftm-product-grid {
        grid-template-columns: 1fr;
    }

    .oftm-product-grid.oftm-grid--list .oftm-pcard {
        grid-template-columns: 1fr;
    }
}

.oftm-pcard {
    border: 1px solid var(--oftm-card-border);
    border-radius: 4px;
    background: var(--oftm-white);
    padding: 12px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.oftm-pcard-media {
    aspect-ratio: 4 / 3;
    background: #eef1f5;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.oftm-pcard-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}

/* 后台 product-details 新建产品：图区无灰底 */
.oftm-pcard.oftm-pcard--plain-img .oftm-pcard-media {
    background: transparent;
}

.oftm-pcard.oftm-pcard--plain-img .oftm-pcard-media img {
    background: transparent;
}

.oftm-img-ph {
    width: 100%;
    height: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(
        -45deg,
        #e8ecf0,
        #e8ecf0 10px,
        #f1f4f8 10px,
        #f1f4f8 20px
    );
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 12px;
}

.oftm-img-ph--story {
    min-height: 0;
    aspect-ratio: 16 / 10;
}

.oftm-pcard-model {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--oftm-ink);
}

.oftm-pcard-desc {
    margin: 0 0 12px;
    font-size: 13px;
    color: #3a424d;
    flex: 1;
}

.oftm-pcard-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.oftm-btn-compare {
    flex: 1;
    padding: 8px 10px;
    border-radius: 3px;
    border: 1px solid var(--oftm-red);
    background: var(--oftm-white);
    color: var(--oftm-red);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    text-align: center;
}

.oftm-btn-compare:hover {
    background: rgba(204, 0, 0, 0.06);
}

/* 设计稿：圆形红描边对比图标 */
.oftm-pcard-compare-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--oftm-red);
    flex-shrink: 0;
    background: var(--oftm-white);
    color: var(--oftm-red);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.oftm-pcard-compare-icon:hover {
    background: rgba(204, 0, 0, 0.06);
}

/* ---------- 分页：与产品区同宽、右下角（每页 12 条由服务端分页） ---------- */
.oftm-pagination {
    position: absolute;
    bottom: 16px;
    right: max(16px, calc(50% - min(620px, 47vw)));
    left: auto;
    width: auto;
    max-width: min(1240px, calc(100% - 32px));
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.oftm-pagination a,
.oftm-pagination span {
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #5c6570;
    border: 1px solid transparent;
}

.oftm-pagination a:hover {
    border-color: #c5ccd6;
    color: var(--oftm-red);
}

.oftm-pagination .is-current {
    background: var(--oftm-red);
    color: var(--oftm-white);
    border-radius: 2px;
}

/* ---------- Success stories ---------- */
.oftm-stories {
    padding: 36px 0 48px;
    background: #f7f8fa;
    border-top: 1px solid #e4e8ed;
}

.oftm-stories-head {
    width: var(--oftm-max);
    margin: 0 auto 18px;
    padding: 0 16px;
}

.oftm-stories-head h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5f6b7a;
}

/* CMS application solutions (optional strip above carousel) */
.oftm-solcms {
    width: var(--oftm-max);
    margin: 0 auto 22px;
    padding: 0 16px;
}

.oftm-solcms-sub {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}

.oftm-solcms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px 16px;
    margin-bottom: 18px;
}

.oftm-solcms-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--oftm-white);
    border: 1px solid var(--oftm-card-border);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(5, 10, 20, 0.05);
}

.oftm-solcms-card-media {
    aspect-ratio: 16 / 10;
    background: #dde3ea;
}

.oftm-solcms-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.oftm-solcms-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 120px;
    color: #64748b;
    font-size: 2rem;
}

.oftm-solcms-card-body {
    padding: 10px 12px 12px;
}

.oftm-solcms-card-title {
    margin: 0 0 6px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--oftm-ink);
    line-height: 1.3;
}

.oftm-solcms-card-desc {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #5c6570;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.oftm-stories .oftm-story-card-media:empty {
    min-height: 140px;
}

.oftm-solcms-more {
    width: var(--oftm-max);
    margin: 14px auto 0;
    padding: 0 16px;
    font-size: 0.85rem;
}

.oftm-solcms-more a {
    color: var(--oftm-red);
    font-weight: 600;
    text-decoration: none;
}

.oftm-solcms-more a:hover {
    text-decoration: underline;
}

@media (max-width: 560px) {
    .oftm-solcms-grid {
        grid-template-columns: 1fr;
    }
}

.oftm-carousel-wrap {
    position: relative;
    width: var(--oftm-max);
    margin: 0 auto;
    padding: 0 52px;
}

.oftm-carousel {
    overflow: hidden;
    border-radius: 6px;
}

.oftm-carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    transition: transform 0.35s ease;
}

.oftm-carousel-page {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    min-width: 0;
}

@media (max-width: 900px) {
    .oftm-carousel-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .oftm-carousel-page {
        grid-template-columns: 1fr;
    }

    .oftm-carousel-wrap {
        padding: 0 44px;
    }
}

.oftm-story-card {
    min-width: 0;
    background: var(--oftm-white);
    border: 1px solid var(--oftm-card-border);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(5, 10, 20, 0.06);
}

.oftm-story-card-media {
    aspect-ratio: 16 / 10;
    background: #dde3ea;
}

.oftm-story-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.oftm-story-card-media .oftm-img-ph {
    min-height: 100%;
    aspect-ratio: auto;
}

.oftm-story-card h3 {
    margin: 0;
    padding: 12px 14px 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--oftm-ink);
}

.oftm-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #c5ccd6;
    background: #eef1f5;
    color: #4a5563;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.oftm-carousel-nav:hover {
    background: #e2e6ec;
    color: var(--oftm-ink);
}

.oftm-carousel-nav--prev {
    left: 0;
}

.oftm-carousel-nav--next {
    right: 0;
}

.oftm-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.oftm-carousel-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #c5ccd6;
    cursor: pointer;
}

.oftm-carousel-dots button.is-active {
    background: var(--oftm-red);
}

/* -------------------------------------------------------------------------
   Winmate Chassis Display 设计稿对齐（.oftm-chassis-page：MVC 与静态页共用）
   面包屑沿用全站 breadcrumb.css，此处不再覆盖。
   ------------------------------------------------------------------------- */

/* Hero：标题在横幅内水平居中，右侧产品叠图 */
.oftm-chassis-page .oftm-category-hero .oftm-hero-inner {
    display: block;
    position: relative;
    min-height: clamp(320px, 44vh, 500px);
    padding: clamp(2rem, 4vw, 3rem) clamp(12px, 3vw, 28px);
}

.oftm-chassis-page .oftm-category-hero .oftm-hero-title-block {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: min(92%, 760px);
    text-align: center;
    justify-self: unset;
}

.oftm-chassis-page .oftm-category-hero .oftm-hero-title {
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}

.oftm-chassis-page .oftm-hero-sub {
    margin: 10px auto 0;
    max-width: 36rem;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

.oftm-chassis-page .oftm-category-hero .oftm-hero-visual {
    position: absolute;
    right: clamp(8px, 3vw, 40px);
    top: 50%;
    transform: translateY(-50%);
    width: min(420px, 34vw);
    max-width: 380px;
    z-index: 2;
}

/* 筛选条：纯白 + 轻阴影 */
.oftm-chassis-page .oftm-toolbar {
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

/* 产品卡：轻投影 */
.oftm-chassis-page .oftm-pcard {
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    border-radius: 6px;
}

/* 分页：与网格右缘对齐（父级 .oftm-grid-section 为 position:relative） */
.oftm-chassis-page .oftm-pagination {
    justify-content: flex-end;
    padding: 0;
}

.oftm-chassis-page .oftm-pagination .is-current {
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(204, 0, 0, 0.25);
}

/* Success stories：标题更接近设计稿（深色粗体大写） */
.oftm-chassis-page .oftm-stories-head h2 {
    color: #0f172a;
    font-size: 1.25rem;
    letter-spacing: 0.12em;
}

@media (max-width: 900px) {
    .oftm-chassis-page .oftm-category-hero .oftm-hero-inner {
        display: grid;
        grid-template-columns: 1fr;
        min-height: auto;
        padding-bottom: 2rem;
    }

    .oftm-chassis-page .oftm-category-hero .oftm-hero-title-block {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        margin: 0 auto 1.25rem;
        padding-top: 0.5rem;
    }

    .oftm-chassis-page .oftm-category-hero .oftm-hero-visual {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .oftm-chassis-page .oftm-hero-img-stack {
        height: 220px;
    }

    .oftm-chassis-page .oftm-hero-card--back {
        width: 52%;
        right: 4%;
    }

    .oftm-chassis-page .oftm-hero-card--mid {
        width: 56%;
        right: 16%;
    }

    .oftm-chassis-page .oftm-hero-card--front {
        width: 60%;
        right: 28%;
    }

    .oftm-pagination {
        right: 12px;
        bottom: 12px;
        max-width: calc(100% - 24px);
    }

    .oftm-grid-section:has(.oftm-pagination) {
        padding-bottom: 64px;
    }
}

