.doen-collection {
	background: var(--doen-color-white);
	min-height: 60vh;
	overflow: hidden;
}

.doen-collection__intro {
	padding: 48px var(--doen-gutter-component) 38px;
	text-align: center;
}

.doen-collection__intro h1 {
	color: var(--doen-color-ink-alt);
	font-family: var(--doen-font-serif);
	font-size: 2.2rem;
	font-weight: 400;
	letter-spacing: 0.3rem;
	line-height: 1.3;
	margin: 0;
	text-transform: uppercase;
}

.doen-collection__description {
	font-family: var(--doen-font-serif);
	font-size: 1.4rem;
	line-height: 1.6;
	margin: 14px auto 0;
	max-width: 600px;
	text-wrap: pretty;
}

.doen-collection__description > :last-child {
	margin-bottom: 0;
}

.doen-collection__toolbar {
	align-items: center;
	display: flex;
	font-family: var(--doen-font-ui);
	font-size: 1.2rem;
	justify-content: space-between;
	letter-spacing: 0.15rem;
	min-height: 44px;
	padding: 0 40px;
	text-transform: uppercase;
}

.doen-collection__filter-trigger {
	background: transparent;
	border: 0;
	color: var(--doen-color-ink-alt);
	font-size: inherit;
	letter-spacing: inherit;
	min-height: 44px;
	padding: 8px 0;
	text-transform: uppercase;
}

.doen-collection__filter-trigger:hover,
.doen-collection__filter-trigger:focus-visible {
	background: transparent;
	color: var(--doen-color-muted);
}

.doen-collection__count {
	margin: 0;
}

.doen-product-grid {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.doen-product-grid[aria-busy="true"] {
	cursor: progress;
}

.doen-product-card {
	flex: 0 0 100%;
	min-width: 0;
	position: relative;
}

.doen-product-card article,
.doen-product-card__link {
	display: block;
	height: 100%;
	position: relative;
}

.doen-product-card__link {
	color: var(--doen-color-ink-alt);
	text-decoration: none;
}

.doen-product-card__media {
	aspect-ratio: 430 / 492;
	background: var(--doen-color-surface);
	display: block;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.doen-product-card__image {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	transition:
		opacity var(--doen-duration-image) var(--doen-ease-standard),
		transform var(--doen-duration-image) var(--doen-ease-standard);
	width: 100%;
}

.doen-product-card__image--secondary {
	opacity: 0;
}

.doen-product-card__link:hover .doen-product-card__image--secondary,
.doen-product-card__link:focus-visible .doen-product-card__image--secondary {
	opacity: 1;
}

.doen-product-card__link:hover .doen-product-card__image,
.doen-product-card__link:focus-visible .doen-product-card__image {
	transform: scale(1.0125);
}

.doen-product-card__content {
	align-items: center;
	background: rgb(246 242 230 / 82%);
	display: flex;
	flex-direction: column;
	inset: 10px;
	justify-content: flex-end;
	opacity: 0;
	padding: 26px 18px;
	pointer-events: none;
	position: absolute;
	text-align: center;
	transition: opacity var(--doen-duration-base) var(--doen-ease-standard);
}

.doen-product-card:hover .doen-product-card__content,
.doen-product-card:focus-within .doen-product-card__content,
.doen-product-card.is-sold-out .doen-product-card__content {
	opacity: 1;
}

.doen-product-card__status {
	font-family: var(--doen-font-ui);
	font-size: 1.1rem;
	letter-spacing: 0.16rem;
	margin-bottom: auto;
	text-transform: uppercase;
}

.doen-product-card h2 {
	color: var(--doen-color-ink-alt);
	font-family: var(--doen-font-serif);
	font-size: 1.2rem;
	font-weight: 400;
	letter-spacing: 0.15rem;
	line-height: 1.8rem;
	margin: 0;
	max-width: 90%;
	text-transform: uppercase;
	text-wrap: pretty;
}

.doen-product-card__price {
	font-family: var(--doen-font-detail);
	font-size: 1.4rem;
	letter-spacing: 0.025rem;
	line-height: 2rem;
	margin-top: 2px;
}

.doen-product-card__price del {
	opacity: 0.55;
}

.doen-product-card__price ins {
	color: var(--doen-color-danger);
	text-decoration: none;
}

.doen-product-card__sizes {
	display: flex;
	flex-wrap: wrap;
	font-family: var(--doen-font-detail);
	font-size: 1.1rem;
	gap: 0 10px;
	justify-content: center;
	line-height: 1.5rem;
	list-style: none;
	margin: 8px 0 0;
	max-width: 92%;
	padding: 0;
}

.doen-product-card__sizes .is-unavailable {
	opacity: 0.55;
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}

.doen-collection__pagination {
	display: flex;
	font-family: var(--doen-font-detail);
	gap: 12px;
	justify-content: center;
	padding: 42px 20px;
}

.doen-collection__pagination .page-numbers {
	align-items: center;
	color: var(--doen-color-ink-alt);
	display: inline-flex;
	justify-content: center;
	min-height: 44px;
	min-width: 36px;
}

.doen-collection__pagination .current {
	text-decoration: underline;
	text-underline-offset: 5px;
}

.doen-collection__next-page,
.doen-collection__infinite {
	display: none;
}

.doen-js .doen-collection__pagination,
.doen-js .doen-collection__next-page {
	display: none;
}

.doen-js .doen-collection__infinite {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 42px 20px 70px;
	position: relative;
}

.doen-collection__infinite[hidden] {
	display: none;
}

.doen-collection__infinite-toggle {
	background: transparent;
	border: 0;
	color: var(--doen-color-ink-alt);
	font-family: var(--doen-font-ui);
	font-size: 1.1rem;
	letter-spacing: 0.15rem;
	min-height: 44px;
	padding: 8px;
	text-decoration: underline;
	text-underline-offset: 5px;
	text-transform: uppercase;
}

.doen-collection__infinite-toggle:hover,
.doen-collection__infinite-toggle:focus-visible {
	background: transparent;
	color: var(--doen-color-muted);
}

.doen-collection__load-more[hidden] {
	display: none;
}

.doen-collection__sentinel {
	bottom: 90px;
	height: 1px;
	position: absolute;
	width: 100%;
}

.doen-collection__empty {
	align-items: center;
	display: flex;
	flex-direction: column;
	min-height: 420px;
	padding: 92px 24px;
	text-align: center;
}

.doen-collection__empty h2 {
	font-family: var(--doen-font-serif);
	font-size: 2rem;
	letter-spacing: 0.2rem;
	text-transform: uppercase;
}

.doen-collection__empty p {
	font-family: var(--doen-font-detail);
	font-size: 1.4rem;
	margin: 12px 0 28px;
}

/* Filter drawer */
.doen-filter-backdrop {
	background: var(--doen-overlay-backdrop);
	border: 0;
	inset: 0;
	opacity: 0;
	padding: 0;
	pointer-events: none;
	position: fixed;
	transition: opacity var(--doen-duration-base) var(--doen-ease-standard);
	z-index: calc(var(--doen-z-meganav) + 1);
}

.doen-filter-backdrop[hidden] {
	display: none;
}

.doen-filter {
	background-color: var(--doen-color-paper);
	background-image: url("../../images/doen-paper.jpg");
	background-repeat: repeat;
	background-size: 480px;
	bottom: 0;
	overflow-y: auto;
	padding: 28px 30px;
	position: fixed;
	right: 0;
	top: 0;
	transform: translateX(100%);
	transition: transform var(--doen-duration-drawer) var(--doen-ease-standard);
	width: min(var(--doen-drawer-width), 100%);
	z-index: calc(var(--doen-z-meganav) + 2);
}

body.doen-filter-open {
	overflow: hidden;
}

body.doen-filter-open .doen-filter-backdrop {
	opacity: 1;
	pointer-events: auto;
}

body.doen-filter-open .doen-filter {
	transform: translateX(0);
}

.doen-filter__header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 30px;
}

.doen-filter__header h2 {
	font-family: var(--doen-font-ui);
	font-size: 2rem;
	font-weight: 400;
	letter-spacing: 0.2rem;
	margin: 0;
	text-transform: uppercase;
}

.doen-filter__close {
	background: transparent;
	border: 0;
	color: var(--doen-color-ink-alt);
	font-size: 1.1rem;
	letter-spacing: 0.15rem;
	min-height: 44px;
	padding: 8px 0;
	text-transform: uppercase;
}

.doen-filter__close:hover,
.doen-filter__close:focus-visible {
	background: transparent;
	color: var(--doen-color-muted);
}

.doen-filter__group {
	border: 0;
	border-top: 1px solid rgb(50 50 50 / 30%);
	margin: 0;
	padding: 20px 0;
}

.doen-filter__group legend,
.doen-filter__group label {
	font-family: var(--doen-font-serif);
	font-size: 1.2rem;
	letter-spacing: 0.12rem;
	text-transform: uppercase;
}

.doen-filter__group legend {
	margin-bottom: 14px;
	padding: 0;
}

.doen-filter__group label:not(.screen-reader-text) {
	align-items: center;
	display: flex;
	gap: 10px;
	margin: 8px 0;
	min-height: 30px;
}

.doen-filter__group input[type="checkbox"],
.doen-filter__group input[type="radio"] {
	accent-color: var(--doen-color-ink);
	flex: 0 0 16px;
	height: 16px;
	margin: 0;
	width: 16px;
}

.doen-filter__group select {
	background: transparent;
	border: 1px solid rgb(50 50 50 / 55%);
	border-radius: 0;
	min-height: 44px;
	padding: 8px 10px;
	width: 100%;
}

.doen-filter__actions {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr 1fr;
	padding: 16px 0 8px;
}

.doen-filter__actions .doen-button {
	width: 100%;
}

.doen-filter__form.is-filtering {
	opacity: 0.55;
	pointer-events: none;
}

@media (min-width: 1000px) {
	.doen-product-card {
		flex-basis: calc(100% / 3);
	}

	.doen-product-card:nth-child(14n + 1),
	.doen-product-card:nth-child(14n + 2),
	.doen-product-card:nth-child(14n + 6),
	.doen-product-card:nth-child(14n + 7) {
		flex-basis: 50%;
	}

	.doen-product-card:nth-child(14n + 11) {
		flex-basis: 100%;
	}

	.doen-product-card:nth-child(14n + 11) .doen-product-card__media {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 999px) {
	.doen-collection__intro {
		padding: 34px 24px 28px;
	}

	.doen-collection__intro h1 {
		font-size: 2rem;
	}

	.doen-collection__toolbar {
		font-size: 1.1rem;
		padding: 0 15px;
	}

	.doen-product-card:nth-child(14n + 3),
	.doen-product-card:nth-child(14n + 4),
	.doen-product-card:nth-child(14n + 5),
	.doen-product-card:nth-child(14n + 6),
	.doen-product-card:nth-child(14n + 10),
	.doen-product-card:nth-child(14n + 11),
	.doen-product-card:nth-child(14n + 12),
	.doen-product-card:nth-child(14n + 13) {
		flex-basis: 50%;
	}

	.doen-product-card__content {
		background: var(--doen-color-white);
		inset: auto;
		opacity: 1;
		padding: 12px 8px 28px;
		pointer-events: auto;
		position: relative;
	}

	.doen-product-card__status {
		margin: 0 0 6px;
	}

	.doen-product-card h2 {
		font-size: 1.25rem;
		letter-spacing: 0.18rem;
		max-width: 100%;
	}

	.doen-product-card__sizes {
		gap: 0 7px;
		max-width: 100%;
	}

	.doen-filter {
		padding: 24px 30px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.doen-product-card__image,
	.doen-product-card__content,
	.doen-filter,
	.doen-filter-backdrop {
		transition: none;
	}
}

