:root {
    --rltv-primary: #0088cc;
    --rltv-primary-dark: #006699;
    --rltv-accent: #ff7700;
    --rltv-accent-dark: #e06600;
    --rltv-bg: #f7fafc;
    --rltv-card-bg: #ffffff;
    --rltv-border: #e2e8f0;
    --rltv-text: #2d3748;
    --rltv-sub: #718096;
    --rltv-dark: #1a2936;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--rltv-bg); color: var(--rltv-text); font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 13px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: 0.2s; }

.rltv-topbar { background: #ffffff; border-bottom: 1px solid var(--rltv-border); font-size: 12px; height: 36px; line-height: 36px; color: var(--rltv-sub); }
.rltv-topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 15px; display: flex; justify-content: space-between; align-items: center; }

.rltv-header { background: #ffffff; padding: 15px 0; border-bottom: 1px solid var(--rltv-border); }
.rltv-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 15px; display: flex; justify-content: space-between; align-items: center; }
.rltv-logo img { height: 42px; width: auto; max-width: 200px; object-fit: contain; }

.rltv-nav-bar { background: #ffffff; border-bottom: 2px solid var(--rltv-primary); }
.rltv-nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.rltv-nav-list { display: flex; list-style: none; flex-wrap: wrap; }
.rltv-nav-list li a { display: block; padding: 12px 20px; color: #4a5568; font-size: 14px; font-weight: 600; }
.rltv-nav-list li a:hover, .rltv-nav-list li.active a { color: var(--rltv-primary); border-bottom: 2px solid var(--rltv-primary); }

.rltv-notice { max-width: 1200px; margin: 15px auto 0; padding: 10px 15px; background: #ebf8ff; border-left: 4px solid var(--rltv-primary); border-radius: 2px; color: #2b6cb0; font-size: 13px; }

.rltv-container { max-width: 1200px; margin: 20px auto; padding: 0 15px; min-height: 60vh; }

.rltv-capsule-head { text-align: center; margin: 30px 0 20px; }
.rltv-capsule-title { display: inline-block; padding: 6px 30px; background: #e6f4fa; color: var(--rltv-primary); font-size: 16px; font-weight: bold; border-radius: 20px; border: 1px solid #bfe3f5; }

.rltv-box { background: var(--rltv-card-bg); border: 1px solid var(--rltv-border); margin-bottom: 20px; padding: 16px; border-radius: 4px; }
.rltv-box-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; margin-bottom: 15px; border-bottom: 1px solid var(--rltv-border); }
.rltv-box-title { font-size: 15px; font-weight: bold; color: var(--rltv-primary); display: flex; align-items: center; }
.rltv-box-title::before { content: ""; width: 3px; height: 14px; background: var(--rltv-primary); margin-right: 8px; border-radius: 2px; }

.rltv-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.rltv-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.rltv-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }

.rltv-card-item { border: 1px solid #edf2f7; padding: 12px; text-align: center; background: #ffffff; border-radius: 4px; transition: 0.2s; }
.rltv-card-item:hover { border-color: var(--rltv-primary); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,136,204,0.08); }
.rltv-card-img-box { width: 50px; height: 50px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; background: #f8fafc; border-radius: 4px; border: 1px solid #edf2f7; }
.rltv-card-img-box img { max-width: 40px; max-height: 40px; object-fit: contain; }
.rltv-card-name { font-size: 13px; font-weight: 600; height: 36px; overflow: hidden; margin-bottom: 6px; color: var(--rltv-text); }
.rltv-card-price { font-size: 15px; font-weight: bold; color: var(--rltv-accent); margin-bottom: 8px; }
.rltv-btn-buy { display: block; width: 100%; padding: 5px 0; background: var(--rltv-primary); color: #ffffff; font-size: 12px; font-weight: 600; text-align: center; border-radius: 3px; }
.rltv-btn-buy:hover { background: var(--rltv-primary-dark); }

.rltv-row-item { display: flex; align-items: center; justify-content: space-between; padding: 9px 8px; border-bottom: 1px dashed #e2e8f0; font-size: 13px; }
.rltv-row-item:last-child { border-bottom: none; }

.rltv-detail-layout { display: flex; gap: 25px; background: #ffffff; border: 1px solid var(--rltv-border); padding: 25px; border-radius: 4px; }
.rltv-detail-media { flex: 0 0 250px; text-align: center; }
.rltv-detail-img-wrap { width: 210px; height: 210px; margin: 0 auto 12px; border: 1px solid #edf2f7; border-radius: 4px; display: flex; align-items: center; justify-content: center; padding: 10px; }
.rltv-detail-img-wrap img { max-width: 170px; max-height: 170px; object-fit: contain; }
.rltv-detail-info { flex: 1; }
.rltv-detail-name { font-size: 18px; font-weight: bold; color: var(--rltv-text); margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #edf2f7; }
.rltv-detail-meta-box { background: #f0f9ff; border: 1px solid #e0f2fe; padding: 12px 18px; border-radius: 4px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }

.rltv-form-group { margin-bottom: 15px; }
.rltv-form-label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 13px; color: #4a5568; }
.rltv-input { width: 100%; height: 38px; border: 1px solid var(--rltv-border); border-radius: 3px; padding: 0 12px; outline: none; font-size: 13px; }
.rltv-input:focus { border-color: var(--rltv-primary); }
.rltv-btn-submit { width: 100%; height: 44px; background: var(--rltv-accent); color: #ffffff; font-size: 15px; font-weight: bold; border: none; border-radius: 3px; cursor: pointer; transition: 0.2s; }
.rltv-btn-submit:hover { background: var(--rltv-accent-dark); }

.rltv-footer { background: var(--rltv-dark); color: #a0aec0; padding: 30px 15px; text-align: center; margin-top: 40px; font-size: 13px; }
.rltv-footer-links { margin-bottom: 12px; }
.rltv-footer-links a { color: #e2e8f0; margin: 0 10px; font-weight: 500; }
.rltv-footer-links a:hover { color: var(--rltv-primary); }

@media (max-width: 992px) {
    .rltv-grid-5 { grid-template-columns: repeat(3, 1fr); }
    .rltv-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .rltv-detail-layout { flex-direction: column; }
    .rltv-detail-media { flex: 1; }
}
@media (max-width: 640px) {
    .rltv-grid-5, .rltv-grid-4, .rltv-grid-2 { grid-template-columns: 1fr; }
    .rltv-nav-list li a { padding: 8px 12px; font-size: 13px; }
}
