/* 产品页面专用样式 */

/* 产品容器样式 */
.products-container {
    padding: 2rem 0;
}

/* 产品板块样式 */
.product-section {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 产品内容包装 */
.product-content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 35px;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06); /* 轻微阴影，卡片立体感 */
    border-radius: 12px;  /* 圆角美化，和图片圆角匹配 */
}

/* 产品图片容器 */
.product-image-container {
    flex: 0 0 400px;
    max-width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-container img {
    width: 80%;
    height: 80%;
    object-fit: cover;
   
}


/* 产品详情区域 */
.product-details {
    flex: 1;
    min-width: 300px;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 产品标题样式 */
.product-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* 产品描述样式 */
.product-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}

/* 富文本内容样式 */
.product-description h3,
.product-description h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #444;
}

.product-description ul,
.product-description ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.product-description li {
    margin-bottom: 0.5rem;
}

.product-description p {
    margin-bottom: 1rem;
}

/* 查看详情按钮 */
.view-details-btn {
    display: inline-block;   
    padding: 0.6rem 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 350;
    margin-top: 1rem;
    font-size: 15px;
    background-color:#ffffff;
    cursor: pointer;
    margin-left: 0.8rem;
    color: var(--c-primary);
    border: 2px solid var(--c-accent);
}

.view-details-btn:hover {
    
    background-color: var(--c-accent);
    color: var(--c-bg);
}

/* 详情按钮容器（右下角） */
.details-btn-containerNew {
    text-align: right;
    margin-top: 1rem;
    margin-right: 0.8rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-content-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        /* 水平居中 */
        margin: 0 auto;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .product-image-container {       
        width: 100%;
        height: 350px;
    }
    .product-image-container img{
        width: 90%;
        height: auto; /* 高度自动，防止图片压缩裁切缺失 */
        display:block;
    }
    /* 右侧文字区域，取消最小宽度限制，占满容器 */
    .product-details{
        min-width: unset;
        width:100%;
        text-align:center; /* 标题、描述文字居中，和截图效果图保持一致 */
    }
    .details-btn-containerNew{
        margin-bottom: 1rem;
    }
}
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .product-image-container {
        height: 200px;
    }
    
    .product-section {
        padding: 1rem;
    }
}
.calculator-product-card{display:flex;align-items:center;justify-content:space-between;gap:32px;margin:36px 0 18px;padding:34px;background:linear-gradient(120deg,#062848,#0870b8);color:#fff;border-radius:8px;box-shadow:0 14px 34px rgba(6,40,72,.18)}
.calculator-product-card h2{margin:8px 0 10px;font-size:28px}.calculator-product-card p{max-width:760px;margin:0;line-height:1.7;color:#d9edfa}.calculator-product-tag{font-size:11px;letter-spacing:.16em;color:#60dcff;font-weight:700}.calculator-product-button{flex:0 0 auto;padding:13px 20px;border-radius:4px;background:#fff;color:#075aa7;text-decoration:none;font-weight:700}.calculator-product-button:hover{background:#e9f6ff}@media(max-width:760px){.calculator-product-card{align-items:flex-start;flex-direction:column;padding:24px}.calculator-product-card h2{font-size:23px}}
