
body { margin: 0; font-family: "Microsoft YaHei", Arial, sans-serif; color: #333; }
:root { --primary: #2c3e50; --accent: #b8860b; --text-dark: #2c3e50; --text-gray: #6c757d; --max-w: 1200px; }
img { max-width: 100%; height: auto; }

.page-banner { position: relative; width: 100%; overflow: hidden; height: 280px; }
.page-banner img { width: 100%; height: 100%; display: block; object-fit: cover; }
.page-banner .banner-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; z-index: 2; }
.page-banner .banner-overlay h1, .page-banner .banner-overlay h2 { color: #fff; font-size: 32px; font-weight: bold; text-shadow: 0 2px 8px rgba(0,0,0,0.3); margin: 0; }

.breadcrumb-bar { background: #f8f8f8; padding: 12px 0; font-size: 14px; color: #999; }
.breadcrumb-bar .container { max-width: var(--max-w); margin: 0 auto; padding: 0 15px; }
.breadcrumb-bar a { color: var(--text-dark); text-decoration: none; }
.breadcrumb-bar a:hover { color: var(--accent); }
.breadcrumb-bar span { margin: 0 6px; color: #ccc; }

.pd-wrap { padding: 50px 0; background: #fff; }
.pd-wrap .container { max-width: var(--max-w); margin: 0 auto; padding: 0 15px; }

.pd-head { display: flex; gap: 50px; margin-bottom: 40px; }
.pd-head .pd-gallery { flex: 0 0 45%; }
.pd-head .pd-gallery .pd-main-img {
    width: 100%; padding-bottom: 100%; position: relative;
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06); margin-bottom: 12px;
}
.pd-head .pd-gallery .pd-main-img img {
    position: absolute; top: 50%; left: 50%;
    width: 88%; height: 88%; object-fit: contain;
    transform: translate(-50%,-50%);
}
.pd-head .pd-gallery .pd-thumbs {
    display: flex; gap: 10px; flex-wrap: wrap;
}
.pd-head .pd-gallery .pd-thumbs .thumb {
    width: 72px; height: 72px; border-radius: 8px; overflow: hidden;
    border: 2px solid transparent; cursor: pointer; background: #fafafa;
    transition: all 0.2s;
}
.pd-head .pd-gallery .pd-thumbs .thumb:hover,
.pd-head .pd-gallery .pd-thumbs .thumb.active { border-color: var(--accent); }
.pd-head .pd-gallery .pd-thumbs .thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd-head .pd-info { flex: 1; }
.pd-head .pd-info .pd-name { font-size: 28px; color: #1a1a1a; font-weight: bold; margin: 0 0 6px; line-height: 1.3; }
.pd-head .pd-info .pd-desc { font-size: 15px; color: #888; line-height: 1.7; margin: 0 0 18px; }
.pd-head .pd-info .pd-divider { border: none; height: 1px; background: #e8e8e8; margin: 0 0 18px; }
.pd-head .pd-info .pd-tel {
    display: flex; align-items: center; gap: 12px;
    margin-top: 20px; padding: 18px 24px;
    background: linear-gradient(135deg, #f8f6f0, #fff);
    border: 1px solid #e8dcc8; border-radius: 10px;
}
.pd-head .pd-info .pd-tel .tel-icon { font-size: 28px; }
.pd-head .pd-info .pd-tel .tel-text { font-size: 14px; color: #888; }
.pd-head .pd-info .pd-tel .tel-num { font-size: 24px; color: var(--accent); font-weight: 700; text-decoration: none; letter-spacing: 1px; }
.pd-head .pd-info .pd-tel .tel-num:hover { color: #9a7209; }

.pd-body { background: #fff; border-radius: 12px; padding: 40px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); margin-bottom: 40px; border: 1px solid #f0f0f0; }
.pd-body .pd-section-title {
    font-size: 20px; color: var(--text-dark); font-weight: bold;
    margin: 0 0 20px; padding-left: 14px; border-left: 4px solid var(--accent);
}
.pd-body .pd-content { font-size: 15px; color: var(--text-gray); line-height: 2; }

.pd-specs { margin-bottom: 30px; }
.pd-specs table { width: 100%; border-collapse: collapse; }
.pd-specs table tr { border-bottom: 1px solid #f0f0f0; }
.pd-specs table tr:nth-child(even) { background: #fafafa; }
.pd-specs table td { padding: 12px 16px; font-size: 14px; color: var(--text-dark); }
.pd-specs table td:first-child { font-weight: 600; color: #555; width: 140px; }
.pd-body .pd-content img { display: block; margin: 20px auto; border-radius: 8px; }
.pd-body .pd-content p { margin: 0 0 16px; }

.pd-related .rel-title {
    font-size: 20px; color: var(--text-dark); font-weight: bold;
    margin: 0 0 24px; padding-left: 14px; border-left: 4px solid var(--accent);
}
.pd-related .rel-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.pd-related .rel-card {
    background: #fff; border-radius: 10px; overflow: hidden;
    transition: all 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #eee;
}
.pd-related .rel-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(44,62,80,0.1); border-color: var(--accent); }
.pd-related .rel-card .rel-img-box {
    width: 100%; padding-bottom: 100%; position: relative;
    overflow: hidden; background: #fafafa;
}
.pd-related .rel-card .rel-img-box img {
    position: absolute; top: 50%; left: 50%;
    width: 85%; height: 85%; object-fit: contain;
    transform: translate(-50%,-50%); transition: transform 0.4s;
}
.pd-related .rel-card:hover .rel-img-box img { transform: translate(-50%,-50%) scale(1.08); }
.pd-related .rel-card .rel-name {
    padding: 14px 12px; margin: 0; font-size: 14px; text-align: center;
    color: var(--text-dark); font-weight: 600; line-height: 1.4;
}
.pd-related .rel-card .rel-name a { color: inherit; text-decoration: none; display: block; }
.pd-related .rel-card .rel-name a:hover { color: var(--accent); }

@media screen and (max-width: 768px) {
    .page-banner { height: 200px; }
    .page-banner .banner-overlay h1, .page-banner .banner-overlay h2 { font-size: 24px; }
    .pd-head { flex-direction: column; }
    .pd-head .pd-gallery { flex: 0 0 100%; }
    .pd-body { padding: 20px; }
    .pd-related .rel-grid { grid-template-columns: repeat(2, 1fr); }
}
