/* 产品展示页面特定样式 */

/* 产品布局 */
.product-page {
    margin-top: 120px;
}

.product-item {
    display: flex;
    align-items: center;
    min-height: 380px;
    border-bottom: 1px solid #eee;
}

.product-item:last-child {
    border-bottom: none;
}

/* 图片区域 ———— 加了放大效果 */
.p-img {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow: hidden;
}

.p-img img {
    max-width: 320px;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* 图片悬浮微微放大 */
.p-img img:hover {
    transform: scale(1.05);
}

/* 文字区域 ———— 加了悬浮阴影效果 */
.p-text {
    width: 50%;
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* 悬浮效果：阴影 + 轻微上浮 */
.p-text:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    background: #fff;
}

.p-text h2 {
    color: #ffa400;
    font-size: 26px;
    margin-bottom: 20px;
}

.p-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

/* 按钮样式 ———— 90度大圆角 + 默认黑边框 */
.product-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 999px;
    font-size: 15px;
    text-align: center;
    border: 1.5px solid #000;
    background: transparent;
    color: #000;
    transition: all 0.3s ease;
}

/* 按钮悬浮 ———— 橙色背景 + 白色文字 */
.product-btn:hover {
    background: #ffa400;
    color: #fff;
    border-color: #ffa400;
}

/* ============ 移动端适配 ============ */
@media (max-width: 768px) {
    .product-page {
        margin-top: clamp(70px, 18vw, 96px);
    }

    .product-item {
        flex-direction: column;
        min-height: auto;
        padding: 20px 0;
        text-align: center;
    }

    .p-img {
        width: 100%;
        padding: 10px;
    }

    .p-img img {
        max-width: 220px;
    }

    .p-text {
        width: 100%;
        padding: 20px 10px;
    }

    .p-text h2 {
        font-size: 22px;
        margin-bottom: 14px;
    }

    .p-text p {
        font-size: 15px;
        margin-bottom: 20px;
        text-align: left;
    }
}
