/*
Theme Name: RunCuiZe
Theme URI: https://www.runcnuize.com
Author: MAISI TECHNOLOGY
Author URI: https://www.maisitech.com
Description: Shaanxi RunCuiZe Biotechnology Co., Ltd. - Trusted Global Supplier of Natural Bioactive Ingredients. A professional WordPress theme for biotechnology and plant extract companies.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: runcuize
Tags: biotechnology, plant-extract, health-products, responsive, custom-logo
*/

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Container ===== */
.container {
    max-width: 1600px;
    width: 96%;
    margin: 0 auto;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: transparent;
    box-shadow: none;
    transition: background 0.3s ease;
}

.header.scrolled {
    background: rgba(5, 37, 6, 0.8);
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    min-height: 80px;
    position: relative;
    padding: 6px 0;
}

.logo {
    z-index: 1002;
}

.logo img {
    height: 60px;
    width: auto;
    flex-shrink: 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav-menu {
    display: flex;
    gap: 60px;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li.lang-selector {
    margin-left: 20px;
}

.nav-menu li a {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.nav-menu li a:hover {
    color: #11b087;
}

/* Submenu */
.has-submenu {
    position: relative;
}

.has-submenu > a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
    opacity: 0.7;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px 0;
    margin-top: 10px;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    color: #333 !important;
    font-size: 15px !important;
    transition: all 0.3s ease;
}

.submenu li a:hover,
.submenu li.active > a {
    color: #11b087 !important;
    background: rgba(17, 176, 135, 0.1);
    padding-left: 25px;
}

.submenu li a::after {
    display: none !important;
}

/* Language Selector */
.lang-selector {
    position: relative;
    cursor: pointer;
}

.lang-selector .lang-current {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    transition: color 0.3s ease;
}

.lang-selector .lang-current small {
    font-size: 10px;
    margin-left: 5px;
    opacity: 0.7;
}

.lang-selector:hover .lang-current {
    color: #11b087;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    min-width: 80px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 8px 0;
    margin-top: 10px;
    z-index: 100;
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li a {
    display: block;
    padding: 8px 16px;
    color: #333 !important;
    font-size: 14px !important;
    transition: all 0.3s ease;
    text-align: center;
}

.lang-dropdown li a:hover {
    color: #11b087 !important;
    background: rgba(17, 176, 135, 0.1);
}

/* Contact Us Button */
.contact-item a {
    background: #11b087 !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
}

.contact-item a::after {
    display: none !important;
}

.contact-item a:hover {
    background: #0d9677 !important;
    color: #fff !important;
}

/* Contact Us in nav menu */
.nav-menu li.contact-item a {
    background: #11b087 !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
}

/* Language Switch */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: #ffcc00;
}

.lang-btn.active {
    background: #ffcc00;
    color: #333;
}

.divider {
    color: #ccc;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== Banner ===== */
.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    z-index: 999;
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 37, 6, 0.8);
    pointer-events: none;
}

/* Banner Text */
.banner-text {
    position: absolute;
    top: calc(50% + 30px);
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
    width: 96%;
    max-width: 1600px;
}

.banner-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.banner-subtitle {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.banner-desc {
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: 500;
}

.banner-desc-large {
    font-size: 18px;
    font-weight: 400;
    margin-top: 30px;
    font-style: italic;
    opacity: 0.85;
}

/* Page Breadcrumb (outside banner) */
.page-breadcrumb {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 0;
    border-bottom: 1px solid #dee2e6;
}

.page-breadcrumb .breadcrumb {
    font-size: 14px;
    color: #6c757d;
}

.page-breadcrumb .breadcrumb a {
    color: #11b087;
    text-decoration: none;
    transition: color 0.3s;
}

.page-breadcrumb .breadcrumb a:hover {
    color: #0d9677;
    text-decoration: underline;
}

.page-breadcrumb .breadcrumb .current {
    color: #495057;
    font-weight: 500;
}

.page-breadcrumb .breadcrumb span:not(.current) {
    margin: 0 8px;
    color: #adb5bd;
}

/* Banner Button */
.banner-btn {
    display: inline-block;
    background: #11b087;
    color: #fff !important;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.banner-btn:hover {
    background: #0d9677;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(17, 176, 135, 0.4);
}

/* ===== Main Content ===== */
.main-content {
    padding-top: calc(100vh + 80px);
    padding-bottom: 80px;
    min-height: 60vh;
}

.section {
    text-align: center;
    padding: 40px 0;
}

/* ===== About Section ===== */
.about-section {
    padding: 80px 0;
    background: url('assets/images/jjbj.jpg') no-repeat center center;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.about-left {
    flex: 1;
    padding-right: 40px;
}

.about-label,
.about-title {
    font-size: 45px;
    font-weight: 700;
    color: #0a520a;
    line-height: 1.2;
    margin-bottom: 0;
}

.about-title {
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.about-company {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-right {
    flex: 1;
}

.about-desc {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* About Button */
.about-btn {
    display: inline-block;
    background: #11b087;
    color: #fff !important;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background: #0d9677;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(17, 176, 135, 0.4);
}

/* About Video */
.about-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 10px;
}

.about-video {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 50px 0 50px;
}

/* ===== Products Section ===== */
.products-section,
.product-detail-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.products-full {
    max-width: 96%;
    margin: 0 auto;
}

.products-title {
    font-size: 45px;
    font-weight: 700;
    color: #0a520a;
    text-align: center;
    margin-bottom: 40px;
}

.services-wrapper {
    margin-bottom: 60px;
}

.services-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.service-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}

.service-card:hover .service-img img {
    opacity: 0.3;
}

.service-card:hover .service-num {
    background: #11b087;
}

.service-card:hover .service-label {
    color: #11b087;
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.service-card:hover .service-overlay {
    transform: translateY(0);
}

.service-desc {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 30px;
}

.service-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #11b087;
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.service-img {
    position: relative;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: auto;
    display: block;
}

.service-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    color: #333;
    padding: 25px;
    font-size: 26px;
    font-weight: 600;
    text-align: left;
    line-height: 1.4;
}

.service-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 20px;
    margin-right: 10px;
    margin-top: 5px;
    vertical-align: top;
    flex-shrink: 0;
}

.service-row {
    display: flex;
    align-items: flex-start;
}

.service-label {
    flex: 1;
    display: block;
}

.featured-wrapper {
    text-align: center;
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.product-card {
    flex: 0 0 calc(20% - 16px);
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover .product-overlay {
    opacity: 1;
    pointer-events: auto;
}

.product-img {
    position: relative;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.product-note {
    font-size: 14px;
    color: #888;
}

/* Products CTA Button */
.products-cta {
    text-align: center;
    margin-top: 40px;
}

.cta-btn {
    display: inline-block;
    background: #11b087;
    color: #fff;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #0d9677;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(17, 176, 135, 0.4);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 82, 10, 0.8);
    padding: 20px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.product-overlay-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.product-overlay-content {
    font-size: 13px;
    line-height: 1.6;
}

.section-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: #222;
}

.section p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

/* ===== Credentials Section ===== */
.credentials-section {
    background: #fff;
    padding: 60px 0;
}

.credentials-title {
    font-size: 45px;
    font-weight: 700;
    color: #0a520a;
    text-align: center;
    margin-bottom: 40px;
}

.credentials-scroll {
    overflow: hidden;
    width: 100%;
}

.credentials-track {
    display: flex;
    gap: 30px;
    animation: scroll-left 30s linear infinite;
    width: max-content;
}

.credentials-track img {
    height: auto;
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.credentials-track a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cred-scroll-title {
    font-size: 14px;
    color: #333;
    text-align: center;
    margin: 0;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.credentials-track:hover {
    animation-play-state: paused;
}

/* ===== News Section ===== */
.news-section {
    background: #cfe9e2;
    padding: 60px 0;
}

.news-title {
    font-size: 45px;
    font-weight: 700;
    color: #0a520a;
    text-align: center;
    margin-bottom: 40px;
}

.news-container {
    display: flex;
    gap: 30px;
}

.news-left {
    flex: 5;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-right {
    flex: 2;
}

.news-item {
    background: transparent;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #ddd;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-item.news-vertical {
    flex-direction: column;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-left .news-item {
    flex-direction: row;
}

.news-left .news-img {
    width: 280px;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-left .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-right .news-img {
    width: 100%;
    height: 200px;
}

.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}

.news-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.news-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-btn {
    color: #0a520a;
    font-size: 14px;
}

.news-item:hover .news-btn {
    text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
    width: 100%;
    min-height: auto;
    color: #fff;
    padding: 60px 0 0;
    text-align: center;
    background: url('assets/images/fo.jpg') center center / cover no-repeat;
}

.footer-content {
    padding-bottom: 0;
    margin-bottom: 0;
}

.footer-title {
    font-size: 45px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.footer-container {
    display: flex;
    gap: 50px;
    text-align: left;
}

.footer-left {
    flex: 2;
}

.footer-right {
    flex: 1;
}

.footer-top {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.footer-logo {
    width: 180px;
    flex-shrink: 0;
    text-align: left;
}

.footer-logo img {
    width: 150px;
}

.footer-contact {
    padding-top: 10px;
}

.footer-contact p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #fff;
}

.footer-contact p strong {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a img {
    height: 35px;
    width: auto;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-slogan {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.inquiry-form h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 0;
    color: #333;
}

.inquiry-form {
    margin-bottom: 30px;
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
    box-sizing: border-box;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
    color: #999;
}

.inquiry-form textarea {
    resize: vertical;
    min-height: 100px;
}

.inquiry-form .form-row {
    display: flex;
    gap: 15px;
}

.inquiry-form .form-row input {
    flex: 1;
}

.submit-btn {
    width: 100%;
    padding: 14px 40px;
    background: #11b087;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #0d9677;
    transform: translateY(-2px);
}

.footer-copyright {
    margin-top: 0;
    margin-bottom: 0;
    padding: 15px 0;
    font-size: 14px;
    background: #052506;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    text-align: center;
    color: #fff;
}

.footer-copyright a {
    color: #fff;
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
    color: #fff;
}

/* ===== WordPress Specific ===== */
.wp-block-image img {
    border-radius: 8px;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Responsive Design ===== */

/* Large Desktop */
@media (min-width: 1601px) {
    .container {
        max-width: 1600px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 40px;
    }
    
    .nav-menu li a {
        font-size: 15px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .banner {
        height: auto;
        min-height: 600px;
    }
    
    .navbar {
        height: 70px;
    }
    
    .nav-wrapper {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        justify-content: center;
    }
    
    .nav-menu {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        max-height: 600px;
        overflow-y: auto;
    }
    
    .nav-menu li {
        border-bottom: 1px solid #eee;
    }
    
    .nav-menu li a {
        display: block;
        padding: 15px 20px;
        color: #333;
    }
    
    /* Contact button in tablet */
    .nav-menu li.contact-item a {
        display: inline-block !important;
        margin: 10px 20px;
        padding: 8px 20px !important;
    }
    
    /* Submenu on Tablet - always visible style */
    .submenu {
        position: static;
        background: rgba(0, 0, 0, 0.05);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
        margin: 0;
        border-radius: 0;
        display: none;
    }
    
    .has-submenu.active .submenu {
        display: block;
    }
    
    .submenu li a {
        padding-left: 40px !important;
        font-size: 13px !important;
    }
    
    .submenu li a:hover {
        padding-left: 45px !important;
    }
    
    .has-submenu > a::after {
        color: #333;
    }
    
    /* Language Selector on Tablet */
    .nav-menu .lang-selector {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .menu-toggle span {
        background: #fff;
    }

    /* About Section Tablet */
    .about-section {
        padding: 60px 0;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-left {
        padding-right: 0;
        text-align: center;
        order: 1;
    }

    .about-right {
        order: 2;
        width: 100%;
    }

    .about-video-wrapper {
        width: 100%;
    }

    .about-title {
        font-size: 36px;
    }

    /* Products Section Tablet */
    .products-section {
        padding: 50px 0;
    }

    .services-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    .service-card {
        flex: 0 0 calc(50% - 10px);
        width: 100%;
    }

    .products-title {
        font-size: 30px;
        margin-bottom: 30px;
    }

    /* Products Grid Tablet */
    .products-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .product-card {
        flex: none;
    }

    /* Footer Tablet */
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    /* News Section Tablet */
    .news-container {
        flex-direction: column;
    }

    .news-left {
        flex: none;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .news-right {
        flex: none;
    }

    .news-left .news-item {
        flex-direction: row;
    }

    .news-left .news-img {
        width: 140px;
        height: 120px;
    }

    .news-right .news-img {
        height: 200px;
        width: 100%;
    }

    .news-item-title {
        font-size: 16px;
    }

    .news-desc {
        font-size: 14px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-logo {
        width: 150px;
        text-align: center;
    }

    .footer-contact p {
        font-size: 14px;
    }

    .footer-social {
        justify-content: flex-start;
        padding-left: 0;
    }

    .footer-social a img {
        height: 30px;
    }

    .footer-slogan {
        font-size: 16px;
    }

    .footer-desc {
        font-size: 13px;
    }

    .inquiry-form h3 {
        font-size: 20px;
    }

    .inquiry-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .navbar {
        height: 60px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav-wrapper {
        top: 60px;
    }
    
    .nav-menu {
        top: 10px;
        left: 0;
        right: 0;
        width: 100%;
    }
    
    .banner {
        height: auto;
        min-height: 400px;
    }
    
    .main-content {
        padding-top: 450px;
    }
    
    .banner-text {
        width: 95%;
    }
    
    .banner-title {
        font-size: 32px;
    }
    
    .banner-subtitle {
        font-size: 18px;
    }
    
    .banner-desc {
        font-size: 14px;
    }
    
    .banner-desc-large {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section p {
        font-size: 16px;
    }
    
    .menu-toggle span {
        background: #fff;
    }

    /* About Section Mobile */
    .about-section {
        padding: 50px 0;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-left {
        padding-right: 0;
        text-align: center;
        order: 1;
    }

    .about-right {
        order: 2;
        width: 100%;
    }

    .about-video-wrapper {
        width: 100%;
    }

    .about-title {
        font-size: 36px;
    }

    .about-company {
        font-size: 16px;
    }

    .about-desc {
        font-size: 14px;
    }

    .about-btn {
        padding: 10px 30px;
        font-size: 14px;
    }

    /* Products Section Mobile */
    .products-section {
        padding: 40px 0;
    }

    .services-grid {
        flex-direction: column;
        gap: 15px;
    }

    .service-card {
        flex: 0 0 100%;
        width: 100%;
    }

    .products-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    /* Products Grid Mobile */
    .products-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .product-card {
        flex: 0 0 calc(50% - 8px);
    }

    /* News Section Mobile */
    .news-container {
        flex-direction: column;
    }

    .news-left {
        flex: none;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .news-right {
        flex: none;
    }

    .news-left .news-item {
        flex-direction: column;
    }

    .news-left .news-img {
        width: 100%;
        height: 180px;
    }

    .news-right .news-img {
        height: 200px;
        width: 100%;
    }

    .news-item-title {
        font-size: 16px;
    }

    .news-desc {
        font-size: 13px;
    }

    /* Footer Mobile */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        width: 150px;
        text-align: center;
    }

    .footer-contact p {
        font-size: 14px;
    }

    .footer-social {
        justify-content: center;
        padding-left: 0;
    }

    .footer-social a img {
        height: 30px;
    }

    .footer-slogan {
        font-size: 16px;
    }

    .footer-desc {
        font-size: 13px;
    }

    .inquiry-form h3 {
        font-size: 20px;
    }

    .inquiry-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .nav-menu li a {
        font-size: 14px;
        padding: 12px 15px;
    }

    .banner {
        min-height: 350px;
    }

    .main-content {
        padding-top: 400px;
    }

    .banner-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .banner-subtitle {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .banner-desc {
        font-size: 10px;
        margin-bottom: 2px;
    }

    .banner-desc-large {
        font-size: 11px;
        margin-top: 10px;
    }

    .banner-btn {
        padding: 8px 25px;
        font-size: 13px;
        margin-top: 15px;
    }

    .section-title {
        font-size: 18px;
    }

    .lang-btn {
        font-size: 12px;
        padding: 4px 8px;
    }

    /* About Section Small Mobile */
    .about-section {
        padding: 40px 0;
    }

    .about-title {
        font-size: 28px;
    }

    .about-label {
        font-size: 16px;
    }

    .about-company {
        font-size: 14px;
    }

    .about-desc {
        font-size: 13px;
    }

    /* Products Section Small Mobile */
    .services-grid {
        flex-direction: column;
    }

    .service-card {
        flex: 0 0 100%;
    }

    /* Product Card Small Mobile */
    .product-card {
        flex: 0 0 calc(50% - 8px);
    }

    .product-name {
        font-size: 12px;
    }

    .product-note {
        display: none;
    }

    .products-cta {
        margin-top: 25px;
    }

    .cta-btn {
        font-size: 14px;
        padding: 10px 30px;
    }

    .product-overlay .product-overlay-title {
        display: none;
    }

    .product-overlay-content {
        font-size: 11px;
    }

    .product-overlay-content p {
        margin-bottom: 3px;
    }

    /* Credentials Section Small Mobile */
    .credentials-track img {
        width: 200px;
    }

    .credentials-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    /* News Section Small Mobile */
    .news-section {
        padding: 40px 0;
    }

    .news-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .news-container {
        flex-direction: column;
    }

    .news-left {
        flex: none;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .news-right {
        flex: none;
    }

    .news-left .news-item {
        flex-direction: column;
    }

    .news-left .news-img {
        width: 100%;
        height: 180px;
    }

    .news-right .news-img {
        height: 200px;
        width: 100%;
    }

    .news-item-title {
        font-size: 16px;
    }

    .news-desc {
        font-size: 13px;
    }

    /* Footer Mobile */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        width: 150px;
        text-align: center;
    }

    .footer-logo img {
        height: 80px;
    }

    .footer-contact p {
        font-size: 14px;
    }

    .footer-social {
        justify-content: center;
        padding-left: 0;
    }

    .footer-social a img {
        height: 30px;
    }

    .footer-slogan {
        font-size: 16px;
    }

    .footer-desc {
        font-size: 13px;
    }

    .inquiry-form h3 {
        font-size: 20px;
    }

    .inquiry-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ===== Content Detail Page ===== */
.banner-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 37, 6, 0.7);
    pointer-events: none;
}

/* Content Detail Section */
.content-detail-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.content-detail-wrapper {
    display: flex;
    gap: 40px;
}

/* Sidebar */
.content-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-title {
    font-size: 22px;
    font-weight: 600;
    color: #0a520a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0a520a;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid #eee;
}

.sidebar-menu li a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-menu li a:hover,
.sidebar-menu li.active a,
.sidebar-menu li.current-cat a,
.sidebar-menu li.current-menu-item a {
    background: #0a520a;
    color: #fff;
    padding-left: 20px;
}

/* Content Detail */
.content-detail {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.detail-title {
    font-size: 28px;
    color: #0a520a;
    margin-bottom: 15px;
    font-weight: 600;
}

.detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    color: #888;
    font-size: 14px;
}

.detail-content {
    line-height: 1.8;
    color: #555;
    white-space: pre-line;
}

.detail-content p {
    margin-bottom: 20px;
}

.detail-content p:empty {
    height: 20px;
    margin: 0;
}

.detail-content h3 {
    font-size: 20px;
    color: #333;
    margin: 25px 0 15px;
}

.detail-content p {
    margin-bottom: 15px;
}

.detail-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.detail-tags a {
    display: inline-block;
    padding: 5px 12px;
    background: #f0f0f0;
    color: #666;
    margin-left: 8px;
    border-radius: 3px;
    font-size: 13px;
    text-decoration: none;
}

.detail-tags a:hover {
    background: #0a520a;
    color: #fff;
}

.detail-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.detail-nav a {
    color: #0a520a;
    text-decoration: none;
    font-size: 14px;
}

.detail-nav a:hover {
    text-decoration: underline;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb .current {
    color: #fff;
}

/* Banner with Image (auto height) */
.banner-img-banner {
    height: auto;
    min-height: auto;
}

.banner-img-banner .banner-img-wrapper {
    position: relative;
    width: 100%;
}

.banner-img-banner .banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile */
@media (max-width: 768px) {
    .banner-img-banner .banner-img-wrapper {
        min-height: 200px;
    }

    .banner-img-banner .banner-img {
        min-height: 200px;
        object-fit: cover;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .page-breadcrumb {
        padding: 12px 0;
    }

    .page-breadcrumb .breadcrumb {
        font-size: 12px;
    }

    .banner-img-banner .banner-img-wrapper {
        min-height: 150px;
    }

    .banner-img-banner .banner-img {
        min-height: 150px;
    }
}

/* Content Detail Responsive - Tablet */
@media (max-width: 992px) {
    .content-detail-wrapper {
        flex-direction: column;
    }

    .content-sidebar {
        width: 100%;
    }

    .sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .sidebar-menu li {
        border: none;
    }

    .sidebar-menu li a {
        padding: 8px 15px;
        background: #f0f0f0;
        border-radius: 4px;
    }

    .sidebar-menu li.active a {
        background: #0a520a;
    }
}

/* Content Detail Responsive - Mobile */
@media (max-width: 768px) {
    .content-detail-section {
        padding: 40px 0;
    }

    .content-detail {
        padding: 25px;
    }

    .detail-title {
        font-size: 22px;
    }

    .detail-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    .detail-content h3 {
        font-size: 18px;
    }

    .detail-nav {
        flex-direction: column;
        gap: 15px;
    }
}

/* Content Detail Responsive - Small Mobile */
@media (max-width: 480px) {
    .content-detail {
        padding: 15px;
    }

    .detail-title {
        font-size: 20px;
    }

    .detail-content {
        font-size: 14px;
    }

    .detail-tags a {
        margin-bottom: 8px;
    }
}

/* ===== Post List Section ===== */
.content-list-section {
    padding: 40px 0 60px;
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.post-item {
    display: flex;
    gap: 30px;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.post-thumb {
    flex-shrink: 0;
    width: 280px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-item:hover .post-thumb img {
    transform: scale(1.05);
}

.post-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1.4;
}

.post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #0d9677;
}

.post-meta {
    margin-bottom: 12px;
}

.post-date {
    font-size: 13px;
    color: #999;
}

.post-excerpt {
    flex: 1;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: #0d9677;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0a7a62;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

@media (max-width: 768px) {
    .post-item {
        flex-direction: column;
    }
    
    .post-thumb {
        width: 100%;
        height: 200px;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #0d9677;
    border-color: #0d9677;
    color: #fff;
}

.pagination .current {
    background: #0d9677;
    border-color: #0d9677;
    color: #fff;
}

/* Archive Post */
.archive-post {
    display: flex;
    gap: 25px;
    padding: 25px;
    margin-bottom: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.archive-thumb {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: 6px;
    overflow: hidden;
}

.archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-content {
    flex: 1;
}

.archive-title {
    font-size: 20px;
    margin: 0 0 10px;
}

.archive-title a {
    color: #333;
    text-decoration: none;
}

.archive-title a:hover {
    color: #0d9677;
}

.archive-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}

.archive-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .archive-post {
        flex-direction: column;
    }
    
    .archive-thumb {
        width: 100%;
        height: 200px;
    }
}

/* ===== Products List Page ===== */
.products-wrapper {
    display: flex;
    gap: 40px;
}

.products-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.products-sidebar .sidebar-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 15px;
    color: #0a520a;
}

.products-sidebar .sidebar-menu li {
    border-bottom: 1px solid #eee;
}

.products-sidebar .sidebar-menu li a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.products-sidebar .sidebar-menu li a:hover,
.products-sidebar .sidebar-menu li.current-cat a {
    background: #0a520a;
    color: #fff;
    padding-left: 20px;
}

.products-wrapper .products-grid {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    align-content: start;
}

/* 产品分类页分页 */
.products-grid .pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 8px;
}

.products-grid .pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #f5f5f5;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.products-grid .pagination .page-numbers:hover {
    background: #0a520a;
    color: #fff;
}

.products-grid .pagination .page-numbers.current {
    background: #0a520a;
    color: #fff;
}

/* 产品分类页卡片 - 样式与首页产品卡片一致 */
.cat-product-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    display: block;
    aspect-ratio: 1 / 1;
}

.cat-product-card:hover .product-overlay {
    opacity: 1;
    pointer-events: auto;
}

.cat-product-card .product-img {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.cat-product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cat-product-card:hover .product-img img {
    transform: scale(1.1);
}

.cat-product-card .product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    text-align: center;
}

.cat-product-card .product-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px;
}

.cat-product-card .product-note {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.cat-product-card .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 82, 10, 0.95);
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.cat-product-card .product-overlay-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
    text-align: center;
}

.cat-product-card .product-overlay-content {
    font-size: 12px;
    line-height: 1.8;
}

.cat-product-card .product-overlay-content p {
    margin: 3px 0;
}
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-thumb {
    height: 200px;
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.05);
}

.product-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #999;
    font-size: 14px;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 16px;
    margin: 0 0 8px;
    color: #333;
    line-height: 1.4;
}

.product-subtitle {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.products-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

/* ===== Product Detail Page ===== */
.product-detail-wrapper {
    display: flex;
    gap: 40px;
}

.products-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.products-sidebar .sidebar-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 15px;
    color: #0a520a;
}

.products-sidebar .sidebar-menu li {
    border-bottom: 1px solid #eee;
}

.products-sidebar .sidebar-menu li a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.products-sidebar .sidebar-menu li a:hover,
.products-sidebar .sidebar-menu li.current-cat a {
    background: #0a520a;
    color: #fff;
    padding-left: 20px;
}

.product-detail {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 产品详情主区域 - 左侧图片右侧信息 */
.product-detail .product-main {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.product-detail-img {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.product-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail-info {
    flex: 1;
}

.product-detail-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
}

.product-detail-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px;
}

.product-detail-params {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
}

.product-detail-params p {
    margin: 0;
}

.product-inquiry {
    margin-top: 20px;
}

.btn-inquiry {
    display: inline-block;
    padding: 12px 30px;
    background: #0d9677;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-inquiry:hover {
    background: #0a7d62;
}

/* 产品详情内容区域 */
.product-detail-content {
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.product-detail-content h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 15px;
}

.product-detail-content .product-content {
    line-height: 1.8;
    color: #333;
}

.product-detail-content .product-content p {
    margin: 0 0 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .products-wrapper,
    .product-detail-wrapper {
        flex-direction: column;
    }

    .products-sidebar,
    .product-sidebar {
        width: 100%;
    }

    .products-wrapper .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-detail .product-main {
        flex-direction: column;
    }
}

/* Credentials 分类页 - 4列卡片布局 */
.credentials-grid {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    align-content: start;
}

.credential-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    display: block;
    background: #f5f5f5;
}

.credential-card .credential-img {
    width: 100%;
    /* 高度自适应 */
    overflow: hidden;
    background: #f5f5f5;
}

.credential-card .credential-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.credential-card:hover .credential-img img {
    transform: scale(1.05);
}

.credential-card .credential-info {
    padding: 15px;
    background: #fff;
}

.credential-card .credential-title {
    margin: 0;
    font-size: 14px;
    color: #333;
    text-align: center;
    line-height: 1.4;
}

.credentials-grid .pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 8px;
}

.credentials-grid .pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #f5f5f5;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.credentials-grid .pagination .page-numbers:hover {
    background: #0a520a;
    color: #fff;
}

.credentials-grid .pagination .page-numbers.current {
    background: #0a520a;
    color: #fff;
}

/* Credentials 移动端适配 */
@media (max-width: 768px) {
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }
    
    .credential-card .credential-info {
        padding: 10px;
    }
    
    .credential-card .credential-title {
        font-size: 12px;
    }
}
