* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #c8161d;
    --primary-dark: #a01218;
    --dark: #222222;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --border: #e5e5e5;
    --white: #ffffff;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    overflow-x: hidden;
}

.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.home-view {
    padding-top: 70px;
    
}

.header-main {
  display: flex;
  align-content: center;
  height: 70px;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    flex-shrink: 0;
}

.logo i {
    font-size: 28px;
    color: var(--primary);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    border-radius: 4px;
    transition: var(--transition);
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary);
    background: rgba(200, 22, 29, 0.08);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    flex-shrink: 0;
}

.header-phone:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.header-phone i {
    font-size: 18px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    padding: 8px;
}

/* ========== 滚动动画基础类 ========== */
.sr-left,
.sr-right,
.sr-bottom {
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.sr-left  { transform: translateX(-80px); }
.sr-right { transform: translateX(80px); }
.sr-bottom{ transform: translateY(60px); }

.sr-left.is-visible,
.sr-right.is-visible,
.sr-bottom.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}
.sr-right.is-visible { transition-delay: 0.2s; }

/* ========== 轮播图 ========== */
.banner-swiper {
    width: 100%;
    box-shadow: 0 -16px 32px rgba(0, 0, 0, 0.08);
}

.banner-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

.banner-swiper .swiper-slide a {
    display: block;
    width: 100%;
}

/* 各张轮播图背景色与图片背景色保持一致（用 class 而非 nth-child，避免 loop 模式克隆节点错位） */
.banner-slide-1 {
    background: linear-gradient(to bottom, #e4e4e6 0%, #e5e5e7 25%, #e9eae8 50%, #ececed 75%, #ebecec 100%);
}
.banner-slide-2 {
    background-color: #ffffff;
}
.banner-slide-3 {
    background: linear-gradient(to bottom, #f2f2f4 0%, #fbfbfe 25%, #fbfbfc 50%, #fbfdfc 75%, #f9fbf6 100%);
}
.banner-slide-4 {
    background-color: #ffffff;
}

.banner-swiper .swiper-slide img {
    margin: 0 auto;
    max-width: 800px;
    height: 480px;
    object-fit: cover;
    background-color: transparent;
}



.banner-swiper .swiper-pagination {
    bottom: 20px !important;
}

.banner-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: var(--transition);
}

.banner-swiper .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

.section {
    padding: 60px 0;
}

.section-gray {
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.section-title p {
    color: var(--gray);
    margin-top: 15px;
    font-size: 15px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.product-card .product-img {
    position: relative;
    padding: 20px;
    background: #fafafa;
}

.product-card .product-img img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.product-card .product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 3px;
}

.product-card .product-info {
    padding: 15px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.product-card .product-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.product-card .product-info p {
    font-size: 13px;
    color: var(--gray);
}

/* ========== 关于我们 ========== */
.about-section {
    display: flex;
    min-height: 480px;
}

.about-photo {
    flex: 0 0 55%;
    overflow: hidden;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content {
    flex: 1;
    background: #1a2035;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-body {
    padding: 48px 44px 32px;
}

.about-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-transform: uppercase;
    border: 1px solid var(--primary);
    padding: 3px 10px;
    border-radius: 2px;
    margin-bottom: 16px;
}

.about-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 18px;
}

.about-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.9;
    margin-bottom: 24px;
}

.about-biz {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.about-biz span {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 3px 10px;
    border-radius: 2px;
}

.about-stats {
    display: flex;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.about-stat {
    flex: 1;
    text-align: center;
    padding: 22px 10px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.about-stat:last-child {
    border-right: none;
}

.about-stat .num {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.about-stat .label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 6px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.case-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.case-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-card .case-info {
    padding: 15px;
    text-align: center;
}

.case-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
}

/* ========== 视频轮播 ========== */
.video-carousel {
    width: 100%;
    overflow: hidden;
    padding: 32px 0 40px;
    background: #ffffff;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
}

.video-carousel:active {
    cursor: grabbing;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease, transform 0.2s ease;
    pointer-events: all;
}

.carousel-arrow:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-left  { left: 12px; }
.carousel-arrow-right { right: 12px; }

.video-carousel:active {
    cursor: grabbing;
}

.video-track {
    display: flex;
    gap: 16px;
    width: max-content;
    will-change: transform;
}

.video-card {
    flex: 0 0 calc(33.333vw - 14px);
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #1c1c1e;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    transition: box-shadow 0.3s ease;
}

.video-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

/* 封面层 */
.video-poster {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: opacity 0.35s ease;
}

/* 封面图加载后叠一层半透明遮罩，让播放按钮更清晰 */
.video-poster.has-poster::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}

.video-card.playing .video-poster {
    opacity: 0;
    pointer-events: none;
}

/* 播放按钮 */
.video-play-btn {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
}

.video-play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}

.video-card:hover .video-play-btn {
    background: rgba(255,255,255,0.32);
    transform: scale(1.12);
}

/* 视频元素 */
.video-card video {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* 标签 */
.video-card__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 14px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    color: #fff;
    font-size: 13px;
    z-index: 3;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-card.playing .video-card__label {
    opacity: 0;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    margin-top: 15px;
    transition: var(--transition);
}

.contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.site-footer {
    background: #ffffff;
    /*margin: 0 80px 50px;*/
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact {
    background: #fff;
}

.footer-contact-grid {
    display: grid;
    /* Give the map more room so it can display larger without cropping */
    grid-template-columns: 3fr 2fr;
    min-height: 460px;
}

.footer-contact-inner {
    padding: 50px 48px;
}

.footer-contact-info h3 {
    color: var(--dark);
    font-size: 24px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.footer-contact-items {
    margin-bottom: 25px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-item--link {
    cursor: pointer;
    /*border-radius: 6px;*/
    transition: background 0.2s;
}

.footer-contact-item--link:hover {
    /*background: rgba(0, 0, 0, 0.04);*/
}

.footer-contact-item i {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.footer-contact-item strong {
    display: block;
    color: var(--dark);
    font-size: 14px;
    margin-bottom: 4px;
}

.footer-contact-item p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

.footer-phones {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.footer-phones a {
    font-size: 14px;
    color: var(--gray);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-phones a i {
    font-size: 13px;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-phones a:hover {
    color: var(--primary);
}

.footer-contact-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-nav-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-nav-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-nav-col ul li {
    margin-bottom: 12px;
}

.footer-nav-col ul a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-nav-col ul a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.advantage-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.advantage-list i {
    color: var(--primary);
    font-size: 12px;
}

.footer-bottom {
    background: #1a1a1a;
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 13px;
    margin: 0;
}

.footer-icp a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-icp a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-slogan {
    color: var(--primary);
    font-weight: 500;
}

.detail-view {
    display: none;
    min-height: 100vh;
    background: var(--light-gray);
    overflow-x: hidden;
    width: 100%;
}

body.detail-open .detail-view {
    display: block;
}

body.detail-open .home-view {
    display: none;
}

.detail-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 0;
    padding-top: 130px;
}

.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.detail-back:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.detail-media {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.detail-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.detail-content h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--dark);
}

.detail-content .lead {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.detail-tags span {
    background: rgba(200, 22, 29, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
}

.detail-actions {
    display: flex;
    gap: 15px;
}

.detail-body {
    padding: 50px 0;
    overflow-x: hidden;
}

.detail-body .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 100%;
}

.detail-block {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    overflow: hidden;
    max-width: 100%;
}

.detail-block.full {
    grid-column: 1 / -1;
}

.detail-block h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.detail-list {
    display: grid;
    gap: 12px;
}

.detail-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
}

.detail-list i {
    color: var(--primary);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.spec-table th, .spec-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    white-space: nowrap;
}

.spec-table th {
    background: var(--light-gray);
    font-weight: 600;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 100%;
}

.recommend-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    min-width: 0;
    overflow: hidden;
}

.recommend-card:hover {
    background: rgba(200, 22, 29, 0.1);
}

.recommend-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: var(--white);
    border-radius: 6px;
}

.recommend-card h4 {
    font-size: 14px;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recommend-card p {
    font-size: 12px;
    color: var(--gray);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recommend-card > div {
    min-width: 0;
    flex: 1;
}

.fixed-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: visible;
}

.sidebar-item {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--gray);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: visible;
}

.fixed-sidebar .sidebar-item:first-child { border-radius: 8px 8px 0 0; }
.fixed-sidebar .sidebar-item:last-child  { border-radius: 0 0 8px 8px; }

.sidebar-item:hover {
    background: var(--primary);
    color: var(--white);
}

.sidebar-phone .sidebar-tooltip {
    position: absolute;
    right: 60px;
    background: var(--dark);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sidebar-phone .sidebar-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--dark);
}

.sidebar-phone:hover .sidebar-tooltip {
    opacity: 1;
    visibility: visible;
}

.sidebar-wechat .sidebar-qrcode {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%) translateX(12px);
    background: var(--white);
    padding: 8px 8px 6px;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    text-align: center;
    white-space: nowrap;
}

.sidebar-wechat .sidebar-qrcode::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--white);
}

.sidebar-wechat:hover .sidebar-qrcode,
.sidebar-wechat.active .sidebar-qrcode {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.sidebar-qrcode p {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.qrcode-img {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 4px;
}

.sidebar-top {
    background: var(--primary);
    color: var(--white);
}

.sidebar-top:hover {
    background: var(--primary-dark);
}

.sidebar-top.hidden {
    opacity: 0.5;
    pointer-events: none;
}

.list-view {
    display: none;
    min-height: 100vh;
    background: var(--light-gray);
    overflow-x: hidden;
    width: 100%;
}

body.list-open .list-view {
    display: block;
}

body.list-open .home-view {
    display: none;
}

.list-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.list-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.list-banner .container {
    position: relative;
    z-index: 1;
}

.list-banner h1 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 15px;
}

.list-banner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.list-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.list-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.list-breadcrumb a:hover {
    color: var(--primary);
}

.list-breadcrumb span {
    color: var(--white);
}

.list-breadcrumb i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.list-content {
    padding: 40px 0 60px;
}

.list-content .container {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
}

.list-sidebar {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: 130px;
}

.sidebar-title {
    background: var(--primary);
    color: var(--white);
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-title i {
    font-size: 18px;
}

.filter-group {
    border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group-title {
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    background: #fafafa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.filter-group-title:hover {
    background: #f0f0f0;
}

.filter-group-title i {
    font-size: 12px;
    color: var(--gray);
    transition: var(--transition);
}

.filter-group.active .filter-group-title i {
    transform: rotate(180deg);
}

.filter-list {
    padding: 10px 0;
    display: none;
}

.filter-group.active .filter-list {
    display: block;
}

.filter-item {
    padding: 10px 20px;
    font-size: 14px;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-item:hover {
    color: var(--primary);
    background: rgba(200, 22, 29, 0.05);
}

.filter-item.active {
    color: var(--primary);
    font-weight: 500;
    background: rgba(200, 22, 29, 0.1);
}

.filter-item i {
    font-size: 10px;
    opacity: 0;
}

.filter-item.active i {
    opacity: 1;
}

.list-main {
    min-width: 0;
}

.list-toolbar {
    background: var(--white);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.list-toolbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.list-count {
    font-size: 14px;
    color: var(--gray);
}

.list-count strong {
    color: var(--primary);
}

.list-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light-gray);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.list-back-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.list-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-sort label {
    font-size: 14px;
    color: var(--gray);
}

.list-sort select {
    padding: 8px 30px 8px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    color: var(--dark);
    background: var(--white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.list-grid .product-card {
    background: var(--white);
}

.list-grid .product-card .product-img img {
    height: 200px;
}

.list-empty {
    background: var(--white);
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.list-empty i {
    font-size: 60px;
    color: var(--border);
    margin-bottom: 20px;
}

.list-empty h3 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 10px;
}

.list-empty p {
    font-size: 14px;
    color: var(--gray);
}

.case-list-view {
    display: none;
    min-height: 100vh;
    background: var(--light-gray);
    overflow-x: hidden;
    width: 100%;
}

body.case-list-open .case-list-view {
    display: block;
}

body.case-list-open .home-view {
    display: none;
}

body.case-list-open .list-view {
    display: none;
}

.case-list-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.case-list-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./imgs/BagStacking.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.case-list-banner .container {
    position: relative;
    z-index: 1;
}

.case-list-banner h1 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 15px;
}

.case-list-banner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.case-list-content {
    padding: 40px 0 60px;
}

.case-list-content .container {
    max-width: 1200px;
}

.case-list-toolbar {
    background: var(--white);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.case-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.case-list-grid .case-card {
    background: var(--white);
}

.case-list-grid .case-card img {
    height: 220px;
}

/* 案例列表页视频卡片 */
.case-video-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #1c1c1e;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}

.case-video-card video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.case-video-card .video-poster {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1c1c1e, #2c2c2e);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: opacity 0.35s ease;
}

.case-video-card .video-poster.has-poster::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.28);
}

.case-video-card.playing .video-poster {
    opacity: 0;
    pointer-events: none;
}

.case-video-card .video-card__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 12px 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    font-size: 13px;
    z-index: 3;
    pointer-events: none;
    transition: opacity 0.3s;
}

.case-video-card.playing .video-card__label {
    opacity: 0;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-section {
        flex-direction: column;
    }

    .about-photo {
        flex: 0 0 280px;
    }

    .about-body {
        padding: 32px 28px 24px;
    }

    .footer-contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-contact-inner {
        padding: 36px 28px;
    }

    .list-content .container {
        grid-template-columns: 200px 1fr;
        gap: 20px;
    }

    .list-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .banner-swiper .swiper-slide img {
        max-width: 100%;
        width: 100%;
        height: 420px;
    }

    .video-card {
        flex: 0 0 66vw;
    }

    .banner-slide-4 img {
        max-width: 75% !important;
    }

    .banner-slide-4 img {
        max-width: 75% !important;
    }

    .home-view {
        padding-top: 70px;
    }

    .detail-hero {
        padding-top: 90px;
    }

    .header-top {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .main-nav.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        padding: 15px;
        z-index: 999;
    }

    .main-nav.active ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav.active a {
        width: 100%;
        text-align: center;
    }

    .header-phone span {
        display: none;
    }

    .header-phone {
        padding: 10px 15px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-body .container {
        grid-template-columns: 1fr;
    }

    .recommend-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 40px 0;
    }

    .detail-content h1 {
        font-size: 22px;
    }

    .detail-media {
        padding: 15px;
    }

    .detail-block {
        padding: 20px;
    }

    .spec-table th, .spec-table td {
        padding: 8px;
        font-size: 12px;
    }

    .header-main .container {
        gap: 10px;
    }

    .logo img {
        height: 40px !important;
    }

    .logo span {
        font-size: 15px;
    }

    .fixed-sidebar {
        right: 10px;
    }

    .sidebar-item {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .sidebar-phone .sidebar-tooltip {
        display: none;
    }

    .sidebar-wechat .sidebar-qrcode {
        right: 54px;
    }

    .footer-contact {
        padding: 40px 0;
    }

    .footer-contact-nav {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .list-banner {
        padding: 100px 0 40px;
    }

    .list-banner h1 {
        font-size: 26px;
    }

    .list-content .container {
        grid-template-columns: 1fr;
    }

    .list-sidebar {
        position: relative;
        top: 0;
    }

    .list-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .list-toolbar {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .list-toolbar-left {
        justify-content: space-between;
    }

    .case-list-banner {
        padding: 100px 0 40px;
    }

    .case-list-banner h1 {
        font-size: 26px;
    }

    .case-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-list-toolbar {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .banner-swiper .swiper-slide img {
        max-width: 100%;
        width: 100%;
        height: 420px;
    }

    .banner-slide-4 img {
        max-width: 75%;
    }

    .video-card {
        flex: 0 0 66vw;
    }

    .banner-slide-4 img {
        max-width: 75% !important;
    }

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

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .logo span {
        font-size: 16px;
    }

    .logo i {
        font-size: 22px;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .about-stats {
        flex-direction: row;
    }

    .about-stat {
        padding: 16px 8px;
    }

    .about-stat .num {
        font-size: 24px;
    }

    .footer-contact-nav {
        grid-template-columns: 1fr;
    }

    .footer-contact-info h3 {
        font-size: 20px;
    }

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

    .list-banner h1 {
        font-size: 22px;
    }

    .list-breadcrumb {
        font-size: 12px;
    }

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

    .case-list-banner h1 {
        font-size: 22px;
    }


}
