/*
 * ApparaatVinder – aanvullende vormgeving. Eigen klassen: "av-".
 * Kleuren en lettertypen volgen REHub; definitieve huisstijl volgt later.
 */

.av-page { max-width: 960px; margin: 0 auto; padding: 0 16px 32px; }
.av-header { margin: 8px 0 16px; }
.av-intro, .av-content { line-height: 1.6; }

.av-section { margin: 32px 0; }

.av-box {
	margin: 24px 0;
	padding: 16px 20px;
	border: 1px solid #dfe3e8;
	border-radius: 6px;
	background: #f7f8fa;
}
.av-box-title { margin: 0 0 8px; font-size: 1.1em; }
.av-box-subtitle { margin: 16px 0 4px; font-size: 1em; }

.av-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; }
.av-facts dt { font-weight: 600; }
.av-facts dd { margin: 0; }

.av-sources, .av-list { margin: 0; padding-left: 20px; }

.av-button {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 4px;
	background: #1f4e79;
	color: #fff !important;
	text-decoration: none;
}
.av-button:focus-visible, .av-page a:focus-visible { outline: 3px solid #f2a541; outline-offset: 2px; }

.av-affiliate-notice { margin: 24px 0; font-size: .9em; color: #555; }
.av-editor-note { margin: 24px 0; padding: 8px 12px; border-left: 4px solid #f2a541; background: #fff8ec; font-size: .9em; }
.av-unavailable { color: #444; }

.av-brand { margin: 0; font-size: .9em; text-transform: uppercase; letter-spacing: .04em; color: #555; }
.av-specs { width: 100%; border-collapse: collapse; }
.av-specs th, .av-specs td { padding: 8px 10px; border-bottom: 1px solid #dfe3e8; text-align: left; vertical-align: top; }
.av-specs .av-unknown { color: #666; font-style: italic; }

/* Filters en productlijst */
.av-filters { padding: 12px 16px; border: 1px solid #dfe3e8; border-radius: 6px; background: #f7f8fa; }
.av-filters summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; gap: 8px; }
.av-badge { padding: 2px 8px; border-radius: 10px; background: #1f4e79; color: #fff; font-size: .8em; font-weight: 400; }
.av-fieldset { margin: 12px 0; padding: 0; border: 0; }
.av-fieldset legend { padding: 0; font-weight: 600; }
.av-check { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.av-count { color: #666; }
.av-fieldset input[type="number"] { width: 7em; margin: 0 12px 0 4px; }
.av-sort select { margin-left: 8px; }
.av-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 0; }
.av-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.av-chips a { display: inline-block; padding: 4px 10px; border: 1px solid #1f4e79; border-radius: 14px; text-decoration: none; }
.av-result-count { margin: 16px 0 8px; font-weight: 600; }
.av-note { font-size: .9em; color: #444; }
.av-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 16px 0; padding: 0; list-style: none; }
.av-card { padding: 14px 16px; border: 1px solid #dfe3e8; border-radius: 6px; background: #fff; }
.av-card-title { font-weight: 600; }
.av-card .av-facts { margin-top: 8px; }
.av-card .av-unknown { color: #666; font-style: italic; }
.av-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.av-pagination a, .av-pagination span { display: inline-block; min-width: 40px; padding: 8px 12px; border: 1px solid #dfe3e8; border-radius: 4px; text-align: center; }
.av-pagination span[aria-current] { background: #1f4e79; color: #fff; border-color: #1f4e79; }
.av-filters input:focus-visible, .av-filters select:focus-visible, .av-filters summary:focus-visible, .av-button:focus-visible, .av-chips a:focus-visible { outline: 3px solid #f2a541; outline-offset: 2px; }

/* Keuzehulp */
.av-progress { margin: 0 0 12px; font-weight: 600; }
.av-finder-form input[type="number"] { width: 8em; margin: 0 16px 8px 8px; min-height: 44px; }
.av-finder-form .av-check { min-height: 44px; }
.av-finder-nav { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.av-finder-nav .av-next-button { order: 3; }
.av-finder-nav .av-secondary { order: 2; background: #fff; color: #1f4e79 !important; border: 1px solid #1f4e79; }
.av-finder-nav .av-prev-button { order: 1; }
.av-finder-nav .av-button { min-height: 44px; cursor: pointer; border: 1px solid #1f4e79; }
.av-recommendations { display: grid; gap: 16px; padding: 0; list-style: none; }
.av-reasons { margin: 0; padding-left: 0; list-style: none; }
.av-reason { margin: 4px 0; padding-left: 10px; border-left: 4px solid #dfe3e8; }
.av-reason.av-ja { border-left-color: #2e7d32; }
.av-reason.av-nee { border-left-color: #c62828; }
.av-reason.av-onbekend { border-left-color: #f2a541; }

/* Aanbiedingen en reviewanalyse */
.av-offer-list { margin: 0; padding: 0; list-style: none; }
.av-offer { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid #dfe3e8; }
.av-offer-shop { min-width: 7em; font-weight: 600; }
.av-offer-price { font-size: 1.1em; }
.av-offer-price.av-unknown { color: #666; font-style: italic; font-size: 1em; }

@media (max-width: 600px) {
	.av-specs thead { position: absolute; left: -9999px; }
	.av-specs tr { display: block; margin-bottom: 8px; }
	.av-specs th, .av-specs td { display: block; border: 0; padding: 2px 0; }
	.av-facts { grid-template-columns: 1fr; }
	.av-box { padding: 12px 14px; }
}
