/* ==========================================================================
   Shop and category archives
   ========================================================================== */

.dr-archive-hero {
	background: var(--cream);
	padding-block: 28px 44px;
}

.dr-archive-hero__title {
	margin: 18px 0 14px;
	font-size: clamp(44px, 6vw, 64px);
	line-height: 1;
}

.dr-archive-hero__intro {
	max-width: 38em;
	color: var(--muted);
}

.dr-archive-hero__intro p {
	margin: 0 0 0.8em;
}

/* Category circles */
.dr-circles {
	position: relative;
	display: flex;
	gap: 18px;
	margin-top: 22px;
	padding: 4px 4px 8px;
	overflow-x: auto;
	scrollbar-width: none;
}

.dr-circles li {
	flex: none;
}

.dr-circle {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 104px;
	font-size: 14px;
	text-align: center;
	line-height: 1.3;
	text-decoration: none;
}

.dr-circle__ring {
	display: block;
	width: 96px;
	height: 96px;
	padding: 6px;
	border-radius: 50%;
	background: var(--ring, var(--blush));
	transition: transform 0.3s ease;
}

.dr-circle:hover .dr-circle__ring {
	transform: translateY(-3px);
}

.dr-circle[aria-current="page"] .dr-circle__ring {
	box-shadow: 0 0 0 2px var(--ink);
}

.dr-circle__img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

/* Toolbar: filters + count + sorting */
.dr-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-block: 32px 22px;
	margin-bottom: 36px;
	border-bottom: 1px solid var(--line);
}

.dr-filters {
	position: relative; /* keeps screen-reader text inside the mobile scroller */
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dr-filter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1px #e2d6cb;
	font-size: 14px;
	text-decoration: none;
}

.dr-filter:hover {
	box-shadow: inset 0 0 0 1.5px var(--ink);
	color: var(--ink);
}

.dr-filter.is-active {
	background: var(--ink);
	box-shadow: none;
	color: #fff;
}

.dr-toolbar__meta {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 14px;
	color: var(--muted);
}

.woocommerce-ordering {
	margin: 0;
}

.woocommerce-ordering select {
	height: 44px;
	padding: 0 40px 0 16px;
	border: 1px solid #e2d6cb;
	border-radius: 999px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%233B2B22' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center;
	font: inherit;
	font-size: 14px;
	color: var(--ink);
	appearance: none;
	cursor: pointer;
}

/* Editorial tile */
.dr-grid__item--tile {
	--tint: var(--sage);
}

.dr-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 18px;
	height: 100%;
	min-height: 380px;
	padding: 36px 30px;
	overflow: hidden;
	border-radius: var(--radius-card);
	background: var(--sage);
	text-decoration: none;
}

.dr-tile:hover {
	color: var(--ink);
}

.dr-tile__label {
	color: #4f5d45;
}

.dr-tile__title {
	font-family: var(--font-heading);
	font-size: clamp(30px, 3vw, 38px);
	line-height: 1.05;
}

.dr-tile__title em {
	color: inherit;
}

.dr-tile__btn {
	align-self: flex-start;
}

.dr-tile:hover .dr-tile__btn {
	background: var(--ink-hover);
}

.dr-tile .dr-icon {
	position: absolute;
	top: 22px;
	right: 22px;
	color: var(--paper);
}

/* Load more + pagination */
.dr-loadmore {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin-top: 56px;
	text-align: center;
}

.dr-loadmore__count {
	margin: 0;
	font-size: 14px;
	color: var(--muted);
}

.dr-loadmore__bar {
	display: block;
	width: 220px;
	height: 4px;
	overflow: hidden;
	border-radius: 2px;
	background: var(--line);
}

.dr-loadmore__bar span {
	display: block;
	height: 100%;
	background: var(--caramel-deep);
	transition: width 0.4s ease;
}

.dr-loadmore__btn {
	min-height: 54px;
	margin-top: 6px;
	padding: 0 34px;
}

.dr-loadmore__btn[aria-busy="true"] {
	opacity: 0.6;
	pointer-events: none;
}

/* Real pagination stays in the HTML for crawlers and no-JS; JS hides it. */
.dr-loadmore.is-enhanced .woocommerce-pagination {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border-radius: 22px;
	text-decoration: none;
}

.woocommerce-pagination .current {
	background: var(--ink);
	color: #fff;
}

.dr-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding-block: 48px;
	text-align: center;
}

/* Bottom SEO text + FAQ */
.dr-seo {
	display: flex;
	flex-wrap: wrap;
	gap: 64px;
	padding-top: var(--section);
}

.dr-seo__text,
.dr-seo__faq {
	flex: 1 1 460px;
	min-width: 0;
}

.dr-seo__text h2 {
	font-size: clamp(32px, 3.4vw, 40px);
	line-height: 1.1;
}

@media (max-width: 699px) {
	.dr-archive-hero {
		padding-block: 18px 28px;
	}

	.dr-toolbar {
		padding-top: 22px;
		margin-bottom: 26px;
	}

	.dr-filters {
		flex-wrap: nowrap;
		width: calc(100% + 2 * var(--gutter));
		margin-inline: calc(-1 * var(--gutter));
		padding-inline: var(--gutter);
		overflow-x: auto;
		scrollbar-width: none;
	}

	.dr-filter {
		white-space: nowrap;
	}

	.dr-toolbar__meta {
		width: 100%;
		justify-content: space-between;
	}

	.dr-tile {
		min-height: 0;
		padding: 22px 18px;
	}

	.dr-tile .dr-icon {
		display: none;
	}

	.dr-seo {
		gap: 40px;
	}
}

/* "Lees ook": blog posts about this category */
.dr-cat-posts {
	padding-top: var(--section);
}

.dr-cat-posts__title {
	margin-bottom: 32px;
	font-size: clamp(32px, 3.6vw, 40px);
}
