@charset "UTF-8";

/* =========================================================
   product-detail.css — 产品详情页通用样式（product-1 ~ product-5）
   对应设计稿：蓝湖「桌面端 · 产品详情」1920 宽
   排版原则：与 about.css / certificates.css 保持一致
             · 区块内部一律 flex / grid 排版（外边距定位）
             · 装饰性叠层（首屏底图）用背景图实现
             · 横向尺寸用百分比（设计稿 1920 坐标系），纵向按设计稿 px
             · 容器高度由内容自动撑起，不写死高度
   ========================================================= */

/* ---------- 1. 页面变量 ---------- */
:root {
    --product-navy: #090762; /* 标题藏青 */
    --product-navy-deep: #00194d; /* 深色面板 */
    --product-gold: #cfb073; /* 品牌金 */
    --product-brown: #6f4208; /* 卡片描边 */
    --product-cream: #f4ecdd; /* 面板底色 */
}

body {
    background-image: url("../images/product-bg.jpg") !important;
}

/* ---------- 2. 通用区块 ---------- */
/* 页面作用域：主体标题主色（配合 common.css 的 .head-title） */
.product-page {
    --head-color: var(--product-navy);
}

/* 画布统一为纵向 flex 容器（与 about.css / certificates.css 一致） */
.product-page .section > .canvas {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* 主体区块：左侧竖排装饰 + 右侧内容 */
.product-page .product-detail .canvas {
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    padding: 90px 76px 110px;
}

/* ---------- 3. 竖排装饰 + 标题组 ---------- */
/* 竖排 Product（装饰文字，不参与阅读顺序） */
.product-page .product-rail {
    flex: 0 0 210px;
    padding-left: 43px;
    writing-mode: vertical-rl;
    font-size: 132px;
    line-height: 1;
    letter-spacing: 8px;
    color: var(--product-gold);
    user-select: none;
}

.product-page .product-detail__main {
    flex: 1 1 auto;
    min-width: 0;
}

/* 主体标题组（标题 + 金色分隔线 + 说明）样式见 common.css 的 .head-title / .head-rule / .head-desc */
.head-title span {
    font-size: 40px;
    color: #bb7006;
}

.head-rule {
    background-color: #1c4f29;
}

.head-desc {
    margin-top: 56px;
    line-height: 2;
}

.product-content {
    display: flex;
    align-items: flex-start;
}

.product-content .head-desc {
    flex: 1;
    margin-right: 40px;
}

/* ---------- 4. 详情面板（左图右文） ---------- */
.product-page .product-panel {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 48px;
    background-color: rgba(245, 235, 230, 0.7);
    border-radius: 10px 10px 50px 10px;
}

.product-page .product-panel__media {
    width: 40%;
}

.product-page .product-panel__figure {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #CCCCCC;
}

/* 包装切图原始比例不一，统一用等比框 + contain 对齐底部 */
.product-page .product-panel__figure img {
    width: 100%;
}

.product-page .product-panel__info {
    flex: 1 1 auto;
    min-width: 0;
    padding: 20px 0;
}

/* 面板内小图标 + 标题 */
.product-page .product-panel__label {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 38px;
}

.product-page .product-panel__label img {
    width: 93px;
    height: auto;
    object-fit: contain;
}

.product-page .product-panel__label-title {
    margin: 0;
    font-size: 37.5px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--product-navy-deep);
}

.product-page .product-panel__label-title span {
    display: block;
}

/* 信息块（标题 + 说明） */
.product-page .product-info__title {
    margin: 0 0 14px;
    font-size: 37.61px;
    font-weight: 400;
    color: #000;
}

.product-page .product-info__text {
    font-size: 26.46px;
    line-height: 1.6;
    color: #000;
}

/* · 列表 */
.product-page .product-list li {
    font-size: 26.45px;
    line-height: 2;
    color: #000;
}

.product-page .product-list li::before {
    content: "·";
    margin-right: 8px;
}

/* 细分割线 */
.product-page .product-divider {
    width: 572px;
    max-width: 100%;
    height: 2px;
    margin: 10px 0;
    border: 0;
    background-color: #d4a36e;
}

/* ---------- 5. 特性栅格（图标 + 标题 + 说明） ---------- */
.product-page .product-features {
    display: flex;
    margin-top: 64px;
    align-items: center;
}

.product-page .product-features--3 {
    grid-template-columns: repeat(3, 1fr);
}

.product-page .product-features--4 {
    grid-template-columns: repeat(4, 1fr);
}

.product-page .product-feature__box {
    margin-left: 20px;
}

.product-page .product-feature {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-page .product-feature::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 0;
    width: 2px;
    height: calc(100% - 40px);
    background-color: #1c4f29;
}

.product-page .product-feature:last-of-type::after {
    display: none;
}

.product-page .product-feature__icon {
    width: 150px;
    max-width: 100%;
    height: auto;
}

.product-page .product-feature__title {
    margin: 24px 0 0;
    font-size: 31.25px;
    font-weight: 700;
    color: var(--product-navy);
}

.product-page .product-feature__desc {
    margin: 12px 0 0;
    font-size: 19.85px;
    line-height: 1.6;
    color: #000;
}

/* ---------- 6. 应用领域卡片 ----------
   卡片 = 照片切图（顶部）+ 米色文字底板（CSS 实现）+ 标题 */
.product-page .product-apps {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    margin-top: 48px;
    margin-left: 40px;
}

.product-page .product-app {
    display: flex;
    flex-direction: column;
    background-color: #fdf4ef;
    border: 1px solid #c08166;
    border-radius: 20px;
    overflow: hidden;
}

.product-page .product-app img {
    display: block;
    width: 100%;
}

.product-page .product-app__title {
    margin: 0;
    padding: 22px 16px 24px;
    text-align: center;
    font-size: 22px;
    color: var(--product-navy);
}

/* ---------- 7. 深色信息块（三栏） ---------- */
.product-page .product-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-page .product-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 30px 30px;
    border: 1px solid #1c4f29;
}

.product-page .product-tile:nth-child(2) {
    border-color: #c08166;
}

.product-page .product-tile__title {
    position: absolute;
    z-index: 1;
    top: 0;
    left: -16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 100%;
    text-align: center;
    border-radius: 16px;
    margin: 0;
    font-size: 24px;
    color: #fff;
    background: #1c4f29;
}

.product-page .product-tile:nth-child(2) .product-tile__title {
    background-color: #ca7d21;
}

.product-page .product-tile__title::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: 10px solid rgba(255, 255, 255, 0);
    border-right-width: 0;
    border-left-color: #1c4f29;
}

.product-page .product-tile:nth-child(2) .product-tile__title::after {
    border-left-color: #c08166;
}

.product-page .product-tile img {
    width: 50px;
}

.product-page .product-tile__desc {
    margin: 16px 0 0;
    padding: 16px 40px;
    font-size: 18px;
    line-height: 1.6;
    color: #33383e;
    border-radius: 6px;
}

/* ---------- 8. 包装卡片行 ---------- */
.product-page .product-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.product-page .product-card {
    padding: 24px 22px 26px;
    text-align: center;
    background-color: #fff;
    border: 1px solid var(--product-brown);
}

.product-page .product-card img {
    width: 100%;
    height: auto;
}

.product-page .product-card__name {
    margin: 16px 0 0;
    font-size: 19.85px;
    color: var(--product-brown);
}

/* ---------- 11. 子标题组（应用领域 / 包装规格等） ---------- */
.product-page .product-subhead {
    display: flex;
    align-items: center;
    margin-top: 80px;
}

.product-page .product-subhead.product-subhead-column {
    flex-direction: column;
    align-items: flex-start;
}

.product-page .product-subhead__title {
    margin: 0;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--product-navy);
}

.product-page .product-subhead__desc {
    margin: 20px 0 0;
    font-size: 25.32px;
    line-height: 1.65;
    color: #000;
}

/* ---------- 4. 包装卡片行 ---------- */
.product-1-page .product-cards,
.product-3-page .product-cards {
    margin-top: 56px;
}

/* 卡片图统一比例与高度（各包装切图原始尺寸不同，用等比框对齐） */
.product-1-page .product-card img,
.product-3-page .product-card img {
    width: 100%;
    max-width: 150px;
    aspect-ratio: 128 / 218;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.product-2-page .product-2-card.bg-color-1 {
    background-color: rgba(253, 244, 234, 0.6);
}

.product-2-page .product-2-card.bg-color-2 {
    background-color: rgba(226, 255, 221, 0.2);
}

.product-2-page .product-2-card.bg-color-3 {
    /*background-color: rgba(229, 245, 255, 0.6);*/
    background-color: #fbfaf6;
}