/* ========================================
   企业网站首页样式表
   兴合锐官网
   ======================================== */

/* ----------------------------------------
   1. CSS Reset & Base Styles
   ---------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

/* ----------------------------------------
   2. Layout
   ---------------------------------------- */
.container {
    max-width: 1600px;
    width: 96%;
    margin: 0 auto;
}

.main-content {
    margin-top: 80px;
}

.section-container {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #999;
    margin-bottom: 40px;
}

/* ----------------------------------------
   3. Header & Navigation
   ---------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    order: 1;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}

.nav-list {
    display: flex;
    gap: 60px;
}

.nav-list li a {
    font-size: 16px;
    color: #333;
    padding: 8px 0;
    position: relative;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #c41e3a;
    transition: width 0.3s ease;
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
    width: 100%;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: #c41e3a;
}

.header-right {
    order: 3;
    display: flex;
    align-items: center;
    gap: 0;
}

.icon-btn {
    position: relative;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.icon-btn:hover {
    background-color: #f5f5f5;
}

.icon-btn img {
    width: 24px;
    height: 24px;
}

.divider {
    width: 1px;
    height: 24px;
    background-color: #000;
}

.dropdown-layer {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.icon-btn:hover .dropdown-layer {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.phone-layer {
    width: 200px;
    padding: 20px;
}

.phone-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.phone-number {
    font-size: 20px;
    color: #c41e3a;
    font-weight: bold;
}

.search-layer {
    width: 280px;
    padding: 15px;
}

.search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #c41e3a;
    outline: none;
}

.search-submit {
    width: 100%;
    padding: 10px;
    background: #c41e3a;
    color: #fff;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background: #a01830;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Submenu */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
}

.submenu li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: #333;
    text-align: center;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.submenu li:last-child a {
    border-bottom: none;
}

.submenu li a:hover {
    background: #c41e3a;
    color: #fff;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-list li a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.mobile-nav-list li a:hover,
.mobile-nav-list li a.active {
    background: #f9f9f9;
    color: #c41e3a;
}

.mobile-has-submenu {
    position: relative;
}

.mobile-submenu-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #999;
    transition: transform 0.3s ease;
}

.mobile-has-submenu.active .mobile-submenu-toggle {
    transform: translateY(-50%) rotate(180deg);
}

.mobile-submenu {
    display: none;
    background: #f5f5f5;
}

.mobile-has-submenu.active .mobile-submenu {
    display: block;
}

.mobile-submenu li a {
    padding-left: 40px !important;
}

/* ----------------------------------------
   4. Banner Section
   ---------------------------------------- */
.banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.banner-slider {
    width: 100%;
    position: relative;
}

.banner-slides {
    position: relative;
    width: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
}

.banner-slide:first-child {
    position: relative;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #c41e3a;
    transform: scale(1.2);
}

.dot:hover {
    background: #fff;
}

/* ----------------------------------------
   5. About Intro Section
   ---------------------------------------- */
.about-intro {
    position: relative;
    overflow: hidden;
    background: url('../img/jjbj.jpg') no-repeat left center;
    padding: 60px 0;
}

.about-intro-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    max-width: 1600px;
    margin: 0 auto;
}

.about-intro-content {
    flex: 0 0 50%;
    padding-right: 40px;
}

.about-intro-content h2 {
    font-size: 28px;
    color: #f11514;
    font-weight: bold;
    margin-bottom: 8px;
}

.about-intro-content h3 {
    font-size: 30px;
    color: #333;
    font-weight: bold;
    margin-bottom: 30px;
}

.about-intro-content p {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-intro-btn {
    display: inline-block;
    padding: 10px 28px;
    background-color: #f11514;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.about-intro-btn:hover {
    background-color: #d10f0e;
}

/* 产品详情查看更多按钮 */
.box-item-more-btn {
    display: inline-block;
    padding: 10px 28px;
    background-color: #f11514;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    align-self: flex-start;
}

.box-item-more-btn:hover {
    background-color: #d10f0e;
}

/* 生产实力展示 */
.production-strength {
    padding: 30px 0 0;
}

.strength-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.strength-header h2 {
    font-size: 22px;
    color: #333;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}

.strength-line {
    flex: 1;
    height: 1px;
    background-color: #ffbe4a;
    margin-left: 20px;
}

.strength-slider {
    overflow: hidden;
    width: 100%;
}

.strength-track {
    display: flex;
    gap: 20px;
    animation: scroll-left 20s linear infinite;
    width: max-content;
}

.strength-track a {
    display: block;
    flex-shrink: 0;
}

.strength-track a:hover img {
    opacity: 0.85;
}

.strength-track:hover {
    animation-play-state: paused;
}

.strength-track img {
    height: 280px;
    width: auto;
    object-fit: cover;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.about-intro-img {
    flex: 0 0 50%;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.about-intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 产品区域 */
.product-section {
    position: relative;
}

.product-outer {
    background-image: url('../img/cpb.jpg');
    background-position: right bottom;
    background-repeat: no-repeat;
}

.product-inner {
    position: relative;
    background-image: url('../img/cpbj.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 150px 0 150px 0;
    padding: 80px 0;
}

.product-content {
    max-width: 1600px;
    width: 96%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-left {
    flex-shrink: 0;
    margin-right: 60px;
}

.product-title-en {
    font-size: 32px;
    color: #f11514;
    font-weight: 600;
}

.product-title-cn {
    font-size: 24px;
    color: #000;
    font-weight: 400;
    margin: 0;
    margin-top: 2px;
}

.product-right {
    flex: 1;
}

.product-list {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.product-item {
    display: inline-block;
    padding: 15px 30px;
    background: #fff;
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.product-item:hover {
    color: #f11514;
    border-bottom: 2px solid #ffbe4a;
}

.product-item.active {
    color: #f11514;
    border-bottom: 2px solid #ffbe4a;
}

.product-item-more {
    background: #f11514;
    color: #fff;
}

.product-item-more:hover {
    color: #fff;
}

.product-content-box {
    max-width: 1600px;
    width: 96%;
    margin: 40px auto 0;
    background: #fff;
    border-radius: 10px;
    padding: 20px 40px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 60px;
    display: flex;
    align-items: center;
}

.product-content-box-item {
    display: none;
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}

.product-content-box-item.active {
    display: flex;
}

.product-content-box-item .box-item-img {
    width: 40%;
    flex-shrink: 0;
}

.product-content-box-item .box-item-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-content-box-item .box-item-text {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 10px;
    padding-top: 40px;
}

.product-content-box-item .box-item-title {
    font-size: 20px;
    color: #e60012;
    font-weight: bold;
    margin: 0 0 4px 0;
    flex-shrink: 0;
}

.product-content-box-item .box-item-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-content-box-item .box-item-subtitle {
    font-size: 15px;
    color: #e60012;
    font-weight: bold;
    margin: 0;
}

.product-content-box-item .box-item-desc {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
    margin: 0;
}

/* 滚动条样式 */
.product-content-box-item .box-item-text::-webkit-scrollbar {
    width: 4px;
}

.product-content-box-item .box-item-text::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

/* 产品卡片 */
.product-cards-wrapper {
    max-width: 1600px;
    width: 96%;
    margin: 20px auto 0;
}

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

.product-cards.active {
    display: grid;
}

.product-cards-wrapper .product-cards {
    display: none;
}

.product-cards-wrapper .product-cards.active {
    display: grid;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    padding: 20px 20px 8px;
}

.product-card:hover,
.product-card.active {
    background: #f11514;
    border-bottom-color: #f11514;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-card-img {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.product-card-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-title {
    padding: 15px;
    text-align: center;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.product-card:hover .product-card-title,
.product-card.active .product-card-title {
    color: #fff;
}

/* ----------------------------------------
   定制流程区
   ---------------------------------------- */
.customize-section {
    background: url('../img/lcbj.jpg') center/cover no-repeat;
    position: relative;
    padding: 60px 20px 60px;
}

.customize-container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

.customize-title {
    text-align: left;
}

.customize-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.customize-products-info {
    text-align: right;
}

.customize-products-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.customize-title-en {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    margin: 0;
    font-family: 'Arial', sans-serif;
}

.customize-title-cn {
    font-size: 24px;
    color: #fff;
    font-weight: 400;
    margin: 0;
    margin-top: 2px;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

.customize-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.customize-step {
    flex: 1;
    min-width: 120px;
    max-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #fff 0%, #fff 50%, #282828 50%, #282828 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #fff;
    box-sizing: border-box;
    transition: all 0.3s ease;
    animation: floatCircle 3s ease-in-out infinite;
}

.step-circle:hover {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: #a6d5ff;
}

@keyframes floatCircle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.step-number {
    font-size: 24px;
    font-weight: 700;
    color: #282828;
    margin-bottom: 2px;
    font-family: 'Arial', sans-serif;
    line-height: 1.2;
}

.step-text {
    font-size: 18px;
    color: #282828;
    font-weight: 700;
    margin-bottom: 0;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.2;
    padding: 0 5px;
    text-align: center;
    max-height: 50px;
    overflow: hidden;
}

.step-icon-wrapper {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-circle:hover .step-icon-wrapper {
    transform: translateX(-50%) scale(1.15);
}

.step-icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.step-circle:hover .step-icon {
    filter: brightness(1.2);
}

.customize-form-wrapper {
    width: 100%;
    margin-top: 40px;
}

.customize-form-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.customize-form {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.form-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    white-space: nowrap;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

.contact-form {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    flex-wrap: wrap;
}

.form-input,
.form-textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    box-sizing: border-box;
    flex: 1 1 auto;
    min-width: 120px;
    max-width: 100%;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #a6d5ff;
}

.form-textarea {
    resize: none;
    min-height: 45px;
    max-height: 45px;
}

.form-submit {
    padding: 12px 30px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    transition: background 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.form-submit:hover {
    background: #c0392b;
}

.customize-contact {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
    min-width: 0;
}

.contact-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

.contact-phone {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: 'Arial', sans-serif;
}

/* 移动端适配 */
@media (max-width: 992px) {
    .customize-title-en {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .customize-title-cn {
        font-size: 20px;
        margin-top: 3px;
    }

    .customize-steps {
        gap: 15px;
    }

    .step-circle {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 768px) {
    .customize-section {
        padding: 40px 10px;
    }

    .customize-header {
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
    }

    .customize-title {
        margin-bottom: 20px;
    }

    .customize-products-info {
        max-width: 100%;
        text-align: center;
    }

    .customize-products-text {
        margin-top: 15px;
        font-size: 13px;
        line-height: 1.6;
    }

    .customize-title {
        margin-bottom: 20px;
        display: flex;
        flex-direction: row;
        align-items: baseline;
        gap: 15px;
    }

    .customize-title-en {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .customize-title-cn {
        font-size: 20px;
        margin-top: 0;
    }

    .customize-steps {
        gap: 10px;
        margin-bottom: 40px;
        justify-content: center;
    }

    .customize-step {
        flex: 0 0 calc(33.333% - 7px);
        min-width: calc(33.333% - 7px);
        max-width: calc(33.333% - 7px);
    }

    .step-circle {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        max-width: 120px;
        margin: 0 auto;
    }

    .step-number {
        font-size: 18px;
    }

    .step-text {
        font-size: 12px;
    }

    .step-icon-wrapper {
        width: 50px;
        height: 50px;
        bottom: 8px;
    }

    .customize-form-container {
        flex-direction: column;
        gap: 30px;
    }

    .contact-phone {
        font-size: 20px;
    }
}

/* ----------------------------------------
   6. Footer
   ---------------------------------------- */
.footer {
    position: relative;
    padding: 50px 0 20px;
}

.footer-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('../img/fobj.jpg') center/cover no-repeat;
    z-index: 0;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
    max-width: 320px;
}

.footer-logo {
    height: 70px;
    width: auto;
}

.footer-info p {
    font-size: 14px;
    color: #ccc;
    line-height: 2;
    margin: 0;
}

.footer-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qrcode-image {
    width: 140px;
    height: 140px;
    object-fit: contain;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
}

.qrcode-text {
    font-size: 13px;
    color: #ccc;
    margin: 0;
}

.footer-right {
    flex: 1;
    max-width: 600px;
}

.footer-menus {
    display: flex;
    justify-content: flex-end;
    gap: 100px;
}

.footer-menu-column {
    min-width: 120px;
}

.footer-menu-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
}

.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-list li {
    margin-bottom: 10px;
}

.footer-menu-list li a {
    font-size: 14px;
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-menu-list li a:hover {
    color: #f11514;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
}

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

.footer-bottom a {
    color: #999;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #f11514;
}

/* ----------------------------------------
   7. Responsive Design
   ---------------------------------------- */

/* Desktop (1200px - 1399px) */
@media screen and (max-width: 1399px) {
    .nav-list {
        gap: 40px;
    }
}

/* Tablet Landscape (992px - 1199px) */
@media screen and (max-width: 1199px) {
    .header-container {
        height: 70px;
    }

    .logo img {
        height: 45px;
    }

    .nav-list {
        gap: 30px;
    }

    .nav-list li a {
        font-size: 15px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 0;
    }

    .footer-left {
        align-items: center;
        max-width: 100%;
    }

    .footer-right {
        max-width: 100%;
    }

    .footer-menus {
        justify-content: center;
        gap: 40px;
    }
}

/* Tablet Portrait (768px - 991px) */
@media screen and (max-width: 991px) {
    .nav {
        display: none;
    }

    .header-right > .icon-btn,
    .header-right > .divider {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .section-container {
        padding: 40px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-left {
        align-items: center;
    }

    .footer-menus {
        justify-content: center;
        gap: 30px;
    }

    /* About Intro Responsive */
    .about-intro {
        background-size: 100% 40%;
        background-position: top center;
    }

    .about-intro-container {
        flex-direction: column;
    }

    .about-intro-content {
        flex: none;
        width: 100%;
        padding: 40px 30px;
        text-align: left;
    }

    .about-intro-img {
        width: 100%;
        min-height: auto;
        height: 220px;
    }

    /* News Layout Responsive */
    .info-layout {
        flex-direction: column;
        gap: 20px;
    }

    .info-left,
    .info-right {
        flex: none;
        width: 100%;
    }

    .info-left {
        position: relative;
        width: 100%;
    }

    .info-left img {
        width: 100%;
        height: auto;
    }

    .info-card {
        padding: 8px 20px;
    }
}

/* Mobile Landscape (576px - 767px) */
@media screen and (max-width: 767px) {
    .header-container {
        height: 60px;
    }

    .logo img {
        height: 40px;
    }

    .main-content {
        margin-top: 60px;
    }

    .section-container {
        padding: 30px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        margin-bottom: 25px;
    }

    .footer {
        padding: 40px 0 15px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .footer-left {
        align-items: center;
    }

    .footer-menus {
        justify-content: center;
        gap: 20px;
    }

    .footer-menu-column {
        min-width: 100px;
    }

    .footer-menu-title {
        font-size: 15px;
    }

    .mobile-nav {
        top: 60px;
    }

    .product-card {
        padding: 10px 6px 5px;
    }

    .product-content-box-item {
        flex-direction: column;
        padding-left: 0;
        padding-right: 0;
    }

    .product-content-box-item .box-item-img {
        width: 100%;
    }

    .product-content-box-item .box-item-text {
        width: 100%;
        padding-top: 20px;
    }
}

/* Mobile Portrait (below 576px) */
@media screen and (max-width: 575px) {
    .mobile-nav {
        top: 55px;
    }

    .banner-dots {
        bottom: 10px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .phone-layer {
        width: 180px;
        right: -10px;
    }

    .search-layer {
        width: 240px;
        right: -20px;
    }

    /* Product List Mobile */
    .product-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .product-item {
        text-align: center;
        padding: 12px 0;
        font-size: 13px;
    }

    /* 产品卡片移动端 - 一行2个 */
    .product-cards-wrapper .product-cards.active {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* 产品区域移动端 - 取消左上右下圆角 */
    .product-inner {
        border-radius: 0;
    }

    .product-item {
        border-radius: 0;
    }

    .about-intro {
        background-size: 100% 30%;
        background-position: top center;
    }

    .about-intro-content {
        width: 100%;
        padding: 15px;
    }

    .about-intro-content h2 {
        font-size: 24px;
    }

    .about-intro-content h3 {
        font-size: 18px;
    }

    .about-intro-content p {
        font-size: 14px;
    }

    .about-intro-img {
        min-height: auto;
        height: 200px;
    }

    .strength-track img {
        height: 180px;
    }

    .product-inner {
        border-radius: 60px 0 60px 0;
        padding: 40px 0;
    }

    .product-header {
        margin-bottom: 30px;
        display: flex;
        justify-content: center;
        align-items: baseline;
        gap: 10px;
    }

    .product-title-en {
        font-size: 28px;
        margin: 0;
    }

    .product-title-cn {
        font-size: 20px;
        margin: 0;
    }

    .product-list {
        gap: 12px;
    }

    .product-item {
        padding: 8px 8px;
        font-size: 14px;
    }

    .product-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .product-left {
        margin-right: 0;
        display: flex;
        justify-content: center;
        align-items: baseline;
        gap: 10px;
    }

}

/* ========================================
   应用领域区
   ======================================== */
.field-section {
    position: relative;
    padding: 60px 0 60px;
    background-color: transparent;
    color: #ffffff;
    overflow: hidden;
}

/* ======================
   新闻资讯区
   ====================== */
.info-section {
    position: relative;
    padding: 60px 0 60px;
    overflow: hidden;
}

.info-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.info-overlay {
    position: relative;
    z-index: 2;
}

.info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.info-title {
    display: block;
}

.info-title-en {
    font-size: 32px;
    color: #f11514;
    font-weight: 600;
    font-family: 'Arial', sans-serif;
}

.info-title-zh {
    font-size: 24px;
    color: #000;
    font-weight: 400;
    margin: 0;
    margin-top: 2px;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

.info-more-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background-color: transparent;
    color: #f11514;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #f11514;
    border-radius: 0;
    overflow: hidden;
}

.info-more-btn .plus {
    font-size: 16px;
}

.info-more-btn .corner {
    position: absolute;
    width: 0;
    height: 0;
}

.info-more-btn .corner-tl {
    top: 0;
    left: 0;
    border-top: 16px solid #f11514;
    border-right: 16px solid transparent;
}

.info-more-btn .corner-br {
    bottom: 0;
    right: 0;
    border-bottom: 16px solid #f11514;
    border-left: 16px solid transparent;
}

.info-layout {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.info-left {
    position: relative;
    flex: 0 0 45%;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.info-left img {
    width: 100%;
    height: auto;
    display: block;
}

.info-left-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 24px;
    background: linear-gradient(to top, rgba(40, 40, 40, 0.85), transparent);
}

.info-left-date {
    position: absolute;
    top: 22px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-left-bottom h4 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.info-left-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.info-left-date {
    position: absolute;
    top: 22px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-left-date .year {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.info-left-date .month-day {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.2;
}

.info-right {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.info-card {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #dcdddd;
    padding: 0 20px;
    gap: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.info-card + .info-card {
    border-top: none;
}

.info-card:hover {
    background-color: #f9f9f9;
}

.info-card-date {
    flex: 0 0 80px;
    text-align: center;
    padding-right: 16px;
    border-right: 2px solid #f11514;
}

.info-card-date .year {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    line-height: 1.3;
}

.info-card-date .md {
    display: block;
    font-size: 13px;
    color: #888888;
    line-height: 1.3;
}

.info-card-text {
    flex: 1;
    min-width: 0;
}

.info-card-text h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #333333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 576px) {
    .info-card-text h4 {
        font-size: 16px;
    }
}

.info-card-text p {
    margin: 0;
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.field-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.field-overlay {
    position: relative;
    z-index: 2;
}

.field-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.field-title {
    display: block;
}

.field-title-en {
    font-size: 32px;
    color: #f11514;
    font-weight: 600;
    font-family: 'Arial', sans-serif;
}

.field-title-cn {
    font-size: 24px;
    color: #000;
    font-weight: 400;
    margin: 0;
    margin-top: 2px;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

.field-layout {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.field-main {
    position: relative;
    flex: 1.4;
    min-width: 0;
}

.field-photo {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    max-height: 680px;
}

.field-photo img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    max-width: 100%;
    display: block;
}

.field-desc {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 26px 22px;
    background: linear-gradient(to top, rgba(0, 67, 126, 0.95), rgba(0, 67, 126, 0.7), transparent);
    color: #ffffff;
}

.field-desc-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.field-desc-text {
    font-size: 16px;
    line-height: 1.9;
}

.field-tabs {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
}

.field-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 18px 20px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-bottom: 1px solid #eaeaea;
    cursor: pointer;
    text-align: left;
    transform-origin: right center;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.field-tab + .field-tab {
    margin-top: 0;
}

.field-tab-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
}

.field-tab.active .field-tab-text,
.field-tab:hover .field-tab-text,
.field-tab:focus-visible .field-tab-text {
    align-items: flex-start;
    text-align: left;
}

.field-tab-zh {
    font-size: 20px;
    font-weight: 400;
    color: #000000;
}

.field-tab-en {
    display: none;
}

.field-tab-icon {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.field-tab-icon img {
    width: 72px;
    height: 72px;
    display: block;
}

.field-tab.active,
.field-tab:hover,
.field-tab:focus-visible {
    background: linear-gradient(to bottom, #ec0406, #fc4137);
    color: #ffffff;
    justify-content: flex-start;
    align-items: center;
    transform: scaleX(1.1);
}

.field-tab.active .field-tab-zh,
.field-tab:hover .field-tab-zh,
.field-tab:focus-visible .field-tab-zh {
    color: #ffffff;
    font-weight: 700;
}

.field-tab.active .field-tab-icon,
.field-tab:hover .field-tab-icon,
.field-tab:focus-visible .field-tab-icon {
    display: block;
}

.field-tab:focus-visible {
    outline: 2px solid rgba(3, 117, 190, 0.7);
    outline-offset: 2px;
}

/* ========================================
   应用领域区 - 移动端适配
   ======================================== */
@media (max-width: 768px) {
    .field-section {
        padding: 40px 10px;
    }

    .field-title-en {
        font-size: 28px;
        margin: 0;
    }

    .field-title-cn {
        font-size: 20px;
    }

    .info-title-en {
        font-size: 28px;
    }

    .info-title-zh {
        font-size: 20px;
    }

    .info-card {
        padding: 8px 20px;
    }

    .field-title-en,
    .field-title-cn {
        display: inline;
    }

    .field-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .field-layout {
        flex-direction: column;
        gap: 16px;
    }

    .field-main {
        width: 100%;
    }

    .field-photo {
        height: 280px;
    }

    .field-photo img {
        height: 100%;
        object-fit: cover;
    }

    .field-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        overflow-x: visible;
        padding-bottom: 4px;
        gap: 0;
    }

    .field-tab {
        flex: 0 0 100%;
        min-width: 0;
        padding: 0 12px;
        height: 70px;
        overflow: hidden;
        transform: none;
    }

    .field-tab.active,
    .field-tab:hover,
    .field-tab:focus-visible {
        transform: none;
    }

    .field-tab-zh {
        font-size: 14px;
    }

    .field-tab-en {
        font-size: 12px;
    }

    .field-tab-text {
        flex-direction: row;
        gap: 6px;
        align-items: center;
    }

    .field-tab-icon img {
        width: 48px;
        height: 48px;
    }

    .field-desc {
        padding: 12px 15px 15px;
    }

    .field-desc-title {
        font-size: 16px;
    }

    .field-desc-text {
        font-size: 12px;
        line-height: 1.6;
    }
}

/* ----------------------------------------
   5. Page Template
   ---------------------------------------- */
.page-banner {
    width: 100%;
    height: 300px;
    background: url('../img/ny.jpg') center center / cover no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.page-banner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.page-title-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.2);
    padding: 15px 0;
    z-index: 1;
}

.page-title-content {
    width: 96%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-title-zh {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    margin: 0 0 5px;
}

.page-title-en {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    letter-spacing: 2px;
}

.page-breadcrumb {
    background: rgba(0,0,0,0.3);
    padding: 10px 0;
    font-size: 13px;
    color: #fff;
}

.page-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.page-breadcrumb a:hover {
    color: #f11514;
}

.page-container {
    width: 96%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 40px;
    box-sizing: border-box;
}

.page-sidebar {
    width: 220px;
    flex-shrink: 0;
}

.sidebar-title {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    padding-bottom: 15px;
    border-bottom: 2px solid #f11514;
    margin-bottom: 20px;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: #fff5f5;
    color: #f11514;
    border-left-color: #f11514;
}

/* 搜索结果页样式 */
.search-page-container {
    justify-content: center;
}

.search-page-container .page-content {
    max-width: 1200px;
}

.search-count {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.article-list-meta span:last-child {
    border-right: none;
}

.article-list-meta a {
    color: #f11514;
}

.article-list-meta a:hover {
    text-decoration: underline;
}

.page-content {
    flex: 1;
    min-width: 0;
}

.page-container-full {
    padding: 40px 20px;
}

.page-container-full .page-content {
    flex: 1;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.contact-item {
    flex: 0 0 calc(50% - 15px);
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #f11514;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.contact-detail h3 {
    font-size: 14px;
    color: #999;
    margin: 0 0 8px;
    font-weight: normal;
}

.contact-detail p {
    font-size: 16px;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 576px) {
    .contact-item {
        flex: 0 0 100%;
        padding: 20px;
    }
    
    .contact-wrapper {
        gap: 15px;
    }
}

.content-title {
    font-size: 22px;
    color: #333;
    font-weight: bold;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.content-text {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-img {
    width: 100%;
    max-width: 500px;
    margin: 20px 0;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .page-container {
        flex-direction: column;
        padding: 0;
    }

    .page-sidebar {
        width: 100%;
    }

    .sidebar-title {
        font-size: 14px;
        padding: 10px 15px;
        margin-bottom: 0;
    }

    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        padding: 10px 15px;
    }

    .sidebar-nav li {
        margin-bottom: 0;
    }

    .sidebar-nav a {
        padding: 8px 8px;
        font-size: 13px;
        border-left: none;
        background: #f5f5f5;
        border-radius: 4px;
    }

    .sidebar-nav a:hover,
    .sidebar-nav a.active {
        background: #f11514;
        color: #fff;
    }

    .page-banner {
        height: 200px;
    }

    .page-title-zh {
        font-size: 18px;
    }

    .page-title-en {
        font-size: 11px;
    }

    .page-content {
        padding: 15px;
    }
}

/* ========================================
   产品列表页样式
   ======================================== */
.plist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.plist-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.plist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 20px rgba(0,0,0,0.12);
}

.plist-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.plist-img-wrap a {
    display: block;
    width: 100%;
    height: 100%;
}

.plist-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.plist-card:hover .plist-img-wrap img {
    transform: scale(1.05);
}

.plist-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding: 15px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #eee;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.pagination a:hover {
    background: #f11514;
    border-color: #f11514;
    color: #fff;
}

.pagination .active {
    background: #f11514;
    border-color: #f11514;
    color: #fff;
}

.pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .plist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .plist-img-wrap {
        aspect-ratio: 1;
    }
}

@media (max-width: 480px) {
    .plist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .plist-img-wrap {
        aspect-ratio: 1;
    }
}

/* ========================================
   产品详情页样式
   ======================================== */
.pdetail-container {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.pdetail-gallery {
    flex: 0 0 40%;
    max-width: 40%;
}

.pdetail-main-img {
    width: 100%;
    aspect-ratio: 1;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 15px;
}

.pdetail-main-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pdetail-thumb-list {
    display: flex;
    gap: 10px;
}

.pdetail-thumb {
    width: 80px;
    aspect-ratio: 1;
    background: #f5f5f5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.pdetail-thumb:hover, .pdetail-thumb.active {
    border-color: #f11514;
}

.pdetail-thumb img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.pdetail-info {
    flex: 1;
    padding: 0 0 0 40px;
}

.pdetail-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px;
}

.pdetail-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.pdetail-summary {
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}

.pdetail-features {
    margin-bottom: 25px;
}

.pdetail-features h4 {
    font-size: 16px;
    color: #333;
    margin: 0 0 12px;
}

.pdetail-features ul {
    margin: 0;
    padding-left: 20px;
}

.pdetail-features li {
    color: #555;
    line-height: 2;
}

.pdetail-inquiry {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
}

.pdetail-inquiry p {
    margin: 0 0 10px;
    color: #666;
}

.pdetail-inquiry .phone {
    font-size: 24px;
    color: #f11514;
    font-weight: 600;
}

.pdetail-section {
    margin-bottom: 30px;
}

.pdetail-section h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f11514;
}

.pdetail-section p {
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.pdetail-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.pdetail-table th, .pdetail-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.pdetail-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.pdetail-table td {
    color: #555;
}

.pdetail-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.pdetail-nav a {
    color: #666;
}

@media (max-width: 768px) {
    .pdetail-container {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .pdetail-gallery {
        flex: none;
        max-width: 100%;
    }
    
    .pdetail-info {
        padding: 0;
    }
    
    .pdetail-main-img {
        aspect-ratio: 1;
    }
    
    .pdetail-title {
        font-size: 20px;
    }
}

/* ========================================
   文章列表页样式
   ======================================== */
.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-list-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.article-list-item:last-child {
    border-bottom: none;
}

.article-list-image {
    width: 180px;
    height: 120px;
    flex-shrink: 0;
    margin-right: 20px;
    overflow: hidden;
    border-radius: 4px;
}

.article-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-list-item:hover .article-list-image img {
    transform: scale(1.05);
}

.article-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-list-title {
    font-size: 18px;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.4;
}

.article-list-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.article-list-title a:hover {
    color: #0066cc;
}

.article-list-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-list-meta {
    font-size: 13px;
    color: #999;
    margin-top: 10px;
}

.article-list-meta span {
    margin-right: 20px;
}

@media (max-width: 768px) {
    .article-list-item {
        flex-direction: column;
    }
    
    .article-list-image {
        width: 100%;
        height: 180px;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* ========================================
   文章详情页样式
   ======================================== */
.article-detail-header {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.article-detail-title {
    font-size: 28px;
    color: #333;
    margin: 0 0 15px;
    line-height: 1.4;
}

.article-detail-meta {
    font-size: 14px;
    color: #999;
}

.article-detail-meta span {
    margin: 0 15px;
}

.article-detail-image {
    margin: 0 0 30px;
    text-align: center;
}

.article-detail-image img {
    max-width: 100%;
    border-radius: 4px;
}

.article-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.article-detail-content p {
    margin: 0 0 20px;
    text-indent: 0;
}

.article-detail-content h3 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: #333;
}

.article-detail-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-detail-nav a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.article-detail-nav a:hover {
    color: #0066cc;
}

.article-detail-nav .prev::before {
    content: '← ';
}

.article-detail-nav .next::after {
    content: ' →';
}
