
a {
    text-decoration: none;
}
.swiper-wrapper {
    height: initial;
}
/*面包屑*/
.innerrtitle {
    padding-top: 30px;
    background-color: #FAFAFA;
}
.navpost {
    max-width: 1520px;
    margin: 0 auto;
    color: #666;
    font-size: 18px;
}

.innerrtitle a,
.innerrtitle span{
    color: #666;
    font-size: 18px;
}
/* ==================== PC 端二级下拉菜单 ==================== */

/* 1. 确保父级导航列表项是相对定位，以便定位子菜单 */
.main-navigation .nav-list > li {
    position: relative;
    display: inline-block; /* 如果你用了 flex，可以不用这行 */
}

/* 2. 默认隐藏二级菜单，并做绝对定位 */
.main-navigation .nav-list .sub-menu {
    position: absolute;
    top: 100%;       /* 紧贴父级菜单的底部 */
    left: 0;
    z-index: 999;
    min-width: 200px; /* 设置下拉菜单的最小宽度 */
    background-color: #ffffff; /* 下拉菜单背景色 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    padding: 10px 0;
    margin: 0;
    list-style: none;
    
    /* 默认隐藏状态 */
    display: none; 
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.main-navigation .nav-list .menu-item:hover .sub-menu {
    display: block; /* 基础显示 */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 3. 每一个子菜单项的样式 */
.main-navigation .nav-list .sub-menu li {
    width: 100%;
}

.main-navigation .nav-list .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333333;
    text-decoration: none;
    white-space: nowrap; /* 避免文字折行 */
    transition: background-color 0.2s ease;
}

/* 4. 悬停子菜单项时的互动状态 */
.main-navigation .nav-list .sub-menu li a:hover {
    background-color: #f5f5f5;
    color: #0073aa; /* 悬停时的文字颜色 */
}

/* 5. 【核心修改】：删除了原本的 :hover 触发，改为点击后给父级 li 加上 .is-active 类时才显示 */
@media (min-width: 769px) {
    .main-navigation .nav-list > li.is-active .sub-menu {
        display: block; /* 基础显示 */
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}
/* --- Header 整体布局 --- */
.site-header {
    background: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 999;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    padding: 0 42px; 
}

.header-flex {
    display: flex;
    align-items: center;        /* 垂直居中 */
    justify-content: space-between; /* 左右分布 */
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Logo 样式 --- */
.logo img {
    max-height: 120px;
    width: auto;
    display: block;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

/* --- 导航菜单样式 --- */
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin: 0 12px;
    position: relative;
    padding: 10px 15px;
}

.nav-list li a {
    text-decoration: none;
    color: #54595F;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.nav-list li a:hover {
    color: #0060b1;
}
/* 模拟图片中的下拉小箭头 */
.nav-list .menu-item-has-children > a::after {
    content: '';
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #666; /* 小三角形 */
    display: inline-block;
}

/* --- 右侧蓝色按钮 --- */
.btn-dealer {
    background-color: #0060b1;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}

.btn-dealer i {
    margin-right: 8px;
    font-size: 16px;
}

.btn-dealer:hover {
    background-color: #004a8a;
    box-shadow: 0 4px 8px rgba(0,96,177,0.2);
}
/* --- 汉堡按钮样式 --- */
.mobile-menu-toggle {
    display: none; /* 默认隐藏 */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --- Dialog 样式 --- */
.mobile-nav-dialog {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    border: none;
    padding: 0;
    margin: 0;
    background: #fff;
}

/* 遮罩层背景颜色 */
.mobile-nav-dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.close-button {
    font-size: 35px;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

/* 垂直菜单样式 */
.mobile-nav-list {
    list-style: none;
    padding: 20px;
}

.mobile-nav-list li {
    margin-bottom: 15px;
    border-bottom: 1px solid #f9f9f9;
}

.mobile-nav-list li a {
    font-size: 18px;
    color: #333;
    text-decoration: none;
    display: block;
    padding: 10px 0;
}

/* --- 响应式断点 --- */
@media (max-width: 1024px) {
    .main-navigation {
        display: none; /* 隐藏桌面版菜单 */
    }
    .mobile-menu-toggle {
        display: flex; /* 显示汉堡按钮 */
    }
    
    /* 调整 dealer 按钮在移动端的大小 */
    .btn-dealer span {
        display: none; /* 手机端只显示图标，节省空间 */
    }
    .btn-dealer {
        padding: 10px;
        display: none;
    }
    .btn-dealer i {
        margin-right: 0;
    }
}

/* --- 响应式处理：平板及以下隐藏菜单 --- */
@media (max-width: 1024px) {
    .main-navigation {
        display: none; /* 后续可以配合 JS 做汉堡菜单 */
    }
    .header-flex {
        justify-content: space-between;
    }
}
@media (max-width: 768px) {
    .logo img {
        width: 88px;
        height: auto;
    }
}


.front_main {
    background: #f8f8f8;
}
.about_us {
    display: flex;
    max-width:  1600px;
    margin: 0 auto;
    padding-top: 70px;
    padding-bottom: 70px;
    gap: 60px;
}
.about_us_card {
    background: #fff;
    padding: 30px 60px 30px 60px;
    box-shadow: -5px 5px 9px 0px rgba(0,0,0,0.11);
}
.about_us_card h1 {
    font-size: 40px;
    font-weight: bold;
}
.about_us_card p {
    line-height: 30px;
    text-indent: 2em;
    letter-spacing: -0.2px;
    font-size: 18px;
    text-align: justify;
    color: #999;
    font-family: "Montserrat", Sans-serif;
}
.about_us_card strong {
    margin: 16px 0;
    display: block;
    color: #999;
}
.learnMore_container {
    text-align: center;
    margin-top: 25px;
}
.learnMore {
    padding: 10px 40px 10px 40px;
    background: #0170B9;
    color: #FFF;
    border: none;
    border-radius: 4px;
}
.bg_black {
    background: #000;
}
.about_us_left,
.about_us_right{
    width: 50%;
}
.about_us_right {
    overflow: hidden;
}
.about_us_right img {
    
}
.about_us_right img,
.about_us_right video{
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: cover;
}

.home-advantages {
    background: #FFF;
    padding: 70px 0;
}
.home-advantages .container{
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
}
.section-title h2 {
    font-size: 40px;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
}
.section-title h2:after {
    content: "";
    width: 100px;
    height: 8px;
    position: absolute;
    background: #0170b9;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
}
.advantage-grid {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.advantage-card {
    flex: 1;
    min-width: calc((100% - 60px) / 3); /* 保证手机端自动换行 */
    text-align: center;
    transition: transform 0.3s ease;
    margin-top: 20px;
    margin-bottom: 20px;
}
.advantage-card h3 {
    margin-bottom: 20px;
    font-size: 25px;
}
.adv-icon {
    margin-bottom: 20px;
}
.adv-icon img {
    width: 100%;
    height: 350px;
}
.row_container {
    width: 100%;
    height: 188px;
    background: linear-gradient(to right, #393d40, #060709);
}
.row_container .container h2 {
    padding: 0px;
    margin: 0px;
    color: #FFF;
    font-size: 40px;
}
.row_container .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1640px;
    margin: 0 auto;
}
.row_container .container .learnMore {
    font-size: 20px;
}


.home-fp {
    background: #f8f8f8;
    padding: 70px 0;
}
.home-fp .container{
    max-width: 1200px;
    margin: 0 auto;
}
.fp-grid {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.fp-card {
    flex: 1;
    min-width: calc((100% - 60px) / 3); /* 保证手机端自动换行 */
    text-align: center;
    transition: transform 0.3s ease;
}
.fp-card h3 {
    font-size: 24px;
}
.fp-icon {
    margin-bottom: 20px;
}
.fp-icon img {
    width: 100%;
    height: 350px;
}
.home-cs {
    background: #FFF;
    padding: 70px 0;
}
.home-cs .container{
    max-width: 1200px;
    margin: 0 auto;
}
.cs-grid {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 60px;
}
.cs-card {
    flex: 1;
    /*min-width: calc((100% - 60px) / 3);*/
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}
.cs-card h3 {
    font-size: 26px;
    margin-bottom: 16px;
}
.cs-icon {
    max-width: 700px;
    height: 664px;
}
.cs-icon img {
    width: 100%;
    height: 100%;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body, html {
    height: 100%;
}

.contact-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    /* 替换为您自己的背景图链接 */
    background: url('https://images.unsplash.com/photo-1556911220-e15b29be8c8f?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
}

/* 白色半透明遮罩，模拟图片中的明亮效果 */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    width: 100%;
    display: flex;
    flex-wrap: wrap; /* 适配移动端 */
    gap: 40px;
}

/* 左侧样式 */
.info-section {
    flex: 1;
    min-width: 300px;
}

.info-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.blue-line {
    width: 60px;
    height: 4px;
    background-color: #0056b3;
    margin-bottom: 30px;
}

.office, .hours {
    margin-bottom: 25px;
}

.info-section h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.info-section p {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 右侧表单样式 */
.form-section {
    flex: 1.2;
    min-width: 350px;
    background-color: rgba(60, 60, 60, 0.9); /* 深灰色背景 */
    padding: 40px;
    border-radius: 4px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-section input, 
.form-section textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 2px;
    font-size: 14px;
}

.form-section textarea {
    resize: none;
}

/* 验证码样式模拟 */
.captcha-placeholder {
    background: #f9f9f9;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 3px;
    width: fit-content;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
}

/* 按钮样式 */
.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #fff;
    color: #333;
    border: none;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background-color: #ddd;
}
@media (max-width: 1024px) {
    .about_us { gap: 30px; }
    .row_container .container { justify-content: center; text-align: center; }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    .about_us {
        flex-direction: column;
        background: #FFF;
        padding-bottom: 0px;
    }
    .row_container .container {
        flex-direction: column;
    }
    .cs-icon {
        height: initial;
    }
    .about_us_left,
    .about_us_right {
        width: 100%;
    }
    .home-advantages {
        padding: 0 28px;
        padding-bottom: 80px;
    }
    .row_container {
        height: 230px;
    }
    .row_container .container .learnMore {
        margin-top: 30px;
    }
    .advantage-card{
        min-width: 100%;
    }
    .home-advantages {
        padding-top: 70px;
    }
    .fp-card {
        min-width: 100%;
        padding: 0 28px;
    }
    .form-section {
        padding: 20px;
    }
    .form-row {
        flex-direction: column; /* 表单横排变竖排 */
        gap: 0;
    }
    
    .info-section {
        text-align: center;
    }
    
    .blue-line {
        margin: 0 auto 30px auto;
    }
    .about_us_card h1 {
        text-align: center;
    }
    .about_us_card{
        box-shadow: initial;
    }

    .about_us_card p {
        text-align: left; /* 手机端两端对齐容易出现大空格，建议居左 */
    }
}
.main_container {
    padding: 70px 0;
    max-width: 1520px;
    margin: 0 auto;
}

.themeTitle {
    display: flex;
    justify-content: center;
    align-items: center;
}
.themeText {
    font-size: 24px;
    color: #333;
    position: relative;
}
.themeText:after {
    position: absolute;
    content: "";
    width: 100px;
    height: 8px;
    background-color: #0170B9;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}
.section {
    margin-bottom: 70px;
}
.about_us_section {
}
.about_content {
    line-height: 50px;
    font-size: 18px;
    margin-top: 58px;
    color: #666;
}
.about_content_img {
    display: flex;
    gap: 34px;
    margin-top: 40px;
}
.about_content_img_item {
    flex: 1;
    height: 400px;
    overflow: hidden;
}
.about_content_img_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .3s ease;
}
.about_content_img_item:hover img {
    transform: scale(1.1);
}


.news_container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.news_item {
    display: flex;
    background-color: #F5F5F5;
}
.news_item:hover img {
    transform: scale(1.1);
}
.news_item:hover .news_right p {
    color: #0057a1;
}
.news_left {
    display: flex;
    gap: 54px;
    flex: 1;
    align-items: center;
}
.news_img {
    width: 476px;
    height: 248px;
    overflow: hidden;
}
.news_img img {
    width: 100%;
    height: 100%;
    transition: all .3s ease;
}

.news_right {
    width: 60px;
    margin-right: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.news_content h2 {
    color: #333;
    font-size: 18px;
}
.news_content p {
    color: #666;
    line-height: 32px;
    font-size: 16px;
    margin-top: 14px;
}
.news_day {
    font-size: 50px;
    color: #666;
    font-weight: bold;
    transition: all .3s ease;
}
.news_year {
    font-size: 16px;
    color: #666;
    transition: all .3s ease;
}

.news_detail {
    background: #FFFFFF;
    box-shadow: 0px 0px 15px 0px rgba(153,153,153,0.35);
    padding: 70px 50px;
}
.news_detail_content p{
    white-space: pre-line;
    line-height: 32px;
} 
.news_detail h1 {
    text-align: center;
    font-size: 22px;
    color: #333;
}
.news_detail hr {
    border-color: #cccccc54;
    margin: 30px 0;
}
.news_detail {
    color: #666;
    font-size: 16px;
}
.news_detail_time {
    text-align: center;
    padding-bottom: 70px;
    color: #666;
    font-size: 16px;
}


.service_list {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 70px;
}
.service_item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc((100% - 80px) / 3);
    background: #FFFFFF;
    box-shadow: 0px 0px 15px 0px rgba(153,153,153,0.35);
    border-radius: 20px;
    height: 210px;
    flex-direction: column;
}
.service_item p {
    margin-top: 30px;
    font-size: 18px;
    color: #333;
    font-weight: medium;
}
.service_item svg {
    width: 50px;
    height: 50px;
}
.service_item img {
    width: 50px;
    height: 50px;
}


/* 容器背景 */
.wp-custom-form-container {
    padding: 40px;
    font-family: sans-serif;
    color: #4a5568;
    margin-top: 30px;
}

/* 布局控制 */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 200px;
}

/* 标签样式 */
.form-group label {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.required {
    color: #e53e3e;
    margin-left: 4px;
}

/* 输入框样式还原 */
.form-group input, 
.form-group select, 
.form-group textarea {
    border: 1px solid #cbd5e0;
    border-radius: 8px; /* 圆角还原 */
    padding: 12px 15px;
    font-size: 15px;
    color: #2d3748;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: #3182ce;
}

/* 文本域高度 */
.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* 特殊比例调整 (Address/State/Zip) */
.custom-split .flex-2 { flex: 2; }
.custom-split .flex-1 { flex: 1; }

/* 验证框 */
.verification-box {
    background: #f0f4ff;
    border: 1px solid #cbd5e0;
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.verification-box input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

/* 提交按钮还原 */
.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit button {
    background-color: #0073bc; /* 还原图中深蓝色 */
    color: white;
    border: none;
    padding: 12px 60px;
    font-size: 18px;
    border-radius: 30px; /* 椭圆按钮 */
    cursor: pointer;
    transition: background 0.3s;
}

.form-submit button:hover {
    background-color: #005fa3;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    .form-group {
        width: 100%;
    }
}



.product_tab {
    margin-top: 70px;
    display: flex;
    justify-content: center;
    gap: 100px;
}
.product_tab a {
    color: #333;
    font-size: 18px;
    border-radius: 10px;
    border: 2px solid #0060B1;
    padding: 16px 42px;
    font-weight: bold;
    transition: all .3s ease;
}
.product_tab .active,
.product_tab a:hover{
    color: #FFF;
    background-color: #0060B1;
}

.product_list {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 70px;
    column-gap: 34px;
}
.product_item {
    width: calc((100% - 68px) / 3);
}
.product_img {
    background-color: #F7F7F7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 94px 75px;
    padding-bottom: 44px;
    transition: all .3s ease;
    overflow: hidden;
}
.product_img img {
    width: 100%;
    height: 100%;
    transition: all .3s ease;
}
.product_img:hover img,
.product_img:hover .readDetail,
.product_img:hover .product_text {
    transform: scale(1.1);
}

.readDetail {
    background: #0060b1;
    color: #fff;
    font-size: 18px;
    padding: 8px 24px;
    border-radius: 50px;
    margin-top: 18px;
    transition: all .3s ease;
}
.product_text {
    font-size: 16px;
    color: #333;
    font-weight: medium;
    text-align: center;
    margin-top: 30px;
    transition: all .3s ease;
}


.product_detail {
    display: flex;
    gap: 40px;
}
.product_detail_h4 {
    position: relative;
}
.product_detail_h4:after {
    position: absolute;
    content: "";
    width: 40px;
    height: 4px;
    border-radius: 8px;
    background: #0060b1;
    bottom: -14px;
    left: 0;
}
.product_detail_img {
    width: 50%;
    height: auto;
    overflow: hidden;
}
.product_detail_img img {
    width: 100%;
    height: 100%;
    transition: all .3s ease;
}
.product_detail_img:hover img {
    transform: scale(1.1);
}
.product_detail_desc p {
    line-height: 32px;
}
.product_detail_desc hr {
    border: 1px solid #e9e9e9;
    margin: 20px 0;
}
.product_detail_desc strong {
    white-space: nowrap;
    margin-right: 18px;
}
.product_detail_desc table {
    margin-top: 18px;
}
.product_detail_desc table {
    border-collapse: collapse; /* 合并边框，必加 */
}
.product_detail_desc table tr {
    padding: 8px 0;
}
.product_detail_desc td, .product_detail_desc th {
  padding: 12px 16px; /* 上下 左右 内边距 */
}
.product_detail_button {
    display: flex;
}
.product_detail_button a {
    background: #0060b1;
    color: #FFF;
    padding: 12px 28px;
    border-radius: 4px;
}
.prodcut_detail_gg {
    
}
.product_detail_other_color,
.product_detail_door_type,
.product_detail_content
{
    margin-top: 50px;
}
.product_detail_content_div {
    margin-top: 28px;
    line-height: 32px;
    margin-bottom: 50px;
}
.product_detail_content_div p {
    color: #666;
}


.color_list {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.color_list_item {
    width: calc((100% - 120px) / 5);
    height: 342px;
}
.color_list_item img {
    width: 100%;
    height: 100%;
}

.door_type {
    margin-top: 40px;
}

.smaple_list {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    margin-top: 70px;
}
.smaple_item {
    width: calc((100% - 68px) / 3);
    height: 322px;
    overflow: hidden;
    cursor: pointer;
}
.smaple_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .3s ease;
}
.smaple_item:hover img {
    transform: scale(1.1);
}



.gallery_list {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.gallery_item {
    width: calc((100% - 48px) / 3);
}
.gallery_item:hover .gallery_img img {
    transform: scale(1.1);
}
.gallery_img {
    width: 100%;
    overflow: hidden;
}
.gallery_img img {
    width: 100%;
    height: auto;
    transition: all .3s ease;
}
.gallery_text {
    display: flex;
    justify-content: center;
}
.gallery_text h3 {
    margin-top: 24px;
}





























/*分页*/
.pagebar {
    padding: 20px;
    overflow: hidden;
    clear: both
}

.pagebar .pagination {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    align-items: center;
}

.pagination a {
    color: #666666;
    background: #fff;
    font-size: 12px;
    padding: 8px 10px;
    margin: 0 2px;
    border-radius: 3px;
    line-height: 100%
}

.pagination span {
    color: #333;
    font-size: 12px;
    padding: 7px 2px;
    margin: 0 2px;
    border-radius: 3px;
}

.pagination a:hover {
    color: #333;
}

.pagination a.page-num-current {
    color: #fff;
    background: #333;
    border: 1px solid #333;
}

.pagination .st { 
    font-family: 宋体;
}





.site-footer {
    background-color: #000;
    color: #fff;
    font-family: Arial, sans-serif;
}
.footer-logo {
    margin-bottom: 12px;
}
.footer-logo img {
    width: 120px;
    height: auto;
}
.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding: 60px;
}

.footer-col {
    flex: 1;
    min-width: 180px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: bold;
}

/* 联系信息列表 */
.contact-list {
    list-style: none;
    padding: 0;
    font-size: 13px;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #ccc;
}

/* 链接样式 */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

/* 付款按钮样式 */
.pay-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-pay {
    background-color: #00a600; /* 绿色按钮 */
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

/* 订阅表单 */
.footer-subscribe input {
    width: 100%;
    background: #333;
    border: none;
    padding: 10px;
    margin-bottom: 10px;
    color: #fff;
}

.footer-subscribe button {
    width: 100%;
    background: #3b71b9; /* 蓝色按钮 */
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
}

/* 底部版权 */
.footer-bottom {
    background: #222;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 12px;
    color: #888;
}


 @media screen and (max-width: 1520px) {
     .main_container {
         padding: 0 30px;
     }
 }
@media screen and (max-width: 1200px) {
    .about_us_card {
        padding: 30px;
    }
    .main_container {
        padding: 70px 28px;
    }
    .about_content {
        line-height: 32px;
    }
    .about_content_img {
        flex-direction: column;
    }
    .product_tab {
        flex-direction: column;
        gap: 18px;
    }
    .product_img {
        padding: 55px 55px;
    }
    .product_item {
        width: calc((100% - 34px) / 2);
    }
    .product_detail {
        flex-direction: column;
    }
    .product_detail_img {
        width: 100%;
        height: auto;
    }
    .color_list_item {
        width: calc((100% - 80px) / 2);
        height: auto;
    }
    .smaple_item {
        width: calc((100% - 68px) / 2);
    }
    .news_item {
        flex-direction: column;
    }
    .news_left {
        flex-direction: column;
        gap: 24px;
    }
    .news_content {
        padding: 0 28px;
    }
    .news_content p {
        margin-top: 6px;
    }
    .news_right .news_day{
        display: none;
    }
    .news_right {
        padding: 14px 28px 24px 28px;
        width: 100%;
        justify-content: flex-end;
        flex-direction: row;
    }
    .news_right {
        margin-right: 0px;
    }
    .news_detail_time {
        padding-bottom: 35px;
    }
    .news_detail {
        padding: 30px 25px;
    }
    .innerrtitle {
        padding-left: 28px;
        padding-right: 28px;
    }
    .innerrtitle a, .innerrtitle span, .navpost {
        font-size: 14px;
    }
    .service_list {
        gap: 20px;
    }
    .service_item {
        width: calc((100% - 20px) / 2);
    }
}
@media screen and (max-width: 765px)  {
    .product_img {
        padding: 12px 12px;
    }
    .product_item {
        width: 100%;
    }
    .color_list_item {
        width: 100%;
    }
    .smaple_item {
        width: 100%;
    }
    .news_img {
        width: 100%;
    }
    .news_img img {
        width: 100%;
    }
    .service_item {
        width: 100%;
    }
    .gallery_list {
        gap: 48px;
    }
    .gallery_item {
        width: 100%;
    }
}