/* ==========================================================================
   Pocket Showroom Core — 中文版极简皮肤 (v3.7.0)
   对齐甲方参考站（modenfili）视觉：浅灰底 / 居中标题 / 线框下拉 / 细线卡片
   ========================================================================== */

/* ---------- 画廊页 ---------- */

.pscn-wrap {
    max-width: 1500px;
    margin: 0 auto;
    padding: 10px 30px 60px;
    background: transparent;
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 背景色沿用站点品牌米黄底（同 404/内页 .egc 区块 #F4F0E8） */
body.ps-skin-cn {
    background: #f4f0e8;
}

/* 页面标题：居中、细体、宽字距 */
.pscn-title {
    text-align: center;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 4px;
    color: #333;
    margin: 50px 0 42px;
    padding: 0;
}

/* 筛选栏：居中一行 */
.pscn-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 90px;
}

/* 分类按钮（芯片） */
.pscn-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pscn-cat-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #2b2b2b;
    background: #fff;
    color: #555;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 11px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: all .25s ease;
    white-space: nowrap;
}

.pscn-cat-btn:hover {
    border-color: #A2673B;
    color: #A2673B;
}

.pscn-cat-btn.active {
    background: #A2673B;
    border-color: #A2673B;
    color: #fff;
}

.pscn-select,
.pscn-search {
    position: relative;
    display: inline-block;
}

.pscn-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 260px;
    height: 50px;
    padding: 0 44px 0 18px;
    border: 1px solid #2b2b2b;
    border-radius: 0;
    background: #fff;
    color: #333;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    outline: none;
}

.pscn-select::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 9px;
    height: 9px;
    margin-top: -7px;
    border-right: 1.5px solid #2b2b2b;
    border-bottom: 1.5px solid #2b2b2b;
    transform: rotate(45deg);
    pointer-events: none;
}

.pscn-search input {
    width: 260px;
    height: 50px;
    padding: 0 46px 0 18px;
    border: 1px solid #2b2b2b;
    border-radius: 0;
    background: #fff;
    color: #333;
    font-size: 13px;
    letter-spacing: 1px;
    outline: none;
}

.pscn-search input::placeholder {
    color: #8a8a8a;
}

.pscn-search svg {
    position: absolute;
    right: 15px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    fill: #1a1a1a;
    pointer-events: none;
}

/* 产品网格：4 列宽间距 */
.pscn-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 70px 44px;
}

.pscn-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #8a8a8a;
    font-size: 14px;
    letter-spacing: 2px;
    padding: 60px 0;
}

/* 卡片：图 + 细线 + 居中型号 */
.pscn-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.pscn-card-img {
    position: relative;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 缩略图统一尺寸盒子：铺满裁切（object-fit:cover），点击进详情页才看真实完整尺寸 */
.pscn-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .45s ease, opacity .45s ease;
}

.pscn-card:hover .pscn-card-img img {
    transform: scale(1.08);
}

/* 悬停效果：浮现“查看详情”遮罩提示 */
.pscn-card-img::after {
    content: "查看详情";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 18, 14, 0.28);
    color: #fff;
    font-size: 13px;
    letter-spacing: 4px;
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.pscn-card:hover .pscn-card-img::after {
    opacity: 1;
}

/* 水印（沿用插件设置，右下角淡显） */
.pscn-card-img .ps-watermark {
    position: absolute;
    right: 6px;
    bottom: 6px;
    left: auto;
    top: auto;
    transform: none;
    font-size: 11px;
    opacity: .35;
    color: #666;
    background: none;
    padding: 0;
    letter-spacing: 1px;
}

.pscn-card-line {
    border-top: 1px solid #8f8f8f;
    margin-top: 52px;
}

.pscn-card-model {
    text-align: center;
    font-size: 13px;
    color: #4a4a4a;
    letter-spacing: 1.5px;
    padding-top: 16px;
}

.pscn-card:hover .pscn-card-model {
    color: #111;
}

/* 加载更多 */
.pscn-loadmore {
    text-align: center;
    margin-top: 80px;
}

.pscn-loadmore-btn {
    background: none;
    border: none;
    border-bottom: 1px solid #2b2b2b;
    padding: 0 6px 6px;
    font-size: 14px;
    letter-spacing: 3px;
    color: #2b2b2b;
    cursor: pointer;
    transition: opacity .3s;
}

.pscn-loadmore-btn:hover {
    opacity: .55;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1200px) {
    .pscn-grid { grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
}

@media (max-width: 900px) {
    .pscn-grid { grid-template-columns: repeat(2, 1fr); gap: 46px 22px; }
    .pscn-filters { margin-bottom: 56px; }
    .pscn-title { font-size: 24px; margin: 36px 0 30px; }
    .pscn-card-img { height: 220px; }
    .pscn-card-line { margin-top: 30px; }
}

@media (max-width: 640px) {
    .pscn-wrap { padding: 6px 18px 40px; }
    .pscn-select, .pscn-search { display: block; width: 100%; }
    .pscn-select select, .pscn-search input { width: 100%; }
    .pscn-grid { gap: 38px 16px; }
    .pscn-card-img { height: 170px; }
}

/* ---------- 图册引导 CTA（产品页底部） ---------- */

.pscn-catalog-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 26px;
    padding: 22px 26px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    transition: background .3s ease, transform .3s ease;
}

.pscn-catalog-cta:hover {
    background: #000;
    transform: translateY(-2px);
}

.pscn-catalog-cta-text strong {
    display: block;
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 600;
}

.pscn-catalog-cta-text span {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, .65);
}

.pscn-catalog-cta-btn {
    flex: 0 0 auto;
    padding: 10px 22px;
    border: 1px solid #fff;
    font-size: 13px;
    letter-spacing: 2px;
    white-space: nowrap;
    transition: all .3s ease;
}

.pscn-catalog-cta:hover .pscn-catalog-cta-btn {
    background: #fff;
    color: #1a1a1a;
}

@media (max-width: 640px) {
    .pscn-catalog-cta { flex-direction: column; align-items: stretch; text-align: center; }
}


body.ps-skin-cn .pscn-single {
    background: transparent;
}

body.ps-skin-cn .pscn-single .ps-single-card {
    background: #fff;
    border: 1px solid #e3e4e8;
    border-radius: 0;
    box-shadow: none;
}

body.ps-skin-cn .pscn-single .ps-single-title {
    font-weight: 300;
    letter-spacing: 3px;
    color: #2b2b2b;
}

body.ps-skin-cn .pscn-single .ps-card-title {
    font-weight: 400;
    letter-spacing: 2px;
    color: #2b2b2b;
    border-bottom: 1px solid #e3e4e8;
    padding-bottom: 10px;
}

body.ps-skin-cn .pscn-single .ps-spec-row {
    border-bottom: 1px solid #eef0f2;
}

body.ps-skin-cn .pscn-single .ps-cta-btn {
    border-radius: 0;
    letter-spacing: 2px;
}

body.ps-skin-cn .pscn-single .ps-cta-primary {
    background: #1a1a1a;
}

body.ps-skin-cn .pscn-single .ps-cta-note {
    color: #8a8a8a;
    letter-spacing: 1px;
}

/* ---------- v3.7.1 优化：详情去框 / 品牌色 / 微信 / 关闭按钮 ---------- */

/* 图册 CTA 改浅色（不用黑底） */
.pscn-catalog-cta { background: #f4f0e8; border: 1px solid #e3ddcf; color: #2b2b2b; }
.pscn-catalog-cta:hover { background: #ede7da; transform: none; }
.pscn-catalog-cta-text strong { color: #2b2b2b; }
.pscn-catalog-cta-text span { color: #8a8a8a; }
.pscn-catalog-cta-btn { border: 1px solid #A2673B; color: #A2673B; }
.pscn-catalog-cta:hover .pscn-catalog-cta-btn { background: #A2673B; color: #fff; }

/* 详情卡片去框，改细分隔线分栏 */
body.ps-skin-cn .pscn-single { position: relative; }
body.ps-skin-cn .pscn-single .ps-single-card {
    background: transparent;
    border: none;
    border-bottom: 1px solid #e6e1d6;
    box-shadow: none;
    padding: 22px 0;
}
body.ps-skin-cn .pscn-single .ps-single-card:last-child { border-bottom: none; }

/* 型号徽章描边浅色 */
body.ps-skin-cn .pscn-single .ps-model-badge {
    background: transparent;
    color: #A2673B;
    border: 1px solid #A2673B;
    padding: 4px 14px;
    border-radius: 999px;
    font-weight: 600;
}

/* 主按钮赤陶色、微信绿 */
body.ps-skin-cn .pscn-single .ps-cta-primary { background: #A2673B; color: #fff; }
body.ps-skin-cn .pscn-single .ps-cta-primary:hover { background: #8a5730; }
body.ps-skin-cn .pscn-single .ps-cta-wechat { background: #07C160; color: #fff; }
body.ps-skin-cn .pscn-single .ps-cta-wechat:hover { background: #06ad56; }

/* 关闭/返回按钮 */
body.ps-skin-cn .pscn-single .pscn-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .92);
    color: #2b2b2b;
    border: 1px solid #e3ddcf;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
    transition: all .25s ease;
}
body.ps-skin-cn .pscn-single .pscn-close:hover { background: #2b2b2b; color: #fff; transform: rotate(90deg); }
