/*
 * Galerie Jaeschke – Event Single Layout
 * Deactivate the plugin to restore Kahlo's original event template instantly.
 */

.single-event-item article.qodef-event-item[data-jaeschke-layout="ready"] {
	display: block;
	width: 100%;
}

.single-event-item article.qodef-event-item[data-jaeschke-layout="ready"] > .qodef-e-top {
	min-height: 0;
}

.single-event-item article.qodef-event-item[data-jaeschke-layout="ready"] .qodef-e-featured-title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 32px;
	margin: 0;
	padding: clamp(48px, 5vw, 88px) max(3vw, 24px) clamp(30px, 3vw, 54px);
	font-size: clamp(52px, 7vw, 112px);
	line-height: .92;
}

.single-event-item .jaeschke-event-layout {
	display: grid;
	grid-template-columns: minmax(300px, 32%) minmax(0, 68%);
	gap: clamp(52px, 6vw, 112px);
	width: min(1600px, calc(100% - max(6vw, 48px)));
	margin: 0 auto;
	padding: 0 0 clamp(80px, 8vw, 150px);
}

.single-event-item .jaeschke-event-sidebar,
.single-event-item .jaeschke-event-main {
	min-width: 0;
}

.single-event-item .jaeschke-event-sidebar__inner {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 24px);
}

.single-event-item .jaeschke-event-sidebar .qodef-e-image {
	width: 100%;
	margin: 0;
	background: #f5f5f3;
}

.single-event-item .jaeschke-event-sidebar .qodef-e-image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 60vh;
	object-fit: contain;
	object-position: center top;
}

.single-event-item .jaeschke-event-sidebar > *,
.single-event-item .jaeschke-event-sidebar .qodef-e-info {
	width: 100%;
}

.single-event-item .jaeschke-event-sidebar .qodef-e-info {
	display: grid;
	gap: 24px;
	margin: 0;
	padding: 28px 0 0;
}

.single-event-item .jaeschke-event-sidebar .qodef-e-info-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	margin: 0;
}

.single-event-item .jaeschke-event-sidebar .qodef-e-tickets-link.qodef-status--free {
	display: none;
}

.single-event-item .jaeschke-event-sidebar .qodef-e-info-item h6 {
	margin: 0 0 7px;
	font-size: 15px;
	line-height: 1.25;
}

.single-event-item .jaeschke-event-sidebar .qodef-e-info-item,
.single-event-item .jaeschke-event-sidebar .qodef-e-info-item a {
	font-size: 15px;
	line-height: 1.55;
}

.single-event-item .jaeschke-event-main .qodef-e-content {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
}

.single-event-item .jaeschke-event-main .qodef-e-content > .qodef-e-info {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
	color: #777;
	font-size: clamp(18px, 1.7vw, 28px);
	line-height: 1.25;
}

.single-event-item .jaeschke-event-main .qodef-e-date-info {
	display: inline-flex;
	align-items: baseline;
	gap: 7px;
}

.single-event-item .jaeschke-event-main .qodef-e-date-info.jaeschke-date-range .qodef-e-start::after {
	content: "–";
	margin-left: 7px;
}

.single-event-item .jaeschke-event-main .qodef-e-time::before {
	content: "·";
	margin-right: 8px;
}

.single-event-item .jaeschke-event-main .qodef-event-title {
	width: 100%;
	margin: 0 0 18px;
	font-size: clamp(42px, 4.2vw, 72px);
	line-height: 1.02;
	letter-spacing: -.035em;
}

.single-event-item .jaeschke-event-main .qodef-info--event-types {
	margin-bottom: clamp(38px, 4vw, 64px);
}

.single-event-item .jaeschke-event-main .qodef-e-content-text {
	max-width: 860px;
}

.single-event-item .jaeschke-event-main .qodef-e-content-text p,
.single-event-item .jaeschke-event-main .qodef-e-content-text li {
	font-size: clamp(17px, 1.25vw, 21px);
	line-height: 1.7;
}

.single-event-item .jaeschke-event-main .qodef-e-content-text h2,
.single-event-item .jaeschke-event-main .qodef-e-content-text h3 {
	margin-top: clamp(42px, 5vw, 72px);
}

/* Elementor event browser: upcoming and past events in one calm list. */
.gj-events-browser {
	--gj-black: #171717;
	--gj-grey: #777;
	--gj-line: #d8d8d5;
	--gj-soft: #f5f5f2;
	box-sizing: border-box;
	width: 100%;
	margin: clamp(72px, 8vw, 132px) 0;
	padding-inline: clamp(30px, 3.5vw, 72px);
	color: var(--gj-black);
}

.gj-events-browser__navigation {
	display: grid;
	grid-template-columns: minmax(150px, 1fr) minmax(260px, 2fr) minmax(150px, 1fr);
	align-items: end;
	gap: 24px;
	padding: 0 0 clamp(24px, 3vw, 38px);
	border-bottom: 1px solid var(--gj-black);
}

.gj-events-browser__heading {
	grid-column: 2;
	text-align: center;
}

.gj-events-browser__switch--past {
	grid-column: 1;
}

.gj-events-browser__heading p {
	margin: 0 0 8px;
	color: var(--gj-grey);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.gj-events-browser__heading h2 {
	margin: 0;
	font-size: clamp(34px, 4vw, 64px);
	line-height: .98;
	letter-spacing: -.045em;
}

.gj-events-browser__switch {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: max-content;
	min-height: 44px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid transparent;
	background: transparent;
	color: var(--gj-grey);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: color .2s ease, border-color .2s ease;
}

.gj-events-browser__switch--upcoming {
	grid-column: 3;
	justify-self: end;
}

.gj-events-browser__switch:hover,
.gj-events-browser__switch:focus-visible {
	border-bottom-color: var(--gj-black);
	color: var(--gj-black);
}

.gj-events-browser__switch[hidden] {
	display: none !important;
}

.gj-events-browser__switch:focus-visible {
	outline: 2px solid var(--gj-black);
	outline-offset: 5px;
}

.gj-events-browser__arrow {
	font-size: 25px;
	font-weight: 400;
	line-height: 1;
}

.gj-events-browser__panel[hidden] {
	display: none !important;
}

.gj-events-browser__event {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr) minmax(220px, 30%);
	gap: clamp(24px, 4vw, 70px);
	align-items: start;
	padding: clamp(30px, 4vw, 58px) 0;
	border-bottom: 1px solid var(--gj-line);
}

.gj-events-browser__date {
	display: grid;
	justify-items: start;
	font-style: normal;
}

.gj-events-browser__weekday,
.gj-events-browser__month {
	color: var(--gj-grey);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
}

.gj-events-browser__day {
	margin: 3px 0;
	font-size: clamp(42px, 4.2vw, 66px);
	line-height: .95;
	letter-spacing: -.05em;
}

.gj-events-browser__content {
	min-width: 0;
}

.gj-events-browser__meta,
.gj-events-browser__details {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0 0 12px !important;
	color: var(--gj-grey);
	font-size: 14px !important;
	line-height: 1.45 !important;
}

.gj-events-browser__meta span + span::before,
.gj-events-browser__location::before {
	content: "·";
	margin-right: 16px;
}

.gj-events-browser__event-title {
	margin: 0 0 13px;
	font-size: clamp(26px, 2.6vw, 42px);
	line-height: 1.05;
	letter-spacing: -.035em;
}

.gj-events-browser__event-title a {
	color: inherit;
	text-decoration: none;
}

.gj-events-browser__event-title a:hover,
.gj-events-browser__event-title a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

.gj-events-browser__type {
	padding: 3px 8px;
	border: 1px solid var(--gj-black);
	color: var(--gj-black);
	font-size: 12px;
	line-height: 1.2;
}

.gj-events-browser__excerpt {
	max-width: 760px;
	margin: 18px 0 20px !important;
	font-size: clamp(16px, 1.2vw, 19px) !important;
	line-height: 1.55 !important;
}

.gj-events-browser__link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: var(--gj-black);
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

.gj-events-browser__image {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--gj-soft);
}

.gj-events-browser__image:empty::after {
	content: "Galerie Jaeschke";
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: #aaa;
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.gj-events-browser__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.gj-events-browser__image:hover img,
.gj-events-browser__image:focus-visible img {
	transform: scale(1.025);
}

.gj-events-browser__empty {
	margin: 0;
	padding: 50px 0;
	border-bottom: 1px solid var(--gj-line);
	font-size: 18px;
}

/* Mobile shop filters: sidebar before products and categories collapsed. */
.gj-mobile-category-toggle {
	display: none;
}

@media (max-width: 1024px) {
	body.woocommerce-shop .qodef-grid-template--9-3 > .qodef-grid-inner,
	body.tax-product_cat .qodef-grid-template--9-3 > .qodef-grid-inner,
	body.tax-product_tag .qodef-grid-template--9-3 > .qodef-grid-inner {
		display: flex !important;
		flex-direction: column !important;
	}

	body.woocommerce-shop .qodef-page-sidebar-section,
	body.tax-product_cat .qodef-page-sidebar-section,
	body.tax-product_tag .qodef-page-sidebar-section {
		order: -1;
		width: 100% !important;
	}

	body.woocommerce-shop #qodef-page-sidebar,
	body.tax-product_cat #qodef-page-sidebar,
	body.tax-product_tag #qodef-page-sidebar {
		width: 100% !important;
		margin: 0 0 34px !important;
		padding: 22px clamp(16px, 4vw, 30px) 26px;
		border: 1px solid #d8d8d5;
		background: #fff;
	}

	body.woocommerce-shop #qodef-woo-page,
	body.tax-product_cat #qodef-woo-page,
	body.tax-product_tag #qodef-woo-page {
		order: 1;
		width: 100% !important;
	}

	#qodef-page-sidebar .widget_kahlo_core_separator {
		display: none !important;
	}

	#qodef-page-sidebar .wp-block-woocommerce-filter-wrapper h4,
	#qodef-page-sidebar .qodef-widget-title {
		font-size: 22px;
		line-height: 1.15;
	}

	#qodef-page-sidebar .gj-mobile-categories-heading {
		display: none !important;
	}

	#qodef-page-sidebar .gj-mobile-category-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		margin: 22px 0 0;
		padding: 18px 0 4px;
		border: 0;
		border-top: 1px solid #d8d8d5;
		background: transparent;
		color: #171717;
		font: inherit;
		font-size: 22px;
		font-weight: 600;
		text-align: left;
		cursor: pointer;
	}

	#qodef-page-sidebar .gj-mobile-category-toggle__icon {
		position: relative;
		width: 18px;
		height: 18px;
		transition: transform .2s ease;
	}

	#qodef-page-sidebar .gj-mobile-category-toggle__icon::before,
	#qodef-page-sidebar .gj-mobile-category-toggle__icon::after {
		content: "";
		position: absolute;
		top: 8px;
		width: 10px;
		height: 1px;
		background: currentColor;
	}

	#qodef-page-sidebar .gj-mobile-category-toggle__icon::before {
		left: 1px;
		transform: rotate(45deg);
	}

	#qodef-page-sidebar .gj-mobile-category-toggle__icon::after {
		right: 1px;
		transform: rotate(-45deg);
	}

	#qodef-page-sidebar .gj-mobile-category-toggle[aria-expanded="true"] .gj-mobile-category-toggle__icon {
		transform: rotate(180deg);
	}

	#qodef-page-sidebar [data-block-name="woocommerce/product-categories"] {
		max-height: min(52vh, 520px);
		margin-top: 16px;
		overflow: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	#qodef-page-sidebar [data-block-name="woocommerce/product-categories"][hidden] {
		display: none !important;
	}

	/* Product recommendations belong to the catalogue, not the mobile filter panel. */
	#qodef-page-sidebar [data-block-name="woocommerce/product-categories"] ~ * {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.gj-events-browser {
		margin: 64px 0 74px;
		padding-inline: 16px;
	}

	.gj-events-browser__navigation {
		grid-template-columns: 48px minmax(0, 1fr) 48px;
		gap: 6px;
		align-items: center;
	}

	.gj-events-browser__heading p {
		font-size: 10px;
	}

	.gj-events-browser__heading h2 {
		font-size: clamp(28px, 7.8vw, 36px);
	}

	.gj-events-browser__switch {
		justify-content: center;
		width: 48px;
		height: 48px;
		border: 1px solid #d8d8d5;
	}

	.gj-events-browser__switch > span:not(.gj-events-browser__arrow) {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.gj-events-browser__event {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 18px;
		padding: 30px 0 34px;
	}

	.gj-events-browser__day {
		font-size: 46px;
	}

	.gj-events-browser__image {
		grid-column: 1 / -1;
		grid-row: 1;
		margin-bottom: 6px;
	}

	.gj-events-browser__date,
	.gj-events-browser__content {
		grid-row: 2;
	}

	.gj-events-browser__meta {
		display: grid;
		gap: 3px;
	}

	.gj-events-browser__meta span + span::before {
		content: none;
	}

	.gj-events-browser__details {
		display: grid;
		justify-items: start;
	}

	.gj-events-browser__location::before {
		content: none;
	}

	.gj-events-browser__excerpt {
		font-size: 16px !important;
	}
}

/* Artist profiles and available WooCommerce works. */
.single-event-item .jaeschke-event-artists {
	margin-top: clamp(54px, 6vw, 88px);
}

.single-event-item .jaeschke-event-artists__title {
	margin: 0 0 clamp(28px, 3vw, 42px) !important;
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(34px, 3vw, 48px);
	line-height: 1.05;
	letter-spacing: -.03em;
}

.single-event-item .jaeschke-event-artists__list {
	display: grid;
	gap: clamp(44px, 5vw, 68px);
}

.single-event-item .jaeschke-event-artist {
	display: grid;
	grid-template-columns: minmax(180px, .34fr) minmax(0, .66fr);
	gap: clamp(24px, 3vw, 42px);
	padding-top: clamp(22px, 2.5vw, 34px);
	border-top: 1px solid #1b1b1b;
}

.single-event-item .jaeschke-event-artist__portrait {
	display: block;
	min-height: 100%;
	overflow: hidden;
	background: #f3f3f1;
}

.single-event-item .jaeschke-event-artist__portrait img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 280px;
	max-height: 460px;
	object-fit: cover;
	object-position: center top;
	transition: transform .45s cubic-bezier(.2,.7,.2,1);
}

.single-event-item .jaeschke-event-artist__portrait:hover img,
.single-event-item .jaeschke-event-artist__portrait:focus-visible img {
	transform: scale(1.025);
}

.single-event-item .jaeschke-event-artist__content {
	min-width: 0;
}

.single-event-item .jaeschke-event-artist__eyebrow {
	margin: 0 0 7px !important;
	color: #777;
	font-family: "Space Grotesk", sans-serif;
	font-size: 13px !important;
	font-weight: 600;
	line-height: 1.2 !important;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.single-event-item .jaeschke-event-artist__name {
	margin: 0 0 12px !important;
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(30px, 3.2vw, 48px);
	line-height: 1.02;
	letter-spacing: -.035em;
}

.single-event-item .jaeschke-event-artist__profile-link,
.single-event-item .jaeschke-event-artist__shop-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #1b1b1b;
	font-family: "Space Grotesk", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.single-event-item .jaeschke-event-artist__works {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 26px 0 18px;
}

.single-event-item .jaeschke-event-work {
	display: flex;
	min-width: 0;
	color: #1b1b1b;
	flex-direction: column;
	text-decoration: none;
}

.single-event-item .jaeschke-event-work__image {
	display: block;
	overflow: hidden;
	margin-bottom: 11px;
	background: #f3f3f1;
	aspect-ratio: 1 / 1;
}

.single-event-item .jaeschke-event-work__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s cubic-bezier(.2,.7,.2,1);
}

.single-event-item .jaeschke-event-work:hover .jaeschke-event-work__image img,
.single-event-item .jaeschke-event-work:focus-visible .jaeschke-event-work__image img {
	transform: scale(1.035);
}

.single-event-item .jaeschke-event-work__title,
.single-event-item .jaeschke-event-work__price {
	display: block;
	font-family: "Space Grotesk", sans-serif;
}

.single-event-item .jaeschke-event-work__title {
	font-size: clamp(14px, 1.05vw, 17px);
	font-weight: 600;
	line-height: 1.3;
}

.single-event-item .jaeschke-event-work__price {
	margin-top: 5px;
	color: #777;
	font-size: 13px;
	line-height: 1.25;
}

.single-event-item .jaeschke-event-artist__shop-link {
	margin-top: 3px;
}

@media (max-width: 1100px) {
	.single-event-item .jaeschke-event-layout {
		grid-template-columns: minmax(260px, 36%) minmax(0, 64%);
		gap: 48px;
	}
}

@media (max-width: 820px) {
	.single-event-item article.qodef-event-item[data-jaeschke-layout="ready"] .qodef-e-featured-title {
		align-items: flex-start;
		padding-top: 44px;
		font-size: clamp(44px, 12vw, 76px);
	}

	.single-event-item .jaeschke-event-layout {
		display: block;
		width: calc(100% - 40px);
	}

	.single-event-item .jaeschke-event-sidebar__inner {
		position: static;
	}

	.single-event-item .jaeschke-event-sidebar .qodef-e-image img {
		max-height: none;
	}

	.single-event-item .jaeschke-event-sidebar .qodef-e-info {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding-bottom: 52px;
	}

	.single-event-item .jaeschke-event-main .qodef-event-title {
		font-size: clamp(38px, 9vw, 58px);
	}

	.single-event-item .jaeschke-event-artist {
		grid-template-columns: minmax(150px, .34fr) minmax(0, .66fr);
	}

	.single-event-item .jaeschke-event-artist__works {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 540px) {
	.single-event-item article.qodef-event-item[data-jaeschke-layout="ready"] .qodef-e-featured-title {
		flex-direction: column;
		gap: 12px;
		padding-right: 20px;
		padding-left: 20px;
	}

	.single-event-item .jaeschke-event-layout {
		width: calc(100% - 32px);
	}

	.single-event-item .jaeschke-event-sidebar .qodef-e-info {
		grid-template-columns: 1fr;
	}

	.single-event-item .jaeschke-event-artist {
		grid-template-columns: 1fr;
	}

	.single-event-item .jaeschke-event-artist__portrait img {
		min-height: 0;
		max-height: none;
		aspect-ratio: 4 / 3;
	}

	.single-event-item .jaeschke-event-artist__works {
		gap: 12px;
	}
}

/* Homepage event accordion: keep the action fully visible and align its content. */
body.home .qodef-events-accordion .jaeschke-event-detail-link {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	min-height: 48px;
	margin-bottom: 10px;
	border: 1px solid #171717 !important;
	overflow: visible !important;
}

@media (min-width: 1025px) {
	body.home .qodef-events-accordion .qodef-accordion-title > .qodef-accordion-content {
		top: 160px !important;
	}
}

/* Product descriptions: one calm reading column instead of theme newspaper columns. */
@media (min-width: 1025px) {
	body.single-product #tab-description {
		display: grid !important;
		grid-template-columns: minmax(240px, .72fr) minmax(0, 1.8fr);
		column-gap: clamp(44px, 5vw, 84px);
		width: min(1080px, 100%);
		margin-right: auto;
		margin-left: auto;
		columns: auto !important;
		column-count: 1 !important;
		column-width: auto !important;
	}

	body.single-product #tab-description > h2 {
		grid-column: 1 / -1;
		width: 100%;
		margin: 0 0 34px;
	}

	body.single-product #tab-description > h4 {
		grid-column: 1;
		margin: 0;
		font-size: clamp(28px, 2vw, 36px);
		line-height: 1.16;
		letter-spacing: -.025em;
	}

	body.single-product #tab-description > p {
		grid-column: 2;
		max-width: 720px;
		margin: 0 0 1.15em;
		font-size: 18px;
		line-height: 1.72;
	}
}

/* Artist pages: use the actual profile content consistently, without an extra portfolio gallery. */
body.single-portfolio-item .qodef-portfolio-single-item > .qodef-e-inner > .qodef-media {
	display: none !important;
}

/* WooCommerce works embedded in artist profiles. */
body.single-portfolio-item ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: clamp(30px, 3vw, 54px) clamp(22px, 2.4vw, 42px) !important;
	width: 100%;
	margin: clamp(34px, 4vw, 64px) 0 0 !important;
	padding: 0 !important;
}

body.single-portfolio-item ul.products::before,
body.single-portfolio-item ul.products::after {
	display: none !important;
}

body.single-portfolio-item ul.products > li.product {
	position: relative;
	float: none !important;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
}

body.single-portfolio-item ul.products .qodef-e-media {
	position: relative;
	margin: 0 0 18px;
}

body.single-portfolio-item ul.products .qodef-e-media-image,
body.single-portfolio-item ul.products .qodef-e-media-image > a {
	display: block;
	width: 100%;
	height: 100%;
}

body.single-portfolio-item ul.products .qodef-e-media-image {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f5f5f3;
}

body.single-portfolio-item ul.products .qodef-e-media-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: contain;
	transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}

body.single-portfolio-item ul.products > li.product:hover .qodef-e-media-image img {
	transform: scale(1.025);
}

body.single-portfolio-item ul.products .qodef-e-media-inner {
	display: none !important;
}

body.single-portfolio-item ul.products .qodef-woo-product-mark.qodef-out-of-stock {
	position: absolute !important;
	top: 12px !important;
	right: 12px !important;
	bottom: auto !important;
	left: auto !important;
	z-index: 3;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 72px;
	min-height: 34px;
	box-sizing: border-box;
	padding: 7px 12px !important;
	border: 0;
	border-radius: 999px;
	background: #171717 !important;
	color: #fff !important;
	font-size: 0 !important;
	font-weight: 600;
	line-height: 1 !important;
	letter-spacing: .02em;
}

body.single-portfolio-item ul.products .qodef-woo-product-mark.qodef-out-of-stock::after {
	content: "Verkauft";
	font-size: 12px;
}

body.single-portfolio-item ul.products .qodef-e-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
}

body.single-portfolio-item ul.products .qodef-woo-product-title {
	margin: 0 0 10px !important;
	font-size: clamp(18px, 1.25vw, 22px) !important;
	line-height: 1.22 !important;
	letter-spacing: -.02em;
}

body.single-portfolio-item ul.products .price {
	display: block !important;
	margin: 0 !important;
	font-size: 17px !important;
	line-height: 1.35 !important;
}

body.single-portfolio-item ul.products .jaeschke-mobile-work-link {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	margin: 12px 0 3px;
	color: #171717;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

body.single-portfolio-item ul.products .wc-gzd-additional-info {
	margin: 7px 0 0 !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
}

/* "Andere Künstler": identical image frames independent of source proportions. */
body.single-portfolio-item .qodef-portfolio-list article .qodef-e-media-image,
body.single-portfolio-item .qodef-portfolio-list article .qodef-e-media-image > a {
	display: block;
	width: 100%;
	height: 100%;
}

body.single-portfolio-item .qodef-portfolio-list article .qodef-e-media-image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f5f5f3;
}

body.single-portfolio-item .qodef-portfolio-list article .qodef-e-media-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center top;
}

@media (max-width: 900px) {
	body.single-portfolio-item ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 540px) {
	body.single-portfolio-item ul.products {
		gap: 32px 14px !important;
	}

	body.single-portfolio-item ul.products .qodef-woo-product-title {
		font-size: 16px !important;
	}
}
