/*
Theme Name: My Child Theme
Template: generatepress
*/

/* ===== 页眉搜索图标与下拉搜索框样式 ===== */
.custom-header-search-wrapper {
    position: relative;
    margin-left: 20px;
}
.search-toggle-btn {
    background: transparent !important;
    border: none !important;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    color: #333;
    transition: color 0.2s;
    outline: none !important;
    box-shadow: none !important;
}
.search-toggle-btn:hover,
.search-toggle-btn:focus,
.search-toggle-btn:active {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #19969e;
}
.header-search-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 16px;
    z-index: 9999;
    margin-top: 8px;
    border: 1px solid #e2e8f0;
}
.header-search-dropdown .search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-search-dropdown .search-field {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 40px;
    outline: none;
    font-size: 0.9rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.header-search-dropdown .search-field:focus {
    border-color: #19969e;
    box-shadow: 0 0 0 2px rgba(0,124,186,0.2);
}
.header-search-dropdown .search-submit {
    background: transparent !important;
    border: none !important;
    padding: 8px 12px;
    font-size: 1.2rem;
    color: #555;
    cursor: pointer;
    transition: color 0.2s;
    border-radius: 40px;
}
.header-search-dropdown .search-submit:hover {
    color: #19969e;
    background: transparent !important;
}
@media (max-width: 768px) {
    .header-search-dropdown {
        width: calc(100vw - 40px);
        left: 0;
        right: 0;
        margin: 8px auto;
    }
}

/* ===== 全局博客卡片样式 ===== */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}
.blog-card:hover {
    transform: translateY(-4px);
}
.blog-card .blog-thumb img {
    width: 100%;
    height: auto;
    display: block;
}
.blog-card .blog-content {
    padding: 15px;
}
.blog-card h3, .blog-card h4 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}
.blog-card p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}
.blog-card .read-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #19969e;
    text-decoration: none;
}

/* ===== 全局现代联系表单区块 ===== */
.contact-section-modern {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.1);
    background: #fff;
}

/* ===== 确保页脚小工具标题样式统一 ===== */
.custom-footer-bg .footer-widgets .widget-title {
    font-size: 22px !important;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    display: inline-block;
}
.custom-footer-bg .footer-widgets .footer-widget {
    padding: 0 15px;
}
.custom-footer-bg .footer-widgets li,
.custom-footer-bg .footer-widgets .textwidget p,
.custom-footer-bg .footer-widgets .textwidget a {
    margin-bottom: 10px;
    color: #eee;
}

/* ===== 产品分类页样式 ===== */
body.tax-product_cat #page,
body.tax-product_cat #content,
body.tax-product_cat .site-content,
body.tax-product_cat .inside-content,
body.tax-product_cat .site-main,
body.tax-product_cat .inside-article {
    display: block !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.test-hero {
    display: block !important;
    width: 100% !important;
    margin: 0 0 30px 0 !important;
    padding: 80px 20px;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}
.test-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 60px 20px;
}
.test-two-columns {
    display: grid;
    grid-template-columns: 1fr 2.2fr;
    gap: 40px;
    margin-bottom: 0;
    margin-top: 20px;
}
.test-sidebar {
    background: none;
    padding: 0;
}
.sidebar-widget {
    margin-bottom: 30px;
}
.sidebar-widget:last-child {
    margin-bottom: 0;
}
.test-products {
    background: transparent;
    padding: 0;
}
.sidebar-widget h3,
.test-products h2,
.latest-blogs-section h3 {
    background-color: #f4f6f9;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1.25rem;
    margin: 0;
}
.sidebar-widget h3 {
    text-align: center;
    margin-bottom: 15px;
    border-left: none;
}
.test-products h2 {
    margin-bottom: 20px;
}
.latest-blogs-section {
    margin-top: 30px;
}
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
}
.product-horizontal {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
}
.product-horizontal .product-img {
    flex-shrink: 0;
    width: 300px;
}
.product-horizontal .product-info {
    flex-grow: 1;
}
.choose-this-btn {
    display: inline-block;
    background: #19969e;
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}
.choose-this-btn:hover {
    background: #005a87;
    transform: translateY(-2px);
}
@media (max-width: 992px) {
    .test-two-columns {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
}
@media (max-width: 768px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .product-horizontal {
        flex-direction: column !important;
        text-align: center;
    }
    .product-horizontal .product-img {
        width: 100% !important;
        max-width: 250px;
        margin: 0 auto;
    }
}

/* ===== FAQ 分类页样式 ===== */
body.tax-faq_category #page,
body.tax-faq_category #content,
body.tax-faq_category .site-content,
body.tax-faq_category .inside-content,
body.tax-faq_category .site-main,
body.tax-faq_category .inside-article {
    display: block !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.faq-category-hero {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
    padding: 80px 20px;
    background-size: cover;
    background-position: center;
}
.faq-custom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 60px 20px;
}
.faq-breadcrumb {
    margin-bottom: 30px;
}
.faq-layout-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}
.faq-sidebar .sidebar-box {
    background: none;
    padding: 0;
    margin-bottom: 30px;
}
.faq-right {
    background: transparent;
    padding: 0;
}
.faq-sidebar .sidebar-box h3,
.faq-right h3,
.faq-latest-section h3 {
    background-color: #f4f6f9;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1.25rem;
    margin: 0;
}
.faq-sidebar .sidebar-box h3 {
    text-align: center;
    margin-bottom: 15px;
}
.faq-right h3 {
    margin-bottom: 20px;
}
.faq-latest-section {
    margin-top: 40px;
}
.latest-blogs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
}
.product-item-sidebar {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.product-item-sidebar:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
@media (max-width: 992px) {
    .faq-layout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .latest-blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .latest-blogs-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Blogs 分类页样式 ===== */
body.category-blogs #page,
body.category-blogs #content,
body.category-blogs .site-content,
body.category-blogs .inside-content,
body.category-blogs .site-main,
body.category-blogs .inside-article {
    display: block !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.blogs-category-hero {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
    padding: 80px 20px;
    background-size: cover;
    background-position: center;
}
.blogs-custom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 60px 20px;
}
.blogs-breadcrumb {
    margin-bottom: 30px;
}
.blogs-layout-grid {
    display: grid;
    grid-template-columns: 1fr 2.2fr;
    gap: 40px;
}
.blogs-sidebar .sidebar-box {
    background: none;
    padding: 0;
    margin-bottom: 30px;
}
.blogs-main {
    background: transparent;
    padding: 0;
}
.blogs-sidebar .sidebar-box h3,
.blogs-main h3,
.blogs-bottom-faqs h3 {
    background-color: #f4f6f9;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1.25rem;
    margin: 0;
}
.blogs-sidebar .sidebar-box h3 {
    text-align: center;
    margin-bottom: 15px;
}
.blogs-main h3 {
    margin-bottom: 20px;
}
.blogs-bottom-faqs {
    margin-top: 20px;
}
@media (max-width: 992px) {
    .blogs-layout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
@media (max-width: 768px) {
    .article-item {
        flex-direction: column !important;
    }
    .article-thumb {
        width: 100% !important;
    }
}

/* ===== 产品单页独立样式 ===== */
.my-product-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.my-hero {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 80px 0;
    color: #fff;
}
.my-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}
.my-hero-left { flex: 1; }
.my-hero-left h1 { font-size: 2.8rem; margin-bottom: 20px; }
.my-hero-right { flex: 1; text-align: center; }
.my-hero-img { max-width: 100%; border-radius: 24px; box-shadow: 0 20px 30px -10px rgba(0,0,0,0.3); }
.my-hero-details { margin-top: 20px; }
.my-detail-block, .my-detail-inline { margin-bottom: 12px; }
.my-detail-label { font-weight: 600; color: rgba(255,255,255,0.9); }
.my-detail-value { color: #fff; }
.my-detail-block .my-detail-label,
.my-detail-block .my-detail-value { display: block; }
.my-detail-block .my-detail-value { margin-top: 4px; }
.my-detail-inline .my-detail-label,
.my-detail-inline .my-detail-value { display: inline; }
.my-breadcrumb {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
    font-size: 0.9rem;
    color: #555;
}
.my-breadcrumb a { color: #19969e; text-decoration: none; }
.my-breadcrumb a:hover { text-decoration: underline; }
.my-breadcrumb span { color: #888; }
.my-main-content {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}
.my-sidebar { flex: 1; background: none; }
.my-content { flex: 2.2; background-color: #f5f7fa; border-radius: 24px; padding: 30px 25px; }
.my-widget { margin-bottom: 30px; }
.my-widget h3 {
    background-color: #f4f6f9;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1.25rem;
    text-align: center;
    margin: 0 0 15px;
}
.my-search-form {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 48px;
    padding: 4px 4px 4px 18px;
}
.my-search-input {
    flex: 1;
    border: none;
    padding: 10px 0;
    background: transparent;
    outline: none;
}
.my-search-btn {
    background: #19969e;
    border: none;
    border-radius: 40px;
    padding: 8px 20px;
    color: white;
    cursor: pointer;
}
.my-related-list .my-related-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 15px;
}
.my-related-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
}
.my-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.my-card:last-child { margin-bottom: 0; }
.my-card h3 {
    padding-left: 18px;
    border-left: 4px solid #19969e;
    margin-bottom: 20px;
    font-size: 1.3rem;
}
.my-overview {
    display: flex;
    gap: 30px;
}
.my-overview-img { flex: 1; }
.my-overview-img img { width: 100%; border-radius: 16px; }
.my-overview-text { flex: 1.5; }
.my-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.my-feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px 20px;
    border: 1px solid #eef2f6;
}
.my-feat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #19969e;
    margin-bottom: 12px;
}
.my-feat-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
.my-feat-desc { font-size: 0.9rem; color: #4a5568; }
.my-specs-table {
    width: 100%;
    border-collapse: collapse;
}
.my-specs-table th,
.my-specs-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e9ecef;
    text-align: left;
}
.my-specs-table th {
    background-color: #f8fafc;
    width: 35%;
}
.my-form-section {
    margin: 60px 0;
    padding: 0;
    background: transparent;
    border-top: none;
}
.my-form-container {
    max-width: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
}
.my-form-header {
    text-align: center;
    margin-bottom: 30px;
}
.my-form-header h2 {
    font-size: 1.9rem;
    margin-bottom: 12px;
    color: #0f172a;
}
.my-form-header p { color: #475569; }
.my-contact-form .my-form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}
.my-form-group {
    flex: 1;
    margin-bottom: 20px;
}
.my-form-group input,
.my-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    font-size: 0.95rem;
    background: #fff;
    transition: all 0.2s;
    box-sizing: border-box;
}
.my-form-group input:focus,
.my-form-group textarea:focus {
    outline: none;
    border-color: #19969e;
    box-shadow: 0 0 0 3px rgba(0,124,186,0.1);
}
.my-form-submit {
    text-align: center;
    margin-top: 10px;
}
.my-form-submit button {
    background: #19969e;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.my-form-submit button:hover { background: #005a87; }
.my-form-note {
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 20px;
}
@media (max-width: 992px) {
    .my-main-content { flex-direction: column; }
    .my-hero-inner { flex-direction: column; text-align: center; }
    .my-features-grid { grid-template-columns: 1fr; }
    .my-overview { flex-direction: column; }
    .my-form-section { margin: 40px 0; }
}
@media (max-width: 768px) {
    .my-hero { padding: 40px 0; }
    .my-hero-left h1 { font-size: 2rem; }
    .my-contact-form .my-form-row { flex-direction: column; gap: 0; }
    .my-form-group { margin-bottom: 16px; }
}

/* 产品单页相关产品垂直卡片样式 */
.my-product-page .my-related-list .my-related-item {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    padding: 0;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.my-product-page .my-related-list .my-related-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.my-product-page .my-related-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
    display: block;
}
.my-product-page .my-related-info {
    padding: 16px 16px 20px;
}
.my-product-page .my-related-info h4 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}
.my-product-page .my-related-info h4 a {
    text-decoration: none;
    color: #1e293b;
    transition: color 0.2s;
}
.my-product-page .my-related-info h4 a:hover {
    color: #19969e;
}
.my-product-page .my-related-info p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #475569;
}

/* ===== 联系我们模板样式 ===== */
.contact-main-content {
    display: flex;
    gap: 40px;
    margin: 60px auto;
    max-width: 1200px;
    padding: 0 20px;
}
.contact-left, .contact-right { flex: 1; }
.contact-left-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 24px;
    padding: 48px 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.contact-left-card::before {
    content: "💬";
    position: absolute;
    bottom: -30px;
    right: -30px;
    font-size: 180px;
    opacity: 0.08;
    pointer-events: none;
}
.contact-left-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0f172a;
}
.contact-left-subtitle {
    font-size: 1.1rem;
    color: #1e3a5f;
    margin-bottom: 20px;
    font-weight: 500;
}
.contact-left-desc {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 30px;
}
.contact-left-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 40px;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.feature-icon { font-size: 1.2rem; }
.contact-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid #edf2f7;
}
.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: #0f172a;
    border-left: 4px solid #19969e;
    padding-left: 16px;
}
.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.contact-form .form-group { flex: 1; margin-bottom: 0; }
.contact-form .form-group.full-width { width: 100%; margin-bottom: 20px; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    background: #fefefe;
    transition: all 0.2s;
    box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #19969e;
    box-shadow: 0 0 0 3px rgba(0,124,186,0.1);
}
.contact-form .form-submit { text-align: center; margin-top: 10px; }
.contact-form button {
    background: #19969e;
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.contact-form button:hover {
    background: #005a87;
    transform: translateY(-2px);
}
.form-note {
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 20px;
}
.contact-info-section {
    background: #0f172a;
    margin: 0;
    padding: 60px 20px;
}
.contact-info-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.info-card {
    text-align: center;
    color: #fff;
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.2s;
}
.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}
.info-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.info-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}
.info-card p {
    font-size: 0.9rem;
    color: #63666a;
    line-height: 1.5;
}
.info-card a {
    color: #63666a;
    text-decoration: none;
}
.info-card a:hover { color: #1a9ea7; }
.contact-bottom-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}
.contact-bottom-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}
.bottom-left { flex: 1.2; }
.bottom-left h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #0f172a;
}
.contact-bottom-section .bottom-left p {
    font-size: 0.9rem;
    line-height: 1.6;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 30px;
    color: #334155;
}
.bottom-buttons {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}
.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #19969e;
    border: 1px solid #19969e;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}
.btn-secondary:hover {
    background: #19969e;
    color: #fff;
    transform: translateY(-2px);
}
.bottom-right { flex: 0.8; }
.bottom-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
}
.bottom-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}
.bottom-image:hover img { transform: scale(1.03); }
@media (max-width: 992px) {
    .contact-main-content { flex-direction: column; gap: 30px; }
    .contact-info-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .contact-bottom-wrapper { flex-direction: column; text-align: center; }
    .bottom-buttons { justify-content: center; }
}
@media (max-width: 768px) {
    .contact-main-content { margin: 40px auto; }
    .contact-left-card, .contact-form-card { padding: 32px 24px; }
    .contact-left-card h2 { font-size: 1.6rem; }
    .contact-info-grid { grid-template-columns: 1fr; gap: 16px; }
    .contact-info-section { padding: 40px 20px; }
    .contact-form .form-row { flex-direction: column; gap: 16px; }
    .bottom-left h2 { font-size: 1.5rem; }
    .bottom-buttons { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }
}

/* 联系我们模板优化版样式覆盖 */
.contact-us-template {
    background-image: url('images/contact-bg-subtle.jpg');
    background-repeat: repeat;
    background-size: 200px;
    background-attachment: fixed;
}
.contact-left-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 36px;
}
.contact-left-card h2 { font-size: 1.8rem; margin-bottom: 20px; }
.contact-form-card h3 { display: none; }
.contact-info-section {
    background: #f8fafc;
    margin: 60px 0 0;
    padding: 60px 20px;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}
.contact-info-header {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 40px;
}
.contact-info-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}
.contact-info-header .sub-line {
    font-size: 1.8rem;
    margin-top: -8px;
    color: #19969e;
}
.contact-bottom-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}
.bottom-left, .bottom-right { flex: 1; }
.bottom-left h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: #0f172a;
}
.bottom-left h3 {
    font-size: 1.4rem;
    color: #19969e;
    margin-bottom: 20px;
    font-weight: 500;
}
.expert-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 24px;
}
.expert-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #334155;
}
.expert-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #19969e;
    font-weight: bold;
}
.bottom-left p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 30px;
}
.bottom-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 35px -12px rgba(0,0,0,0.15);
}
.bottom-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s;
}
.bottom-image:hover img { transform: scale(1.02); }
@media (max-width: 992px) {
    .contact-bottom-wrapper { flex-direction: column; text-align: center; }
    .expert-list li { text-align: left; }
    .bottom-buttons { justify-content: center; }
}
@media (max-width: 768px) {
    .contact-info-header h3,
    .contact-info-header .sub-line { font-size: 1.4rem; }
    .bottom-left h2 { font-size: 1.6rem; }
}

/* ===== 关于我们页面样式 ===== */
.about-intro-section {
    max-width: 1200px;
    margin: 60px auto 40px;
    padding: 0 20px;
}
.about-content-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.05);
    border: 1px solid #edf2f7;
}
.about-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 32px;
}
.about-contact-btn { text-align: center; }
.about-products-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header h2 {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 12px;
}
.section-header p {
    color: #64748b;
    font-size: 1rem;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.product-thumb img {
    object-fit: cover;
    display: block;
}
.product-info { padding: 20px; }
.product-info h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}
.product-info h3 a {
    text-decoration: none;
    color: #1e293b;
}
.product-info h3 a:hover { color: #19969e; }
.product-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}
.factory-gallery-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
}
.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1 / 1;
}
.gallery-item.small {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 1 / 1;
}
.gallery-item.medium {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 2 / 1;
}
.gallery-item.wide {
    grid-column: span 4;
    grid-row: span 1;
    aspect-ratio: 4 / 1;
}
@media (max-width: 992px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.large, .gallery-item.medium, .gallery-item.wide { grid-column: span 2; }
}
@media (max-width: 576px) {
    .products-grid { grid-template-columns: 1fr; }
    .gallery-masonry { grid-template-columns: 1fr; }
    .gallery-item { grid-column: span 1 !important; }
    .about-content-wrapper { padding: 30px 24px; }
}
.about-form-section {
    margin: 60px 0;
    padding: 0 20px;
}
.about-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.about-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}
.about-contact-btn .btn-primary {
    display: inline-block;
    background: #19969e;
    color: #fff;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}
.about-contact-btn .btn-primary:hover {
    background: #19969e;
    transform: translateY(-2px);
}
@media (max-width: 576px) {
    .about-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .about-title { font-size: 1.8rem; }
}

/* ========== 首页轮播图样式 ========== */
.hero-slider-section {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.site-main .hero-slider-section {
    margin-bottom: 0 !important;
}
.hero-slider-section,
.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
    height: 600px !important;
}
@media (max-width: 768px) {
    .hero-slider-section,
    .hero-swiper,
    .hero-swiper .swiper-wrapper,
    .hero-swiper .swiper-slide {
        height: 400px !important;
    }
}
.hero-swiper .swiper-slide {
    position: relative !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
.hero-slider-section .slide-content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    width: 90% !important;
    max-width: 800px !important;
    color: #ffffff !important;
    z-index: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.hero-slider-section .slide-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 30px;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
}
.hero-slider-section .slide-content p {
    font-size: 1.3rem;
    color: #f8fafc;
    margin-bottom: 30px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
    .hero-slider-section .slide-content h2 {
        font-size: 1.8rem;
    }
    .hero-slider-section .slide-content p {
        font-size: 1rem;
    }
    .hero-slider-section .slide-content .btn-primary {
        font-size: 0.9rem;
        padding: 8px 24px;
    }
}
.swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.7;
}
.swiper-pagination-bullet-active {
    background: #19969e !important;
    opacity: 1;
}

/* 搜索结果页强制重置主题容器 */
body.search-results #page,
body.search-results #content,
body.search-results .site-content,
body.search-results .inside-content,
body.search-results .site-main,
body.search-results .inside-article {
    display: block !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 全局按钮统一 */
.btn-primary {
    display: inline-block;
    background: #19969e;
    color: #fff;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}
.btn-primary:hover {
    background: #005a87;
    transform: translateY(-2px);
}
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    font-weight: 600;
    position: relative;
}
.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #19969e;
    margin: 15px auto 0;
}
.product-showcase,
.image-gallery,
.faq-section,
.latest-blogs,
.contact-map-form {
    padding: 60px 0;
}
@media (max-width: 768px) {
    .product-showcase,
    .image-gallery,
    .faq-section,
    .latest-blogs,
    .contact-map-form {
        padding: 40px 0;
    }
}
.hero-slider-section {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
}
html, body {
    overflow-x: hidden;
}
.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
    width: 100% !important;
}
.product-showcase .product-grid {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}
.product-showcase .product-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    width: 100%;
}
.product-showcase .product-image {
    flex: 0 0 calc(60% - 20px);
    max-width: calc(60% - 20px);
}
.product-showcase .product-text {
    flex: 0 0 calc(40% - 20px);
    max-width: calc(40% - 20px);
}
.product-showcase .product-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}
.product-showcase .product-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.product-showcase .product-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}
@media (max-width: 992px) {
    .product-showcase .product-item {
        flex-direction: column !important;
    }
    .product-showcase .product-image,
    .product-showcase .product-text {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
}
.image-gallery {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #f0f2f5;
}
.gallery-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.gallery-left {
    flex: 0.4;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.gallery-right {
    flex: 0.6;
}
.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}
.gallery-left .top-img img,
.gallery-left .bottom-img img {
    height: 240px;
}
.gallery-right .gallery-item img {
    height: 510px;
}
@media (max-width: 992px) {
    .gallery-left, .gallery-right {
        flex: auto;
    }
    .gallery-right .gallery-item img {
        height: auto;
    }
}
.faq-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.faq-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    padding: 25px 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #eef2f6;
}
.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
}
.faq-question-tag {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 12px;
}
.question-tag {
    background: #19969e;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}
.faq-question-tag h3 {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.4;
    font-weight: 600;
    color: #1e293b;
}
.faq-answer-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.answer-tag {
    background: #e2e8f0;
    color: #334155;
    font-weight: bold;
    font-size: 0.9rem;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}
.faq-answer-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #475569;
}
.faq-question-link {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}
.faq-question-link:hover {
    color: #19969e;
    text-decoration: underline;
}
.faq-read-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #19969e;
    text-decoration: none;
    font-weight: 500;
}
.faq-read-more:hover {
    text-decoration: underline;
}
.faq-answer-text p {
    margin: 0 0 5px 0;
}
@media (max-width: 992px) {
    .faq-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 576px) {
    .faq-cards-grid {
        grid-template-columns: 1fr;
    }
}
.no-faq {
    text-align: center;
    grid-column: 1 / -1;
    color: #64748b;
    padding: 40px;
}
.latest-blogs {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #f0f2f5;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.map-form-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.map-image, .contact-form {
    flex: 1;
}
.map-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.contact-form h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}
.contact-form input[type="submit"] {
    background: #19969e;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}
.contact-form input[type="submit"]:hover {
    background: #04686e;
}
@media (max-width: 992px) {
    .map-form-wrapper {
        flex-direction: column;
    }
}
.footer-widgets {
    font-size: 14px;
}
.footer-widgets .widget-title {
    font-size: 18px;
    margin-bottom: 20px;
}
.footer-widgets ul li,
.footer-widgets .textwidget p,
.footer-widgets .textwidget a {
    font-size: 13px;
    line-height: 1.5;
}
.subscribe-form form {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
}
.subscribe-form input[type="email"],
.subscribe-form input[type="submit"] {
    box-sizing: border-box;
    height: 40px;
    line-height: 1;
    margin: 0;
}
.subscribe-form input[type="email"] {
    flex: 3;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
}
.subscribe-form input[type="submit"] {
    flex: 1;
    padding: 0 12px;
    background-color: #19969e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
}
@media (max-width: 500px) {
    .subscribe-form form {
        flex-wrap: wrap;
    }
    .subscribe-form input[type="email"],
    .subscribe-form input[type="submit"] {
        width: 100%;
        flex: auto;
    }
}

/* 修复首页内容宽度 */
.home .site-main > section:not(.hero-slider-section) .container,
.home .site-main .product-showcase .container,
.home .site-main .image-gallery .container,
.home .site-main .faq-section .container,
.home .site-main .latest-blogs .container,
.home .site-main .contact-map-form .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}
.hero-slider-section .slide-content {
    max-width: 800px;
    width: 90%;
}

/* ===== 统一底部表单间距（覆盖所有页面） ===== */
.contact-section-modern {
    margin: 40px 0 60px !important;
}
.faq-latest-section {
    margin-bottom: 0 !important;
}
.my-form-section {
    margin: 40px 0 60px !important;
}

/* 优化其他中间板块间距 */
.blogs-layout-grid,
.faq-layout-grid,
.test-two-columns {
    margin-top: 20px;
    margin-bottom: 40px;
}
.latest-blogs-grid {
    margin-top: 0;
    margin-bottom: 0;
}
.product-horizontal {
    margin-bottom: 30px;
    padding-bottom: 20px;
}
.my-hero {
    margin-bottom: 0;
}
.my-breadcrumb {
    margin-top: 40px;
    margin-bottom: 30px;
}

/* ===== 修复各类页面底部间距 ===== */
.tax-product_cat .test-container {
    padding-bottom: 0 !important;
}
.tax-product_cat .faq-latest-section {
    margin-bottom: 0 !important;
}
.tax-faq_category .faq-custom-container,
.category-blogs .blogs-custom-container,
body.search-results .blogs-custom-container {
    padding-bottom: 0 !important;
}
.tax-faq_category .contact-section-modern,
.category-blogs .contact-section-modern,
body.search-results .contact-section-modern {
    margin-bottom: 60px !important;
}


/* 强制侧边栏相关产品为横向布局 */
.my-sidebar .my-related-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px;
}
.my-sidebar .my-related-item a {
    flex-shrink: 0;
}
.my-sidebar .my-related-info {
    flex: 1;
}