:root {
    --brand: #ff7a00;
    --brand-dark: #e56a00;
    --brand-soft: #fff3e8;
    --ink: #222;
    --muted: #8a8a8a;
    --line: #ececec;
    --bg: #f6f6f7;
    --radius: 12px;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; }
.container { max-width: 1200px; }

/* header */
.site-header { background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.topbar { background: var(--brand-soft); color: #7a5b3a; font-size: 12px; line-height: 32px; }
.topbar a { color: #7a5b3a; margin-left: 12px; }
.topbar a:hover { color: var(--brand); }
.header-main { display: flex; align-items: center; gap: 24px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { font-size: 34px; line-height: 1; }
.brand strong { display: block; font-size: 22px; letter-spacing: 1px; }
.brand small { color: var(--muted); font-size: 10px; letter-spacing: 2px; }
.header-search { flex: 1; display: flex; max-width: 560px; border: 2px solid var(--brand); border-radius: 4px; overflow: hidden; }
.header-search input { flex: 1; border: 0; outline: 0; padding: 9px 14px; font-size: 14px; }
.header-search button { border: 0; background: var(--brand); color: #fff; padding: 0 26px; font-size: 15px; }
.btn-publish { margin-left: auto; background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 4px; white-space: nowrap; }
.btn-publish:hover { background: var(--brand-dark); color: #fff; }
.main-nav { border-top: 1px solid var(--line); }
.main-nav .nav-container { display: flex; align-items: center; position: relative; overflow: visible; }
.main-nav .nav-scroll { display: flex; align-items: center; flex: 1; min-width: 0; overflow-x: auto; }
.main-nav a { padding: 12px 16px; white-space: nowrap; font-size: 16px; font-weight: 700; color: #3d3d3d; }
.main-nav a:hover { color: var(--brand); }
.main-nav .nav-all { background: var(--brand); color: #fff; padding: 12px 22px; border: 0; cursor: pointer; font-family: inherit; }
.main-nav .nav-all:hover { color: #fff; background: var(--brand-dark); }
.main-nav a.nav-green { color: #46a200; }
.main-nav a.nav-orange { color: #ff9900; }
.main-nav a.nav-home { flex: 0 0 auto; margin-left: auto; padding: 6px 14px; border: 1px solid #ecd7c8; border-radius: 999px; background: #fbf3ec; color: #8a6252; font-size: 13px; font-weight: 600; }
.main-nav a.nav-home:hover { background: #fff1e5; color: var(--brand); }

.nav-cat-dropdown { position: relative; flex: 0 0 auto; }
.nav-cat-toggle span { font-size: 11px; margin-left: 4px; }
.nav-dropdown-panel { display: none; position: absolute; left: 0; top: 100%; z-index: 60; width: 238px; max-height: 70vh; overflow: visible; padding: 8px; background: #fff; border: 1px solid #ead6c7; border-radius: 0 0 10px 10px; box-shadow: 0 14px 32px rgba(86,57,47,.16); }
.nav-cat-dropdown:hover .nav-dropdown-panel, .nav-cat-dropdown.open .nav-dropdown-panel { display: block; }
.nav-cat-list { display: flex; flex-direction: column; }
.nav-cat-item { position: relative; }
.nav-cat-parent { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px !important; border-radius: 5px; color: #3d3d3d !important; font-size: 14px !important; font-weight: 700 !important; white-space: nowrap; }
.nav-cat-parent:hover, .nav-cat-item.active > .nav-cat-parent { background: #fff3e7; color: var(--brand) !important; }
.nav-cat-arrow { color: #b9a69a; font-size: 15px; line-height: 1; }
.nav-cat-children { display: none; position: absolute; left: 100%; top: 0; width: 360px; max-height: 60vh; overflow: auto; padding: 12px 14px; background: #fff; border: 1px solid #ead6c7; border-radius: 8px; box-shadow: 0 12px 28px rgba(86,57,47,.14); grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px 18px; }
.nav-cat-item:hover > .nav-cat-children, .nav-cat-item.active > .nav-cat-children { display: grid; }
.nav-cat-children a { display: block; padding: 3px 0 !important; white-space: normal; color: #6f625b !important; font-size: 12px !important; font-weight: 400 !important; line-height: 1.55; }
.nav-cat-children a:hover { color: var(--brand) !important; }
.nav-cat-children a.nav-cat-all { margin-bottom: 5px; color: var(--brand) !important; font-weight: 700 !important; }

/* main */
.site-main { min-height: 60vh; padding-bottom: 40px; }
.hero { margin-top: 20px; border-radius: var(--radius); padding: 38px 40px; background: linear-gradient(120deg, #fff1e2, #ffe0c2); position: relative; overflow: hidden; }
.hero h1 { font-size: 28px; margin: 0 0 10px; }
.hero p { color: #8a6642; margin: 0 0 20px; }
.hero-search { display: flex; max-width: 620px; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 6px 20px rgba(255,122,0,.15); }
.hero-search input { flex: 1; border: 0; padding: 12px 16px; outline: 0; }
.hero-search button { border: 0; background: var(--brand); color: #fff; padding: 0 28px; }
.hero-stats { position: absolute; right: 40px; bottom: 34px; display: flex; gap: 26px; color: #8a6642; }
.hero-stats strong { display: block; font-size: 24px; color: var(--brand); }

.section { margin-top: 28px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-head h2 { font-size: 20px; margin: 0; padding-left: 12px; border-left: 4px solid var(--brand); }
.section-head a { color: var(--muted); font-size: 13px; }

.category-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; background: #fff; border-radius: var(--radius); padding: 18px; }
.category-item { text-align: center; padding: 10px 4px; border-radius: 10px; }
.category-item:hover { background: var(--brand-soft); }
.category-icon { width: 46px; height: 46px; line-height: 46px; margin: 0 auto 8px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 22px; }
.category-item strong { display: block; font-size: 14px; }
.category-item small { color: var(--muted); font-size: 11px; }

.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.info-card { background: #fff; border-radius: var(--radius); overflow: hidden; transition: .2s; }
.info-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.info-card .thumb { display: block; aspect-ratio: 4/3; background: #f0f0f0; overflow: hidden; }
.info-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.info-card .body { padding: 12px 14px 14px; }
.info-card h3 { font-size: 15px; line-height: 1.5; margin: 0 0 8px; min-height: 44px; }
.info-card .meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; }
.info-card .price { color: var(--brand); font-size: 17px; font-weight: 700; }
.badge-cat { display: inline-block; background: var(--brand-soft); color: var(--brand); border-radius: 3px; padding: 2px 7px; font-size: 11px; margin-bottom: 6px; }

.filter-bar { background: #fff; border-radius: var(--radius); padding: 14px 18px; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-bar a { padding: 5px 12px; border-radius: 20px; color: #666; }
.filter-bar a.active, .filter-bar a:hover { background: var(--brand-soft); color: var(--brand); }

.breadcrumb { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.breadcrumb a { color: var(--muted); }

.empty { background: #fff; border-radius: var(--radius); padding: 50px 20px; text-align: center; color: var(--muted); }
.pagination { display: flex; gap: 6px; list-style: none; padding: 0; margin: 24px 0 0; flex-wrap: wrap; }
.pagination li a, .pagination li span { display: block; padding: 6px 12px; background: #fff; border-radius: 4px; color: #666; }
.pagination li.active span { background: var(--brand); color: #fff; }

/* detail */
.detail-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; margin-top: 18px; align-items: stretch; }
.panel { background: #fff; border-radius: var(--radius); padding: 20px; }
.gallery-main { aspect-ratio: 4/3; background: #f2f2f2; border-radius: 10px; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery-thumbs img { width: 74px; height: 60px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; }
.gallery-thumbs img.active { border-color: var(--brand); }
.detail-title { font-size: 34px; line-height: 1.25; margin: 0 0 12px; font-weight: 800; overflow-wrap: anywhere; word-break: break-word; }
.detail-price { color: var(--brand); font-size: 30px; font-weight: 700; }
.attr-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.attr-table th, .attr-table td { border-bottom: 1px solid var(--line); padding: 10px 6px; text-align: left; font-weight: 400; }
.attr-table th { width: 96px; color: var(--muted); }
.description { line-height: 1.9; color: #444; margin-top: 16px; word-break: break-word; }
.contact-box { background: var(--brand-soft); border-radius: 10px; padding: 16px; margin-top: 16px; }
.contact-box .phone { font-size: 22px; color: var(--brand); font-weight: 700; letter-spacing: 1px; }
.contact-box .masked { color: #8a6642; }
.btn-reveal { background: var(--brand); color: #fff; border: 0; border-radius: 4px; padding: 8px 16px; }
.publisher { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--muted); font-size: 13px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff4e6; display: flex; align-items: center; justify-content: center; color: var(--brand); font-weight: 700; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; display: block; }

/* forms */
.form-card { background: #fff; border-radius: var(--radius); padding: 28px; max-width: 560px; margin: 26px auto; }
.form-card h1 { font-size: 24px; margin: 0 0 6px; }
.form-card .sub { color: var(--muted); margin-bottom: 22px; }
.form-label { font-weight: 600; font-size: 13px; }
.form-control, .form-select { border-color: #ddd; padding: 9px 12px; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(255,122,0,.15); }
.btn-brand { background: var(--brand); color: #fff; border: 0; padding: 10px 18px; border-radius: 4px; }
.btn-brand:hover { background: var(--brand-dark); color: #fff; }
.captcha-row { display: flex; gap: 10px; }
.captcha-row img { flex: 0 0 auto; width: auto; max-width: 65%; height: 42px; object-fit: contain; border-radius: 4px; cursor: pointer; border: 1px solid #ddd; }
.auth-links { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; color: var(--muted); }

/* member */
.member-layout { display: grid; grid-template-columns: 220px 1fr; gap: 18px; margin-top: 22px; }
.member-side { background: #fff; border-radius: var(--radius); padding: 18px; height: fit-content; }
.member-side .who { text-align: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.member-side .who strong { display: block; margin-top: 8px; }
.member-side a { display: block; padding: 10px 12px; border-radius: 6px; color: #555; }
.member-side a.active, .member-side a:hover { background: var(--brand-soft); color: var(--brand); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 16px; }
.stat-card span { color: var(--muted); font-size: 12px; }
.stat-card strong { display: block; font-size: 26px; color: var(--brand); margin-top: 4px; }
.table-card { background: #fff; border-radius: var(--radius); padding: 18px; margin-top: 16px; overflow-x: auto; }
.table { margin-bottom: 0; }
.table th { color: var(--muted); font-weight: 500; font-size: 12px; }
.badge-status { display: inline-block; padding: 3px 8px; border-radius: 10px; font-size: 11px; }
.status-1 { background: #fff3cd; color: #856404; }
.status-2 { background: #d4edda; color: #155724; }
.status-3 { background: #f8d7da; color: #721c24; }
.status-4, .status-5, .status-6 { background: #e9ecef; color: #495057; }

/* footer */
.site-footer { background: #242424; color: #bbb; margin-top: 20px; padding: 36px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding-bottom: 26px; }
.footer-grid h5 { color: #fff; font-size: 15px; margin-bottom: 10px; }
.footer-grid p { color: #999; line-height: 1.8; margin: 0 0 6px; }
.footer-grid a { display: block; color: #999; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid #333; padding: 14px 0; color: #777; font-size: 12px; }

@media (max-width: 992px) {
    .category-grid { grid-template-columns: repeat(5, 1fr); }
    .info-grid { grid-template-columns: repeat(3, 1fr); }
    .detail-wrap { grid-template-columns: 1fr; }
    .member-layout { grid-template-columns: 1fr; }
    .hero-stats { display: none; }
}
@media (max-width: 768px) {
    .header-main { flex-wrap: wrap; gap: 12px; }
    .header-search { order: 3; flex-basis: 100%; max-width: none; }
    .btn-publish { margin-left: auto; }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { padding: 24px 20px; }
    .hero h1 { font-size: 22px; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .form-card { padding: 20px; margin: 16px auto; }
    .footer-grid { grid-template-columns: 1fr; }
}

.noimg { width:100%; height:100%; min-height:180px; display:flex; align-items:center; justify-content:center; background:#f3f4f6; color:#9ca3af; font-size:13px; }

.title-bold { font-weight: 800; }
.title-red { color: #e53935 !important; }
/* 置顶卡片：首页明显框、色、标签 */
.info-card-top {
    border: 2px solid #ff6b00;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 55%);
    box-shadow: 0 10px 28px rgba(255, 107, 0, .18);
    position: relative;
}
.info-card-top .thumb { border-bottom: 2px solid #ffd7b0; }
.top-badge {
    display: inline-block;
    background: #e53935;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 7px;
    border-radius: 4px;
    margin-right: 6px;
    vertical-align: 2px;
}
.info-card-top .top-badge { margin-bottom: 6px; }

/* 分类页只显示长标题 */
.info-list { background: #fff; border-radius: 10px; padding: 4px 18px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.info-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    color: #333;
}
.info-list-item:last-child { border-bottom: 0; }
.info-list-item:hover .info-list-title { color: #ff6b00; }
.info-list-item.is-top {
    background: #fff7ed;
    border-left: 4px solid #ff6b00;
    margin: 0 -18px;
    padding-left: 14px;
    padding-right: 18px;
}
.info-list-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 加粗再加粗、字号更大 */
.title-bold { font-weight: 900; font-size: 1.18em; letter-spacing: .2px; }
.title-red { color: #e53935 !important; }
.brand-logo { height: 65px; width: auto; max-width: 205px; object-fit: contain; }
/* ===== 首页旧模板结构（nnp） ===== */
.nnp-section { margin: 26px auto; }
.nnp-sec-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid #e84545; padding-bottom: 10px; margin-bottom: 18px; }
.nnp-sec-title { font-size: 22px; color: #222; margin: 0; font-weight: 700; position: relative; padding-left: 14px; }
.nnp-sec-title::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 22px; background: #e84545; border-radius: 3px; }
.nnp-sec-more { color: #e84545; font-size: 14px; text-decoration: none; font-weight: 600; }
.nnp-sec-more:hover { text-decoration: underline; }

.nnp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.nnp-card { display: flex; flex-direction: column; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); text-decoration: none; transition: transform .25s, box-shadow .25s; color: #333; position: relative; }
.nnp-card:hover { transform: translateY(-6px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.nnp-card-img { position: relative; width: 100%; padding-top: 75%; background: #f2f2f2; overflow: hidden; }
.nnp-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nnp-card-fb { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#ffb07c,#ff8a5b); }
.nnp-card-fb span { color: #fff; font-size: 26px; font-weight: 700; opacity: .92; letter-spacing: 2px; }
.nnp-card:nth-child(6n+2) .nnp-card-fb { background: linear-gradient(135deg,#ffe08a,#ffd24d); }
.nnp-card:nth-child(6n+3) .nnp-card-fb { background: linear-gradient(135deg,#c9b6f0,#b49ae8); }
.nnp-card:nth-child(6n+4) .nnp-card-fb { background: linear-gradient(135deg,#b6e3a7,#8fcf7c); }
.nnp-card:nth-child(6n+5) .nnp-card-fb { background: linear-gradient(135deg,#a9d4f0,#7fb8e6); }
.nnp-card:nth-child(6n+6) .nnp-card-fb { background: linear-gradient(135deg,#d9b38c,#c49a6c); }
.nnp-card-body { padding: 10px 12px 14px; }
.nnp-card-badge { display: inline-block; background: #faf8f5; color: #f48120; font-size: 12px; padding: 2px 8px; border-radius: 4px; margin-bottom: 8px; }
.nnp-card-title { display: block; font-size: 15px; line-height: 1.4; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nnp-top-badge { position: absolute; left: 10px; top: 10px; z-index: 2; background: #e53935; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 7px; border-radius: 4px; }

.nnp-twocol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.nnp-col { min-width: 0; }
.nnp-col-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid #f48120; padding-bottom: 8px; margin-bottom: 10px; }
.nnp-col-title { font-size: 18px; margin: 0; color: #222; font-weight: 700; }
.nnp-col-more { font-size: 13px; color: #f48120; text-decoration: none; }
.nnp-col-more:hover { text-decoration: underline; }
.nnp-list { list-style: none; margin: 0; padding: 0; }
.nnp-list-item { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px dashed #eee; padding: 9px 0; }
.nnp-list-link { color: #555; font-size: 14px; text-decoration: none; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nnp-list-link:hover { color: #e84545; }
.nnp-list-cat { color: #e84545; font-size: 12px; font-style: normal; margin-right: 4px; }
.nnp-list-arrow { color: #e84545; font-weight: bold; margin-left: 8px; flex: 0 0 auto; }
.nnp-list-empty { color: #999; font-size: 14px; padding: 12px 0; }

.nnp-cta { margin: 30px auto; background: linear-gradient(120deg,#ff6b6b 0%,#f48120 55%,#ffb347 100%); border-radius: 16px; padding: 50px 20px; text-align: center; box-shadow: 0 8px 28px rgba(244,129,32,.25); }
.nnp-cta-title { color: #fff; font-size: 30px; margin: 0 0 12px; font-weight: 800; }
.nnp-cta-sub { color: #fff; opacity: .95; font-size: 15px; margin: 0 0 26px; }
.nnp-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.nnp-cta-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 160px; height: 48px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none; box-sizing: border-box; }
.nnp-cta-solid { background: #fff; color: #e84545; }
.nnp-cta-outline { background: transparent; border: 2px solid #fff; color: #fff; }

.nnp-cloud-wrap { background: #faf8f5; border-radius: 12px; padding: 18px 16px; }
.nnp-cloud-title { font-size: 16px; color: #222; font-weight: 700; margin: 0 0 10px; padding-left: 14px; position: relative; }
.nnp-cloud-title::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 20px; background: #f48120; border-radius: 3px; }
.nnp-cloud-row { margin-bottom: 6px; line-height: 1.9; text-align: center; }
.nnp-cloud-row a { display: inline-block; margin: 1px 6px; text-decoration: none; color: #666; font-size: 13px; }
.nnp-cloud-row a:hover { color: #e84545; text-decoration: underline; }
.nnp-cloud-row a.nnp-cloud-main { color: #f48120; font-weight: 700; }

@media (max-width: 768px) {
    .nnp-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .nnp-card { min-width: 0; }
    .nnp-twocol { grid-template-columns: minmax(0,1fr); gap: 18px; }
    .nnp-cta-title { font-size: 22px; }
    .nnp-cta-btn { min-width: 130px; height: 44px; font-size: 14px; padding: 0 18px; }
}
@media (max-width: 768px) { .detail-title { font-size: 26px; line-height: 1.3; } }
/* 分类列表：分类 / 置顶 / 标题 / 图片数 */
.info-list-cat { flex: 0 0 auto; color: #f48120; font-size: 14px; font-weight: 600; }
.info-list-photos { flex: 0 0 auto; color: #999; font-size: 12px; margin-left: auto; white-space: nowrap; }
.info-list-item .info-list-title { flex: 1; min-width: 0; }
.info-list-item .top-badge { flex: 0 0 auto; margin-right: 2px; }
/* 详情页品种介绍 / 推荐阅读 / 健康知识 */
.breed-intro { margin: 18px 0; padding: 16px 18px; background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.breed-intro h2 { color: #333; font-size: 18px; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px dashed #eee; }
.breed-intro p { color: #666; font-size: 14px; line-height: 1.8; margin: 0; }
.breed-intro .breed-disclaimer { color: #999; font-size: 12px; line-height: 1.6; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #eee; }
.recommend-reading { margin-top: 26px; border-top: 1px solid #eee; padding-top: 16px; }
.recommend-reading h3 { font-size: 18px; margin: 0 0 12px; }
.recommend-card { display: block; padding: 12px; margin-bottom: 10px; background: #fff; border: 1px solid #eee; border-radius: 8px; text-decoration: none; transition: .2s; }
.recommend-card:hover { border-color: #f48120; box-shadow: 0 3px 12px rgba(244,129,32,.12); }
.recommend-card strong { display: block; color: #222; font-size: 15px; margin-bottom: 5px; }
.recommend-card p { color: #777; font-size: 13px; line-height: 1.6; margin: 0; }
.health-side-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #f48120; padding-bottom: 8px; margin-bottom: 8px; }
.health-side-head h3 { font-size: 17px; margin: 0; }
.health-side-head a { color: #f48120; font-size: 12px; text-decoration: none; }
.health-side-list { list-style: none; margin: 0; padding: 0; }
.health-side-list li { border-bottom: 1px dashed #eee; padding: 8px 0; }
.health-side-list a { color: #555; font-size: 13px; line-height: 1.5; text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.health-side-list a:hover { color: #e84545; }
.recommend-single { display: flex; gap: 14px; align-items: flex-start; }
.recommend-thumb { flex: 0 0 150px; width: 150px; height: 105px; overflow: hidden; border-radius: 6px; background: #f2f2f2; }
.recommend-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recommend-info { flex: 1; min-width: 0; }
@media (max-width: 576px) { .recommend-single { flex-direction: column; } .recommend-thumb { width: 100%; flex-basis: auto; height: 180px; } }


.detail-content { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; margin-top: 20px; align-items: start; }
.detail-main { min-width: 0; }
.detail-health { align-self: start; position: sticky; top: 20px; }
@media (max-width: 992px) { .detail-content { grid-template-columns: 1fr; } }
.detail-wrap > .panel, .detail-wrap > div, .detail-content > * { min-width: 0; }
.detail-main h3 { margin-top: 22px; margin-bottom: 10px; }
.detail-main .description { margin-top: 8px; }
.detail-main .recommend-reading { margin-top: 22px; }
.detail-section { margin-top: 16px; padding: 16px 18px; background: #fffaf5; border-left: 4px solid var(--brand); border-radius: 8px; }
.detail-section:first-child { margin-top: 0; }
.detail-section .detail-section-title { margin: 0 0 10px; font-size: 21px; line-height: 1.35; font-weight: 800; color: #222; }
.detail-section .description { margin-top: 0; font-size: 15.5px; line-height: 2; color: #333; }
.detail-main .recommend-reading { margin-top: 24px; }
.detail-wrap > .panel, .detail-wrap > div > .panel { height: 100%; }
.detail-wrap .breed-intro { margin: 16px 0 0; }

.detail-wrap > div > .panel { display: flex; flex-direction: column; }
.detail-wrap > div > .panel .publisher { margin-top: auto; }
.detail-wrap { align-items: start; }
.detail-left, .detail-right { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.detail-wrap > .detail-left > .panel, .detail-wrap > .detail-right > .panel { height: auto; display: block; }
.detail-wrap > .detail-right > .panel .publisher { margin-top: 14px; }
.detail-left .breed-intro { margin: 0; }
.gallery-main.no-image { aspect-ratio: 4 / 3; height: auto; display: flex; align-items: center; justify-content: center; }
/* 健康知识栏固定占满右栏，避免标题长短导致左右伸缩 */
.detail-right > .detail-health { align-self: stretch; width: 100%; min-width: 0; }
.detail-health .health-side-list a { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 站务内容中心前台 */
.site-notice { background: #fff8e6; border-bottom: 1px solid #ffe2a8; color: #8a5a00; font-size: 13px; padding: 8px 0; }
.site-notice .container { display: flex; align-items: center; gap: 10px; }
.site-notice-label { background: var(--brand); color: #fff; border-radius: 3px; padding: 2px 7px; font-size: 12px; white-space: nowrap; }
.footer-links { border-top: 1px solid #333; padding: 12px 0; font-size: 12px; color: #888; }
.footer-links a { color: #aaa; margin-right: 14px; }
/* 详情页举报入口 */
.report-link { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border: 1px solid #f0c7c7; border-radius: 4px; background: #fff5f5; color: #d9534f; font-size: 13px; text-decoration: none; white-space: nowrap; }
.report-link:hover { background: #ffecec; border-color: #d9534f; color: #c9302c; }
/* 信息分类：手机端逐级展开 */
@media (max-width: 768px) {
    .nav-dropdown-panel { width: calc(100vw - 24px); max-height: 70vh; overflow: auto; }
    .nav-cat-children { position: static; width: auto; max-height: none; overflow: visible; display: none; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 4px 8px 8px; background: #fff9f4; border: 0; border-radius: 5px; box-shadow: none; }
    .nav-cat-item:hover > .nav-cat-children { display: none; }
    .nav-cat-item.active > .nav-cat-children { display: grid; }
    .nav-cat-parent { white-space: normal; }
}
