/* AUTOBOSS product description — v1 (plan: DETAIL-001 artifacts/2026-10-08-Detail内容适配规划.md)
 * Adapted from the TESVX final description style (detail-style-pack-261008): catalogue layout, hairline sections,
 * soft grey panels, text labels instead of icons, theme colour reserved for "pay attention".
 * Local changes: abd- prefix, no fitment table/filter, page fonts (--abtd-font / --abtd-num tabular figures), no JS.
 * Selectors repeat the class (.abd-pd.abd-pd) so they outrank the detail plugin's `.abtd .abtd-rich` rules.
 * Headings start at h3 because the detail page titles this block with an h2 "Details".
 */
.abd-pd.abd-pd {
	--abd-ink: var(--abtd-text, rgba(9, 9, 10, .92));
	--abd-body: rgba(9, 9, 10, .76);
	--abd-muted: rgba(9, 9, 10, .56);
	--abd-line: var(--abtd-line, rgba(31, 31, 51, .1));
	--abd-fill: var(--abtd-fill-2, #f7f7f7);
	--abd-accent: var(--abtd-accent, var(--theme-palette-color-2, #fdb016));
	--abd-accent-text: var(--abtd-price, color-mix(in srgb, var(--theme-palette-color-2, #fdb016) 42%, #5a3300));
	--abd-accent-soft: var(--abtd-soft, color-mix(in srgb, var(--theme-palette-color-2, #fdb016) 12%, #fff));
	--abd-radius: var(--autoboss-radius-large, 12px);
	--abd-radius-s: var(--autoboss-radius-small, 4px);
	--abd-sans: var(--abtd-font, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif);
	--abd-num: var(--abtd-num, "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif);
	color: var(--abd-body);
	font-family: var(--abd-sans);
	font-size: 15px;
	line-height: 1.75;
	max-width: 1080px;
	margin: 0 auto;
}
/* bottom breathing room before the next module: matches the 24px the add-to-cart card keeps above it.
 * Phones (≤768px, detail plugin mobile layout) already pad the white Details card, so only wider layouts get it. */
@media (min-width: 769px) {
	.abd-pd.abd-pd { padding-bottom: 24px; }
}
.abd-pd.abd-pd *, .abd-pd.abd-pd *::before, .abd-pd.abd-pd *::after { box-sizing: border-box; }
.abd-pd.abd-pd :is(h3, h4, h5) { margin: 0; font-family: var(--abd-sans); font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.35; color: var(--abd-ink); }
.abd-pd.abd-pd p { margin: 0; }
.abd-pd.abd-pd :is(ul, ol, dl) { margin: 0; padding: 0; list-style: none; }
.abd-pd.abd-pd li { margin: 0; }
.abd-pd.abd-pd b { font-weight: 600; }
.abd-pd.abd-pd a { color: var(--abd-ink); text-decoration: underline; text-decoration-color: var(--abd-line); text-underline-offset: 3px; }
.abd-pd.abd-pd a:hover { text-decoration-color: currentColor; }
.abd-pd.abd-pd img { display: block; width: 100%; max-width: 100%; height: auto; margin: 0; border-radius: var(--abd-radius); background: var(--abd-fill); }

/* small text label — the one "tag" shape used everywhere (facts, Good to Know groups) */
.abd-pd.abd-pd .abd-tag, .abd-pd.abd-pd .abd-facts li { display: inline-block; padding: 3px 10px; border-radius: var(--abd-radius-s); background: var(--abd-fill); font-family: var(--abd-sans); font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--abd-ink); }

/* intro */
.abd-pd.abd-pd .abd-hero { padding: 0 0 28px; }
.abd-pd.abd-pd .abd-hero h3 { margin-bottom: 12px; font-size: 20px; line-height: 1.3; }
.abd-pd.abd-pd .abd-lead { font-size: 16px; line-height: 1.75; color: var(--abd-ink); }
.abd-pd.abd-pd .abd-lead + .abd-lead { margin-top: 8px; }
.abd-pd.abd-pd .abd-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* sections: hairline, plain heading */
.abd-pd.abd-pd .abd-sec { padding: 28px 0 32px; border-top: 1px solid var(--abd-line); }
.abd-pd.abd-pd .abd-sec:last-child { padding-bottom: 0; }
.abd-pd.abd-pd .abd-sec > h4 { margin-bottom: 18px; font-size: 18px; }

/* key features: soft panels, numeric index, bold title */
.abd-pd.abd-pd .abd-features { counter-reset: abd-f; display: grid; grid-template-columns: 1fr; gap: 10px; }
.abd-pd.abd-pd .abd-features li { counter-increment: abd-f; padding: 16px 18px; border-radius: var(--abd-radius); background: var(--abd-fill); }
.abd-pd.abd-pd .abd-features li::before { content: counter(abd-f, decimal-leading-zero); display: block; margin-bottom: 6px; font-family: var(--abd-num); font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 500; line-height: 1.4; color: var(--abd-muted); }
.abd-pd.abd-pd .abd-features h5 { margin-bottom: 4px; font-size: 15px; }
.abd-pd.abd-pd .abd-features p { font-size: 14px; line-height: 1.65; }
@media (min-width: 600px) {
	.abd-pd.abd-pd .abd-features { grid-template-columns: 1fr 1fr; }
}

/* highlights: picture first, short caption under it; two-up where the column allows */
.abd-pd.abd-pd .abd-sec.abd-hls { display: grid; grid-template-columns: 1fr; gap: 28px 20px; }
.abd-pd.abd-pd .abd-sec.abd-hls > h4 { grid-column: 1 / -1; margin-bottom: -10px; }
.abd-pd.abd-pd .abd-hl { margin: 0; }
.abd-pd.abd-pd .abd-hl img { aspect-ratio: 1 / 1; object-fit: cover; }
.abd-pd.abd-pd .abd-hl figcaption { margin: 0; padding: 12px 0 0; text-align: left; font: inherit; color: inherit; }
.abd-pd.abd-pd .abd-hl h5 { margin-bottom: 4px; font-size: 15px; }
.abd-pd.abd-pd .abd-hl p { font-size: 14px; line-height: 1.65; }
@media (min-width: 600px) {
	.abd-pd.abd-pd .abd-sec.abd-hls { grid-template-columns: 1fr 1fr; }
}

/* single supporting picture inside a section (e.g. package contents) */
.abd-pd.abd-pd .abd-fig { margin: 20px 0 0; max-width: 560px; }
.abd-pd.abd-pd .abd-fig figcaption { margin: 0; padding: 8px 0 0; text-align: left; font: inherit; font-size: 13px; color: var(--abd-muted); }

/* tables: framed, grey header / label column for easy scanning */
.abd-pd.abd-pd .abd-table-wrap { overflow-x: auto; border: 1px solid var(--abd-line); border-radius: var(--abd-radius); }
.abd-pd.abd-pd table.abd-table { width: 100%; border-collapse: collapse; margin: 0; border: 0; font-size: 14px; line-height: 1.6; }
.abd-pd.abd-pd .abd-table :is(th, td) { padding: 11px 14px; text-align: left; vertical-align: top; background: none; border: 0; border-bottom: 1px solid var(--abd-line); color: var(--abd-ink); overflow-wrap: normal; word-break: normal; }
.abd-pd.abd-pd .abd-table tr:last-child :is(th, td) { border-bottom: 0; }
.abd-pd.abd-pd .abd-table thead th { background: var(--abd-fill); font-size: 13px; font-weight: 600; color: var(--abd-body); }
.abd-pd.abd-pd .abd-specs th { width: 36%; background: var(--abd-fill); font-size: 13px; font-weight: 500; color: var(--abd-body); }
.abd-pd.abd-pd .abd-compare tbody th { min-width: 9em; background: none; font-size: 13px; font-weight: 500; color: var(--abd-body); }
.abd-pd.abd-pd .abd-compare .is-current { font-weight: 600; }
.abd-pd.abd-pd .abd-note { margin-top: 12px; font-size: 13px; color: var(--abd-muted); }

/* in the box: quantity as a numeric label */
.abd-pd.abd-pd .abd-box li { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--abd-line); color: var(--abd-ink); }
.abd-pd.abd-pd .abd-box li:first-child { padding-top: 0; }
.abd-pd.abd-pd .abd-box li:last-child { border-bottom: 0; padding-bottom: 0; }
.abd-pd.abd-pd .abd-qty { flex: none; min-width: 2.6em; font-family: var(--abd-num); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 500; color: var(--abd-body); }

/* parameters panel (how to use / updates & support) + numbered steps */
.abd-pd.abd-pd .abd-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px 24px; margin: 0 0 20px; padding: 14px 18px; border-radius: var(--abd-radius); background: var(--abd-fill); }
.abd-pd.abd-pd .abd-meta:last-child { margin-bottom: 0; }
.abd-pd.abd-pd .abd-meta dt { font-size: 12px; color: var(--abd-muted); }
.abd-pd.abd-pd .abd-meta dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--abd-ink); }
.abd-pd.abd-pd .abd-steps { counter-reset: abd-s; }
.abd-pd.abd-pd .abd-steps li { counter-increment: abd-s; position: relative; padding: 0 0 12px 38px; color: var(--abd-ink); }
.abd-pd.abd-pd .abd-steps li:last-child { padding-bottom: 0; }
.abd-pd.abd-pd .abd-steps li::before { content: counter(abd-s); position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: var(--abd-radius-s); background: var(--abd-fill); font-family: var(--abd-num); font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 500; line-height: 24px; text-align: center; color: var(--abd-ink); }
.abd-pd.abd-pd .abd-steps b { display: block; }
.abd-pd.abd-pd .abd-steps span { display: block; font-size: 14px; line-height: 1.65; color: var(--abd-body); }
.abd-pd.abd-pd .abd-text p + p { margin-top: 10px; }

/* good to know: labelled groups; the caution label is the only coloured label in the block */
.abd-pd.abd-pd .abd-notes { display: grid; grid-template-columns: 1fr; gap: 22px 32px; }
.abd-pd.abd-pd .abd-note-group h5 { margin-bottom: 10px; }
.abd-pd.abd-pd .abd-note-group.is-caution .abd-tag { background: var(--abd-accent-soft); color: var(--abd-accent-text); }
.abd-pd.abd-pd .abd-note-group li { position: relative; padding: 0 0 8px 16px; font-size: 14px; line-height: 1.65; }
.abd-pd.abd-pd .abd-note-group li:last-child { padding-bottom: 0; }
.abd-pd.abd-pd .abd-note-group li::before { content: ""; position: absolute; left: 1px; top: .82em; width: 5px; height: 5px; border-radius: 50%; background: var(--abd-muted); }
.abd-pd.abd-pd .abd-note-group.is-caution li { color: var(--abd-ink); }
.abd-pd.abd-pd .abd-note-group.is-caution li::before { background: var(--abd-accent); }
@media (min-width: 600px) {
	.abd-pd.abd-pd .abd-notes:has(.abd-note-group + .abd-note-group) { grid-template-columns: 1fr 1fr; }
}

/* FAQ — native exclusive accordion via <details name="abd-faq"> */
.abd-pd.abd-pd details.abd-faq { border-bottom: 1px solid var(--abd-line); }
.abd-pd.abd-pd details.abd-faq:first-of-type { border-top: 1px solid var(--abd-line); }
.abd-pd.abd-pd .abd-faq summary { position: relative; padding: 14px 32px 14px 0; list-style: none; cursor: pointer; font-weight: 600; color: var(--abd-ink); }
.abd-pd.abd-pd .abd-faq summary::-webkit-details-marker { display: none; }
.abd-pd.abd-pd .abd-faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.5px solid var(--abd-muted); border-bottom: 1.5px solid var(--abd-muted); transform: rotate(45deg); transition: transform .2s; }
.abd-pd.abd-pd .abd-faq[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
.abd-pd.abd-pd .abd-faq p { padding: 0 32px 16px 0; font-size: 14px; line-height: 1.7; }

@media (max-width: 600px) {
	.abd-pd.abd-pd { font-size: 14px; }
	.abd-pd.abd-pd .abd-hero h3 { font-size: 18px; }
	.abd-pd.abd-pd .abd-lead { font-size: 15px; }
	.abd-pd.abd-pd .abd-sec { padding: 24px 0 28px; }
	.abd-pd.abd-pd .abd-sec > h4 { font-size: 17px; }
	.abd-pd.abd-pd .abd-specs th { width: 40%; }
	.abd-pd.abd-pd .abd-table :is(th, td) { padding: 10px 12px; }
}
@media print {
	.abd-pd.abd-pd details.abd-faq > p { display: block; }
}
