/* ato Shop Themes: Navigation, Themenseiten, Werk-Karten */

/* Navigation ------------------------------------------------------------ */

.ato-shop-nav {
	position: relative;
	z-index: 5;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	background: var(--ato-bg, #000);
	color: var(--ato-text, #FFF8E7);
	border-bottom: 1px solid var(--ato-line, rgba(255, 248, 231, .5));
	font-family: var(--ato-font-body, "NeueHaasUnica", Roboto, sans-serif);
}

.ato-shop-nav__inner {
	display: grid;
	grid-template-columns: minmax(max-content, 1fr) auto minmax(0, 1fr);
	align-items: center;
	column-gap: 24px;
	box-sizing: border-box;
	max-width: var(--ato-container, 1400px);
	margin: 0 auto;
	padding: 0 var(--ato-gutter, 28px);
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.ato-shop-nav__inner::-webkit-scrollbar {
	display: none;
}

.ato-shop-nav__back,
.ato-shop-nav__link {
	color: inherit;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	font-size: 1.125rem;
	line-height: 1.3;
	letter-spacing: .5pt;
	font-weight: 400;
	background: none;
	border: 0;
	box-shadow: none;
}

.ato-shop-nav .ato-shop-nav__back {
	justify-self: start;
	padding: 14px 0;
	color: var(--ato-text, #FFF8E7);
	opacity: .65;
	transition: opacity .2s ease;
}

.ato-shop-nav__arrow {
	display: inline-block;
	margin-right: .15em;
}

.ato-shop-nav__list {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ato-shop-nav__item {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ato-shop-nav__item::before,
.ato-shop-nav__item::marker {
	content: none;
}

.ato-shop-nav .ato-shop-nav__link {
	display: inline-block;
	padding: 14px 0;
	color: var(--ato-text, #FFF8E7);
	transition: color .2s ease;
}

.ato-shop-nav__label {
	position: relative;
	display: inline-block;
	padding-top: 2px;
	padding-bottom: 4px;
}

.ato-shop-nav .ato-shop-nav__link[aria-current="page"] .ato-shop-nav__label::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background-color: currentColor;
}

.ato-shop-nav .ato-shop-nav__link:hover,
.ato-shop-nav .ato-shop-nav__link:focus-visible {
	color: var(--ato-text-muted, #e0d9ca);
}

.ato-shop-nav .ato-shop-nav__back:hover,
.ato-shop-nav .ato-shop-nav__back:focus-visible {
	opacity: 1;
}

.ato-shop-nav .ato-shop-nav__link:focus-visible,
.ato-shop-nav .ato-shop-nav__back:focus-visible {
	outline: 2px solid var(--ato-text, #FFF8E7);
	outline-offset: -2px;
}

@media (max-width: 1279px) {
	.ato-shop-nav__inner {
		grid-template-columns: max-content auto 0;
	}
}

@media (max-width: 959px) {
	.ato-shop-nav__inner {
		column-gap: 20px;
		padding: 0 16px;
	}

	.ato-shop-nav__list {
		gap: 20px;
	}

	.ato-shop-nav .ato-shop-nav__link,
	.ato-shop-nav .ato-shop-nav__back {
		padding: 10px 0;
		font-size: 1rem;
	}
}

/* Themenseite / Archiv / Suche ------------------------------------------ */

.ato-themes {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--ato-container, 1400px);
	margin: 0 auto;
	padding: 56px var(--ato-gutter, 28px) 96px;
	color: var(--ato-text, #FFF8E7);
	font-family: var(--ato-font-body, "NeueHaasUnica", Roboto, sans-serif);
	letter-spacing: .5pt;
}

.ato-themes__head {
	margin: 0 0 40px;
}

.ato-themes .ato-themes__title {
	margin: 0 0 12px;
	padding: 0;
	color: var(--ato-text, #FFF8E7);
	font-family: var(--ato-font-head, "DM Mono", monospace);
	font-size: 1.875rem;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: .08em;
	text-transform: none;
	overflow-wrap: anywhere;
}

.ato-themes .ato-themes__count {
	margin: 0;
	color: var(--ato-text-muted, rgba(255, 248, 231, .7));
	font-size: 1.125rem;
	line-height: 1.5;
}

.ato-themes__grid {
	margin: 0;
	padding: 0;
	list-style: none;
	column-count: 1;
	column-gap: 15px;
}

@media (min-width: 600px) {
	.ato-themes__grid { column-count: 2; }
}

@media (min-width: 960px) {
	.ato-themes__grid { column-count: 3; }
}

@media (min-width: 1280px) {
	.ato-themes__grid { column-count: 4; }
}

@media (min-width: 1920px) {
	.ato-themes__grid { column-count: 5; }
}

/* Werk-Karte ------------------------------------------------------------ */

.ato-card {
	display: inline-block;
	width: 100%;
	margin: 0 0 15px;
	padding: 0;
	list-style: none;
	vertical-align: top;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
}

.ato-card::before,
.ato-card::marker {
	content: none;
}

.ato-themes .ato-card__media {
	display: block;
	background: #111;
	line-height: 0;
	border: 0;
	box-shadow: none;
	text-decoration: none;
}

.ato-themes .ato-card__img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	transition: opacity .2s ease;
}

.ato-themes .ato-card__media:hover .ato-card__img {
	opacity: .88;
}

.ato-card__placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #111;
}

.ato-themes .ato-card__title {
	margin: 12px 0 0;
	padding: 0;
	color: var(--ato-text, #FFF8E7);
	font-family: var(--ato-font-body, "NeueHaasUnica", Roboto, sans-serif);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: .5pt;
	text-transform: none;
	overflow-wrap: anywhere;
}

.ato-themes .ato-card__link {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	transition: color .2s ease;
}

.ato-themes .ato-card__link:hover,
.ato-themes .ato-card__link:focus-visible {
	color: var(--ato-text-muted, #e0d9ca);
}

.ato-themes .ato-card__link:focus-visible {
	outline: 2px solid var(--ato-text, #FFF8E7);
	outline-offset: 2px;
}

.ato-themes .ato-card__artist {
	margin: 0;
	padding: 0;
	color: var(--ato-text, #FFF8E7);
	font-size: 1.125rem;
	line-height: 1.5;
}

.ato-themes .ato-card__price {
	margin: 12px 0 24px;
	padding: 0;
	color: var(--ato-text, #FFF8E7);
	font-size: 1.125rem;
	line-height: 1.5;
}

.ato-themes .ato-card__price .amount,
.ato-themes .ato-card__price bdi,
.ato-themes .ato-card__price ins {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
	background: none;
}

.ato-themes .ato-card__price del {
	opacity: .5;
	margin-right: .4em;
}

.ato-themes .ato-card__badge {
	display: inline-block;
	padding: 0 .25rem;
	border: 1px solid #e0d9ca;
	font-size: .75rem;
	line-height: 1.6;
	letter-spacing: .03em;
}

.ato-themes .ato-card--sold .ato-card__badge--sold,
.ato-themes .ato-card--sold .ato-card__img {
	opacity: .5;
}

/* Leerer Zustand -------------------------------------------------------- */

.ato-themes .ato-themes__empty-text {
	margin: 0 0 12px;
	font-size: 1.125rem;
	line-height: 1.5;
}

.ato-themes .ato-themes__empty-link {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

/* Pagination ------------------------------------------------------------ */

.ato-themes__pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 16px;
	margin: 48px 0 0;
	font-size: 1.125rem;
}

.ato-themes__pages {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ato-themes__page {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ato-themes__page::before,
.ato-themes__page::marker {
	content: none;
}

.ato-themes__page--gap {
	padding: 0 4px;
	opacity: .6;
}

.ato-themes .ato-themes__page-link,
.ato-themes .ato-themes__page-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	color: var(--ato-text, #FFF8E7);
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 24px;
	line-height: 1;
	transition: border-color .2s ease;
}

.ato-themes .ato-themes__page-step {
	padding: 0 18px;
	border-color: var(--ato-line, rgba(255, 248, 231, .5));
}

.ato-themes .ato-themes__page-link[aria-current="page"] {
	border-color: var(--ato-text, #FFF8E7);
}

.ato-themes a.ato-themes__page-link:hover,
.ato-themes .ato-themes__page-step:hover {
	border-color: var(--ato-text, #FFF8E7);
}

.ato-themes a.ato-themes__page-link:focus-visible,
.ato-themes .ato-themes__page-step:focus-visible {
	outline: 2px solid var(--ato-text, #FFF8E7);
	outline-offset: 2px;
}

.ato-themes__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 1401px) {
	.ato-themes .ato-themes__title { font-size: 1.625rem; }
}

@media (max-width: 959px) {
	.ato-themes {
		padding: 32px 16px 64px;
	}

	.ato-themes__head {
		margin-bottom: 28px;
	}
}

@media (max-width: 599px) {
	.ato-themes__pagination {
		gap: 10px;
	}

	.ato-themes .ato-themes__page-link {
		min-width: 40px;
		height: 40px;
		padding: 0 8px;
	}

	.ato-themes .ato-themes__page-step {
		height: 40px;
		padding: 0 14px;
	}
}
