/* ==========================================================================
   Duarosa: main stylesheet
   Colour, font and size tokens come from theme.json (--wp--preset--*).
   ========================================================================== */

:root {
	--ink: var(--wp--preset--color--ink);
	--ink-hover: var(--wp--preset--color--ink-hover);
	--muted: var(--wp--preset--color--text-muted);
	--caramel: var(--wp--preset--color--caramel);
	--caramel-deep: var(--wp--preset--color--caramel-deep);
	--cream: var(--wp--preset--color--cream);
	--paper: var(--wp--preset--color--paper);
	--blush: var(--wp--preset--color--blush);
	--sage: var(--wp--preset--color--sage);
	--butter: var(--wp--preset--color--butter);
	--sky: var(--wp--preset--color--sky);
	--line: var(--wp--preset--color--line);
	--line-strong: #e6dbd0;

	--font-heading: var(--wp--preset--font-family--heading);
	--font-body: var(--wp--preset--font-family--body);
	--font-label: var(--wp--preset--font-family--label);

	--max: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(64px, 9vw, 112px);
	--radius-card: 24px;
	--radius-panel: clamp(24px, 3vw, 40px);
	--arch: 999px 999px 24px 24px;
	--focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--caramel-deep);
}

/* Base ------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	overflow-x: clip;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration-color: var(--caramel);
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--caramel-deep);
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: none;
	box-shadow: var(--focus);
	border-radius: 6px;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-heading);
	font-weight: 400;
	line-height: 1.08;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

h1 em,
h2 em,
h3 em {
	color: var(--caramel-deep);
}

:where(ul[role="list"]) {
	list-style: none;
	margin: 0;
	padding: 0;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.dr-skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	background: var(--ink);
	color: #fff;
	padding: 12px 20px;
	border-radius: 999px;
	text-decoration: none;
}

.dr-skip:focus {
	top: 16px;
	color: #fff;
}

/* Honeypot fields. */
.dr-hp {
	position: absolute;
	left: -9999px;
}

.dr-container {
	max-width: calc(var(--max) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.dr-section {
	padding-block: var(--section);
}

.dr-label {
	font-family: var(--font-label);
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

/* Buttons, pills, stickers ---------------------------------------------- */

.dr-btn,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s;
}

.dr-btn:hover {
	background: var(--ink-hover);
	color: #fff;
}

.dr-btn--outline {
	background: transparent;
	color: var(--ink);
	box-shadow: inset 0 0 0 1.5px var(--ink);
}

.dr-btn--outline:hover {
	background: var(--ink);
	color: #fff;
}

.dr-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--ink);
	cursor: pointer;
}

.dr-icon-btn--white {
	background: #fff;
}

.dr-pill {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--cream);
	color: var(--caramel-deep);
	font-family: var(--font-label);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.4;
}

.dr-sticker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--caramel-deep);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	transform: rotate(-10deg);
}

/* Header ---------------------------------------------------------------- */

.dr-header {
	position: relative;
	z-index: 50;
	background: var(--cream);
}

.dr-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	max-width: calc(var(--max) + 2 * var(--gutter));
	margin-inline: auto;
	padding: 14px var(--gutter);
}

.dr-header__logo {
	display: flex;
	flex: none;
}

.dr-logo {
	display: block;
	width: auto;
	height: 68px;
}

.dr-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 30px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
}

@media (min-width: 960px) and (max-width: 1179px) {
	.dr-header__inner {
		gap: 16px;
	}

	.dr-nav__list {
		gap: 6px 20px;
	}
}

.dr-nav__list a {
	display: inline-block;
	padding: 10px 0;
	white-space: nowrap;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.dr-nav__list .current-menu-item > a,
.dr-nav__list .current-menu-ancestor > a,
.dr-nav__list .current-product_cat-ancestor > a {
	border-bottom-color: var(--caramel);
}

.dr-nav__list .dr-highlight > a {
	color: var(--caramel-deep);
	font-weight: 700;
}

.dr-nav__extra {
	display: none;
}

.dr-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.dr-header__toggle {
	display: none;
}

.dr-cart-pill {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	padding: 0 18px;
	border-radius: 22px;
	background: var(--ink);
	color: #fff;
	font-size: 14px;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color 0.2s;
}

.dr-cart-pill:hover {
	background: var(--ink-hover);
	color: #fff;
}

.dr-cart-badge {
	display: none;
}

.dr-cart-pill.is-bumped {
	animation: dr-bump 0.4s ease;
}

@keyframes dr-bump {
	50% {
		transform: scale(1.08);
	}
}

.dr-header__search {
	padding: 0 var(--gutter) 18px;
}

.dr-header__search .dr-search {
	max-width: 640px;
	margin-inline: auto;
}

/* Search form */
.dr-search {
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 999px;
	padding: 4px 4px 4px 20px;
}

.dr-search__input {
	flex: 1;
	min-width: 0;
	height: 44px;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 16px;
	color: var(--ink);
}

.dr-search__input:focus {
	outline: none;
	box-shadow: none;
}

.dr-search:focus-within {
	box-shadow: var(--focus);
}

.dr-search__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	cursor: pointer;
}

@media (max-width: 959px) {
	.dr-header__inner {
		padding: 10px 12px;
		gap: 8px;
	}

	.dr-header__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border: 0;
		background: none;
		color: var(--ink);
		cursor: pointer;
	}

	.dr-header__toggle-close,
	.dr-header__toggle[aria-expanded="true"] .dr-header__toggle-open {
		display: none;
	}

	.dr-header__toggle[aria-expanded="true"] .dr-header__toggle-close {
		display: inline-flex;
	}

	.dr-header__logo {
		position: absolute;
		left: 50%;
		top: 10px;
		transform: translateX(-50%);
	}

	.dr-header__inner {
		position: relative;
		min-height: 74px;
	}

	.dr-logo {
		height: 54px;
	}

	.dr-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		padding: 4px 24px 24px;
		background: var(--cream);
		box-shadow: 0 18px 30px -24px rgb(59 43 34 / 0.4);
	}

	.dr-nav.is-open {
		display: block;
	}

	.dr-nav__list {
		flex-direction: column;
		gap: 0;
		font-family: var(--font-heading);
		font-size: 26px;
	}

	.dr-nav__list a {
		padding: 8px 0;
		border: 0;
	}

	.dr-nav__list .dr-highlight > a {
		font-weight: 400;
		font-style: italic;
	}

	.dr-nav__extra {
		display: flex;
		flex-direction: column;
		gap: 14px;
		margin-top: 16px;
		padding-top: 18px;
		border-top: 1px solid var(--line-strong);
	}

	.dr-nav__account {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		min-height: 44px;
		text-decoration: none;
	}

	.dr-header__search-toggle,
	.dr-header__account,
	.dr-header__search {
		display: none !important;
	}

	.dr-cart-pill {
		width: 44px;
		padding: 0;
		justify-content: center;
		background: none;
		color: var(--ink);
	}

	.dr-cart-pill:hover {
		background: none;
		color: var(--caramel-deep);
	}

	/* Visually hidden but still read out: "Mandje · 2 artikelen in je mandje". */
	.dr-cart-pill__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	.dr-cart-badge {
		position: absolute;
		top: 4px;
		right: 2px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 18px;
		height: 18px;
		padding: 0 4px;
		border-radius: 9px;
		background: var(--caramel-deep);
		color: #fff;
		font-size: 11px;
		font-weight: 700;
		line-height: 1;
	}

	.dr-cart-badge[data-count="0"] {
		display: none;
	}
}

/* Footer ---------------------------------------------------------------- */

.dr-footer {
	position: relative;
	margin-top: var(--section);
	color: var(--muted);
	font-size: 15px;
}

.dr-wave {
	display: block;
	width: 100%;
	height: 40px;
}

.dr-footer__wave {
	margin-bottom: -1px;
}

.dr-footer__body {
	background: var(--cream);
	padding-top: 40px;
}

.dr-footer a {
	color: var(--muted);
	text-decoration: none;
}

.dr-footer a:hover {
	color: var(--caramel-deep);
}

.dr-footer__newsletter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--line-strong);
	scroll-margin-top: 40px;
}

.dr-footer__newsletter-text p {
	margin: 4px 0 0;
}

.dr-footer__newsletter-title {
	margin: 0;
	font-size: 30px;
	color: var(--ink);
}

.dr-footer__newsletter-title em {
	color: inherit;
}

.dr-newsletter {
	display: flex;
	flex: 0 1 460px;
	min-width: 0;
	padding: 5px;
	border-radius: 999px;
	background: #fff;
}

.dr-newsletter:focus-within {
	box-shadow: var(--focus);
}

.dr-newsletter__input {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 18px;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 16px;
	color: var(--ink);
}

.dr-newsletter__input:focus {
	outline: none;
	box-shadow: none;
}

.dr-newsletter__msg {
	flex-basis: 100%;
	margin: 0;
	color: var(--ink);
}

.dr-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 36px;
	padding-block: 44px 32px;
}

.dr-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.dr-footer__logo {
	margin-left: -8px;
}

.dr-footer__logo .dr-logo {
	height: 72px;
}

.dr-footer__social {
	display: flex;
	gap: 10px;
}

.dr-footer .dr-footer__social a {
	color: var(--ink);
}

.dr-footer__heading {
	margin: 0 0 14px;
	font-size: 22px;
	color: var(--ink);
}

.dr-footer__menu ul {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dr-footer__menu a {
	display: inline-block;
	padding: 4px 0;
}

.dr-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-block: 20px 30px;
	border-top: 1px solid var(--line-strong);
	font-size: 13px;
	color: #7a6b60;
}

.dr-footer__bottom p {
	margin: 0;
}

.dr-footer__payments {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dr-footer__payments li {
	padding: 5px 10px;
	border-radius: 6px;
	background: #fff;
	color: var(--ink);
	font-weight: 700;
}

@media (max-width: 599px) {
	.dr-newsletter {
		flex-basis: 100%;
	}

	.dr-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 16px;
	}

	.dr-footer__brand {
		grid-column: 1 / -1;
	}
}

/* Product grid + card --------------------------------------------------- */

ul.products,
.dr-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 40px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dr-grid__item {
	min-width: 0;
}

/* Pastel tints rotate behind the product images. */
ul.products > :nth-child(4n + 1),
.dr-grid > :nth-child(4n + 1) {
	--tint: var(--blush);
}

ul.products > :nth-child(4n + 2),
.dr-grid > :nth-child(4n + 2) {
	--tint: var(--sage);
}

ul.products > :nth-child(4n + 3),
.dr-grid > :nth-child(4n + 3) {
	--tint: var(--sky);
}

ul.products > :nth-child(4n + 4),
.dr-grid > :nth-child(4n + 4) {
	--tint: var(--butter);
}

.dr-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"media media"
		"info add";
	align-items: center;
	gap: 14px 12px;
}

.dr-card__media {
	grid-area: media;
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius-card);
	background: var(--tint, var(--cream));
}

.dr-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.dr-card:hover .dr-card__img {
	transform: scale(1.04);
}

.dr-card.is-out-of-stock .dr-card__img {
	opacity: 0.6;
}

.dr-card__sticker {
	position: absolute;
	top: 14px;
	left: 14px;
}

.dr-card__info {
	grid-area: info;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}

.dr-card__labels {
	position: absolute;
	left: 14px;
	bottom: 14px;
	right: 64px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.dr-card__labels .dr-pill {
	background: var(--paper);
	color: var(--ink);
}

.dr-card__title {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.35;
}

.dr-card__title a {
	text-decoration: none;
}

.dr-card__add {
	grid-area: add;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1.5px var(--ink);
	color: var(--ink);
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.dr-card__add:hover {
	background: var(--ink);
	color: #fff;
}

.dr-card__add.loading {
	opacity: 0.5;
	pointer-events: none;
}

.dr-card__add.added {
	background: var(--sage);
	box-shadow: none;
	color: var(--ink);
}

/* WooCommerce appends a "Bekijk winkelwagen" link after AJAX adds; the header count is the feedback. */
.dr-card .added_to_cart {
	display: none;
}

/* Price */
.dr-price,
.price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 8px;
	font-size: 15px;
	font-weight: 500;
	color: var(--ink);
}

.price del,
.dr-price del {
	order: 2;
	color: #6f6359;
	font-weight: 400;
}

.price ins,
.dr-price ins {
	color: var(--caramel-deep);
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 699px) {
	ul.products,
	.dr-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 26px 14px;
	}

	.dr-card {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"media"
			"info";
		gap: 10px;
	}

	.dr-card__media {
		border-radius: 20px;
	}

	.dr-card__add {
		grid-area: media;
		align-self: end;
		justify-self: end;
		margin: 0 10px 10px 0;
		background: var(--paper);
		box-shadow: none;
		z-index: 1;
	}

	.dr-card__labels {
		left: 10px;
		bottom: 10px;
		right: 60px;
	}

	.dr-card__labels .dr-pill {
		font-size: 11px;
		padding: 2px 8px;
	}

	.dr-card__sticker {
		top: 10px;
		left: 10px;
		width: 44px;
		height: 44px;
		font-size: 12px;
	}

	.dr-card__title,
	.dr-price {
		font-size: 14px;
	}
}

/* Breadcrumbs ----------------------------------------------------------- */

.dr-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	font-size: 13px;
	color: #7a6b60;
}

.dr-breadcrumb a {
	color: #7a6b60;
	text-decoration: none;
}

.dr-breadcrumb a:hover {
	color: var(--caramel-deep);
	text-decoration: underline;
}

/* Accordions (<details>) ------------------------------------------------- */

.dr-faq__heading {
	margin-bottom: 16px;
	font-size: 32px;
}

.dr-accordion {
	border-bottom: 1px solid var(--line);
}

.dr-accordion__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 60px;
	padding: 8px 0;
	font-size: 16px;
	font-weight: 500;
	list-style: none;
	cursor: pointer;
}

.dr-accordion__summary::-webkit-details-marker {
	display: none;
}

.dr-accordion__summary::after {
	content: "+";
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--cream);
	font-size: 18px;
	font-weight: 400;
}

.dr-accordion[open] > .dr-accordion__summary::after {
	content: "−";
}

.dr-accordion__body {
	padding-bottom: 20px;
	font-size: 15px;
	line-height: 1.8;
	color: var(--muted);
}

.dr-accordion__body > :first-child {
	margin-top: 0;
}

.dr-accordion__body > :last-child {
	margin-bottom: 0;
}

/* Prose (long text from the editor) ------------------------------------- */

.dr-prose {
	color: var(--muted);
	font-size: 16px;
	line-height: 1.85;
}

.dr-prose h2,
.dr-prose h3 {
	color: var(--ink);
}

.dr-prose a {
	color: var(--caramel-deep);
	text-decoration: underline;
}

/* Buttons inside text keep their own colours. */
.dr-prose .wp-element-button,
.dr-prose .wp-block-button__link,
.dr-prose .button {
	color: #fff;
	text-decoration: none;
}

/* Old content can carry fixed widths; never wider than the column. */
.dr-prose figure,
.dr-prose img {
	max-width: 100%;
}

.dr-prose img {
	height: auto;
}

/* WooCommerce notices --------------------------------------------------- */

.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 24px;
	padding: 14px 22px;
	border-radius: 18px;
	background: var(--sage);
	font-size: 15px;
	list-style: none;
}

.woocommerce-info {
	background: var(--cream);
}

.woocommerce-error {
	flex-direction: column;
	align-items: flex-start;
	background: var(--blush);
}

.woocommerce-message .button,
.woocommerce-info .button {
	order: 2;
	padding-bottom: 2px;
	border-bottom: 1.5px solid var(--ink);
	font-weight: 700;
	text-decoration: none;
}

/* Page hero ------------------------------------------------------------- */

.dr-page-hero {
	position: relative;
	background: var(--cream);
}

.dr-page-hero__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 64px;
	padding-block: 32px 104px;
}

.dr-page-hero__text {
	display: flex;
	flex: 1 1 440px;
	flex-direction: column;
	gap: 22px;
	min-width: 0;
}

.dr-page-hero:not(.has-visual) .dr-page-hero__text {
	flex-basis: 100%;
	max-width: 760px;
}

.dr-page-hero__logo {
	width: 96px;
	height: auto;
	margin-left: -8px;
}

.dr-page-hero__title {
	margin: 0;
	font-size: clamp(44px, 6vw, 68px);
	line-height: 1;
}

.dr-page-hero__lead {
	max-width: 30em;
	font-size: 18px;
	line-height: 1.75;
	color: var(--muted);
}

.dr-page-hero__lead > :first-child {
	margin-top: 0;
}

.dr-page-hero__lead > :last-child {
	margin-bottom: 0;
}

.dr-page-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px;
}

.dr-page-hero__visual {
	position: relative;
	flex: 1 1 420px;
	min-width: 0;
	height: 500px;
}

.dr-page-hero__arch {
	position: absolute;
	top: 0;
	right: 20px;
	width: min(360px, 85%);
	height: 480px;
	overflow: hidden;
	border-radius: 180px 180px 26px 26px;
	background: var(--blush);
}

.dr-page-hero__arch img,
.dr-page-hero__circle img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dr-page-hero__circle {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 180px;
	height: 180px;
	overflow: hidden;
	border: 8px solid var(--cream);
	border-radius: 50%;
	background: var(--sage);
}

.dr-page-hero__visual > .dr-icon {
	position: absolute;
	top: 60px;
	left: 40px;
	color: #e8c9b8;
}

.dr-page-hero__wave {
	position: absolute;
	left: 0;
	bottom: -1px;
}

@media (max-width: 899px) {
	/* Inner pages: breadcrumb and H1 first, photo below. */
	.dr-page-hero__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		padding-block: 20px 72px;
	}

	.dr-page-hero__text {
		flex-basis: auto;
	}

	.dr-page-hero__visual {
		flex: none;
		height: 360px;
	}

	.dr-page-hero__arch {
		right: 24px;
		left: 24px;
		width: auto;
		height: 340px;
		border-radius: 160px 160px 22px 22px;
	}

	.dr-page-hero__circle {
		width: 112px;
		height: 112px;
		border-width: 6px;
	}

	.dr-page-hero__actions {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.dr-page-hero__actions .dr-link-underline {
		align-self: center;
	}
}

/* Basic content --------------------------------------------------------- */

.dr-entry__content > * {
	max-width: 720px;
	margin-inline: auto;
}

.dr-entry__content > .alignwide {
	max-width: var(--max);
}

.dr-entry__content > .alignfull {
	max-width: none;
}

/* Motion ---------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Shared links + buttons ------------------------------------------------- */

.dr-btn--lg {
	min-height: 56px;
	padding: 0 32px;
	font-size: 16px;
}

.dr-link-underline {
	padding-bottom: 3px;
	border-bottom: 1.5px solid var(--caramel);
	font-size: 15px;
	text-decoration: none;
}

.dr-squiggle {
	position: relative;
	display: inline-block;
	color: var(--caramel);
}

.dr-squiggle svg {
	position: absolute;
	left: 0;
	bottom: -0.08em;
	width: 100%;
	height: 0.2em;
}

/* Promo bar ("Acties & meldingen") -------------------------------------- */

.dr-promobar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 14px;
	margin: 0;
	padding: 11px 16px;
	background: var(--blush);
	color: var(--ink);
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
}

a.dr-promobar:hover {
	color: var(--ink);
	text-decoration: underline;
}

.dr-promobar .dr-icon {
	flex: none;
	color: var(--caramel-deep);
}

.dr-promobar strong {
	letter-spacing: 0.04em;
}

@media (max-width: 599px) {
	.dr-promobar {
		font-size: 13px;
	}

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

/* Closed-shop notice (cart/checkout) */
.dr-closed-notice {
	margin: 0 0 24px;
	padding: 16px 22px;
	border-radius: 18px;
	background: var(--butter);
	font-size: 15px;
}

/* Pop-up ------------------------------------------------------------------ */

.dr-modal {
	width: min(500px, calc(100vw - 32px));
	max-height: calc(100dvh - 32px);
	padding: 0;
	overflow: auto;
	border: 0;
	border-radius: 36px;
	background: var(--paper);
	color: var(--ink);
}

.dr-modal::backdrop {
	background: rgb(42 38 34 / 0.45);
}

.dr-modal--mededeling {
	background: var(--blush);
}

.dr-modal.has-image {
	width: min(820px, calc(100vw - 32px));
	display: grid;
	grid-template-columns: 360px minmax(0, 1fr);
}

.dr-modal:not([open]) {
	display: none;
}

.dr-modal__media {
	padding: 28px;
	background: var(--sage);
}

.dr-modal__img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 400px;
	object-fit: cover;
	border-radius: 160px 160px 22px 22px;
}

.dr-modal__body {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	padding: 60px 52px 44px;
	text-align: center;
}

.dr-modal.has-image .dr-modal__body {
	align-items: stretch;
	justify-content: center;
	text-align: left;
}

.dr-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
}

.dr-modal__logo {
	width: 84px;
	height: auto;
}

.dr-modal__label {
	color: var(--caramel-deep);
	font-size: 12px;
	letter-spacing: 0.28em;
}

.dr-modal__title {
	margin: 0;
	font-size: clamp(32px, 4vw, 40px);
	line-height: 1.1;
}

.dr-modal__rule {
	width: 40px;
	height: 1px;
	background: var(--caramel);
}

.dr-modal__text {
	font-size: 15px;
	line-height: 1.85;
	color: #5e5750;
}

.dr-modal__text p {
	margin: 0 0 0.6em;
}

.dr-modal__text p:last-child {
	margin-bottom: 0;
}

.dr-modal__coupon {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 52px;
	padding: 0 22px;
	border: 1.5px dashed var(--caramel-deep);
	border-radius: 999px;
	background: var(--cream);
	font: inherit;
	color: var(--ink);
	cursor: pointer;
}

.dr-modal__coupon-code {
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.14em;
	user-select: all;
}

.dr-modal__coupon-action {
	color: var(--caramel-deep);
	font-size: 12px;
}

.dr-modal__cta {
	align-self: stretch;
	min-height: 54px;
	margin-top: 6px;
}

.dr-modal__dismiss {
	align-self: center;
	min-height: 40px;
	border: 0;
	background: none;
	font: inherit;
	font-size: 13px;
	color: #6b635c;
	cursor: pointer;
}

.dr-modal__never {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	font-size: 13px;
	color: #6b635c;
	cursor: pointer;
}

.dr-modal__never input {
	accent-color: var(--ink);
}

@media (max-width: 699px) {
	.dr-modal {
		border-radius: 28px;
	}

	.dr-modal.has-image {
		grid-template-columns: minmax(0, 1fr);
	}

	.dr-modal__media {
		padding: 18px 18px 0;
		background: none;
	}

	.dr-modal__img {
		min-height: 0;
		height: 200px;
		border-radius: 999px 999px 18px 18px;
	}

	.dr-modal__body {
		padding: 48px 24px 28px;
	}

	.dr-modal.has-image .dr-modal__body {
		position: static;
		padding-top: 20px;
	}

	/* With the image on top, the close button sits on the image corner. */
	.dr-modal.has-image .dr-modal__close {
		z-index: 1;
		background: var(--paper);
	}
}

/* Cookie consent -------------------------------------------------------- */

.dr-consent {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 60;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: min(440px, calc(100vw - 32px));
	max-height: calc(100dvh - 32px);
	overflow: auto;
	padding: 24px;
	border-radius: 28px;
	background: var(--paper);
	box-shadow: 0 20px 50px -20px rgb(59 43 34 / 0.45), 0 0 0 1px var(--line);
	font-size: 14px;
}

.dr-consent[hidden] {
	display: none;
}

.dr-consent__title {
	margin: 0;
	font-size: 26px;
}

.dr-consent__text {
	margin: 0;
	color: var(--muted);
}

.dr-consent__text a {
	color: var(--caramel-deep);
}

.dr-consent__details summary {
	min-height: 32px;
	font-weight: 700;
	cursor: pointer;
}

.dr-consent__option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 10px 0;
	color: var(--muted);
}

.dr-consent__option input {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	accent-color: var(--ink);
}

.dr-consent__option strong {
	color: var(--ink);
}

.dr-consent__save {
	min-height: 44px;
}

.dr-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.dr-consent__actions .dr-btn {
	flex: 1 1 auto;
	min-height: 48px;
	padding-inline: 18px;
	white-space: nowrap;
}

.dr-footer__cookies {
	min-height: 32px;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
}

@media (max-width: 599px) {
	.dr-consent {
		left: 8px;
		bottom: 8px;
		width: calc(100vw - 16px);
		padding: 20px;
		border-radius: 24px;
	}
}

/* ==========================================================================
   Subtle motion. Everything here is off with prefers-reduced-motion:
   the reveal is never set up (motion.js) and the global rule above
   shortens all transitions and animations.
   ========================================================================== */

:root {
	--ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Scroll reveal (classes set by assets/js/motion.js) */
.dr-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 0.7s var(--ease-soft) var(--reveal-delay, 0ms),
		transform 0.7s var(--ease-soft) var(--reveal-delay, 0ms);
}

.dr-reveal.is-revealed {
	opacity: 1;
	transform: none;
}

/* Buttons lift a little */
.dr-btn,
.dr-cart-pill {
	transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease-soft);
}

.dr-btn:hover,
.dr-cart-pill:hover {
	transform: translateY(-2px);
}

.dr-btn:active,
.dr-cart-pill:active {
	transform: translateY(0);
}

/* Arrow links nudge their arrow */
.dr-link-underline span[aria-hidden="true"],
.dr-link-arrow span[aria-hidden="true"] {
	display: inline-block;
	transition: transform 0.25s var(--ease-soft);
}

.dr-link-underline:hover span[aria-hidden="true"],
.dr-link-arrow:hover span[aria-hidden="true"] {
	transform: translateX(4px);
}

.dr-link-underline {
	transition: border-color 0.25s ease, color 0.25s ease;
}

.dr-link-underline:hover {
	border-bottom-color: var(--caramel-deep);
}

/* Product card: "+" turns, sale sticker wiggles */
.dr-card__add .dr-icon {
	transition: transform 0.3s var(--ease-soft);
}

.dr-card__add:hover .dr-icon {
	transform: rotate(90deg);
}

.dr-card:hover .dr-card__sticker {
	animation: dr-wiggle 0.6s var(--ease-soft);
}

@keyframes dr-wiggle {
	0%,
	100% {
		transform: rotate(-10deg);
	}

	30% {
		transform: rotate(-16deg) scale(1.06);
	}

	60% {
		transform: rotate(-6deg);
	}
}

/* Small stars and sprigs float gently */
.dr-hero__visual > .dr-icon,
.dr-page-hero__visual > .dr-icon,
.dr-hero__deco--sprig,
.dr-tile .dr-icon,
.dr-promo__deco {
	animation: dr-float 6s ease-in-out infinite;
}

.dr-hero__deco--sprig,
.dr-promo__deco {
	animation-duration: 8s;
	animation-delay: -2s;
}

@keyframes dr-float {
	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}

	50% {
		transform: translateY(-6px) rotate(8deg);
	}
}

/* Mobile menu slides down */
@media (max-width: 959px) {
	.dr-nav.is-open {
		animation: dr-drop 0.3s var(--ease-soft);
	}
}

@keyframes dr-drop {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
}

/* Search panel, accordions */
.dr-header__search:not([hidden]),
.dr-accordion[open] > .dr-accordion__body {
	animation: dr-fade-down 0.3s var(--ease-soft);
}

@keyframes dr-fade-down {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
}

.dr-accordion__summary::after {
	transition: transform 0.3s var(--ease-soft), background-color 0.2s ease;
}

.dr-accordion[open] > .dr-accordion__summary::after {
	transform: rotate(180deg);
}

.dr-accordion__summary:hover::after {
	background: var(--blush);
}

/* Pop-up, lightbox and cookie banner ease in */
.dr-modal[open],
.dr-lightbox[open] {
	animation: dr-pop 0.4s var(--ease-soft);
}

.dr-modal[open]::backdrop,
.dr-lightbox[open]::backdrop {
	animation: dr-fade 0.4s ease;
}

@keyframes dr-pop {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.97);
	}
}

@keyframes dr-fade {
	from {
		opacity: 0;
	}
}

.dr-consent:not([hidden]) {
	animation: dr-rise 0.5s var(--ease-soft);
}

@keyframes dr-rise {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
}

/* Cart badge pops when the count changes (class set by header.js) */
.dr-cart-pill.is-bumped .dr-cart-badge {
	animation: dr-bump 0.4s ease;
}
