/**
 * Single Solution Detail Page Styles
 * 解决方案详情页样式
 * 基于 Yifa Electric 产品详情页模板
 * 配色方案：蓝色 #378ec3 + 绿色 #2EC102
 */

/* ========== 配色变量 ========== */
:root {
    --mainColor: #378ec3;
    --accentColor: #2EC102;
}

/* ========== 产品详情信息区块 ========== */
.product_detial_info_box {
    width: 100%;
    height: auto;
    padding: 60px 0 140px;
    background: #EDEDED;
}

.product_detial_info_box .contentWH1600 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 让左右两侧顶部对齐 */
}

/* 左侧产品信息 */
.product_detial_info_left {
    width: 46.25%;
    height: auto;
}

.product_detial_info_left_title {
    width: 100%;
    height: auto;
}

.product_detial_info_left_title h1 {
    font-size: 32px;
    color: #000000;
    font-family: "Lato-Black", sans-serif;
}

.product_detial_info_left_title p {
    font-size: 18px;
    color: #666666;
    line-height: 1.6;
    margin-top: 24px;
}

/* 产品规格参数列表 */
.product_detial_info_left_ul {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-start;
    margin-top: 25px;
    list-style: none;
    padding: 0;
}

.product_detial_info_left_ul li {
    width: 45px;
    height: auto;
    margin-left: 7px;
}

.product_detial_info_left_ul li img {
    width: 100%;
    height: auto;
    display: block;
}

.product_detial_info_left_ul li:nth-of-type(1) {
    margin-left: 0;
}

/* 咨询按钮 */
.product_detial_info_left .inquire {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 208px;
    height: 50px;
    border-radius: 25px;
    background: var(--mainColor, #378ec3);
    font-size: 16px;
    color: #FFFFFF;
    margin-top: 54px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.product_detial_info_left .inquire img {
    display: block;
    width: 22px;
    height: auto;
    margin-left: 20px;
    filter: brightness(0) invert(1);
}

.product_detial_info_left .inquire:hover {
    background: var(--accentColor, #2EC102);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(55, 142, 195, 0.3);
}

/* 右侧图片轮播 */
.product_detial_info_right {
    width: 47.813%;
    height: auto;
    display: flex;
    justify-content: space-between;
}

.product_detial_info_right_left {
    width: 79.74%;
    height: 569px;
    aspect-ratio: 610 / 430;
    border: 1px solid #dfdfdf;
    background: #FFFFFF;
    overflow: hidden;
    border-radius: 6px;
}

.product_detial_info_right_left .swiper-slide,
.product_detial_info_right_left_sw {
    height: 100% !important;
}

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

/* 缩略图轮播 */
.product_detial_info_right_right {
    width: 18.95%;
    height: auto;
    aspect-ratio: 145 / 430;
    overflow: hidden;
}

.product_detial_info_right_right_sw {
    width: 100%;
    height: 100%;
}

.product_detial_info_right_right_sw img {
    width: 100%;
    height: auto;
    display: block;
}

.product_detial_info_right_right_sw .swiper-slide {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid transparent;
    cursor: pointer;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product_detial_info_right_right_sw .swiper-slide.swiper-slide-thumb-active {
    border-color: var(--mainColor, #378ec3);
}

/* ========== 导航标签和面包屑 ========== */
.product_nav_crumber_box {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

.product_nav_crumber_box:before {
    content: "";
    display: block;
    width: 64.583%;
    height: 90px;
    background: var(--mainColor, #378ec3);
    position: absolute;
    left: 0;
    top: -29px;
    clip-path: polygon(0 0, 100% 0, 97% 100%, 0% 100%);
}

.product_nav_crumber_box:after {
    content: "";
    display: block;
    width: 36.25%;
    height: 90px;
    background: var(--mainColor, #378ec3);
    position: absolute;
    right: 0;
    top: -29px;
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 0% 100%);
}

.product_nav_crumber_box .contentWH1600 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* 产品导航标签 */
.product_nav_box {
    width: 60.13%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -30px;
    position: relative;
    z-index: 2;
    list-style: none;
    padding: 0;
    margin-left: 0;
}

.product_nav_box li {
    height: 100%;
    margin-left: 0;
}

.product_nav_box li:nth-of-type(1) {
    margin-left: 0;
}

.product_nav_box li a {
    display: flex;
    align-items: center;
    height: 100%;
    color: #FFFFFF;
    font-size: 16px;
    font-family: "Lato-Bold", sans-serif;
    text-decoration: none;
    transition: all 0.3s;
}

.product_nav_box li:hover a,
.product_nav_box li.active a {
    color: var(--accentColor, #2EC102);
}

/* 固定导航样式 */
.product_detial_list_btn.on {
    position: fixed;
    top: 125px;
    left: 0;
    width: 100%;
    z-index: 999;
    background: var(--mainColor, #378ec3);
    padding: 0 8.335%;
}

/* 面包屑导航 */
.product_crumber_box {
    height: 90px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: -30px;
    position: relative;
    z-index: 2;
    list-style: none;
    padding: 0;
    margin-right: 0;
}

.product_crumber_box li a,
.product_crumber_box i {
    font-size: 16px;
    color: #FFFFFF;
}

.product_crumber_box li a {
    text-decoration: none;
    transition: color 0.3s;
	-webkit-line-clamp:2;
	-webkit-box-orient:vertical;
	overflow:hidden;
	display:-webkit-box;
}

.product_crumber_box li a:hover {
    color: var(--accentColor, #2EC102);
}

.product_crumber_box i {
    display: inline-block;
    margin: 0 12px;
    font-style: normal;
}

.product_crumber_box i:nth-last-of-type(1) {
    display: none;
}

/* ========== 产品详情内容区块 ========== */
.product_detial_content_box {
    width: 100%;
    height: auto;
}

.product_detial_content_list {
    width: 100%;
    height: auto;
/*     padding-top: 80px; */
	padding:60px 0 20px;
}
.product_detial_content_list a{color:#378ec3; text-decoration :underline; }

/* 标题样式 */
.index_title_box {
    text-align: center;
    margin-bottom: 50px;
}

.index_title_box h2 {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    font-family: "Lato-Black", sans-serif;
    margin-bottom: 15px;
}

.index_title_box p {
    font-size: 16px;
    color: #666;
    padding: 0;
    font-family: "Lato-Regular", sans-serif;
}

/* 规格参数区块 */
.product_detial_specification_box {
    width: 100%;
    height: auto;
}

.product_detial_specification_box h3 {
    font-size: 24px;
    color: var(--mainColor, #378ec3);
    font-family: "Lato-Bold", sans-serif;
    margin-top: 46px;
    margin-bottom: 20px;
}

.product_detial_specification_box p {
    font-size: 18px;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product_detial_specification_box ul {
    list-style: disc;
    padding-left: 30px;
    margin-bottom: 20px;
}

.product_detial_specification_box ol {
    list-style: decimal;
    padding-left: 30px;
    margin-bottom: 20px;
}

.product_detial_specification_box li {
    font-size: 18px;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 10px;
	list-style:auto;
}

/* ========== 产品优势区块 ========== */
.product_detial_application_box {
    width: 100%;
    height: auto;
    padding: 80px 0px;
    background: var(--mainColor, #186aa4);
}

.product_advantage_title {
    text-align: center;
    margin-bottom: 50px;
}

.product_advantage_title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    font-family: "Lato-Black", sans-serif;
    margin-bottom: 15px;
}

.product_advantage_title p {
    font-size: 16px;
    color: #FFFFFF;
}

.product_advantage_content {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    margin-top: 64px;
    align-items: center;
}

.product_advantage_content_left {
    width: 44.4%;
    height: auto;
}

.product_advantage_content_left img {
    width: 100%;
    height: auto;
    display: block;
}

.product_advantage_content_right {
    width: 50%;
    height: auto;
}

.product_advantage_content_right p {
    font-size: 18px;
    line-height: 1.7;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.product_advantage_content_right ul {
    list-style: disc;
    padding-left: 30px;
    margin-bottom: 20px;
}

.product_advantage_content_right ol {
    list-style: decimal;
    padding-left: 30px;
    margin-bottom: 20px;
}

.product_advantage_content_right li {
    font-size: 18px;
    color: #FFFFFF;
    line-height: 1.7;
    margin-bottom: 10px;
}

.product_advantage_content_right strong {
    color: #FFFFFF;
    font-weight: 600;
}

/* ========== 产品视频区块 ========== */
.product_detial_video_box {
    width: 100%;
    height: auto;
    margin-top: 25px;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.product_detial_video_box iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.product_detial_video_box img {
    width: 100%;
    height: auto;
    display: block;
}

.product_detial_video_box video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
    .product_nav_box li {
        margin-left: 20px;
    }

    .product_detial_list_btn li a {
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .product_nav_crumber_box:after,
    .product_nav_crumber_box:before {
        height: 100%;
        top: 0;
    }

    .product_nav_box {
        height: 60px;
        margin-top: 0;
    }

    .product_crumber_box {
        height: 60px;
        margin-top: 0;
    }

    .product_crumber_box li a,
    .product_crumber_box i {
        font-size: 14px;
    }

    .product_crumber_box i {
        margin: 0 5px;
    }

    .product_detial_info_right {
        flex-wrap: wrap;
    }

    .product_detial_info_right_left {
        width: 100%;
        aspect-ratio: initial;
    }

    .product_detial_info_right_right {
        width: 100%;
        aspect-ratio: initial;
    }

    .product_detial_info_right_right_sw {
        height: auto;
        margin-top: 30px;
    }

    .product_detial_list_btn.on {
        top: 80px;
    }

    .product_advantage_content {
        flex-wrap: wrap;
    }

    .product_advantage_content_left {
        width: 100%;
    }

    .product_advantage_content_right {
        width: 100%;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .product_nav_crumber_box .contentWH1600 {
        flex-direction: column-reverse;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .product_nav_box {
        width: 100%;
        height: 30px;
    }

    .product_nav_crumber_box:before {
        width: 100%;
        clip-path: initial;
        height: 30px;
        top: auto;
        bottom: 0;
    }

    .product_nav_crumber_box:after {
        width: 100%;
        height: 30px;
        clip-path: initial;
    }

    .product_crumber_box {
        height: 30px;
    }

    .product_crumber_box li a,
    .product_crumber_box i {
        font-size: 2.7vw;
    }

    .product_nav_box {
        height: auto;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .product_nav_box li a {
        font-size: 3.2vw;
    }

    .product_nav_box li {
        width: 32%;
        margin-left: 2%;
        height: 7.8vw;
    }

    .product_nav_box li:nth-of-type(3n+1) {
        margin-left: 0;
    }

    .product_nav_box li:nth-last-of-type(1) {
        width: 48.5%;
    }

    .product_detial_info_box .contentWH1600 {
        flex-direction: column-reverse;
    }

    .product_detial_info_right {
        width: 100%;
    }

    .product_detial_info_box {
        padding: 8vw 0;
    }

    .product_detial_info_right_right_sw {
        margin-top: 3.8vw;
    }

    .product_detial_info_left {
        width: 100%;
        margin-top: 5.8vw;
    }

    .product_detial_info_left_title h1 {
        font-size: 4.8vw;
    }

    .product_detial_info_left_title p {
        font-size: 3.6vw;
        margin-top: 3.6vw;
    }

    .product_detial_info_left_ul li {
        width: 11.2%;
    }

    .product_detial_info_left_ul {
        margin-top: 3.8vw;
    }

    .product_detial_info_left .inquire {
        width: 40vw;
        height: 8.8vw;
        border-radius: 4.4vw;
        font-size: 3.6vw;
        margin-top: 5.8vw;
    }

    .product_detial_info_left .inquire img {
        width: 3.8vw;
        margin-left: 1.8vw;
    }

    .product_detial_list_btn {
        display: none;
    }

    .product_detial_nav_crumber_box:before {
        display: none;
    }

    .product_detial_content_list {
        padding-top: 8vw;
    }

    .product_detial_specification_box h3 {
        font-size: 4.2vw;
        margin-top: 3.6vw;
        margin-bottom: 3.2vw;
    }

    .product_detial_specification_box p {
        font-size: 3.6vw;
    }

    .product_detial_application_box {
        padding: 8vw 0;
    }

    .product_advantage_content {
        margin-top: 5.8vw;
    }

    .product_advantage_content_right {
        margin-top: 3.8vw;
    }

    .product_advantage_content_right p {
        font-size: 3.6vw;
        line-height: 1.6;
    }

    .product_detial_video_box {
        margin-top: 5.8vw;
        border-radius: 2vw;
    }

    .index_title_box h2 {
        font-size: 4.8vw;
    }

    .index_title_box p {
        font-size: 3.6vw;
    }
}

@media (max-width: 420px) {
    .product_detial_info_right_left {
        height: auto;
    }
}

/* ========== 表格样式 ========== */
.product_detial_content_box .contentWH1600 table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}

.product_detial_content_box .contentWH1600 table td,
.product_detial_content_box .contentWH1600 table th {
    border: 1px solid #ccc;
    padding: 10px 20px;
}

.product_detial_content_box .contentWH1600 table th,.product_detial_content_box .contentWH1600 table tr:nth-of-type(1)  td{
    background: #f5f5f5;
    font-weight: bold;
    text-align: left;
}

/* ========== 询盘弹窗样式 ========== */
.inquiry-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.inquiry-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.inquiry-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.inquiry-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #E5E5E5;
    background: #F8F9FA;
}

.inquiry-modal-header h3 {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin: 0;
}

.inquiry-modal-close {
    font-size: 32px;
    color: #999999;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s;
    user-select: none;
}

.inquiry-modal-close:hover {
    color: var(--mainColor, #378ec3);
    transform: rotate(90deg);
}

.inquiry-modal-body {
    padding: 35px 30px;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

/* 询盘表单样式 - 参考 footer.php 的 content-five__right */
.inquiry-form {
    width: 100%;
}

.inquiry-form-top {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.inquiry-form-item {
    flex: 1;
    min-width: calc(33.333% - 14px);
}

.inquiry-form-item p {
    font-size: 16px;
    color: #333333;
    margin-bottom: 10px;
    font-weight: 500;
}

.inquiry-form-item input {
    width: 100%;
    height: 48px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    padding: 0 15px;
    font-size: 14px;
    color: #333333;
    transition: all 0.3s;
    background: #FFFFFF;
}

.inquiry-form-item input:focus {
    border-color: var(--mainColor, #378ec3);
    outline: none;
    box-shadow: 0 0 0 3px rgba(55, 142, 195, 0.1);
}

.inquiry-form-item input::placeholder {
    color: #999999;
}

.inquiry-form-message {
    width: 100%;
    margin-bottom: 25px;
}

.inquiry-form-message p {
    font-size: 16px;
    color: #333333;
    margin-bottom: 10px;
    font-weight: 500;
}

.inquiry-form-message textarea {
    width: 100%;
    min-height: 120px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    padding: 15px;
    font-size: 14px;
    color: #333333;
    transition: all 0.3s;
    background: #FFFFFF;
    resize: vertical;
    font-family: inherit;
}

.inquiry-form-message textarea:focus {
    border-color: var(--mainColor, #378ec3);
    outline: none;
    box-shadow: 0 0 0 3px rgba(55, 142, 195, 0.1);
}

.inquiry-form-message textarea::placeholder {
    color: #999999;
}

.inquiry-submit-btn {
    width: 100%;
    height: 52px;
    background: var(--mainColor, #378ec3);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #FFFFFF;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
}

.inquiry-submit-btn:hover {
    background: var(--accentColor, #2EC102);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(55, 142, 195, 0.4);
}

.inquiry-submit-btn:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .inquiry-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .inquiry-modal-header {
        padding: 20px;
    }

    .inquiry-modal-header h3 {
        font-size: 20px;
    }

    .inquiry-modal-body {
        padding: 25px 20px;
    }

    .inquiry-form-top {
        flex-direction: column;
        gap: 15px;
    }

    .inquiry-form-item {
        min-width: 100%;
    }

    .inquiry-form-item p,
    .inquiry-form-message p {
        font-size: 14px;
    }

    .inquiry-submit-btn {
        height: 48px;
        font-size: 15px;
    }

    /* 移动端表格样式优化 */
    .product_detial_content_box .contentWH1600 table {
        font-size: 14px;
    }

    .product_detial_content_box .contentWH1600 table td,
    .product_detial_content_box .contentWH1600 table th {
        padding: 8px 12px;
    }
}

