/* =====================================================
   product-v2-r18.css — b102 普通产品页（无设计器）
   r18 变更：主体内容统一 max-width 1400px 居中
   配色体系：藏青 #1E2A5E / 紫 #5B6FD4 / 橙 #FF6B35
   ===================================================== */
.pdv2 { color: #17191f; }
.pdv2, .pdv2 * { box-sizing: border-box; }

/* ---------- 内容宽度统一：最大 1400px 居中 ---------- */
.pdv2 .pdv2-head,
.pdv2 .pdv2-product,
.pdv2 .pdv2-section {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
.pdv2 .pdv2-rich { margin-left: auto; margin-right: auto; }

/* ---------- 面包屑 ---------- */
.pdv2 .pdv2-head { padding: 26px 16px 0; }
.pdv2 .pdv2-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font: 400 14px/1.4 Figtree, sans-serif; color: #8a90a8; }
.pdv2 .pdv2-crumb a { color: #5B6FD4; text-decoration: none; }
.pdv2 .pdv2-crumb a:hover { color: #FF6B35; }
.pdv2 .pdv2-crumb b { color: #1E2A5E; font-weight: 700; }

/* ---------- 产品主区：左图右信息 ---------- */
.pdv2 .pdv2-product {
    display: flex;
    gap: 44px;
    padding: 10px 16px 26px;
    align-items: flex-start;
}
.pdv2 .pdv2-gallery { flex: 0 0 46%; max-width: 46%; }
.pdv2 .pdv2-gallery-main {
    border: 1px solid #E7EAF3;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.pdv2 .pdv2-gallery-main img { display: block; width: 100%; height: auto; }
.pdv2 .pdv2-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdv2 .pdv2-gallery-thumbs img {
    width: 78px; height: 78px; object-fit: cover;
    border: 1px solid #E7EAF3; border-radius: 8px;
    cursor: pointer; transition: border-color .15s ease;
    background: #fff;
}
.pdv2 .pdv2-gallery-thumbs img:hover { border-color: #5B6FD4; }

.pdv2 .pdv2-summary { flex: 1 1 auto; min-width: 0; padding-top: 6px; }
.pdv2 .pdv2-code {
    display: inline-block;
    font: 700 12px/1 Figtree, sans-serif;
    letter-spacing: .08em;
    color: #FF6B35;
    background: #FFF1EA;
    border: 1px solid #FFD9C4;
    border-radius: 6px;
    padding: 5px 10px;
    margin-bottom: 12px;
}
.pdv2 .pdv2-name {
    margin: 0 0 14px;
    font: 700 30px/1.25 Figtree, sans-serif;
    color: #1E2A5E;
}
.pdv2 .pdv2-price {
    font: 400 16px/1.4 Figtree, sans-serif;
    color: #5A607F;
    margin-bottom: 16px;
}
.pdv2 .pdv2-price b { font-size: 26px; font-weight: 800; color: #FF6B35; margin-left: 4px; }
.pdv2 .pdv2-line { font: 400 15px/1.6 Figtree, sans-serif; color: #5A607F; margin: 0 0 22px; }

.pdv2 .pdv2-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.pdv2 .pdv2-cta {
    display: inline-block;
    background: #FF6B35;
    color: #fff !important;
    font: 700 15px/1 Figtree, sans-serif;
    letter-spacing: .04em;
    text-decoration: none;
    border-radius: 8px;
    padding: 15px 26px;
    transition: background .16s ease;
}
.pdv2 .pdv2-cta:hover { background: #e55a28; }
.pdv2 .pdv2-cta-ghost { background: #fff; color: #5B6FD4 !important; border: 1px solid #5B6FD4; }
.pdv2 .pdv2-cta-ghost:hover { background: #F0F2FD; }

.pdv2 .pdv2-perks { list-style: none; margin: 0; padding: 0; }
.pdv2 .pdv2-perks li {
    position: relative;
    padding: 5px 0 5px 26px;
    font: 500 14px/1.5 Figtree, sans-serif;
    color: #1E2A5E;
}
.pdv2 .pdv2-perks li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 5px;
    width: 17px; height: 17px;
    background: #5B6FD4;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    line-height: 17px;
    text-align: center;
}

/* ---------- 通用区块（标题 + 橙色下划线小色块，与聚合页同款） ---------- */
.pdv2 .pdv2-section { padding: 34px 16px 6px; }
.pdv2 .pdv2-title { margin: 0; font: 800 26px/1.3 Figtree, sans-serif; color: #1E2A5E; }
.pdv2 .pdv2-title-sub { font-size: 22px; }
.pdv2 .pdv2-title-line { width: 64px; height: 4px; background: #FF6B35; border-radius: 2px; margin: 10px 0 20px; }

/* 富文本区块：适配长内容 */
.pdv2 .pdv2-rich { font: 400 16px/1.85 Figtree, sans-serif; color: #333; max-width: 1100px; }
.pdv2 .pdv2-rich h1, .pdv2 .pdv2-rich h2, .pdv2 .pdv2-rich h3 { color: #1E2A5E; }
.pdv2 .pdv2-rich img { max-width: 100%; height: auto; }
.pdv2 .pdv2-rich a { color: #5B6FD4; }
.pdv2 .pdv2-rich a:hover { color: #FF6B35; }
.pdv2 .pdv2-rich ul, .pdv2 .pdv2-rich ol { padding-left: 24px; }
.pdv2 .pdv2-rich table { width: 100%; border-collapse: collapse; }
.pdv2 .pdv2-rich th, .pdv2 .pdv2-rich td { border: 1px solid #E7EAF3; padding: 10px 14px; }
.pdv2 .pdv2-price-table th { background: #1E2A5E !important; color: #fff !important; }
.pdv2 .pdv2-rich tr:nth-child(even) td { background: #F7F8FC; }

/* ---------- DESIGN GALLERY ---------- */
.pdv2 .pdv2-banners-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.pdv2 .pdv2-banners-grid-1 { grid-template-columns: 1fr; }
.pdv2 .pdv2-banners-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pdv2 .pdv2-banner-item { margin: 0; border: 1px solid #E7EAF3; border-radius: 8px; overflow: hidden; background: #fff; }
.pdv2 .pdv2-banner-item img { display: block; width: 100%; height: auto; }

/* ---------- 评论区 ---------- */
.pdv2 .pdv2-reviews { padding-bottom: 40px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .pdv2 .pdv2-product { flex-direction: column; }
    .pdv2 .pdv2-gallery { flex: none; max-width: 100%; width: 100%; }
    .pdv2 .pdv2-banners-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 价格表 Qty/Unit Price（居中，不贴容器左边缘） */
.pdv2 .pdv2-ptable { max-width: 560px; margin: 0 auto; }
.pdv2 .pdv2-ptable td:first-child { font-weight: 700; color: #1E2A5E; }

/* ---------- yotpo 评论组件（红 → 紫与橙） ---------- */
.pdv2 .yotpo-new-review-btn.yotpo-btn-s { background: #5B6FD4 !important; }
.pdv2 .yotpo-reviews-pagination-item.selected { background: #5B6FD4 !important; color: #fff !important; }
.pdv2 .yotpo-star-distribution-index,
.pdv2 .yotpo-bottom-line-left-panel.yotpo-bottom-line-score,
.pdv2 .yotpo-star-distribution-value,
.pdv2 .yotpo-reviewer-verified-buyer-text { color: #FF6B35 !important; }
.pdv2 .yotpo-progress-bar-score { background: #FF6B35 !important; }
