/*
 * 产品列表（GWR 风格，2026-09-19 改版）
 * 对齐 gwrestandsupplyinc.com：琥珀主色 #e78c08 / kicker + 衬线标题页头 /
 * 白卡 1px 边框卡片（灰底图片不裁剪 + 简介 + 箭头链接）/ 1-2-3 列响应式网格。
 * 类名钩子（pl-grid/pl-card/pl-loadmore/pl-status 等）与 js/product-list.js 保持一致。
 */

body.replica-product .pl-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 10px 0 2px;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #77706a;
}
body.replica-product .pl-crumb a { color: #77706a; text-decoration: none; transition: color .15s; }
body.replica-product .pl-crumb a:hover { color: #7b4700; }
body.replica-product .pl-crumb .pl-crumb-sep { color: #e78c08; }
body.replica-product .pl-crumb span:last-child { color: #524c46; }

/* 顶部横幅：保留背景图（基础样式在 style.css），标题衬线化与 GWR 风格统一 */
body.replica-product .pl-banner { margin-bottom: 10px; }
body.replica-product .pl-banner-title {
    font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
    font-weight: 400;
}
@media (max-width: 768px) {
    body.replica-product .pl-banner { margin-bottom: 6px; }
}

/* 页头：kicker + 衬线标题 + 简介（替代原背景图横幅） */
body.replica-product .pl-head { margin: 14px 0 4px; }
body.replica-product .pl-head-kicker {
    font-family: 'DM Mono', ui-monospace, Consolas, monospace;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #e78c08;
    margin: 0 0 8px;
}
body.replica-product .pl-head-title {
    font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
    font-weight: 400;
    font-size: 38px;
    line-height: 1.15;
    color: #15110d;
    margin: 0 0 8px;
}
body.replica-product .pl-head-intro {
    max-width: 680px;
    font-size: 15px;
    line-height: 1.75;
    color: #5d5751;
    margin: 0;
}

/* 筛选条（保留交互，琥珀风格） */
body.replica-product .pl-filter { margin: 20px 0 28px; }
body.replica-product .pl-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body.replica-product .pl-pill {
    display: inline-block;
    padding: 7px 16px;
    background: #fff;
    border: 1px solid #d7d4d0;
    border-radius: 999px;
    color: #524c46;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
    transition: border-color .15s, color .15s, background .15s;
}
body.replica-product .pl-pill:hover { border-color: #e78c08; color: #e78c08; }
body.replica-product .pl-pill.is-on { background: #e78c08; border-color: #e78c08; color: #fff; }

/* 两级模式：父级大标签 + 子级 pill */
body.replica-product .pl-tabs--main { gap: 22px; border-bottom: 1px solid #ece9e4; padding-bottom: 10px; margin-bottom: 10px; }
body.replica-product .pl-tab {
    font-size: 16px;
    color: #524c46;
    text-decoration: none;
    padding: 0 2px 8px;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
body.replica-product .pl-tab:hover { color: #e78c08; }
body.replica-product .pl-tab.is-on { color: #15110d; border-bottom-color: #e78c08; }

/* 卡片网格：1 列 -> 2 列(640) -> 3 列(1024) */
body.replica-product .pl-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 640px) {
    body.replica-product .pl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    body.replica-product .pl-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 卡片：白底 1px 边框整卡链接（自然高度，内容不溢出卡片盒） */
body.replica-product .pl-card { margin: 0; }
body.replica-product .pl-card-link {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #d7d4d0;
    padding: 20px;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s;
}
body.replica-product .pl-card-link:hover { border-color: #e78c08; box-shadow: 0 12px 26px rgba(21, 17, 13, .08); }
body.replica-product .pl-card-media {
    height: 160px;
    background: #f6f5f4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 16px;
}
body.replica-product .pl-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform .25s;
}
body.replica-product .pl-card-link:hover .pl-card-media img { transform: scale(1.04); }
body.replica-product .pl-card-media--empty { border: 1px dashed #e0dcd7; background: #faf9f8; }
body.replica-product .pl-card-title {
    font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.35;
    color: #15110d;
    margin: 0 0 6px;
    min-height: 2.4em;
}
body.replica-product .pl-card-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #5d5751;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
body.replica-product .pl-card-arrow {
    margin-top: 14px;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #a66200;
    transition: color .15s;
}
body.replica-product .pl-card-link:hover .pl-card-arrow { color: #e78c08; }

/* 空态 / 加载更多 */
body.replica-product .pl-empty { padding: 40px 0; text-align: center; color: #77706a; }
body.replica-product .pl-loadmore-wrap { text-align: center; margin: 36px 0 12px; }
body.replica-product .pl-status { font-size: 13px; color: #77706a; margin: 0 0 16px; }
body.replica-product .pl-loadmore {
    display: inline-block;
    padding: 11px 32px;
    background: #fff;
    border: 1.5px solid #e78c08;
    border-radius: 4px;
    color: #e78c08;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, color .15s;
}
body.replica-product .pl-loadmore:hover { background: #e78c08; color: #fff; }
body.replica-product .pl-loadmore.is-loading { opacity: .6; pointer-events: none; }
body.replica-product .pl-loadmore.is-loading::after { content: ' …'; }
body.replica-product .pl-loadmore.is-done { display: none; }
body.replica-product .pl-end { font-size: 13px; color: #77706a; margin-top: 14px; }

/* 分页导航（每页 9 条，琥珀风格） */
body.replica-product .pl-pagination { margin: 36px 0 12px; text-align: center; font-size: 14px; }
body.replica-product .pl-pagination ul {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.replica-product .pl-pagination li { margin: 0; }
body.replica-product .pl-pagination ul .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #d7d4d0;
    border-radius: 4px;
    color: #524c46;
    text-decoration: none;
    transition: border-color .15s, color .15s, background .15s;
}
body.replica-product .pl-pagination ul .page-numbers:hover { border-color: #e78c08; color: #e78c08; }
body.replica-product .pl-pagination ul .page-numbers.current { background: #e78c08; border-color: #e78c08; color: #fff; }
body.replica-product .pl-pagination ul .page-numbers.dots { border-color: transparent; background: none; color: #77706a; }

/* 入场动效（JS 钩子） */
body.replica-product .pl-grid--anim .pl-card { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }
body.replica-product .pl-grid--anim .pl-card.pl-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    body.replica-product .pl-grid--anim .pl-card { opacity: 1; transform: none; transition: none; }
}

/* 移动端 */
@media (max-width: 768px) {
    body.replica-product .pl-head { margin: 10px 0 2px; }
    body.replica-product .pl-head-title { font-size: 28px; }
    body.replica-product .pl-head-intro { font-size: 14px; }
    body.replica-product .pl-filter { margin: 16px 0 22px; }
    body.replica-product .pl-grid { gap: 14px; }
    body.replica-product .pl-card-link { padding: 14px; }
    body.replica-product .pl-card-media { height: 130px; }
    body.replica-product .pl-card-title { font-size: 15.5px; min-height: 2.2em; }
    body.replica-product .pl-card-desc { -webkit-line-clamp: 2; }
}