/* Wheelerworks Random Sale — countdown + sale badge (huisstijl). */

/* Prominent countdown bar at the top of the Aanbiedingen page. */
.ww-rs-aanb-countdown {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	flex-wrap: wrap;
	background: #111;
	color: #fff;
	font-weight: 600;
	font-size: 1.05em;
	text-align: center;
	padding: .7em 1em;
	border-radius: 8px;
	margin: 0 0 1.25em;
}
.ww-rs-aanb-countdown .ww-rs-countdown {
	background: #7cb83a;
	color: #fff;
	padding: .15em .55em;
	border-radius: 5px;
	font-variant-numeric: tabular-nums;
	letter-spacing: .5px;
	white-space: nowrap;
}

/* Note: the -XX% sale badge is the standard WooCommerce .onsale flash (top-right),
   themed globally by mu-plugin ww-sale-badge-nl.php — no badge CSS lives here, so the
   /aanbiedingen/ cards stay 1:1 with the shop archive. */

/* Single product page countdown box (next to the price). */
.ww-rs-countdown-box {
	display: flex;
	align-items: center;
	gap: .5em;
	flex-wrap: wrap;
	background: #f6f6f6;
	border: 1px solid #e0e0e0;
	border-left: 4px solid #e30613;
	border-radius: 6px;
	padding: .6em .8em;
	margin: .5em 0 1em;
	font-weight: 600;
}
.ww-rs-countdown-box .ww-rs-countdown {
	background: #7cb83a;
	color: #fff;
	padding: .12em .5em;
	border-radius: 4px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* ===== Aanbiedingen sorter + custom filters (scope: /aanbiedingen/) ===== */
.ww-aanb-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.ww-aanb-count { margin: 0; font-size: 1.05em; flex: 1 1 auto; }
.ww-aanb-filter-toggle { display: none; }
.ww-aanb-sortform { display: flex; align-items: center; gap: 6px; margin: 0; }
.ww-aanb-sortlabel { font-size: .9em; color: var(--ww-text-muted, #666); }
.ww-aanb-sortform select { padding: 6px 28px 6px 10px; border: 1px solid var(--ww-border, #e0e0e0); border-radius: 6px; background: #fff; font-size: .95em; }

.ww-aanb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ww-aanb-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--ww-green-light, #edf6e1); color: #2e4d12; border: 1px solid #cfe3b3; border-radius: 16px; padding: 4px 12px; font-size: .88em; text-decoration: none; line-height: 1.2; }
.ww-aanb-chip span { font-weight: 700; }
.ww-aanb-chip--clear { background: #f3f3f3; color: #444; border-color: #ddd; }

.ww-aanb-layout { display: flex; align-items: flex-start; gap: 24px; }
.ww-aanb-sidebar { flex: 0 0 240px; width: 240px; background: #fff; border: 1px solid var(--ww-border, #e0e0e0); border-radius: 8px; padding: 16px; position: static; align-self: flex-start; }
.ww-aanb-sidebar__head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 1.05em; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid #eee; }
.ww-aanb-clear { font-size: .82em; font-weight: 600; color: var(--ww-red, #e03535); text-decoration: none; }
.ww-aanb-facet { margin: 0 0 16px; }
.ww-aanb-facet__title { font-size: .95em; font-weight: 700; margin: 0 0 8px; }
.ww-aanb-facet__list { list-style: none; margin: 0; padding: 0; }
.ww-aanb-facet__item { margin: 0 0 4px; }
.ww-aanb-facet__item label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: .9em; }
.ww-aanb-facet__item input { margin: 0; flex: 0 0 auto; }
.ww-aanb-facet__name { flex: 1 1 auto; }
.ww-aanb-facet__count { color: var(--ww-text-muted, #888); font-size: .85em; }
.ww-aanb-price { display: flex; align-items: center; gap: 8px; }
.ww-aanb-price label { display: inline-flex; align-items: center; gap: 2px; font-size: .9em; }
.ww-aanb-price input { width: 64px; padding: 5px 6px; border: 1px solid var(--ww-border, #e0e0e0); border-radius: 5px; }
.ww-aanb-apply { width: 100%; margin-top: 6px; }
.ww-aanb-results { flex: 1 1 auto; min-width: 0; }
.ww-aanb-noresults { padding: 30px 0; font-size: 1.05em; }

@media (max-width: 782px) {
	.ww-aanb-filter-toggle { display: inline-block; order: 3; }
	.ww-aanb-layout { display: block; }
	.ww-aanb-sidebar { display: none; width: auto; position: static; margin: 0 0 16px; }
	.ww-aanb-sidebar.is-open { display: block; }
}

/* Blok 6: meer ruimte tussen de groene scheidingslijn en de H1 "Aanbiedingen". */
body.page-id-3587597 .ww-page-main { padding-top: 40px; }
