/* Bilhandlare branding over the unchanged BV_V1 layout. */
:root { --dealer-accent:#69dcc1; --yellow:var(--dealer-accent); }
.wordmark-symbol,.footer-brand .wordmark-symbol { width:44px; height:44px; }
@media (max-width:560px) {
    .site-header .wordmark-symbol { width:32px; height:32px; }
}
@media (max-width:360px) {
    .site-header .wordmark>span { font-size:19px; }
    .site-header .wordmark--symbol { gap:6px; }
    .site-header .wordmark small { font-size:9px; }
}
.wordmark b,.wordmark--symbol b { color:var(--dealer-accent); }
.search-field:focus-within { outline-color:var(--dealer-accent); }
.button-yellow:hover { background:#59c9aa; border-color:#59c9aa; }
.service-item:hover { background:#effbf7; border-color:#59c9aa; }
.page-catalog .dealer-shortcuts { grid-template-columns:repeat(4,minmax(0,1fr)); grid-auto-flow:row; }
.dealer-shortcuts .service-item { min-width:0; }
.dealer-shortcuts .service-item:focus-visible { outline:2px solid #17533f; outline-offset:2px; }
@media (max-width:600px) {
    .page-catalog .dealer-shortcuts { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-columns:auto; overflow:visible; }
    .page-catalog .dealer-shortcuts .service-item { min-height:48px; padding:8px 6px; }
    .dealer-shortcuts .service-item strong { font-size:12px; overflow-wrap:break-word; }
}
.sample-label { color:#17533f; background:#d9f6eb; }
.key-dot.authorized { background:var(--green); }
.catalog-home:not(.catalog-search-active) .map-unavailable { bottom:80px; z-index:700; }
@media (min-width:801px) {
    .page-map.map-results-visible .map-unavailable { left:auto; right:52px; max-width:min(380px,calc(100vw - 510px)); }
}

/* Section spacing and headings already separate these areas. */
.page-catalog .catalog-related,
.page-catalog .brand-guide,
.page-catalog .catalog-events,
.page-catalog .facility-sources,
.page-catalog .brand-search,
.page-catalog .results-related #nearby-links:not(:empty) + .evidence-note { border-top:0; }
.page-catalog .brand-search { border-bottom:0; }
.page-catalog .inventory-make-summary { border-bottom:0; }
.page-catalog .inventory-table tbody tr:last-child td { border-bottom:0; }
.page-catalog .inventory-primary-facts > div { border-bottom:0; }
@media (min-width:761px) {
    .catalog-related-links > li:nth-child(4n+1):nth-last-child(-n+4),
    .catalog-related-links > li:nth-child(4n+1):nth-last-child(-n+4) ~ li { border-bottom:0; }
}
@media (min-width:481px) and (max-width:760px) {
    .catalog-related-links > li:nth-child(2n+1):nth-last-child(-n+2),
    .catalog-related-links > li:nth-child(2n+1):nth-last-child(-n+2) ~ li { border-bottom:0; }
}
@media (max-width:480px) {
    .catalog-related-links > li:last-child { border-bottom:0; }
}
.dealer-error { max-width:760px; min-height:50vh; padding-block:64px; }
.dealer-error h1 { margin-bottom:16px; }
.dealer-error p { margin-bottom:24px; line-height:1.6; }
.dealer-error .dealer-error-actions { display:flex; flex-wrap:wrap; gap:12px; }

/* The results panel is the card; individual dealers share simple dividers. */
.page-catalog:not(.page-map) .workshop-rows { gap:0; }
.page-catalog:not(.page-map) .results-panel .workshop-row {
    border:0;
    border-radius:0;
    box-shadow:none;
    background:transparent;
    padding:14px 0;
}
.page-catalog:not(.page-map) .results-panel .workshop-row + .workshop-row {
    border-top:1px solid var(--line);
}

.catalog-detail-stock { margin:0 0 16px; font-size:16px; line-height:1.5; }
.catalog-detail-stock small { display:block; color:var(--muted); font-size:12px; }

/* Keep map details focused on stock, sales facts and contact information. */
#details-dialog .catalog-detail-stock { margin:0; }
#details-dialog .catalog-detail-stock strong { color:var(--ink); font-size:20px; }
#details-dialog .catalog-detail-inventory { margin-bottom:20px; }
#details-dialog .catalog-detail-inventory .catalog-detail-actions { margin:12px 0 0; }
#details-dialog .catalog-detail-sales { display:grid; gap:6px; padding:0; margin:0 0 18px; list-style:none; font-size:13px; line-height:1.5; }
#details-dialog .details-grid { grid-template-columns:80px minmax(0,1fr); line-height:1.5; }
#details-dialog .catalog-detail-footer { margin-top:18px; padding-top:16px; border-top:1px solid var(--line); }
#details-dialog .catalog-detail-footer a { display:inline-flex; align-items:center; gap:8px; }

/* Stock links use one weight for totals, make counts and shared stock. */
.workshop-evidence a.workshop-stock { display:flex; align-items:center; gap:4px; width:fit-content; max-width:100%; font-weight:700; }
.workshop-evidence a.workshop-stock strong { font-weight:inherit; }
.workshop-evidence a.workshop-stock > .lucide { width:14px; height:14px; flex-shrink:0; stroke-width:2; }

/* Simple information page. */
.information-wrap { max-width:820px; padding-top:36px; padding-bottom:48px; }
.information-card { padding:36px 40px; background:#fff; border:1px solid var(--line); border-radius:8px; }
.information-card h1 { margin:0 0 20px; font-size:30px; line-height:1.2; }
.information-card h2 { margin:28px 0 10px; font-size:20px; line-height:1.3; }
.information-card p { margin:0 0 12px; color:var(--muted); font-size:16px; line-height:1.7; }
.information-card p:last-child { margin-bottom:0; }
.information-card section { scroll-margin-top:24px; }
@media (max-width:560px) {
 .information-wrap { padding-top:20px; padding-bottom:28px; }
 .information-card { padding:24px; }
 .information-card h1 { font-size:26px; }
}
